Skip to content

Releases: line/kotlin-jdsl

3.2.0

13 Dec 01:41
Compare
Choose a tag to compare

Features

  • Support substring function #538
  • Support concat function #545

Full Changelog: 3.1.1...3.2.0

3.1.1

01 Dec 05:17
Compare
Choose a tag to compare

Bug Fixes

  • Modify BeanPostProcessor configuration to remove warnings from BeanPostProcessorChecker

Full Changelog: 3.1.0...3.1.1

3.1.0

22 Nov 07:04
Compare
Choose a tag to compare

Bug Fixes

  • Add single quotation to the function name in JPQL function #534

Features

Full Changelog: 3.0.2...3.1.0

3.0.2

13 Nov 12:41
Compare
Choose a tag to compare

Bug Fixes

  • Missing parenthesized parameter in generated query #524

Full Changelog: 3.0.1...3.0.2

3.0.1

29 Oct 06:02
Compare
Choose a tag to compare

Bug Fixes

  • Missing parentheses in generated query #512

Breaking Changes

  • JpqlWriter no longer supports prefix and postfix on writeEach(). Because redundant parentheses cannot be controlled.

Full Changelog: 3.0.0...3.0.1

3.0.0

24 Oct 06:24
Compare
Choose a tag to compare

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

Full Changelog: 2.2.1.RELEASE...3.0.0

2.2.1.RELEASE

21 Feb 23:31
Compare
Choose a tag to compare

2.2.1 (2023-02-22)

Bug Fixes

fix: Fixing in treating empty lists as a conjunction. by @MrThreepwood in #194

Internal Improvement

none

Features

none

Breaking Changes

When an in query is executed, if an empty array is entered as a parameter, delete and update are not normally executed.

New Contributors

Full Changelog: 2.2.0.RELEASE...2.2.1.RELEASE

2.2.0.RELEASE

19 Jan 01:23
Compare
Choose a tag to compare

2.2.0 (2023-01-19)

Bug Fixes

none

Internal Improvement

none

Features

feat: Support Reactive JPA 3.0 by @cj848 in #171

  • Users can now use the Reactive JPA 3 specification with kotlin-jdsl without major code changes. Try using JPA 3.0 spec using kotlin jdsl 2.2.0 & hibernate 6 & hibernate-reactive 1.1.9 jakarta version.

Breaking Changes

none

New Contributors

Full Changelog: 2.1.0.RELEASE...2.2.0.RELEASE

2.1.0.RELEASE

06 Jan 01:20
Compare
Choose a tag to compare

2.1.0 (2023-01-06)

Bug Fixes

none

Internal Improvement

none

Features

feat: Support JPA 3.0 by @cj848 in #160

  • Users can now use the JPA 3 specification with kotlin-jdsl without major code changes. Try using JPA 3.0 spec using kotlin jdsl 2.1.0 & eclipse 4, hibernate 6 version.

Breaking Changes

Minimum JDK version changed to 17. Since Spring 6, JDK 17 has been designated as the minimum version, and since it is relatively easy for kotlin projects to upgrade the JDK version, we have decided to set JDK 17 as the minimum version from a maintenance point of view.

New Contributors

Full Changelog: 2.0.7.RELEASE...2.1.0.RELEASE

2.0.7.RELEASE

09 Nov 04:35
e20ad81
Compare
Choose a tag to compare

2.0.7 (2022-11-09)

Bug Fixes

none

Internal Improvement

none

Features

feat:exists spec: Add ExistsSpec to enable exists not exist sql stmt by @kihwankim in #127

Breaking Changes

none

New Contributors

Full Changelog: 2.0.6.RELEASE...2.0.7.RELEASE