3.0.0
What's Changed
Features
JPQL
The previous Kotlin JDSL was built using the Criteria API, which limited the queries you could write. However, Kotlin JDSL 3.0.0 has been rebuilt using the JPQL, which breaks this limitation.
Documents
The previous Kotlin JDSL had poor documents and it was difficult to know what features were available. Since Kotlin JDSL 3.0.0, Kotlin JDSL's documentation has been enhanced with a gitbook, and you can easily find the features you want through search.
https://kotlin-jdsl.gitbook.io/docs/
Prepare statement
The previous Kotlin JDSL only supported literal for parameters, so there was no support for prepare statements. Kotlin JDSL 3.0.0 supports bind parameters, so you can use prepare statements. With the support of bind parameters, Kotlin JDSL 3.0.0 uses the bind parameters instead of literal as the default method for rendering parameters.
Breaking changes
DSL
The previous Kotlin JDSL had the problem that queries could be written too leniently, requiring the users to know how to use it. Kotlin JDSL 3.0.0 changes the DSL to a fluent style, which gives users more guidance. This made it impossible to reuse previously written queries. However, because 3.0.0 can be used with 2.0.0, it is possible to write new queries in 3.0.0 and gradually change queries written in 2.0.0 to 3.0.0.
New Contributors
- @dogemad made their first contribution in #274
- @key-del-jeeinho made their first contribution in #318
- @waveofmymind made their first contribution in #405
- @saeyoon94 made their first contribution in #401
- @hadoobidoop made their first contribution in #410
- @jyunkim made their first contribution in #414
- @pickmoment made their first contribution in #420
- @SeongYunKim made their first contribution in #421
- @erie0210 made their first contribution in #426
Full Changelog: 2.2.1.RELEASE...3.0.0