-
Notifications
You must be signed in to change notification settings - Fork 201
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
OGM-1592: Add 5.4.2.Final migration guide #1136
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
documentation/manual/src/main/asciidoc/migration/index.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[[ogm-migration]] | ||
|
||
== 5.4.2.Final | ||
|
||
=== MongoDB | ||
|
||
==== MongoDB Java Driver | ||
|
||
This patch release updates the underlying MongoDB Java driver from 3.11 to 4.11. It also fixes some incompatibilities | ||
with more recent versions of MongoDB that prevent 5.4.1.Final from executing native queries. | ||
|
||
As a consequence of the driver update, the oldest MongoDB server release that hibernate-ogm will connect to is now 3.6 (which reached | ||
end of life in April 2021). | ||
|
||
=== MongoDB Server | ||
|
||
Recent versions of the MongoDB server have removed support for some features on which hibernate-ogm depend. In particular: | ||
|
||
* MongoDB 4.2 removed support for the `$eval` command, on which hibernate-ogm support for stored procedures depends. | ||
|
||
All other hibernate-ogm tests of MongoDB support are passing with MongoDB 3.6, up through the latest release of MongoDB | ||
(currently MongoDB 8.0). | ||
DavideD marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
|
||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It probably worth mentioning that native queries won't support
maxscan
andsnapshot
anymore: https://github.com/hibernate/hibernate-ogm/pull/1134/files#diff-8b6ff949d6524f98fc432f5eae5b7cec1c828e9ef1281930933b72ef0cc9cdb9L1241There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.