marquez
marquez copied to clipboard
Update jdbi3Version to v3.49.5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| org.jdbi:jdbi3-testcontainers (source) | 3.40.0 -> 3.49.5 |
||||
| org.jdbi:jdbi3-testing (source) | 3.40.0 -> 3.49.5 |
||||
| org.jdbi:jdbi3-sqlobject (source) | 3.40.0 -> 3.49.5 |
||||
| org.jdbi:jdbi3-postgres (source) | 3.40.0 -> 3.49.5 |
||||
| org.jdbi:jdbi3-jackson2 (source) | 3.40.0 -> 3.49.5 |
||||
| org.jdbi:jdbi3-core (source) | 3.40.0 -> 3.49.5 |
Release Notes
jdbi/jdbi (org.jdbi:jdbi3-testcontainers)
v3.49.5
- Fix SerializableTransactionRunner retry with failures wrapped in batch exceptions
v3.49.4
- Add experimental support for Kotlin Value types as arguments and columns (#2790, suggested and aided by @SpyMachine)
v3.49.3
- Only use JFR if the flight recorder was registered (#2736)
v3.49.2
- Fix returning
longupdate count from update statements (#2778) - Fix JFR usage on GraalVM (#2736)
- Fix SBOM creation
v3.49.1
- Fix onDemand extension handling of method invocations from a subtype (#2769, thanks @djsstarburst!)
- Move all kotlin deps into the module poms (fixes #2762, thanks @simonolander)
- Drop explicit support for obsolete Kotlin versions < 1.9 (#2764)
- Remove Freebuilder support, which is archived upstream
v3.49.0
- Support creating a ConstructorMapper using a static factory method (#2738, thanks @WellingR!)
- Add support for @Nested Optional fields (#2733, thanks @WellingR!)
v3.48.0
- fix new JFR feature failing on some JDKs (#2736)
v3.47.0
- spring aot: fix
@JdbiRepositoryso aot generation works (#2727, thanks @hpoettker !) - spring/spring5: update spring dependency and tests to latest releases (dependabot #36 / CVE-2024-38820 asks for 5.3.41 but that is not released (neither is 5.3.40. Spring is a mess)).
- deprecate the spring5 module as Spring Framework 5.x is no longer under OSS support
- add new
springmodule that will focus on Spring Framework 6.x and beyond. This is currently the same code as spring5 but no longer needs to maintain Spring Framework 5.x backwards compatibility.
v3.46.0
- Introduce JDK Flight Recorder and OpenTelemetry support
- geantyref 2.0.0
- sqlite: fix sqlite extension memory database usage to share between different connection (#2688)
v3.45.4
v3.45.3
- Fix Connection.close() on JdbiPlugin customizeConnection (#2676)
- Fix multiple commits on handle with autocommit disabled (#2685, thanks @mhib !)
v3.45.2
- Move oracle12 module back into main build (#2664, thanks @stoyants !)
- Raise UnableToCreateStatementException if a positional param is missing (#2675, thanks @angusholder !)
v3.45.1
- Work around JDK-8320575 losing record constructor generic type information
- Improve record constructor detection of generic types to work around JDK-8320575 (#2648, thanks @elonazoulay !)
- Attempt to improve ConstructorMapper performance by caching constructor MethodHandles (#2657, thanks @elonazoulay! )
v3.45.0
- Testcontainer support for DB2 (#2625, thanks @stoyants)
- create CycloneDX SBOM files for release versions
- make builds reproducible
- add
JdbiTestContainersExtension#setShutdownWaitTime(int)to control waiting for extension shutdown if a database is very slow. Addresses #2629 (thanks @stoyants). - documentation updates
v3.44.1
- New
@Definitionfeature also supports super-interface definitions
v3.44.0
- New Feature: annotate types, methods, or fields as
@Definitionto 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)
v3.43.0
** POTENTIAL BREAKING CHANGE **
With 3.43.0, we have improved the support for calling stored procedures via Call, and in particular returning result sets. Like any object that comes from a Statement, the expectation is that code will consume all results (whether it's "normal" result set or a stored procedure result) before closing the Statement. However, previously, Jdbi did not enforce this - OutParameters could be used after the statement closed.
So, you might observe new exceptions while trying to use OutParameters after closing the Call they came from. See: https://github.com/jdbi/jdbi/issues/2592
- Support nesting row types into Java
Optionalor 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-testmodule for tests that require different parts of the code base. Should be used to write test cases for issue investigations. - support
nullas a value for binding bean, method, field and pojo objects (Suggested by @xak2000 in #2562) - Add testcontainers support for MS SQLServer
- support returning a
ResultSetfromCallstatements for databases that do not support cursor parameters. (suggested in #2557 by @metaforte and @0x1F528 in #2546) - support
int,long,short,doubleandfloatreturn values from out parameters directly.
v3.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.
v3.41.3
- Fix regression introduced by #2481 where
-at the end of named parameters get swallowed. (#2499, thanks @gokristian for reporting).- un-deprecate the
otjPostgressupport 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-compressdependabot issue - some version and dependency updates
- un-deprecate the
v3.41.2
- Deprecate the
otjPostgressupport 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)
- Restore pre-3.41.0 behavior for handles using auto-commit == false where transactions don't need
v3.41.1
- Support
.and-as part of named parameter names. (#2471)- Fix incorrect attempt to rollback txn when exception is thrown after commit (#2478)
v3.41.0
- Fix connection leak if Handle throws an exception in the C'tor (#2446). Thanks @kristoffSC
Configuration
📅 Schedule: Branch creation - "every 3 months on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
Deploy Preview for peppy-sprite-186812 failed.
| Name | Link |
|---|---|
| Latest commit | f40850553bd1dbe6e5459ea21726c700d0ccdbca |
| Latest deploy log | https://app.netlify.com/projects/peppy-sprite-186812/deploys/684c8021be265300089b2036 |
Deploy Preview for peppy-sprite-186812 failed.
| Name | Link |
|---|---|
| Latest commit | 4bd8cf02c1d8cec76cc9329228f9dc318fbbe687 |
| Latest deploy log | https://app.netlify.com/projects/peppy-sprite-186812/deploys/68def988e0ba3300082c20b9 |