Skip to content

MyBatis Dynamic SQL Release 2.0.0

Latest

Choose a tag to compare

@jeffgbutler jeffgbutler released this 12 Mar 01:28
· 27 commits to master since this release

Release 2.0.0 is a significant milestone for the library:

  • Java 17 is now the minimum version
  • We've adopted JSpecify to denote the nullability expectations in the library, and JSpecify is now a runtime dependency
  • There are significant changes to the DSLs with where clauses (CountDSL, DeleteDSL, SelectDSL, and UpdateDSL). There are new versions of each of these DSLs that will eventually replace the existing versions. Both versions are present in this release, so there shouldn't be any issues with upgrading. But the old versions will eventually be removed. The old versions of the DSLs will be deprecated in the next minor release.
  • Lots of enhancements. One important enhancement is that we now support full boolean expressions in join statements and any of the conditions (isGreaterThan, isLessThan, etc.) can be used.
  • There are a few breaking changes. We don't believe these will impact many users. One potential source of trouble is if you have created many custom functions. You will likely need to make changes if that is the case.

Please read the change log for full details about the changes in this release: https://mybatis.org/mybatis-dynamic-sql/docs/CHANGELOG.html

You can see the important milestone issues here: https://github.com/mybatis/mybatis-dynamic-sql/milestone/15?closed=1

All artifacts are available in Maven central at these coordinates:

<dependency>
    <groupId>org.mybatis.dynamic-sql</groupId>
    <artifactId>mybatis-dynamic-sql</artifactId>
    <version>2.0.0</version>
</dependency>