Bump mongo-java-driver-version from 4.11.1 to 5.1.0
Bumps mongo-java-driver-version from 4.11.1 to 5.1.0.
Updates org.mongodb:mongodb-driver-core from 4.11.1 to 5.1.0
Release notes
Sourced from org.mongodb:mongodb-driver-core's releases.
Java Driver 5.0.1 (Apr 3, 2024)
What's Changed
- Fix ClusterFixture#hasEncryptionTestsEnabled to correctly detect env … by
@jyeminin mongodb/mongo-java-driver#1343- Use
InetAddressResolverProviderand add tests by@stIncMalein mongodb/mongo-java-driver#1354- A fix to expand the bounds for distinct and MongoIterable#map, allowing for nullable types in those scenarios in Kotlin by
@rozzain mongodb/mongo-java-driver#1352- A fix converting Bson to BsonDocument for hint by
@jyeminin mongodb/mongo-java-driver#1335- Don't gossip cluster time from monitoring connections by
@jyeminin mongodb/mongo-java-driver#1276- A fix to support discriminators not being the first field when decoding in Kotlin by
@rozzain mongodb/mongo-java-driver#1324Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.0.1
Java Driver 5.0.0 (Mar 1, 2023)
The MongoDB JVM team is pleased to announce version 5.0.0 of the MongoDB Java Driver!
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-5-0-is-released/268913
What's Changed
- [JAVA-5203] Support stored nulls for non-primitive fields in Java records by
@bulbfreemanin mongodb/mongo-java-driver#1223- Add explicit automatic module name configuration. by
@vbabaninin mongodb/mongo-java-driver#1232- Update logger name to align with naming conventions. by
@vbabaninin mongodb/mongo-java-driver#1233- Enable container and Kubernetes awareness for improved telemetry. by
@vbabaninin mongodb/mongo-java-driver#1235- Update DatabaseTestCase to Junit 5 by
@rozzain mongodb/mongo-java-driver#1238- Preserve error code, code name, and error labels when redacting command monitoring/logging by
@stIncMalein mongodb/mongo-java-driver#1225- Add server selection log messages by
@stIncMalein mongodb/mongo-java-driver#1221- Remove write and read concern from Atlas Search Index commands. by
@vbabaninin mongodb/mongo-java-driver#1241- BatchCursor refactorings by
@rozzain mongodb/mongo-java-driver#1246- Merge 5.0 breaking changes into the main line of development by
@jyeminin mongodb/mongo-java-driver#1268ClusterSettingsdoes not computeClusterConnectionModeconsistently by@stIncMalein mongodb/mongo-java-driver#1273- Install legacy shell by
@jyeminin mongodb/mongo-java-driver#1272- Pull mongohouse image from ADL ECR repo by
@jyeminin mongodb/mongo-java-driver#1274- Remove deprecated methods in WriteConcernError class by
@jyeminin mongodb/mongo-java-driver#1275- Support
authorizedCollectionsoption forlistCollectionshelpers by@stIncMalein mongodb/mongo-java-driver#1270- Improve BsonNumber support for Decimal128 by
@jyeminin mongodb/mongo-java-driver#1283- Accept
longinstead ofintinSocketSettings.Builder.connectTimeout/readTimeoutby@stIncMalein mongodb/mongo-java-driver#1279- Remove
Filters.eqFullby@stIncMalein mongodb/mongo-java-driver#1292- Don't gossip cluster time from monitoring connections by
@jyeminin mongodb/mongo-java-driver#1276- Expose
Observable[Unit]instead ofObservable[Void]by@stIncMalein mongodb/mongo-java-driver#1282- Make
ConnectionId.serverValue/localValueof theLong/longtype by@stIncMalein mongodb/mongo-java-driver#1280- Account the time to deliver connection pool events as part of the reported duration by
@stIncMalein mongodb/mongo-java-driver#1290- Fix
onErrorDroppedlogged message (#1281) by@rozzain mongodb/mongo-java-driver#1291- Reclaim native memory quicker when using ZlibCompressor by
@raelgin mongodb/mongo-java-driver#1285- Handle kotlin / JVM erasure of types by
@rozzain mongodb/mongo-java-driver#1295- Simplify customization of bson-kotlinx by
@rozzain mongodb/mongo-java-driver#1293- Refactor FaaS support in ClientMetadataHelper by
@jyeminin mongodb/mongo-java-driver#1300- Do minor improvements to method docs in
ClusterSettingsby@stIncMalein mongodb/mongo-java-driver#1304- Add async API (2) by
@katcharovin mongodb/mongo-java-driver#1258- Update Atlas search spec tests by
@jyeminin mongodb/mongo-java-driver#1315- JAVA-5311 (take two) by
@jyeminin mongodb/mongo-java-driver#1314
... (truncated)
Commits
662a121Version: bump 5.1.0d937915ReplaceBiFunctionwithBinaryOperator(#1374)f4bc1cbImplement OIDC SASL mechanism (#1134)f9edd86Test that durations are included on relevant pool events (#1370)bec3defAdd artifact tracing on publish (#1364)ee69466Alleviate the race condition in thepool-checkout-maxConnecting-is-enforced...7bf5ec2Exclude:graalvm-native-image-appfrom being published (#1362)c8ce9aeFollow unacknowledged write with a find in spec tests (#1355)adffc61Replace sh with bash (#1358)60adbaeEvergreen: Fix scala display name so variants are unique.- Additional commits viewable in compare view
Updates org.mongodb:mongodb-driver-sync from 4.11.1 to 5.1.0
Release notes
Sourced from org.mongodb:mongodb-driver-sync's releases.
Java Driver 5.0.1 (Apr 3, 2024)
What's Changed
- Fix ClusterFixture#hasEncryptionTestsEnabled to correctly detect env … by
@jyeminin mongodb/mongo-java-driver#1343- Use
InetAddressResolverProviderand add tests by@stIncMalein mongodb/mongo-java-driver#1354- A fix to expand the bounds for distinct and MongoIterable#map, allowing for nullable types in those scenarios in Kotlin by
@rozzain mongodb/mongo-java-driver#1352- A fix converting Bson to BsonDocument for hint by
@jyeminin mongodb/mongo-java-driver#1335- Don't gossip cluster time from monitoring connections by
@jyeminin mongodb/mongo-java-driver#1276- A fix to support discriminators not being the first field when decoding in Kotlin by
@rozzain mongodb/mongo-java-driver#1324Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.0.1
Java Driver 5.0.0 (Mar 1, 2023)
The MongoDB JVM team is pleased to announce version 5.0.0 of the MongoDB Java Driver!
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-5-0-is-released/268913
What's Changed
- [JAVA-5203] Support stored nulls for non-primitive fields in Java records by
@bulbfreemanin mongodb/mongo-java-driver#1223- Add explicit automatic module name configuration. by
@vbabaninin mongodb/mongo-java-driver#1232- Update logger name to align with naming conventions. by
@vbabaninin mongodb/mongo-java-driver#1233- Enable container and Kubernetes awareness for improved telemetry. by
@vbabaninin mongodb/mongo-java-driver#1235- Update DatabaseTestCase to Junit 5 by
@rozzain mongodb/mongo-java-driver#1238- Preserve error code, code name, and error labels when redacting command monitoring/logging by
@stIncMalein mongodb/mongo-java-driver#1225- Add server selection log messages by
@stIncMalein mongodb/mongo-java-driver#1221- Remove write and read concern from Atlas Search Index commands. by
@vbabaninin mongodb/mongo-java-driver#1241- BatchCursor refactorings by
@rozzain mongodb/mongo-java-driver#1246- Merge 5.0 breaking changes into the main line of development by
@jyeminin mongodb/mongo-java-driver#1268ClusterSettingsdoes not computeClusterConnectionModeconsistently by@stIncMalein mongodb/mongo-java-driver#1273- Install legacy shell by
@jyeminin mongodb/mongo-java-driver#1272- Pull mongohouse image from ADL ECR repo by
@jyeminin mongodb/mongo-java-driver#1274- Remove deprecated methods in WriteConcernError class by
@jyeminin mongodb/mongo-java-driver#1275- Support
authorizedCollectionsoption forlistCollectionshelpers by@stIncMalein mongodb/mongo-java-driver#1270- Improve BsonNumber support for Decimal128 by
@jyeminin mongodb/mongo-java-driver#1283- Accept
longinstead ofintinSocketSettings.Builder.connectTimeout/readTimeoutby@stIncMalein mongodb/mongo-java-driver#1279- Remove
Filters.eqFullby@stIncMalein mongodb/mongo-java-driver#1292- Don't gossip cluster time from monitoring connections by
@jyeminin mongodb/mongo-java-driver#1276- Expose
Observable[Unit]instead ofObservable[Void]by@stIncMalein mongodb/mongo-java-driver#1282- Make
ConnectionId.serverValue/localValueof theLong/longtype by@stIncMalein mongodb/mongo-java-driver#1280- Account the time to deliver connection pool events as part of the reported duration by
@stIncMalein mongodb/mongo-java-driver#1290- Fix
onErrorDroppedlogged message (#1281) by@rozzain mongodb/mongo-java-driver#1291- Reclaim native memory quicker when using ZlibCompressor by
@raelgin mongodb/mongo-java-driver#1285- Handle kotlin / JVM erasure of types by
@rozzain mongodb/mongo-java-driver#1295- Simplify customization of bson-kotlinx by
@rozzain mongodb/mongo-java-driver#1293- Refactor FaaS support in ClientMetadataHelper by
@jyeminin mongodb/mongo-java-driver#1300- Do minor improvements to method docs in
ClusterSettingsby@stIncMalein mongodb/mongo-java-driver#1304- Add async API (2) by
@katcharovin mongodb/mongo-java-driver#1258- Update Atlas search spec tests by
@jyeminin mongodb/mongo-java-driver#1315- JAVA-5311 (take two) by
@jyeminin mongodb/mongo-java-driver#1314
... (truncated)
Commits
662a121Version: bump 5.1.0d937915ReplaceBiFunctionwithBinaryOperator(#1374)f4bc1cbImplement OIDC SASL mechanism (#1134)f9edd86Test that durations are included on relevant pool events (#1370)bec3defAdd artifact tracing on publish (#1364)ee69466Alleviate the race condition in thepool-checkout-maxConnecting-is-enforced...7bf5ec2Exclude:graalvm-native-image-appfrom being published (#1362)c8ce9aeFollow unacknowledged write with a find in spec tests (#1355)adffc61Replace sh with bash (#1358)60adbaeEvergreen: Fix scala display name so variants are unique.- Additional commits viewable in compare view
Updates org.mongodb:bson from 4.11.1 to 5.1.0
Release notes
Sourced from org.mongodb:bson's releases.
Java Driver 5.0.1 (Apr 3, 2024)
What's Changed
- Fix ClusterFixture#hasEncryptionTestsEnabled to correctly detect env … by
@jyeminin mongodb/mongo-java-driver#1343- Use
InetAddressResolverProviderand add tests by@stIncMalein mongodb/mongo-java-driver#1354- A fix to expand the bounds for distinct and MongoIterable#map, allowing for nullable types in those scenarios in Kotlin by
@rozzain mongodb/mongo-java-driver#1352- A fix converting Bson to BsonDocument for hint by
@jyeminin mongodb/mongo-java-driver#1335- Don't gossip cluster time from monitoring connections by
@jyeminin mongodb/mongo-java-driver#1276- A fix to support discriminators not being the first field when decoding in Kotlin by
@rozzain mongodb/mongo-java-driver#1324Full Changelog: https://github.com/mongodb/mongo-java-driver/compare/r5.0.0...r5.0.1
Java Driver 5.0.0 (Mar 1, 2023)
The MongoDB JVM team is pleased to announce version 5.0.0 of the MongoDB Java Driver!
Release announcement: https://www.mongodb.com/community/forums/t/mongodb-java-driver-5-0-is-released/268913
What's Changed
- [JAVA-5203] Support stored nulls for non-primitive fields in Java records by
@bulbfreemanin mongodb/mongo-java-driver#1223- Add explicit automatic module name configuration. by
@vbabaninin mongodb/mongo-java-driver#1232- Update logger name to align with naming conventions. by
@vbabaninin mongodb/mongo-java-driver#1233- Enable container and Kubernetes awareness for improved telemetry. by
@vbabaninin mongodb/mongo-java-driver#1235- Update DatabaseTestCase to Junit 5 by
@rozzain mongodb/mongo-java-driver#1238- Preserve error code, code name, and error labels when redacting command monitoring/logging by
@stIncMalein mongodb/mongo-java-driver#1225- Add server selection log messages by
@stIncMalein mongodb/mongo-java-driver#1221- Remove write and read concern from Atlas Search Index commands. by
@vbabaninin mongodb/mongo-java-driver#1241- BatchCursor refactorings by
@rozzain mongodb/mongo-java-driver#1246- Merge 5.0 breaking changes into the main line of development by
@jyeminin mongodb/mongo-java-driver#1268ClusterSettingsdoes not computeClusterConnectionModeconsistently by@stIncMalein mongodb/mongo-java-driver#1273- Install legacy shell by
@jyeminin mongodb/mongo-java-driver#1272- Pull mongohouse image from ADL ECR repo by
@jyeminin mongodb/mongo-java-driver#1274- Remove deprecated methods in WriteConcernError class by
@jyeminin mongodb/mongo-java-driver#1275- Support
authorizedCollectionsoption forlistCollectionshelpers by@stIncMalein mongodb/mongo-java-driver#1270- Improve BsonNumber support for Decimal128 by
@jyeminin mongodb/mongo-java-driver#1283- Accept
longinstead ofintinSocketSettings.Builder.connectTimeout/readTimeoutby@stIncMalein mongodb/mongo-java-driver#1279- Remove
Filters.eqFullby@stIncMalein mongodb/mongo-java-driver#1292- Don't gossip cluster time from monitoring connections by
@jyeminin mongodb/mongo-java-driver#1276- Expose
Observable[Unit]instead ofObservable[Void]by@stIncMalein mongodb/mongo-java-driver#1282- Make
ConnectionId.serverValue/localValueof theLong/longtype by@stIncMalein mongodb/mongo-java-driver#1280- Account the time to deliver connection pool events as part of the reported duration by
@stIncMalein mongodb/mongo-java-driver#1290- Fix
onErrorDroppedlogged message (#1281) by@rozzain mongodb/mongo-java-driver#1291- Reclaim native memory quicker when using ZlibCompressor by
@raelgin mongodb/mongo-java-driver#1285- Handle kotlin / JVM erasure of types by
@rozzain mongodb/mongo-java-driver#1295- Simplify customization of bson-kotlinx by
@rozzain mongodb/mongo-java-driver#1293- Refactor FaaS support in ClientMetadataHelper by
@jyeminin mongodb/mongo-java-driver#1300- Do minor improvements to method docs in
ClusterSettingsby@stIncMalein mongodb/mongo-java-driver#1304- Add async API (2) by
@katcharovin mongodb/mongo-java-driver#1258- Update Atlas search spec tests by
@jyeminin mongodb/mongo-java-driver#1315- JAVA-5311 (take two) by
@jyeminin mongodb/mongo-java-driver#1314
... (truncated)
Commits
662a121Version: bump 5.1.0d937915ReplaceBiFunctionwithBinaryOperator(#1374)f4bc1cbImplement OIDC SASL mechanism (#1134)f9edd86Test that durations are included on relevant pool events (#1370)bec3defAdd artifact tracing on publish (#1364)ee69466Alleviate the race condition in thepool-checkout-maxConnecting-is-enforced...7bf5ec2Exclude:graalvm-native-image-appfrom being published (#1362)c8ce9aeFollow unacknowledged write with a find in spec tests (#1355)adffc61Replace sh with bash (#1358)60adbaeEvergreen: Fix scala display name so variants are unique.- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
-
First-time contributors require MANUAL approval for the GitHub Actions to run
-
You can use the command
/component-test (camel-)component-name1 (camel-)component-name2..to request a test from the test bot. -
You can label PRs using
build-all,build-dependents,skip-testsandtest-dependentsto fine-tune the checks executed by this PR. -
Build and test logs are available in the Summary page. Only Apache Camel committers have access to the summary.
-
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
/component-test amel-mongodb camel-mongodb-gridfs
Result :white_check_mark: The tests passed successfully
:robot: The Apache Camel test robot will run the tests for you :+1:
@orpiske it seems this mongo upgrade may work.
Thanks @davsclaus! I will take a closer look at this one soon
It seems to be having the same problems as before:
[ERROR] org.apache.camel.component.mongodb.integration.MongoDbTailableCursorConsumerIT.testCustomTailTrackLocation -- Time elapsed: 23.16 s <<< FAILURE!
java.lang.AssertionError: mock://test Received message count. Expected: <300> but was: <0>
at org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:1952)
at org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:1886)
at org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:449)
at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:427)
at org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:417)
at org.apache.camel.component.mongodb.integration.MongoDbTailableCursorConsumerIT.testCustomTailTrackLocation(MongoDbTailableCursorConsumerIT.java:297)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
okay thanks, so we cant merge.
:warning:
🤖 Test result with component core: ❌ (failed)
Please disregard this. I am trying to automate my job a bit.
closing old PR
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.