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

Bump h2 from 1.4.195 to 2.1.210 #171

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 21, 2022

Bumps h2 from 1.4.195 to 2.1.210.

Release notes

Sourced from h2's releases.

Version 2.1.210

Two security vulnerabilities in H2 Console (CVE-2022-23221 and possible DNS rebinding attack) are fixed.

Persistent databases created by H2 2.0.x don't need to be upgraded. Persistent databases created by H2 1.4.200 and older versions require export into SQL script with that old version and creation of a new database with the new version and execution of this script in it.

... (truncated)

Commits
  • ca926f8 Merge remote-tracking branch 'h2database/master'
  • be306de Version advancement
  • 030eb72 Improve migration documentation
  • 86d58c4 Merge pull request #3381 from katzyn/legacy
  • b613598 Typo
  • d6e4eb8 Add IDENTITY() and SCOPE_IDENTITY() to LEGACY mode
  • 36e790d make javadoc happier
  • 1c0ca27 Add "of this server" to adminWebExternalNames text
  • 0f83f48 Convert host names to lower case
  • c5f11a5 Merge pull request #3378 from katzyn/lob
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [h2](https://github.com/h2database/h2database) from 1.4.195 to 2.1.210.
- [Release notes](https://github.com/h2database/h2database/releases)
- [Commits](h2database/h2database@version-1.4.195...version-2.1.210)

---
updated-dependencies:
- dependency-name: com.h2database:h2
  dependency-type: direct:production
...

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 Jan 21, 2022
@pjreed
Copy link
Contributor

pjreed commented Jan 27, 2022

Following up on #169, I just thought I'd leave a comment here that this still isn't quite ready. H2GIS has released a new version of their library that is compatible with H2 2.x, but Hibernate 5.x does not support H2, and Hibernate 6 is still in alpha/beta testing. Based purely on past experience, I also suspect upgrading from Hibernate 5 to 6 will require some more significant work, they like to break things between major releases.

@danthony06
Copy link
Contributor

Ouch. I notice dependabot mentioned upgrading the database with an SQL script. I assume that we'd have to write that script?

@pjreed
Copy link
Contributor

pjreed commented Jan 27, 2022

The good news is that only applies to persistent databases; since the Bag DB only uses H2 to create transient, in-memory databases for unit testing, that doesn't apply to us.

@danthony06
Copy link
Contributor

@pjreed Looking at this again. From the thread you linked, can we do this?

You can add ;MODE=LEGACY to JDBC URL of H2 (you need H2 2.0.204 or later version).

and then merge in this update?

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 7, 2023

A newer version of com.h2database:h2 exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

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.

2 participants