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

Commits on Aug 30, 2024

  1. OGM-1588: Upgrade MongoDB driver dependency to mongodb-driver-legacy …

    …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
    jyemin authored and DavideD committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    6705f22 View commit details
    Browse the repository at this point in the history
  2. Simplify MongoClient construction

    jyemin authored and DavideD committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    81a03cb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    095854f View commit details
    Browse the repository at this point in the history
  4. Use tabs instead of spaces

    jyemin authored and DavideD committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    bb28015 View commit details
    Browse the repository at this point in the history
  5. Continue to use JsonMode.STRICT for JSON comparison

    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.
    jyemin authored and DavideD committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    ddf96f1 View commit details
    Browse the repository at this point in the history
  6. Checkstyle fixes

    jyemin authored and DavideD committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    3ce2220 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0aa5a98 View commit details
    Browse the repository at this point in the history
  8. Add bson-record-codec exclusion

    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).
    jyemin authored and DavideD committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    bc2abfc View commit details
    Browse the repository at this point in the history
  9. fix

    DavideD committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    30584eb View commit details
    Browse the repository at this point in the history
  10. fix

    DavideD committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    1350d5f View commit details
    Browse the repository at this point in the history