Closed kfiz closed 2 years ago
@VictorDenisov Ping. Could you have a look at this? All tests have successfully passed on macOS x86_64 running ghc 9.2.4. This would need to be verified against older versions of mongoDB , older versions of ghc and on different architectures.
Yep. I'll take a look over the weekend.
It looks like it'll take longer than I expected. In progress ...
@kfiz if you make changes to the PR could you please add new commits. At least until we are done with this PR. We can squash them when we merge the PR.
Ok. But I think I'm done with the changes for now. Hopefully this was not causing to much trouble.
Looks good and good job keeping the existing code intact. I'll merge your change tomorrow. It almost feels like we can only bump patch version. There was no change of the external interfaces. Do you agree?
Thanks. I agree, bumping the patch version is enough. No changes to external interfaces were made.
@VictorDenisov @kfiz and everyone involved, thanks for your awesome work. Maybe in the README it could be added a note specifying the version compatibility of MongoDB ? Do you also know what the process looks like for someone using Persistent lib + Mongo DB to use the latest versions?
I would expect little compatibility issues. No public interfaces have changed. Or are you talking about a different compatibility?
Do you also know what the process looks like for someone using Persistent lib + Mongo DB to use the latest versions?
I would assume that the Persistent maintainers would just have to make the latest version of this driver available as the default mongoDB backend. You would have to update your version of mongoDB of course if you haven't done that yet, if you want to try this out with mongoDB v6.0.
Starting with mongodb v6 the OP_MSG protocol is the only accepted message protocol that is accepted by mongodb. All prior protocols are deprecated. This commit implements the protocol keeping the current client facing API intact.
Closes #135, #123