Skip to content

Comments

Bump mongodb.version from 4.11.5 to 5.4.0#1125

Closed
dependabot[bot] wants to merge 2 commits intomasterfrom
dependabot/maven/master/mongodb.version-5.4.0
Closed

Bump mongodb.version from 4.11.5 to 5.4.0#1125
dependabot[bot] wants to merge 2 commits intomasterfrom
dependabot/maven/master/mongodb.version-5.4.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 6, 2025

Bumps mongodb.version from 4.11.5 to 5.4.0.
Updates org.mongodb:mongodb-driver-sync from 4.11.5 to 5.4.0

Release notes

Sourced from org.mongodb:mongodb-driver-sync's releases.

Java Driver 5.4.0 (March 20, 2025)

What's Changed

🚀 New Features & Enhancements

  • JAVA-5767 Support $lookup in CSFLE and QE #1638
  • Improved selection criteria for srvMaxHosts. #1590
  • Add index hint support for distinct command #1581

Atlas Search Improvements

Bulk Write and Update Enhancements

  • Improved Bulk Write API and added sort option support to updateOne and replaceOne. #1509, #1585, #1612
  • Added Scala Client Bulk Write API. #1603

Driver and Codec Optimizations

  • Optimized BSON codec lookup. #1632
  • Optimized ObjectID sorting and serialization/deserialization. #1582

Client and Connection Handling

  • Updated cursors to refresh timeoutMS on close without affecting operation timeout. #1527
  • Added AsyncTransportSettings and ExecutorService. #1489
  • Ensured connections are not closed prematurely when timeoutMS expires before sending requests. #1573
  • Removed explicit fairness from DefaultConnectionPool. #1575

Cloud and Security Improvements

  • Added OIDC Kubernetes provider support. #1576
  • Updated AWS SDK dependencies. #1639

Kotlin Updates

  • Merging feature branch (Kotlin extensions) into main #1572
  • JAVA-5776 Make KProperty.path() public #1617
  • JAVA-5736 Add bsonNamingStrategy option to support snake_case #1627

🛠 Maintenance and Improvements

  • Renamed Vector class names and marked PackedBitVector as Beta. #1595, #1594
  • Improved handling and initialization of CAPI and jna.Native. #1553
  • Updated Gradle scripts and build configurations. #1620, #1624, #1607, #1569
  • Replaced JetBrains annotations with MongoDB annotations. #1644
  • Stop using the kotlinCheck Gradle task from ssdlc-report.sh #1574

Testing and CI Improvements

  • Clarified and cleaned up internal testing APIs (TestDef). #1566, #1578
  • Enhanced unified test skipping and handling logic. #1557, #1551, #1584
  • Added integration tests for Atlas Search and Load Balancers. #1616, #1649
  • Improved test cleanup and retry logic to reduce flakiness. #1608, #1565

Specification Syncing and Updates

  • Synced BSON and server selection specification tests. #1555, #1554

... (truncated)

Commits
  • 28e51aa Version: bump 5.4.0
  • 48fdf2a JAVA-5736 Add bsonNamingStrategy option to support snake_case (#1627)
  • 2849421 Test Load balancers
  • ab300f8 Retry flaky unified tests (#1565)
  • 42b1a37 JAVA-5776 Make KProperty<T>.path() public
  • 410dd53 Test IPv6 literal in SDAM
  • 304f854 Replace org.jetbrains.annotations.NotNull with com.mongodb.lang.NonNull (...
  • 005652e Fix driver-lambda evg failure (#1643)
  • fa4a9ed Split atlas-deployed-task-group across multiple hosts (#1640)
  • 5ed3c31 Optimize BSON codec lookup. (#1632)
  • Additional commits viewable in compare view

Updates org.mongodb:mongodb-driver-legacy from 4.11.5 to 5.4.0

Release notes

Sourced from org.mongodb:mongodb-driver-legacy's releases.

Java Driver 5.4.0 (March 20, 2025)

What's Changed

🚀 New Features & Enhancements

  • JAVA-5767 Support $lookup in CSFLE and QE #1638
  • Improved selection criteria for srvMaxHosts. #1590
  • Add index hint support for distinct command #1581

Atlas Search Improvements

Bulk Write and Update Enhancements

  • Improved Bulk Write API and added sort option support to updateOne and replaceOne. #1509, #1585, #1612
  • Added Scala Client Bulk Write API. #1603

Driver and Codec Optimizations

  • Optimized BSON codec lookup. #1632
  • Optimized ObjectID sorting and serialization/deserialization. #1582

Client and Connection Handling

  • Updated cursors to refresh timeoutMS on close without affecting operation timeout. #1527
  • Added AsyncTransportSettings and ExecutorService. #1489
  • Ensured connections are not closed prematurely when timeoutMS expires before sending requests. #1573
  • Removed explicit fairness from DefaultConnectionPool. #1575

Cloud and Security Improvements

  • Added OIDC Kubernetes provider support. #1576
  • Updated AWS SDK dependencies. #1639

Kotlin Updates

  • Merging feature branch (Kotlin extensions) into main #1572
  • JAVA-5776 Make KProperty.path() public #1617
  • JAVA-5736 Add bsonNamingStrategy option to support snake_case #1627

🛠 Maintenance and Improvements

  • Renamed Vector class names and marked PackedBitVector as Beta. #1595, #1594
  • Improved handling and initialization of CAPI and jna.Native. #1553
  • Updated Gradle scripts and build configurations. #1620, #1624, #1607, #1569
  • Replaced JetBrains annotations with MongoDB annotations. #1644
  • Stop using the kotlinCheck Gradle task from ssdlc-report.sh #1574

Testing and CI Improvements

  • Clarified and cleaned up internal testing APIs (TestDef). #1566, #1578
  • Enhanced unified test skipping and handling logic. #1557, #1551, #1584
  • Added integration tests for Atlas Search and Load Balancers. #1616, #1649
  • Improved test cleanup and retry logic to reduce flakiness. #1608, #1565

Specification Syncing and Updates

  • Synced BSON and server selection specification tests. #1555, #1554

... (truncated)

Commits
  • 28e51aa Version: bump 5.4.0
  • 48fdf2a JAVA-5736 Add bsonNamingStrategy option to support snake_case (#1627)
  • 2849421 Test Load balancers
  • ab300f8 Retry flaky unified tests (#1565)
  • 42b1a37 JAVA-5776 Make KProperty<T>.path() public
  • 410dd53 Test IPv6 literal in SDAM
  • 304f854 Replace org.jetbrains.annotations.NotNull with com.mongodb.lang.NonNull (...
  • 005652e Fix driver-lambda evg failure (#1643)
  • fa4a9ed Split atlas-deployed-task-group across multiple hosts (#1640)
  • 5ed3c31 Optimize BSON codec lookup. (#1632)
  • 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 <dependency name> 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)

Bumps `mongodb.version` from 4.11.5 to 5.4.0.

Updates `org.mongodb:mongodb-driver-sync` from 4.11.5 to 5.4.0
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](mongodb/mongo-java-driver@r4.11.5...r5.4.0)

Updates `org.mongodb:mongodb-driver-legacy` from 4.11.5 to 5.4.0
- [Release notes](https://github.com/mongodb/mongo-java-driver/releases)
- [Commits](mongodb/mongo-java-driver@r4.11.5...r5.4.0)

---
updated-dependencies:
- dependency-name: org.mongodb:mongodb-driver-sync
  dependency-version: 5.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: org.mongodb:mongodb-driver-legacy
  dependency-version: 5.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels May 6, 2025
@github-actions github-actions bot enabled auto-merge May 6, 2025 06:04
@codecov
Copy link

codecov bot commented May 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.80%. Comparing base (578b55d) to head (6331ea4).
Report is 15 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1125      +/-   ##
============================================
+ Coverage     61.19%   69.80%   +8.61%     
+ Complexity       84       60      -24     
============================================
  Files           831      857      +26     
  Lines         32014    32348     +334     
  Branches       3590     3600      +10     
============================================
+ Hits          19590    22580    +2990     
+ Misses        11178     8521    -2657     
- Partials       1246     1247       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kamilkrzywanski
Copy link
Contributor

@velo with #1126 it should be build, just update this branch

@velo
Copy link
Member

velo commented May 7, 2025

@kamilkrzywanski
Copy link
Contributor

@velo The tests passed for me locally, but it looks like the Docker version in config.yml is set to mongo:3.6.1. I ran the tests locally using mongo:4 from the docker-compose, and they passed.

@kamilkrzywanski
Copy link
Contributor

@velo confirmed, loccaly also fails with 3.6.1, but build with lastest:
#1130

velo pushed a commit that referenced this pull request May 10, 2025
Fix for pull #1126 - Bump mongo image
@velo velo closed this May 10, 2025
auto-merge was automatically disabled May 10, 2025 10:03

Pull request was closed

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 10, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@velo velo deleted the dependabot/maven/master/mongodb.version-5.4.0 branch May 10, 2025 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants