Sunday, October 14, 2018

MyBatis Migrations 3.3.5 released!

Dear Community,

We are pleased to announce the release of MyBatis-Migrations 3.3.5.

Enhancements:
  • 'bofore_new' and 'after_new' hooks. #106
  • Print a warning when there is a skipped migration or a missing migration script. #125
Bug fixes:
  • Possible ArrayIndexOutOfBoundsException when reading a script. #127
  • 'script' command can generate incomplete script. #121
Follow this link to see the full list of changes.
Binaries are available on the release page and Maven Central.

Many thanks to those who reported issues, sent pull requests or participated in discussions!

Sincerely,
The MyBatis Team

Tuesday, July 24, 2018

MyBatipse (Eclipse plugin) 1.1.2 is released!

Dear MyBatis - Eclipse users,

We have released version 1.1.2 of MyBatipse.

Two bug fixes and a new feature:
  • It now supports two or more XML mapper files having the same namespace. #86
  • Hyperlink now works in binary class editor. #84
  • Hyperlink now works on 'property' attribute of @Results. #85
Please see the GitHub page for the general information.

The next version of the plugin may require Java 8 and Eclipse 4.6 (Neon).

Enjoy!

Wednesday, July 4, 2018

MyBatis Generator 1.3.7 Released

There is a new release of MyBatis Generator and a new version of the Eclipse feature is also available. This release has a few relatively minor bug fixes and enhancements - mainly related to minor issues with the new MyBatis Dynamic SQL support.

Important: after this release, Java 8+ will be required to run the generator, and support for iBatis 2 code generation will be removed.

Detailed information about the release is on GitHub here: https://github.com/mybatis/generator/releases
The artifacts are in Maven central now, and the Eclipse update site has the new version as well.

The Eclipse marketplace site is here: http://marketplace.eclipse.org/content/mybatis-generator
Enjoy!

Wednesday, April 25, 2018

MyBatis Dynamic SQL 1.1.0 Released

Dear Community,

We are pleased to announce the release of MyBatis Dynamic SQL Version 1.1.0.

This version has quite a few enhancements and two bug fixes. The most important enhancement is the addition of optional conditionals.  This support allows you to code a WHERE clause that can vary based on the input values to the conditions.  This can be very useful for coding searches where, for example, a conditional should only be rendered if the value is non-null.  This type of support has been requested for quite some time in code created from MyBatis Generator.  It wasn't feasible to do it with code generated in the old style, but is a natural addition to the MyBatis Dynamic SQL library.

You can find all the details on the GitHub release page.

Enjoy!


Wednesday, March 14, 2018

MyBatis-Spring-Boot 1.3.2 released!

Dear Community,

We are pleased to announce the release of MyBatis-Spring-Boot 1.3.2.
Here is the list of main changes.

Enhancements:
  • Upgrade to Spring Boot 1.5.10 #220
  • Upgrade to MyBatis 3.4.6 #212
  • Upgrade to MyBatis-Spring 1.3.2 #213

There is no known backward incompatible change since 1.3.1.
Follow this link to see the full list of changes.

It is available on https://start.spring.io/.

Thanks,
The MyBatis Team

MyBatis-Migrations 3.3.2 released!

Dear Community,

NOTE
There was a regression in version 3.3.2 (#117) .
Please use version 3.3.3.

We are pleased to announce the release of MyBatis-Migrations 3.3.2.

Enhancements:
  • Added '--quiet' command line option. #92
  • Added '--color' command line option. #104
  • It is now possible to specify multiple characters as a delimiter. #96
  • Hooks are now applied to 'version' and 'pending' commands as well. #81
  • Added a new environment option 'ignore_warnings'. #85
  • Migrations can now use a custom FileMigrationsLoader. #107
  • Reduced memory usage when reading a large migration script. #101
The default value of 'ignore_warnings' is 'true', so SQL warnings do not stop migration as they did in 3.3.1. See #85 for more info.

Follow this link to see the full list of changes.
Binaries are available on the release page and Maven Central.

Many thanks to those who reported issues, sent pull requests or participated in discussions!

Sincerely,
The MyBatis Team

MyBatis-Spring 1.3.2 released!

Dear Community,

We are pleased to announce the release of MyBatis-Spring 1.3.2.
Here is the list of main changes.

Bug fixes:
  • Possible occur NullpointerException on MyBatisCursorItemReader when close. #237
Enhancements:
  • Supports MyBatis 3.4.6 #279
  • Supports Spring Framework 4.3.14 #288
  • Spring Batch 3.0.9 #290

There is no known backward incompatible change since 1.3.1.
Follow this link to see the full list of changes.
Binaries are available on the release page and Maven Central.

Thanks,
The MyBatis Team

Sunday, March 11, 2018

MyBatis 3.4.6 released!

Dear Community,

We are pleased to announce the release of MyBatis 3.4.6.
Here is the list of user visible changes.

Enhancements:
  • Apply custom ResultHandler to CURSOR type OUT parameter. #493
  • Substitute variables in attribute values of included SQL fragments. #1069
  • BatchExecutor now closes each statement immediately after execution. #1110
  • It is now possible to use a static method as SQL provider. #1131
  • SQL provider method can now return CharSequence instead of String. #1134
  • Add resource path to the exception message when parsing XML mapper failed. #1172
Bug fixes:
  • Registering type handler against HashMap causes ClassCastException. #1089
  • Unable to register TypeHandler once TypeHandlerRegistry.hasTypeHandler is called. #1177
  • Serializing and deserializing cached objects causes NullPointerException. #1084
  • Invalid error message 'Two methods with same method signature but not providing classes assignable?' in System.err. #929
There is no known backward incompatible change since 3.4.5.
Follow this link to see the full list of changes.
Binaries are available on the release page and Maven Central.

Many thanks to those who reported issues, sent pull requests or participated in discussions!

3.4.6 will be the last version that supports Java 6.

Sincerely,
The MyBatis Team