elimu-ai / webapp

🖥 Web application for hosting Android applications and educational content
https://hin.elimu.ai
MIT License
30 stars 54 forks source link

chore(deps): bump hibernate.version from 5.5.7.Final to 5.6.15.Final #1676

Closed dependabot[bot] closed 3 weeks ago

dependabot[bot] commented 1 month ago

Bumps hibernate.version from 5.5.7.Final to 5.6.15.Final. Updates org.hibernate:hibernate-core from 5.5.7.Final to 5.6.15.Final

Changelog

Sourced from org.hibernate:hibernate-core's changelog.

Changes in 5.6.15.Final (February 06, 2023)

https://hibernate.atlassian.net/projects/HHH/versions/32121

** Bug * [HHH-16049] - Setting a property to its current value with bytecode enhancement enabled results in unnecessary SQL Update in some (many) cases * [HHH-15665] - Mariadb is missing identifier quote on SEQUENCE QUERY * [HHH-15618] - Procedure should accept TypedParameterValue as parameter

** Improvement * [HHH-15693] - Introduce a fast-path access for ClassLoaderService being retrieved from ServiceRegistry * [HHH-15690] - HQLQueryPlan to have a direct reference to QueryTranslatorFactory * [HHH-15685] - Improve efficiency of Dialect lookup in Loader and HqlSqlWalker

** Patch * [HHH-15792] - Explicitly add JavaDoc to make @​deprecated hint for createSQLQuery visible in Eclipse

Changes in 5.6.14.Final (November 04, 2022)

https://hibernate.atlassian.net/projects/HHH/versions/32120

** Improvement * [HHH-15662] - ClasscastException caused by check for Managed rather than ManagedEntity

Changes in 5.6.13.Final (November 03, 2022)

https://hibernate.atlassian.net/projects/HHH/versions/32112

** Bug * [HHH-15634] - Lazy basic property does not get updated on change * [HHH-15561] - Function "IDENTITY" not found when inserting audited revision using Hibernate Envers * [HHH-15554] - Merge of an Entity with an immutable composite user type throws Exception

** Improvement * [HHH-15649] - Additional performance fixes relating to Klass's _secondary_super_cache interaction with entity enhancement * [HHH-15639] - Upgrade to ByteBuddy 1.12.18 * [HHH-15637] - Upgrade to Byteman 4.0.20 * [HHH-15616] - Mitigate performance impact of entity enhancement on Klass's _secondary_super_cache * [HHH-15585] - Add support for DB2 aliases for schema validation * [HHH-15575] - Make getter org.hibernate.criterion.SimpleExpression#getOp() public

** Task * [HHH-15594] - Remove Oracle RDS and all test matrix uses

... (truncated)

Commits
  • e924c27 5.6.15.Final
  • 38ec412 HHH-15665 - Fix and added test for issue
  • 1078caa HHH-16049 Setting a property to its current value with bytecode enhancement e...
  • 802fc76 HHH-16049 Test setting a property to its current value with bytecode enhancem...
  • ac55bb2 HHH-16049 Test setting a property to its current value with bytecode enhancem...
  • 84662bf HHH-16049 Restructure lazy-basic tests for easier re-execution and better tes...
  • 49fbe84 HHH-15618 Accept TypedParameterValue for procedure
  • 45c7fc5 Add TCK build throttling
  • cc3b389 Switch from LGTM to CodeQL
  • d7fa18a HHH-15792: Explicitly add JavaDoc to make @​deprecated hint for createSQLQuery...
  • Additional commits viewable in compare view


Updates org.hibernate:hibernate-entitymanager from 5.5.7.Final to 5.6.15.Final

Changelog

Sourced from org.hibernate:hibernate-entitymanager's changelog.

Changes in 5.6.15.Final (February 06, 2023)

https://hibernate.atlassian.net/projects/HHH/versions/32121

** Bug * [HHH-16049] - Setting a property to its current value with bytecode enhancement enabled results in unnecessary SQL Update in some (many) cases * [HHH-15665] - Mariadb is missing identifier quote on SEQUENCE QUERY * [HHH-15618] - Procedure should accept TypedParameterValue as parameter

** Improvement * [HHH-15693] - Introduce a fast-path access for ClassLoaderService being retrieved from ServiceRegistry * [HHH-15690] - HQLQueryPlan to have a direct reference to QueryTranslatorFactory * [HHH-15685] - Improve efficiency of Dialect lookup in Loader and HqlSqlWalker

** Patch * [HHH-15792] - Explicitly add JavaDoc to make @​deprecated hint for createSQLQuery visible in Eclipse

Changes in 5.6.14.Final (November 04, 2022)

https://hibernate.atlassian.net/projects/HHH/versions/32120

** Improvement * [HHH-15662] - ClasscastException caused by check for Managed rather than ManagedEntity

Changes in 5.6.13.Final (November 03, 2022)

https://hibernate.atlassian.net/projects/HHH/versions/32112

** Bug * [HHH-15634] - Lazy basic property does not get updated on change * [HHH-15561] - Function "IDENTITY" not found when inserting audited revision using Hibernate Envers * [HHH-15554] - Merge of an Entity with an immutable composite user type throws Exception

