Skip to content

Releases: mybatis/spring

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

mybatis-spring-2.0.5

05 Jun 10:49
Compare
Choose a tag to compare

Here is the complete list of changes.

Bug Fixes

  • MapperScannerConfigurer cause early initialize bean #452

Enhancements

  • Add new property for customizing the defaultEnumTypeHandler #458

Dependencies Updates

  • Upgrade to Spring 5.2.6 #471
  • Upgrade to Spring Batch 4.2.2 #467
  • Upgrade to spring 5.1.15 and spring-batch 4.1.4 on Travis CI #477
  • Upgrade to MyBatis 3.5.5 #475

mybatis-spring-2.0.4

09 Mar 17:33
Compare
Choose a tag to compare

Here is the complete list of changes.

Since this version, we changed base line versions to spring 5.2.x and spring-batch 4.2.x from spring 5.1.x and spring-batch 4.1.x, but we keep backward compatibility with spring 5.1.x and spring-batch 4.1.x.

Bug Fixes

  • SpringManagedTransaction#close broken backward-compatibility between 1.3.x and 2.0.x #427

Enhancements

  • Use declared class's package as base package if not present base packages on @MapperScan #438
  • Support openjdk14 on Travis CI #450
  • Support openjdk15 on Travis CI

Dependencies Updates

  • Upgrade to Spring 5.2.4 #448
  • Update to Spring 5.1.14 on Travis CI #449
  • Upgrade to MyBatis 3.5.4 #446

mybatis-spring-2.0.3

20 Oct 12:10
Compare
Choose a tag to compare

Here is the complete list of changes.

Bug Fixes

  • Cannot scan TypeHandler that pass Class<?> to constructor #394

Enhancements

  • Allow the use of an existing SQLExceptionTranslator #400

Dependencies Updates

  • Upgrade to Spring 5.1.10 #404
  • Upgrade to MyBatis 3.5.3 #406

Miscellaneous

  • Update comment in MyBatisBatchItemWriter.java #399

mybatis-spring-1.3.3

10 Aug 03:46
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.

Enhancements

  • Optimize xsd for ide hints #284

Dependencies Updates

  • Upgrade to Spring 4.3.25 #397
  • Upgrade to Spring Batch 3.0.10 #346

mybatis-spring-2.0.2

15 Jul 03:35
Compare
Choose a tag to compare

Here is the complete list of changes.

Bug Fixes

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

New Features

  • Support controlling to use lazy Initialization or not on mapper scanning feature #376

Enhancements

  • Support to configure LanguageDriver via SqlSessionFactoryBean #378
  • Change to Variable-length argument from array argument on SqlSessionFactoryBean #380

Dependencies Updates

  • Upgrade to Spring 5.1.8 #387
  • Upgrade to MyBatis 3.5.2 #388

Known Issues in this version

If there is an impact on your application, please apply workaround or suspend the update.

  • Cannot scan TypeHandler that pass Class<?> to constructor #394