Tuesday, April 25, 2017

MyBatis-Migrations 3.3.0 and TypeHandlers-ThreeTen-Extra 1.0.0 released!

Dear MyBatis Community,

We are pleased to announce two new releases :

mybatis-typehandlers-threeten-extra 1.0.0 contains additional type handlers for ThreeTen-Extra.
Please see the README for the list of type handlers.

mybatis-migrations 3.3.0 includes two enhancements 
  • Support pre/post-migration hooks #52
  • Support onabort.sql executed when migration is aborted. #47
and three bug fixes:
  • Migration succeeds even if compiling procedure failed. #46
  • Down command does not work with case sensitive column names. #65
  • Variable substitution does not work in custom templates. #69

Monday, April 10, 2017

Mybatis-Spring-Boot-Starter 1.2.1 & 1.3.0 released!

Dear Mybatis Community,

I am pleased to announce 1.2.1 and 1.3.0 releases of mybatis-spring-boot-starter project.

Highlights from this release:

  • Upgrade to Mybatis 3.4.4
  • Add @MybatisTest for slicing tests
  • Add ConfigurationCustomizer
  • Version 1.2.1 keeps compatibility with Spring Boot 1.4.x
  • Version 1.3.0 has been upgraded with Spring Boot 1.5.x


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.
  • 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!
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.