Saturday, April 8, 2017

MyBatis 3.4.4 released!

Dear Community,
We are pleased to announce the release of MyBatis 3.4.4.
Version 3.4.3 was supposed to be the latest version, but there was an error in the JAR on Maven Central and we had to release 3.4.4.
Enhancements:
  • Allow registering a type handler for a common interface of enums. #947
  • Share Jdbc3KeyGenerator and NoKeyGenerator instances #882
  • Building UPDATE JOIN statement by SQL Builder #903
Bug fixes:
  • Failed to find a statement mapped to a super interface #481
  • Default methods support on mappers, does not work for non-public mappers. #905
  • foreignColumns with multiple columns validation error #526
  • Fix wrong registration logic for LanguageDriver #914
  • A boolean property should be able to have two getters: isX() and getX() #906
  • Fix possible unexpected auto-mapping #895
  • Excessive memory allocation for primitive arrays in nested result maps #927
There should be no backward incompatible change since 3.4.2 [1].
Follow this link to see the full list of changes.
As usual, binaries are available on the release page and Maven Central.
Many thanks to those who reported issues, sent pull requests or joined discussions!
We plan to release new versions of mybatis-spring-boot-starter, migrations, etc. so stay tuned!
Sincerely,
The MyBatis Team

[1] It is possible that an incorrect result mapping previously worked because of the bug fixed in #895 stops working. Please see #1100 for the details.

Thursday, March 2, 2017

MyBatipse (Eclipse plugin) 1.1.0 is released!

Dear MyBatis - Eclipse users,

We have released version 1.1.0 of MyBatipse.
This version requires Eclipse 4.4 (Luna) or later.

Only two bug fixes:
  • Enum type alias is not correctly resolved.
  • 'Move @Results to <resultMap />' quick assist should move @ConstructorArgs to <constructor /> as well.
Please see the GitHub page for general information.

Enjoy!

Wednesday, January 4, 2017

MyBatis 3.4.2, MyBatis-Spring 1.3.1, Spring-Boot-Starter 1.2.0 and TypeHandlers-JSR310 1.0.2 released!

Dear Community,

We have just released the modules below.
Please follow the links to see the details.


JARs are available on Github and Maven Central.
As a side note, Spring Initializer has already been updated to use these latest versions.

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

Sincerely,
The MyBatis Team.

Sunday, December 25, 2016

MyBatipse (Eclipse plugin) 1.0.24 is released!

Dear MyBatis - Eclipse users,

We have released version 1.0.24 of MyBatipse.

Some new features:
  • Hyperlink on @ResultMap value and 'select' attribute of @One and @Many.
  • Auto-complete 'jdbcType' attribute in XML mapper/config.
  • Quick assist to move @Results to <resultMap />.
  • Allow wildcards in type alias package setting.
And validation now runs much faster in most cases.
Please see the GitHub page for the general information.

FYI, this will be the last version that works on Eclipse older than 4.4 (Luna).

Enjoy!

Wednesday, December 14, 2016

MyBatis-Ignite 1.0.3 released!

Dear Community,

We have released mybatis-ignite 1.0.3 which updates Apache Ignite to 1.8.0.

Project is available on GitHub and Maven Central.

Thanks and enjoy!