Skip to content

Releases: mybatis/spring-boot-starter

mybatis-spring-boot-2.2.0

27 May 23:22
Compare
Choose a tag to compare

This version is required Spring Boot 2.5+ (Please use the 2.1.x line on Spring Boot 2.4 or under). Here is the complete list of changes.

Dependencies Updates

  • Upgrade to Spring Boot 2.5.0 #561
  • Update to mybatis 3.5.7 #564
  • Update to kotlin 1.5.10 #565 (using at sample)
  • Update to groovy 3.0.8 #566 (using at sample)

mybatis-spring-boot-2.1.4

14 Nov 18:44
Compare
Choose a tag to compare

Here is the complete list of changes.

Enhancements

  • Switch baseline to Spring Boot 2.4 #512
  • Support configuration property for default-scope provided by mybatis-spring #469
  • Support @MockBean for a MyBatis mapper interface #475

Dependencies Updates

  • Upgrade to MyBatis 3.5.6 #503
  • Upgrade to Mybatis Spring 2.0.6 #511
  • Upgrade to Kotlin 1.4.10 (using on sample) #491
  • Upgrade to Groovy 3.0.6 (using on sample) #501

Miscellaneous

  • Support CI using Spring Boot 2.3 #513

mybatis-spring-boot-2.1.3

05 Jun 17:48
Compare
Choose a tag to compare

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.

Enhancements

  • Switch baseline to Spring Boot 2.3 #427

Dependencies Updates

  • Upgrade to MyBatis 3.5.5 #445
  • Upgrade to Mybatis Spring 2.0.5 (includes bug fix) #446
  • Upgrade to MyBatis Thymeleaf 1.0.2 (includes bug fix) #450
  • Upgrade to MyBatis Freemarker 1.2.2 (includes bug fix) #451
  • Upgrade to Spring Boot 2.1.14 on Travis CI #426
  • Upgrade to Kotlin 1.3.72 (using on sample) #438
  • Upgrade to Groovy 3.0.4 (using on sample) #448

Miscellaneous

  • Add sample(test) using TemplateFilePathProvider #452
  • Add tests for Fat Jar(samples) on Travis CI #453

mybatis-spring-boot-2.1.2

10 Mar 12:27
Compare
Choose a tag to compare

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.

Dependencies Updates

  • Upgrade to MyBatis 3.5.4 #402
  • Upgrade to Mybatis Spring 2.0.4 #403
  • Upgrade to MyBatis Freemarker 1.2.1 #412
  • Upgrade to Spring Boot 2.2.5 #422
  • Upgrade to Kotlin 1.3.70 (using on sample) #424
  • Upgrade to Spring Boot 2.1.14 on Travis CI #426
  • Upgrade to Groovy 3.0.2 (using on sample) #428

Miscellaneous

  • Add sample for web environment #355
  • Change version to spring-boot 2.1.x on Travis CI (Change baseline version to spring-boot 2.2.x) #406

mybatis-spring-boot-2.1.1

20 Oct 13:22
Compare
Choose a tag to compare

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.

Dependencies Updates

  • Upgrade to MyBatis 3.5.3 #376
  • Upgrade to mybatis-spring 2.0.3 #371
  • Upgrade to Spring Boot 2.1.9 #381

mybatis-spring-boot-1.3.5

10 Aug 03:47
Compare
Choose a tag to compare

Here is the complete list of changes.
This release will be the final release for the 1.3.x line.

Dependencies Updates

  • Upgrade to Spring Boot 1.5.22 #365
  • Upgrade to Mybatis-Spring 1.3.3 #374

mybatis-spring-boot-2.1.0

15 Jul 07:24
Compare
Choose a tag to compare

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

mybatis-spring-boot-2.0.1

07 Apr 13:14
Compare
Choose a tag to compare

This release will become the final maintenance version for Spring Boot 2.0.x based.
Here is the complete list of changes.

Bug Fixes

  • There is case that cannot scan classes using SpringBootVFS #301

Enhancements

  • Add @ExtendWith(SpringExtension.class) on @MybatisTest #309
  • Support wildcard on package scanning feature #314

Dependencies Updates

  • Upgrade to Spring Boot 2.0.9 #311
  • Upgrade to MyBatis 3.5.1 #315
  • Upgrade to mybatis-spring 2.0.1 #316

mybatis-spring-boot-1.3.4

07 Apr 12:24
Compare
Choose a tag to compare

Here is the complete list of changes.

Bug Fixes

  • There is case that cannot scan classes using SpringBootVFS #305

Dependencies Updates

  • Upgrade to Spring Boot 1.5.20 #312

mybatis-spring-boot-2.0.0

21 Jan 16:08
Compare
Choose a tag to compare

Here is the complete list of changes.

Enhancements

  • Update supported Java version to Java 8+ #194
  • Upgrade to MyBatis 3.5 (Requires) #295
  • Upgrade to MyBatis Spring 2.0 (Requires) #206
  • Upgrade to Spring Boot 2.0+ (Requires) #163 #291
  • Enable auto-configure when DataSource is single candidate #208
  • Add the typeAliasesSuperType on MybatisProperties #232
  • Use Spring Boot autoconfigure-processor to optimize auto-configurations #252
  • Change a method for preventing package based mapper scan #258

Note:

In this release, we include changes that are not backwards compatible with 1.3.x for enhance features.