elixir-mongo / mongodb

MongoDB driver for Elixir
Apache License 2.0
568 stars 157 forks source link

Ecto 3 supporting work #364

Closed joeapearson closed 2 years ago

joeapearson commented 2 years ago

Supporting changes for Ecto 3 work.

New APIs:

Incompatibilities:

If these changes are accepted I suggest we publish them under a -beta version in Hex.

I want to add github actions to this repo for ongoing verification but I suggest that is a separate PR.

scottmessinger commented 2 years ago

@joeapearson I'm in favor of a beta tag! Also, this library has never had a 1.0 release, so I think it's fine to publish this as 1.0-beta and then cut the full 1.0 in a month or so if everything is looking good.

sa-mm commented 2 years ago

I’m curious what part of this PR requires OTP 24? I see the commit for the new crypto api, but that is new as of 22.1 according to the docs (https://erlang.org/doc/man/crypto.html#mac-3).

joeapearson commented 2 years ago

I’m curious what part of this PR requires OTP 24? I see the commit for the new crypto api, but that is new as of 22.1 according to the docs (https://erlang.org/doc/man/crypto.html#mac-3).

Good spot. It looks like you're right and perhaps we secretly do have support for OTP 22.1. This remains completely untested (by me at least), I suggest adding some kind of CI test in #365 to verify.