** Improvement * [HHH-15649] - Additional performance fixes relating to Klass's _secondary_super_cache interaction with entity enhancement * [HHH-15639] - Upgrade to ByteBuddy 1.12.18 * [HHH-15637] - Upgrade to Byteman 4.0.20 * [HHH-15616] - Mitigate performance impact of entity enhancement on Klass's _secondary_super_cache * [HHH-15585] - Add support for DB2 aliases for schema validation * [HHH-15575] - Make getter org.hibernate.criterion.SimpleExpression#getOp() public

** Task * [HHH-15594] - Remove Oracle RDS and all test matrix uses

... (truncated)

Commits
  • e924c27 5.6.15.Final
  • 38ec412 HHH-15665 - Fix and added test for issue
  • 1078caa HHH-16049 Setting a property to its current value with bytecode enhancement e...
  • 802fc76 HHH-16049 Test setting a property to its current value with bytecode enhancem...
  • ac55bb2 HHH-16049 Test setting a property to its current value with bytecode enhancem...
  • 84662bf HHH-16049 Restructure lazy-basic tests for easier re-execution and better tes...
  • 49fbe84 HHH-15618 Accept TypedParameterValue for procedure
  • 45c7fc5 Add TCK build throttling
  • cc3b389 Switch from LGTM to CodeQL
  • d7fa18a HHH-15792: Explicitly add JavaDoc to make @​deprecated hint for createSQLQuery...
  • Additional commits viewable in compare view


Updates org.hibernate:hibernate-tools from 5.5.7.Final to 5.6.15.Final

Commits
  • 2bea425 HBX-2481: Update version identifier to 5.6.15.Final
  • 2e82ccf HBX-2483: Update Hibernate ORM Dependency to Version 5.6.16.Final
  • 583ff31 HBX-2425: Update version identifier to 5.6.15-SNAPSHOT
  • d1d7ded HBX-2424: Update version identifier to 5.6.14.Final
  • 4401c83 HBX-2422: Update Hibernate ORM Dependency to Version 5.6.14.Final
  • 94c8bba HBX-2423: Update version identifier to 5.6.14-SNAPSHOT
  • 777b32f HBX-2410: Update version identifier to 5.6.13.Final
  • 24d8dec HBX-2406: Update Hibernate ORM Dependency to Version 5.6.13.Final
  • 64f042b HBX-2421: Ignore the jenv related .java-version file
  • 47fbc5e HBX-2420: Hibernate tools are not published to Maven Central - Override relea...
  • Additional commits viewable in compare view


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 15.26%. Comparing base (2b87789) to head (416b1ce).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1676 +/- ## ========================================= Coverage 15.26% 15.26% Complexity 450 450 ========================================= Files 248 248 Lines 7584 7584 Branches 799 799 ========================================= Hits 1158 1158 Misses 6376 6376 Partials 50 50 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

jo-elimu commented 1 month ago

@coderabbitai

coderabbitai[bot] commented 1 month ago

[!TIP] For best results, initiate chat on the files or code changes.

@jo-elimu, how can I assist you with this PR? Do you need a review of the changes, or is there something specific you would like me to check?

jo-elimu commented 1 month ago

@coderabbitai How is the hibernate version change connected to the Hibernate Validator version (as described in https://github.com/elimu-ai/webapp/issues/1286)?

coderabbitai[bot] commented 1 month ago

[!TIP] For best results, initiate chat on the files or code changes.

@jo-elimu, the current version of hibernate-validator specified in the pom.xml file is 6.1.7.Final.

The PR updates the Hibernate version to 5.6.15.Final but does not change the hibernate-validator version. The hibernate-validator version 6.1.7.Final is compatible with the Hibernate 5.x series, so this update should not directly impact the hibernate-validator version.

However, if there are plans to upgrade hibernate-validator to 7.0.1.Final in the future, it will require careful handling as described in issue #1286 to avoid breaking validation functionality.

If you have any further questions or need additional assistance, feel free to ask.

Analysis chain --- @jo-elimu, the issue #1286 indicates that upgrading `hibernate-validator` from 6.1.7.Final to 7.0.1.Final requires careful handling to avoid breaking validation functionality. The current PR updates the Hibernate version but does not explicitly mention an upgrade to `hibernate-validator`. To provide a comprehensive answer, I need to check the current version of `hibernate-validator` specified in the `pom.xml` file and analyze its compatibility with the updated Hibernate version. I'll proceed with these steps and get back to you shortly.
Scripts executed The following scripts were executed for the analysis: Script: ```shell #!/bin/bash # Fetch the issue details from the provided URL gh issue view 1286 --repo elimu-ai/webapp # Check the current Hibernate Validator version used in the project grep -r "hibernate-validator" . ``` Length of output: 1093 --- Script: ```shell #!/bin/bash # Check the version of hibernate-validator in the pom.xml file grep -A 1 "hibernate-validator" ./pom.xml ``` Length of output: 141
coderabbitai[bot] commented 3 weeks ago

[!TIP] For best results, initiate chat on the files or code changes.

@jo-elimu, I will proceed to recreate the PR as requested.

@dependabot recreate

dependabot[bot] commented 3 weeks ago

Sorry, only users with push access can use that command.

jo-elimu commented 3 weeks ago

@dependabot recreate