Skip to content

Releases: jdbi/jdbi

v3.45.1

14 Mar 17:04
Compare
Choose a tag to compare

What's Changed

  • Handle constructing record classes generic type information (JDK-8320575) by @elonazoulay in #2648
  • fix(sec): upgrade org.postgresql:postgresql to 42.7.2 by @2funny in #2653
  • Cache ConstructorMapper factory method handle by @elonazoulay in #2657
  • ConstructorInstanceFactory: clean up some warnings and flatten stack a bit by @stevenschlansker in #2658

New Contributors

Full Changelog: v3.45.0...v3.45.1

JDBI 3.45.0

18 Feb 21:23
6dda00c
Compare
Choose a tag to compare
  • Test DB2 basic integration (#2625, thanks @stoyants)
  • create CycloneDX SBOM files for release versions
  • Jdbi builds are now reproducible
  • add JdbiTestContainersExtension#setShutdownWaitTime(int) to control waiting for extension shutdown if a database is very slow. Addresses #2629 (thanks @stoyants).

jdbi 3.44.1

08 Feb 18:11
Compare
Choose a tag to compare

3.44.1

  • New @Definition feature also supports super-interface definitions

v3.44.0

31 Jan 22:34
Compare
Choose a tag to compare

3.44.0

  • New Feature: annotate types, methods, or fields as @Definition to define computed constants
  • fix edge condition when calling Connection#commit() threw an Exception, we called commit() again. Now the
    code explicitly calls Connection#rollback(). Fixes #2595
  • FieldMapper: skip static fields (#2607, reported by @mvysny)
  • fix StackOverflowError when encountering recursive types like <T extends This<T>> (#2582, reported by @johnarrr)

JDBI 3.43.0

03 Jan 06:23
eddfa45
Compare
Choose a tag to compare
  • Support nesting row types into Java Optional or vavr Option (reported by @martyn0ff, #2558)
  • finally give up on trying to guess SQL script parsing and add a switch to control whether to strip trailing semicolons or not. Another attempt to
    fix SQL script parsing is (reported by @IrinaTerlizhenko, #2554).
  • add a new integration-test module for tests that require different parts of the code base. Should be used to write test cases for issue investigations.
  • support null as a value for binding bean, method, field and pojo objects (Suggested by @xak2000 in #2562)
  • Add testcontainers support for MS SQLServer
  • support returning a ResultSet from Call statements for databases that do not support cursor parameters. (suggested in #2557 by @metaforte and @0x1F528 in #2546)
  • support int, long, short, double and float return values from out parameters directly.

JDBI 3.42.0

29 Nov 20:12
704c428
Compare
Choose a tag to compare
  • Add Spring Jdbi repositories with @EnableJdbiRepositories, thanks @xfredk (#2528, #2544)
  • Support Kotlin coroutine scope. (#2524) - Suggested by @anderssv on the mailing list
  • Move from Kotlin 1.5 to 1.6 as 1.5 is deprecated and will be removed.
  • Add support for Function arguments, similar to Consumer arguments, to SQL objects (#2326)
  • Fix kotlin deprecation warnings (#2511) - Thanks @lwach-allegro for contributing a PR
  • lexer fixes (#2520), this should fix all problems with identifier names (fixes #2481, #2499 and #2510)
  • correctness fix for Handle creation (#2541)
  • Fix Vavr argument usage in SqlObjects (reported by @diversit, #2529)
  • Fix MySQL Script parsing (reported by @IrinaTerlizhenko, #2535)
  • Added a written security policy.

JDBI 3.41.3

03 Oct 01:29
80f0dd7
Compare
Choose a tag to compare
  • Fix regression introduced by #2481 where - at the end of named parameters get swallowed. (#2499, thanks @gokristian for reporting).
  • un-deprecate the otjPostgres support in jdbi-testing as the project shipped 1.02 with JPMS module name support.
  • doc updates (#2496, thanks @hpoettker)
  • upgrade lombok version for testing with Java 21 (#2495)
  • address commons-compress dependabot issue
  • some version and dependency updates

JDBI 3.41.2

22 Sep 04:19
1c70d68
Compare
Choose a tag to compare
  • Deprecate the otjPostgres support in jdbi-testing. This will be undeprecated if they ship a version that provides an automatic module name for JPMS, otherwise it will be removed when Jdbi ships with full JPMS support.
  • Restore pre-3.41.0 behavior for handles using auto-commit == false where transactions don't need Handle#begin() before Handle#commit() (#2491, thanks @grigorem)
  • Start a MySQL specific module. Right now, this is tests only.
  • Fix javadoc generation to build Java 11 javadocs (not Java 8 + fixes)

JDBI 3.41.1

08 Sep 16:27
be873a3
Compare
Choose a tag to compare
  • Support . and - as part of named parameter names. (#2471). Thanks @uraimo
  • Fix incorrect attempt to rollback txn when exception is thrown after commit (#2478). Thanks @maxqch

JDBI 3.41.0

15 Aug 17:19
643b2e6
Compare
Choose a tag to compare
  • Fix connection leak if Handle throws an exception in the C'tor (#2446). Thanks @kristoffSC
  • documentation example code updates
  • remove all spotbugs annotations, replace with jakarta (#2456)
  • rename "Handler" to "HandleCallbackDecorator", mark as @Alpha (#2460)