Releases: mybatis/spring-boot-starter
mybatis-spring-boot-2.2.0
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
mybatis-spring-boot-2.1.4
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
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.
MapperScannerConfigurer
cause early initialize bean (mybatis/spring#452)- SQL template file not found in case the application is embedded in spring boot jar file (mybatis/thymeleaf-scripting#55, mybatis/freemarker-scripting#79)
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
mybatis-spring-boot-2.1.2
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.
- Cannot deploy with spring boot 2.2.0.RELEASE because occur BindException #387 (spring-projects/spring-boot#18670 )
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
mybatis-spring-boot-2.1.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.
- Cannot scan TypeHandler that pass Class<?> to constructor mybatis/spring#394 #370
Dependencies Updates
mybatis-spring-boot-1.3.5
Here is the complete list of changes.
This release will be the final release for the 1.3.x line.
Dependencies Updates
mybatis-spring-boot-2.1.0
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 passClass<?>
to constructor since 2.0.1 (This bug belong mybatis-spring) #370
mybatis-spring-boot-2.0.1
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
mybatis-spring-boot-1.3.4
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
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.