MyBatis v3.5.6 Release Notes

Release Date: 2020-10-06 // over 3 years ago
  • โœจ Enhancements:

    • โšก๏ธ A new configuration option defaultSqlProviderType is added. The specified class will be used as the SQL provider when the value() or type() is not specified in @SelectProvider, @UpdateProvider, @InsertProvider and @DeleteProvider. #1951
    • A new transaction isolation level SQL_SERVER_SNAPSHOT is added to TransactionIsolationLevel enum to support the MS SQL Server specific isolation level SNAPSHOT. #1973
    • ๐Ÿ“„ When there is no JEP-290 serialization filter defined, a WARN level message is logged on deserializing object streams. #2079

    ๐Ÿ› Bug fixes:

    • Possible NoSuchPropertyException under heavy load. #1648
    • ๐Ÿ“ฆ Possible InvalidPathException when registering type aliases by specifying package name. #1974
    • Possible OutOfMemoryError when using BlockingCache. #2044

    There is no known backward incompatible change since 3.5.5.

    ๐Ÿ‘€ Please see the 3.5.6 milestone page for the complete list of changes.


Previous changes from v3.5.5

  • โœจ Enhancements:

    • You can reference single List or Collection type parameter using its actual parameter name when useActualParamName is enabled. #1237
    • You can specify resultMap in @One and @Many. #1771
    • You can specify columnPrefix in @One and @Many. #1829
    • ๐Ÿšš A new option shrinkWhitespacesInSql to remove extra whitespaces in SQL. #1901

    ๐Ÿ› Bug fixes:

    • Possible IllegalArgumentException when using @CacheNamespaceRef . #1719
    • โ†ช Mapper method invocation should be non-blocking (work around JDK-8161372). #1929

    There is no known backward incompatible change since 3.5.4.

    ๐Ÿ‘€ Please see the 3.5.5 milestone page for the complete list of changes.