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

Mod v2 #1131

Closed
wants to merge 8 commits into from
Closed

Mod v2 #1131

wants to merge 8 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
    47b4758 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
    658b05c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    71797a9 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
    db517fe 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
    4d3820d 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
    b692516 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    797596b View commit details
    Browse the repository at this point in the history
  8. Use JDK 11 for the build

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