jeffgbutler
released this
03 Jun 21:26
·
172 commits
to master
since this release
This is a small maintenance release with the following changes:
- Improvements to the Kotlin DSL for CASE expressions (infix methods for "else" and "then"). See this PR for
details: #785 - Potentially Breaking Change: the "in" conditions ("isIn", "isNotIn", "isInCaseInsensitive",
"isNotInCaseInsensitive") will now render if the input list of values is empty. This will lead
to a runtime exception. This change was made out of an abundance of caution and is the safest choice.
If you wish to allow "in" conditions to be removed from where clauses when the list is empty,
then use the "when present" versions of those conditions. If you are unsure how this works, please
read the documentation here: https://mybatis.org/mybatis-dynamic-sql/docs/conditions.html#optionality-with-the-%E2%80%9Cin%E2%80%9D-conditions
For background on the reason for the change, see the discussion in issue #788
Important: This is the last release that will be compatible with Java 8.
The full list of changes is available here: https://github.com/mybatis/mybatis-dynamic-sql/milestone/14?closed=1
Please find the full release notes here: https://mybatis.org/mybatis-dynamic-sql/docs/CHANGELOG.html
All artifacts are available in Maven central under these coordinates:
<dependency>
<groupId>org.mybatis.dynamic-sql</groupId>
<artifactId>mybatis-dynamic-sql</artifactId>
<version>1.5.2</version>
</dependency>