Skip to content

Releases: mybatis/spring

Mybatis Spring 3.0.4

11 Aug 21:16
Compare
Choose a tag to compare
  • Adjust MyBatisSystemException to spring 6 per spring-projects/spring-framework#25162, original constructor is deprecated now.
  • Add environment to ClassPathMapperScanner from PropertySources
  • Support excluding filter on mapper scan feature
  • minor code cleanup
  • update build system items / libraries / dependencies

tests

  • make sure build is using maven standard directory layout even for tests

mybatis-spring-2.1.2

25 Nov 10:33
Compare
Choose a tag to compare

Here is the complete list of changes.

ℹ️ Notice

Probably this release is last as a planned release of 2.1.x. Of course, we will continue to fix critical issues (including security vulnerabilities).

⚡ Enhancements

  • Support processPropertyPlaceHolders option in mapper:scan and @MapperScan #832

⬆️ Dependencies Updates

  • Update mybatis core to 3.5.14 #872
  • Update spring core to v5.3.31 #891
  • Update spring batch to v4.3.10 #892

mybatis-spring-3.0.3

21 Nov 03:15
Compare
Choose a tag to compare

Here is the complete list of changes.

⚡ Enhancements

  • Support processPropertyPlaceHolders option in mapper:scan and @MapperScan #829
  • Corrected to set bean class instead of bean class name to factoryBeanObjectType of BeanDefinition attribute #865

⬆️ Dependencies Updates

  • Update mybatis core to 3.5.14 #870
  • Update spring core to v6.0.13 #863
  • Update spring batch to v5.0.3 #847

mybatis-spring-3.0.2

19 May 23:13
Compare
Choose a tag to compare

Here is the complete list of changes.

🐛 Bug Fixes

  • Bean definition overridden when spring.aot.enabled=true in spring boot 3.0 #780 (@wylswz)

⚡ Enhancements

  • Support appendable method on SqlSessionFactoryBean #816 (@uxfix)
  • Change the event type that listen to in SqlSessionFactoryBean to ContextRefreshedEvent #797 (@SkyAndCode)

♻️ Polishing

  • Use the TransactionSynchronization instead of TransactionSynchronizationAdapter #819

⬆️ Dependencies Updates

  • Update dependency org.mybatis:mybatis to v3.5.13 #790
  • Update spring core to v6.0.9 #807
  • Update spring batch to v5.0.2 #822

mybatis-spring-2.1.1

19 May 12:36
Compare
Choose a tag to compare

Here is the complete list of changes.

⚡ Enhancements

  • Support appendable method on SqlSessionFactoryBean #817 (@uxfix)
  • Change the event type that listen to in SqlSessionFactoryBean to ContextRefreshedEvent #810 (@SkyAndCode)

⬆️ Dependencies Updates

  • Update dependency org.mybatis:mybatis to v3.5.13 #809
  • Update to Spring Framework 5.3.27 #811
  • Update to Spring Batch 4.3.8 #812

Mybatis Spring 3.0.1

09 Dec 00:58
Compare
Choose a tag to compare
  • Correct 'source' reproducible issue #763
  • Fix site javadoc issue #756
  • Set include annotation config to false in native image #758
  • Added new option to print warning if mappers not found #762
  • Fix manifest data on java version requirement #766

mybatis-spring-3.0.0

25 Nov 13:14
Compare
Choose a tag to compare

Here is the complete list of changes. Some of the changes in 2.1 are also included.

Features

  • First support Spring Framework 6 / Spring Batch 5 #634

Enhancements

  • Remove usage of NestedIOException #663
  • Add parameter supplier support to spring batch readers #727

Polishing

  • Introduce Spring's AliasFor declaration in MapperScan #462

No backward compatibility

This release include issues that no backward compatibility with 2.0.x.

mybatis-spring-2.1.0

25 Nov 13:14
Compare
Choose a tag to compare

Here is the complete list of changes.

Enhancements

  • Remove usage of NestedIOException #663
  • Add parameter supplier support to spring batch readers #727

Polishing

  • Introduce Spring's AliasFor declaration in MapperScan #462

Dependencies Updates

  • Update spring core to v5.3.24 #736
  • Update spring batch to v4.3.7
  • Update dependency org.mybatis:mybatis to v3.5.11 #721

No backward compatibility

This release include issues that no backward compatibility with 2.0.x.

mybatis-spring-2.0.7

29 Jan 12:06
Compare
Choose a tag to compare

Here is the complete list of changes.

Enhancements

  • Change to support spring-native #642

Dependencies Updates

  • Upgrade to MyBatis 3.5.9 #640
  • Upgrade to Spring 5.3.15 #643
  • Upgrade to Spring Batch 4.3.4 #622

Miscellaneous

  • Support CI using Spring Framework 6 / Spring Batch 5 #634

mybatis-spring-2.0.6

14 Nov 15:35
Compare
Choose a tag to compare

Here is the complete list of changes.

Enhancements

  • Switch baseline to Spring 5.3 and Spring Batch 4.3 #545 #537
  • Support scoped proxy on mapper scan feature #484
  • Set attribute that helps MockitoPostProcessor replace a MyBatis mapper bean with a mock #494

Dependencies Updates

  • Upgrade to MyBatis 3.5.6 #530

Miscellaneous

  • Support CI with spring 5.2 and spring-batch 4.2 #543