You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wondered whether there are any plans to release new versions of Monger compatible with newer versions of the Mongo Java driver and therefore newer versions of MongoDB itself? As the title says - the latest version of Monger is using MongoDB java driver 3.12 which only supports MongoDB up to 4.2, which is out of support this coming April 2023.
The text was updated successfully, but these errors were encountered:
I wonder this as well since currently, it's not possible to connect to serverless instances on MongoDB Atlas using the library.
anthonyleonard
changed the title
Latest version uses MongoDB java driver 3.12 which only supports MongoDB up to 4.2, which is out of support this coming April 2023.
Latest version uses MongoDB java driver 3.12 which only supports MongoDB up to 4.2, which is out of support this coming April 2023.... **SOLVED**
Jan 13, 2023
the latest version of Monger is using MongoDB java driver 3.12 which only supports MongoDB up to 4.2, which is out of support this coming April 2023.
The above is factually incorrect (my bad!) The MongoDB Java driver compatibility table clearly shows that all currently supported versions of the MongoDB backend (4.2 - 6.1) are backwards compatible with MongoDB Java drivers 3.8 and above. (The little ⊛
symbol is described in the legend as meaning "The Driver version will work with the MongoDB version, but not all new MongoDB features are supported.") That means monger will work on these versions as well, albeit it cannot make use of newer features accessible via the 4.x drivers currently.
Further, Monger itself runs its own test suite against MongoDB 6 (at least when run using docker-compose on my Centos VM). In addition I have tested our own ~20 microservices using the latest monger with driver 3.12 against Mongo 4.4 and they all work perfectly :)
As others have mentioned, moving monger to higher 4.x drivers may require a whole new library, and so those with large exposure to monger should consider migration well ahead of it becoming necessary, either to a new Clojure wrapper library or to Clojure code that uses the Java driver interface natively. That said, if you don't need the new features provided by the 4.x drivers (which include transactions for example) then you are probably good with 3.x drivers and monger until at least Mongo 6.
Just wondered whether there are any plans to release new versions of Monger compatible with newer versions of the Mongo Java driver and therefore newer versions of MongoDB itself? As the title says - the latest version of Monger is using MongoDB java driver 3.12 which only supports MongoDB up to 4.2, which is out of support this coming April 2023.
The text was updated successfully, but these errors were encountered: