Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Mod v3 #1132

Closed
wants to merge 10 commits into from
Closed

Mod v3 #1132

wants to merge 10 commits into from

Conversation

DavideD
Copy link
Member

@DavideD DavideD commented Aug 30, 2024

No description provided.

jyemin and others added 10 commits August 30, 2024 16:16
…4.11.3

* Use mongodb-driver-legacy since mongo-java-driver uber jar is not published as of 4.0.
* Replace find modifiers, which were removed in 4.0, with calls to `FindIterable` methods
* Remove support for $maxScan, which is no longer supported by MongoDB
* Remove support for $explain.  The only way to explain with the 4.x driver is by calling `FindIterable#explain`.  We could do that, and then use `SingleTupleIterator`, but is it worth it?  Is explain only supported by OGM as a native query?
* Handle breaking changes in WriteConcern class
* Handle breaking changes related to MongoCredential
In the 4.0 Java driver, the default mode changed from
STRICT to RELAXED for Document#toJson. Explicitly setting
the mode to STRICT in tests so that JSON comparisons
continue to work.
The bson-record-codec module is not needed for hibernate-ogm, and needs to be excluded at
least for tests because the class files in that module are compiled for Java 17 (the
minimum LTS release required for record support).
@hibernate-github-bot
Copy link

Thanks for your pull request!

This pull request does not follow the contribution rules. Could you have a look?

❌ All commit messages should start with a JIRA issue key matching pattern OGM-\d+
    ↳ Offending commits: [81a03cb, 095854f, bb28015, ddf96f1, 3ce2220, 0aa5a98, bc2abfc, 30584eb, 1350d5f]
❌ The PR title or body should list the keys of all JIRA issues mentioned in the commits
    ↳ Issue keys mentioned in commits but missing from the PR title or body: [OGM-1588]

› This message was automatically generated.

@DavideD DavideD closed this Aug 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants