Skip to content

Upgrade MongoDB drivers to the latest 3.2 version#480

Closed
luislobo wants to merge 64 commits intobalderdashy:masterfrom
luislobo:upgrade-mongodb-drivers
Closed

Upgrade MongoDB drivers to the latest 3.2 version#480
luislobo wants to merge 64 commits intobalderdashy:masterfrom
luislobo:upgrade-mongodb-drivers

Conversation

@luislobo
Copy link
Copy Markdown
Contributor

  • [COMPATIBILITY] Upgrade mongodb driver to the latest version. For more information about breaking changes, check the README.md file
  • [DEPENDENCIES] Updates other dependencies to the latest available
  • [TEST] Travis now run tests on current Node LTS versions: 6, 8, 10, and MongoDB 3.4, 3.6, 4.0

Comment thread .gitignore Outdated
Copy link
Copy Markdown
Member

@mikermcneil mikermcneil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luislobo amazing work, thank you! See one of my readme comments for the main thing to look into-- the rest of the stuff is more about clarifying docs and some annoying markdown consistency nits (apologies in advance)

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread docker-compose.yml Outdated
Copy link
Copy Markdown
Contributor Author

@luislobo luislobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikermcneil I've made some changes as suggested. Please let me know any other change as needed.

Comment thread README.md Outdated
luislobo added a commit to luislobo/sails-hook-orm that referenced this pull request Jul 5, 2019
Because of the change of what a manager is, we need to check if the manager is a MongoClient or not
balderdashy/sails-mongo#480
Copy link
Copy Markdown
Contributor Author

@luislobo luislobo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikermcneil @rachaelshaw I've just finished all my changes and updates here. Should be good for a review

Comment thread README.md Outdated
Comment thread README.md Outdated
@luislobo
Copy link
Copy Markdown
Contributor Author

luislobo commented Jul 5, 2019

Well, tests are failing in travis and appveyor... They don't fail on my local, I'll double check all

@xhb
Copy link
Copy Markdown

xhb commented Oct 23, 2019

Any news on this PR?
I've started using sails recently, and wanted to use the version of MongoDB 4.0 .

@Josebaseba
Copy link
Copy Markdown
Contributor

Josebaseba commented Jan 7, 2020

Hey @luislobo @mikermcneil

Any help needed here? We should merge this PR and update the sails-mongo npm package, the 3.4 mongo version support is gonna end up this month.

@marckhouzam
Copy link
Copy Markdown

First, thanks for the great work on this adapter.

We would love to see this PR get merged. As Mongo 3.4 hits end-of-life this month (January 2020), we are planning to upgrade to Mongo 4.0 then 4.2. Our Sails application will fail without being able to get this version of the Mongo adapter.

Thanks. And if I can help somehow, do let me know.

@Josebaseba
Copy link
Copy Markdown
Contributor

hey @marckhouzam take a look here: balderdashy/sails#6899

@hengsok
Copy link
Copy Markdown

hengsok commented Jan 25, 2020

I have made an independent quick fix for sails-mongo to work with the latest nodejs module mongodb-3.5.2 which will support MongoDB 4. Make sure your mongodb nodejs module is updated to 3.5.2. Any errors please let me know.

https://github.com/hengsok/sails-mongo

@luislobo luislobo closed this Jun 29, 2020
@luislobo
Copy link
Copy Markdown
Contributor Author

Closed in favor of @Josebaseba PR: #483

Will send some updates to that PR that adds missing connection options validations, updates README, and some things here and there

@luislobo luislobo deleted the upgrade-mongodb-drivers branch June 29, 2020 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

8 participants