MyBatis v3.5.6 Release Notes

Release Date: 2020-10-06 // about 1 year 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.