johanhaleby / occurrent

Unintrusive Event Sourcing Library for the JVM
https://occurrent.org
120 stars 16 forks source link

Upgrade Mongo native eventsore to Mongo Java driver v5 #161

Closed gavvvr closed 2 weeks ago

gavvvr commented 4 months ago

Hi. The new major version of Mongo-java driver (v5) was released. I guess, at least the Mongodb native eventsore module can be already upgraded to it. Here is the list of breaking changes: https://www.mongodb.com/docs/drivers/java/sync/current/upgrade/#breaking-changes

johanhaleby commented 4 months ago

Good find! Thanks again :)

gavvvr commented 4 months ago

Spring Data MongoDB also upgrades to v5 native driver in the next minor release (4.3.0) (src)

johanhaleby commented 4 months ago

@gavvvr Thanks again for letting me know. I'm currently working on some other things in Occurrent, but I'll do the update once I'm done with those things. But it has to be backward-compatible with Spring Boot 3.2, otherwise I'll probably wait a bit.

gavvvr commented 2 weeks ago

Hi @johanhaleby I guess this should be closed since 0.19.0 :)

johanhaleby commented 2 weeks ago

Yeah it's done! It's currently using 5.1.1. Thanks for reminding me :)