Skip to content

Releases: jdbi/jdbi

3.27.1

25 Jan 18:51
Compare
Choose a tag to compare
  • Fix Batch binding with serializable transaction retries (#1967), thanks @sudharsannr!

3.27.0

06 Jan 22:05
Compare
Choose a tag to compare

Fix serious regression in 3.26.x: incorrect Batch parameter binding (#1987)

3.26.1

04 Jan 21:43
Compare
Choose a tag to compare

DO NOT USE

Serious regression: #1987

3.26.2 coming soon.

  • Fix transaction callbacks working with nested transactions

JDBI 3.26.0

21 Dec 05:09
4e3c795
Compare
Choose a tag to compare

Fixes

  • change annotation targets for Kotlin annotations to CLASS (fixes #1971)

Changes

  • use h2 2.x for unit tests (prevents spurious "security" reports)
  • run more integration tests for postgres and dependency compatibility

JDBI 3.25.0

18 Dec 21:10
Compare
Choose a tag to compare
  • SPI change @Json String database type mappers now use @EncodedJson String instead (#1953)
  • Sql4JSqlLogger: fix NPE when using Script
  • fix using ConstructorMapper on empty generated keys results (#1955)
  • Handle: add new afterCommit and afterRollback transaction callbacks

3.24.1

17 Nov 01:41
Compare
Choose a tag to compare
  • fix Bean property type being erased on generic beans

3.24.0

10 Nov 01:42
Compare
Choose a tag to compare

3.24.0

  • Fix batch binding with mixed null and non-null primitives (#1901)
  • Add Arguments.setPreparedArgumentsEnabled to disable new preparable arguments feature
  • Add JUnit 5 support to the testing package.
  • Add interceptors for type inference for Row Mappers, Column Mappers and SQL Array types
  • Fix mapper lookup for Kotlin data types. Ensure that registered prefixes are used. Fixes #1944
  • RowMappers#register(RowMapper<?>) no longer allows Object as concrete parameter type.
  • Run ktlint and detekt on Kotlin code to improve code quality

JDBI 3.23.0

09 Oct 01:48
Compare
Choose a tag to compare
  • Rework and document importing bindings in guice definition modules
  • expose createKey() method in guice definition modules
  • Add no-op GuiceJdbiCustomizer
  • Fix annotation inheritance for non-direct supertypes (#1920)

JDBI 3.22.0

13 Sep 19:31
Compare
Choose a tag to compare
  • Guice support for Jdbi creation and injection (#1888)
  • documentation fixes
  • update CI to build with post-11 JDK (currently 16)

JDBI 3.21.0

15 Jul 21:14
Compare
Choose a tag to compare
  • Fix sending Long types as INT8 instead of INT4 (#1902)
  • Updates to build and compilation (e.g. treat parameters/noparameters correctly)
  • Add a local mvnw binary to build without a local maven installation
  • Documentation updates and deploy fixes (kotlin docs work again)
  • Add a Metadata API to allow Database metadata access through the Handle (#1889)