Skip to content

mybatis-spring-boot-2.1.0

Compare
Choose a tag to compare
@kazuki43zoo kazuki43zoo released this 15 Jul 07:24
· 1059 commits to master since this release

This version is required Spring Boot 2.1+. Here is the complete list of changes.

Bug Fixes

In this version does not exists bug fixes on this artifact. However this version includes following bug fixes by updating dependency artifact.

  • There is case that fail to register type alias when exists anonymous class since mybatis-spring 2.0.1 mybatis/spring#362

New Features

  • Support auto-configure LanguageDriver provided by MyBatis's sub module #300
  • Support enable/disable lazy Initialization on mapper scanning feature #325
  • Support configuration properties for mybatis-thymeleaf #332
  • Support configuration properties for mybatis-freemarker #336
  • Support configuration properties for mybatis-velocity #342

Enhancements

  • Add MapperScannerConfigurer as condition to avoid auto scan mapper #256
  • Upgrade baseline to Spring Boot 2.1 #318
  • Detect a TypeHandler from DI Container #323
  • Deprecate the 'mybatis.configuration.default-scripting-language' #334
  • Support properties attribute on @MybatisTest #362

Dependencies Updates

  • Upgrade to mybatis-spring 2.0.2 #321
  • Add mybatis-freemarker 1.2.0 as optional dependency #339 (#331)
  • Add mybatis-thymeleaf 1.0.1 as optional dependency #340 (#331)
  • Add mybatis-velocity 2.1.0 as optional dependency #341 (#331)
  • Upgrade to Spring Boot 2.1.6 #354
  • Upgrade to MyBatis 3.5.2 #359

Miscellaneous

  • Remove spring.provides files #240
  • Add samples each language drivers #338
  • Add sample for kotlin #345
  • Add sample for groovy #346
  • Change document format to markdown from xdoc #360

About backward compatibility

This release includes changes that not keep backward compatibility. For details, please see following issue description.

  • Support auto-configure LanguageDriver provided by MyBatis's sub module #300

Known Issues in this version

Please apply workaround.

  • Cannot scan TypeHandler that pass Class<?> to constructor since 2.0.1 (This bug belong mybatis-spring) #370