Releases: jdbi/jdbi
Releases · jdbi/jdbi
v3.45.1
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
- @elonazoulay made their first contribution in #2648
- @2funny made their first contribution in #2653
Full Changelog: v3.45.0...v3.45.1
JDBI 3.45.0
jdbi 3.44.1
3.44.1
- New
@Definition
feature also supports super-interface definitions
v3.44.0
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 callsConnection#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
- Support nesting row types into Java
Optional
or vavrOption
(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
fromCall
statements for databases that do not support cursor parameters. (suggested in #2557 by @metaforte and @0x1F528 in #2546) - support
int
,long
,short
,double
andfloat
return values from out parameters directly.
JDBI 3.42.0
- 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
- 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
- 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()
beforeHandle#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
JDBI 3.41.0
- 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)