Skip to content

Upgrade to SpringData MongoDB 3.0 and MongoDB Java Driver 4.0 #19356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
christophstrobl opened this issue Dec 12, 2019 · 6 comments
Closed

Upgrade to SpringData MongoDB 3.0 and MongoDB Java Driver 4.0 #19356

christophstrobl opened this issue Dec 12, 2019 · 6 comments
Labels
status: superseded An issue that has been superseded by another type: enhancement A general enhancement

Comments

@christophstrobl
Copy link
Member

christophstrobl commented Dec 12, 2019

SpringData MongoDB intends to upgrade to the MongoDB Java Driver 4.0 (sync/reactive) with the Neumann (M1) release. This will be a major upgrade due to breaking changes in the public API of SpringData (see upgrading from 2.x to 3.x for details).

Both, the MongoDB 4.0 drivers as well as SpringData MongoDB 3.0 are currently only available as SNAPSHOT dependencies.


SpringData MongoDB - 3.0
https://github.com/spring-projects/spring-data-mongodb/tree/3.x

Spring Boot - Mongo Drivers 4.0 (incl. Spring Data MongoDB 3.0)
https://github.com/christophstrobl/spring-boot/tree/mongo-driver-4_0

Spring Session Data MongoDB
https://github.com/spring-projects/spring-session-data-mongodb/tree/mongo-driver-4_0

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 12, 2019
@wilkinsona
Copy link
Member

wilkinsona commented Dec 12, 2019

Thanks, @christophstrobl. This will require some coordination across a few projects to get this into Boot 2.3 (due in April 2020) as it will pull a few projects into that schedule.

I think at least the following projects will be affected:

There may be others that are affected directly or indirectly. Can you and @mp911de please coordinate with the other projects and make sure that everyone has the bandwidth to absorb the breaking changes coming in Neumann and, if necessary, to ship new minors (at least) that are compatible?

@vpavic
Copy link
Contributor

vpavic commented Dec 12, 2019

/cc @gregturn Spring Session MongoDB will be affected by this.

@christophstrobl
Copy link
Member Author

@vpavic @gregturn there's already a branch with the required changes (spring-session-data-mongodb/mongo-driver-4_0) for Spring Session MongoDB.

@artembilan
Copy link
Member

See spring-projects/spring-integration#3121.

This is going to be one more argument to release Spring Integration 5.3 in time for Spring Boot 2.3.

Thanks for heads up!

@bclozel bclozel added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 16, 2019
@bclozel bclozel added this to the 2.3.x milestone Dec 16, 2019
@christophstrobl
Copy link
Member Author

christophstrobl commented Jan 27, 2020

Mongo 4.0 (beta1) driver changes are on SD-MongoDB master (3.0) now. I'll update https://github.com/christophstrobl/spring-boot/tree/mongo-driver-4_0 and open a PR.

@snicoll
Copy link
Member

snicoll commented Feb 3, 2020

Closing in favour of PR #19960

Thanks Christoph!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: superseded An issue that has been superseded by another type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants