Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump jdbi3-core from 3.37.1 to 3.38.2 #2928

Merged
merged 1 commit into from
May 22, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 22, 2023

Bumps jdbi3-core from 3.37.1 to 3.38.2.

Release notes

Sourced from jdbi3-core's releases.

jdbi v3.38.2

  • spring5 JdbiUtil: fix thread safety #2341

3.38.1

Performance improvements: creating statements rapidly should no longer create nearly as much garbage to collect, and spend a lot less time copying hash maps.

JDBI 3.38.0

With three RCs and over 15,000 lines of changed code, 3.38.0 turned out to be a massive release:

Large refactorings

  • rewrite the core extension framework, move functionality from sqlobject to core
  • rewrite sqlobject and the generator to use the new extension framework, deprecate functionality that moved to the core

Bug fixes

  • fix GenericType creation in parameterized classes (#2305)
  • fix problem when using the jdbi bom in spring projects (#2295, thanks @​jedvardsson)
  • StringTemplate engine: handle st4 errors rather than logging to stderr. Allow configuring missing attribute as a fatal error

Improvements and new functionality

  • add SqlStatements#setAttachAllStatementsForCleanup. Setting this configuration flag will attach all created statements to their handles for resource cleanup. Default is false. (#2293, thanks @​jodastephen)
  • add SqlStatements#setAttachCallbackStatementsForCleanup. Setting this configuration flag will attach all created statements within one of the Jdbi callback methods to the handle. This allows code that uses the Jdbi callback methods to delegate resource management fully to Jdbi. This flag is set by default. (#2293, thanks @​jodastephen)
  • add JdbiExecutor for async Jdbi operations (#2280, thanks @​leblonk)
  • ResultIterable methods: set(), collectToMap(), toCollection(), collectInto(), collectIntoList(), collectIntoSet() (#2262, thanks @​gpsfl)
  • Support Consumer as a consumer argument for operations that return multiple results.

Small changes

  • CaseStrategy is now an official API (dropped @​Beta) (#2309)
  • rewrite AccessibleObjectStrategy into an enum (#2310)
  • allow user defined functions for message rendering (#2311)
  • Helpers to make registering CollectorFactory easier
  • FreemarkerEngine encourages singleton use so caching works better

Dependencies

JDBI 3.38.0-rc1

This is the first release candidate for JDBI 3.38.0

There are major changes to the extension framework and its major implementations (sqlobject and generator). While the code passes our test suite, this code may expose unexpected problems or hidden bugs. It should be used in production environments with caution.

Depending on the feedback / bug reports we may add another release candidate. Final release will depend on wrapping up documentation for the new extension framework as well.

Changes

... (truncated)

Changelog

Sourced from jdbi3-core's changelog.

3.38.2

  • spring5 JdbiUtil: fix thread safety #2341

3.38.1

  • Dramatic performance improvement around copying configuration objects when creating statements Should reduce allocation rate and time spent in ConcurrentHashMap init

3.38.0

  • CaseStrategy is now an official API (dropped @​Beta) (#2309)
  • rewrite AccessibleObjectStrategy into an enum (#2310)
  • allow user defined functions for message rendering (#2311)
  • fix GenericType creation in parameterized classes (#2305)
  • add SqlStatements#setAttachAllStatementsForCleanup. Setting this configuration flag will attach all created statements to their handles for resource cleanup. Default is false. (#2293, thanks @​jodastephen)
  • add SqlStatements#setAttachCallbackStatementsForCleanup. Setting this configuration flag will attach all created statements within one of the Jdbi callback methods to the handle. This allows code that uses the Jdbi callback methods to delegate resource management fully to Jdbi. This flag is set by default. (#2293, thanks @​jodastephen)
  • fix problem when using the jdbi bom in spring projects (#2295, thanks @​jedvardsson)
  • add JdbiExecutor for async Jdbi operations (#2280, thanks @​leblonk)
  • rewrite the core extension framework, move functionality from sqlobject to core
  • rewrite sqlobject and the generator to use the new extension framework, deprecate functionality that moved to the core
  • StringTemplate engine: handle st4 errors rather than logging to stderr. Allow configuring missing attribute as a fatal error
  • StringTemplate 4.3.4
  • update spring framework dependency to 5.3.27 (address CVE-2023-20861, CVE-2023-20863)
  • ResultIterable methods: set(), collectToMap(), toCollection(), collectInto(), collectIntoList(), collectIntoSet()
  • Helpers to make registering CollectorFactory easier
  • FreemarkerEngine encourages singleton use so caching works better
  • Support Consumer as a consumer argument for operations that return multiple results.
Commits
  • 0093d7e [maven-release-plugin] prepare release v3.38.2
  • a1c2794 release notes 3.38.2
  • f371899 JdbiUtil: use concurrent data structure to store static state
  • c399c2b [maven-release-plugin] prepare for next development iteration
  • 0d24552 [maven-release-plugin] prepare release v3.38.1
  • eef6a7c release notes 3.38.1
  • 484e3ba jacoco 0.8.10
  • 01366ba Performance: introduce CopyOnWriteHashMap to make cloning mapper and argument...
  • 3cf4c91 Merge pull request #2338 from hgschmie/config-test
  • 32d7e4a Unit test for config registry behavior
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [jdbi3-core](https://github.com/jdbi/jdbi) from 3.37.1 to 3.38.2.
- [Release notes](https://github.com/jdbi/jdbi/releases)
- [Changelog](https://github.com/jdbi/jdbi/blob/master/RELEASE_NOTES.md)
- [Commits](jdbi/jdbi@v3.37.1...v3.38.2)

---
updated-dependencies:
- dependency-name: org.jdbi:jdbi3-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels May 22, 2023
@jknack jknack added this to the 3.0.0.M8 milestone May 22, 2023
@jknack jknack merged commit 8df0646 into 3.x May 22, 2023
8 checks passed
@dependabot dependabot bot deleted the dependabot/maven/org.jdbi-jdbi3-core-3.38.2 branch May 22, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant