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