[Done] MongoDB Version 5 support #11749
Replies: 12 comments 10 replies
-
Hi, we've started studying the necessary changes to support MongoDB 5.0. We are reviewing all the changes log and we are going to share our finds here soon. The first step was to check the changes highlighted here. These changes are ok for us, the only change necessary at first was a new error name to be handled. Now we need to check the full list here. It seems they removed a few deprecated options so we are going to double check all the use cases of these options inside Meteor. |
Beta Was this translation helpful? Give feedback.
-
📣 Hello, everyone. 📣 |
Beta Was this translation helpful? Give feedback.
-
Hi, Meteor 2.6-beta.4 was released today.
So please check your app behavior with Meteor 2.6-beta.4: We've also started this draft for a Migration Guide to Meteor 2.6. Please provide your feedback in the release PR. |
Beta Was this translation helpful? Give feedback.
-
Hi Filip, upgraded my meteor app to 2.6-beta.4 A 'cookbook' aggregation
now produces this error : This example might help to make 2.6 a stable version soon. regards |
Beta Was this translation helpful? Give feedback.
-
Hi Per
Thanks for the swift response !
regards
Ronny
…On Mon, Jan 24, 2022 at 10:25 AM Per Bergland ***@***.***> wrote:
You are using meteorhacks_aggregate which needs to be updated for the new
driver version (the collection.aggregate method is no longer asynchronous
and no longer has a callback method).
It is that package that sends in a callback function as a second
disallowed parameter to the collection.aggregate method on the
rawCollection. Alternatively, you can remove the use of
meteorhacks_aggregate and just invoke
Promise.await(Events.rawCollection().aggregate(pipeline).toArray())
yourself or write a simple wrapper for this.
—
Reply to this email directly, view it on GitHub
<#11749 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMTJC234EOTUXX5KHL77RC3UXULKJANCNFSM5HKJP7ZA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
at startup of application, server side, these messages appear
...
I20220124-20:50:02.970(1)? [FilesCollection.storagePath] Set to:
assets/app/uploads/uploadedFiles
D20220124-20:50:03.195(1) (collection.js:743) _ensureIndex has been
deprecated, please use the new 'createIndex' instead, index: {"createdAt":1}
...
I presume ostrio:files (the package) has to be adapted to get rid of the
_ensureIndex (new warning issued by 2.6)
|
Beta Was this translation helpful? Give feedback.
-
@dr-dimitru FYI |
Beta Was this translation helpful? Give feedback.
-
Thanks everyone for working on this. I won't have time to upgrade and test both my apps before the mid-Feb cutoff so I'm going to upgrade to a Mongo Atlas M10 dedicated plan in order to continue to use Mongo 4.4 for now. |
Beta Was this translation helpful? Give feedback.
-
This has landed on 2.6. thanks everyone! |
Beta Was this translation helpful? Give feedback.
-
We've published [email protected]. If you run Fixes this issue. |
Beta Was this translation helpful? Give feedback.
-
We have released a fix for this issue on [email protected] If you run meteor update in your project using 2.6, you should be able to use this version of the mongo package. |
Beta Was this translation helpful? Give feedback.
-
I updated to Meteor 2.7 and the problem went away but after the update, the mongo URL I was using "Sharded URL", is not working anymore. |
Beta Was this translation helpful? Give feedback.
-
Following up on this discussion.
In addition, we just received this email from MongoDB regarding upgrading cluster, so hoping something before February 2022 is possible.
Beta Was this translation helpful? Give feedback.
All reactions