Skip to content

Commit 2e52e4f

Browse files
committed
Documentation
1 parent 00c04a2 commit 2e52e4f

File tree

3 files changed

+137
-95
lines changed

3 files changed

+137
-95
lines changed

CHANGELOG.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,16 @@ This log will detail notable changes to MyBatis Dynamic SQL. Full details are av
44

55
## Release 1.5.2 - Unreleased
66

7-
This is a small maintenance release with improvements to the Kotlin DSL for CASE expressions. We worked on this soon
8-
after the 1.5.1 release, so wanted to get it out quickly.
9-
See this PR for details: ([#785](https://github.com/mybatis/mybatis-dynamic-sql/pull/785))
7+
This is a small maintenance release with the following changes:
8+
9+
1. Improvements to the Kotlin DSL for CASE expressions (infix methods for "else" and "then"). See this PR for
10+
details: ([#785](https://github.com/mybatis/mybatis-dynamic-sql/pull/785))
11+
2. **Potentially Breaking Change**: the "in" conditions ("isIn", "isNotIn", "isInCaseInsensitive",
12+
"isNotInCaseInsensitive") will now render if the input list of values is empty. This will lead
13+
to a runtime exception. This change was made out of an abundance of caution and is the safest choice.
14+
If you wish to allow "in" conditions to be removed from where clauses when the list is empty,
15+
then use the "when present" versions of those conditions. Please see the discussion here for details
16+
https://github.com/mybatis/mybatis-dynamic-sql/issues/788
1017

1118
GitHub milestone: [https://github.com/mybatis/mybatis-dynamic-sql/milestone/14?closed=1](https://github.com/mybatis/mybatis-dynamic-sql/milestone/14?closed=1)
1219

0 commit comments

Comments
 (0)