elixir-mongo / mongodb

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

Question: When will mongo v6 be supported? #381

Open willoughby opened 1 year ago

willoughby commented 1 year ago

We're looking into Elixir but our infrastructure uses Mongo V6. Unfortunately I've been unable to use this library due to the following error


            (mongodb 1.0.0) lib/mongo/cursor.ex:56: anonymous fn/6 in Enumerable.Mongo.Cursor.start_fun/6
            (elixir 1.15.5) lib/stream.ex:1612: anonymous fn/5 in Stream.resource/3
            (elixir 1.15.5) lib/enum.ex:4387: Enum.reverse/1
            (elixir 1.15.5) lib/enum.ex:3702: Enum.to_list/1```
scottmessinger commented 1 year ago

Great question! We’d love to work on that, but no plans. We’d welcome the help!

scottmessinger commented 9 months ago

Hi Pedro,

My current hope is we can migrate the community to the zookzook elixir library (https://github.com/zookzook/elixir-mongodb-driver). That would require migrating the ecto adapter and having an upgrade guide.

Let me know if you're interested in helping!

On Fri, Dec 15, 2023 at 11:24 AM Pedro Rabello @.***> wrote:

Great question! We’d love to work on that, but no plans. We’d welcome the help!

@scottmessinger https://github.com/scottmessinger is there any point where one could start to understand what is needed to help on this?

— Reply to this email directly, view it on GitHub https://github.com/elixir-mongo/mongodb/issues/381#issuecomment-1858142290, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYOGLRRTWDNPTXSNHWLSTYJR2U7AVCNFSM6AAAAAA4VMEASCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYGE2DEMRZGA . You are receiving this because you were mentioned.Message ID: @.***>

bugsxxx commented 6 months ago

Hello Scott Also trying to upgrade mongo version to v6, and just saw this issue from September... any news here any prediction?

Thanks for this great lib.

scottmessinger commented 6 months ago

@bugsxxx Sorry for the lack of updates! My plan is to deprecate this library and move the community over to the (more popular) https://github.com/zookzook/elixir-mongodb-driver To do that, I need to create a formal upgrade guide and post it. Here's an initial start on the work:

https://github.com/elixir-mongo/mongodb_ecto/pull/190#issuecomment-1941684011

Currently, I'm thinking it might be this summer.

bugsxxx commented 6 months ago

Thanks Scott!

I will probably have to change the driver for the zookzook one, DBA team is pushing for the upgrade I don't have till summer unfortunately. I will take a look on the initial work.

scottmessinger commented 6 months ago

@bugsxxx Either way, you'll need to change the driver to the zookzook one -- the plan is this driver gets deprecated in favor of the zookzook one. If you make the transition, I would LOVE if you could post any thoughts/observations/changes needed to make the transition!

Are you all using the ecto adapter as well?

bugsxxx commented 5 months ago

Hello Scott I will have to make the transition, as soon as possible, not yet scheduled, I will post any thoughts that may have relevance. Thanks, see you soon.