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
The reason for this is that agenda is still using callbacks in some locations, but mongodb has removed support for it. I was able to fix this and add support for mongodb@5 in a fork: sebamarynissen#1.
However, as I understand from #1503, there is currently an ongoing effort to move @hokify/agenda back into this repository, but it hasn't been released on npm yet. Therefore the master branch in this repository differs significantly from the version 5.0.0 that is available on npm, so I can't create a PR against the master branch.
Would it be possible to create a v5 branch in this repository based on 8f46df0 so that I can create a PR to merge my fork into it? It could then be released on npm as agenda@5.1.0 adding support for mongodb@5.
The text was updated successfully, but these errors were encountered:
Not sure if it's worth the effort, you could use @hokify/agenda in the meantime (which includes a bunch of other fixes too), which would also make an easier transition to 6.0 (when released :))? :)
@simllll Thanks for the suggestion, that's what I already did in my project to be able to migrate to mongodb@5. I just thought it would be useful to fix it in agenda@5 as well, as this could add support for mongodb@5 quickly. The fix wasn't that hard to implement in the v5 codebase.
Hi there,
I've noticed that Agenda doesn't support mongodb@5 when creating an agenda instance like
The reason for this is that agenda is still using callbacks in some locations, but mongodb has removed support for it. I was able to fix this and add support for
mongodb@5
in a fork: sebamarynissen#1.However, as I understand from #1503, there is currently an ongoing effort to move @hokify/agenda back into this repository, but it hasn't been released on npm yet. Therefore the master branch in this repository differs significantly from the version
5.0.0
that is available on npm, so I can't create a PR against the master branch.Would it be possible to create a
v5
branch in this repository based on 8f46df0 so that I can create a PR to merge my fork into it? It could then be released on npm asagenda@5.1.0
adding support formongodb@5
.The text was updated successfully, but these errors were encountered: