Skip to content

Update mongodb to the latest version 🚀 #4449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Dec 30, 2017
Merged

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Dec 24, 2017

Version 3.0.0 of mongodb was just published.

Dependency mongodb
Current Version 2.2.33
Type dependency

The version 3.0.0 is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of mongodb.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don’t have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Commits

The new version differs by 404 commits ahead by 404, behind by 17.

  • 0a8b6d4 3.0.0
  • 6eede98 test(crud): update to latest specs #1622
  • 44373f3 refactor(collection): remove geoNear command helper
  • 3f69250 test(cursor): test cursorsKilled as Long and Number
  • fa0fbc0 test(sharded): fix sharded tests now that they run again
  • 84457ec fix(aggregate): remove support for inline results for aggregate (#1620)
  • 35d2d3e test(environment): modernize code, make setup asynchronous
  • a35df4f refactor(environments): modernize and subclass EnvironmentBase
  • 0b1a17b docs(README): Updating readme to refer to CHANGES_3.0.0.md (#1617)
  • 4ced72b docs(FindOperatorsUnordered): updating return types to self (#1619)
  • 2c35d76 docs(api): fixing all examples in API documentation (#1616)
  • ed80d73 chore(assign): replace assign with native Object.assign (#1618)
  • 0fb4658 fix(topologies): unify topologies connect API (#1615)
  • 018c496 refactor(utils): fix typo in lib/utils.js
  • 89c20d4 refactor(mongo_client): fix typos in lib/mongo_client.js

There are 250 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

greenkeeper bot added a commit that referenced this pull request Dec 24, 2017
@codecov
Copy link

codecov bot commented Dec 25, 2017

Codecov Report

Merging #4449 into master will decrease coverage by 0.18%.
The diff coverage is 86.95%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #4449      +/-   ##
=========================================
- Coverage   92.98%   92.8%   -0.19%     
=========================================
  Files         118     118              
  Lines        8498    8365     -133     
=========================================
- Hits         7902    7763     -139     
- Misses        596     602       +6
Impacted Files Coverage Δ
src/Adapters/Files/GridStoreAdapter.js 100% <100%> (ø) ⬆️
src/Adapters/Storage/Mongo/MongoStorageAdapter.js 95.34% <85%> (-2.41%) ⬇️
src/RestWrite.js 93.28% <0%> (-0.19%) ⬇️
...dapters/Storage/Postgres/PostgresStorageAdapter.js 97.04% <0%> (-0.11%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d773a5...e2a92fc. Read the comment docs.

this.connectionPromise = MongoClient.connect(encodedUri, this._mongoOptions).then(database => {
this.connectionPromise = MongoClient.connect(encodedUri, this._mongoOptions).then(client => {
// Starting mongoDB 3.0, the MongoClient.connect don't return a DB anymore but a client
// Fortunatelu, we can get back thr options
Copy link
Member

Choose a reason for hiding this comment

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

There are a few typos in your comments. Also are you going to bump this to 3.0.1 for the index improvements?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep after this one lands.

@parse-community parse-community deleted a comment from greenkeeper bot Dec 29, 2017
@flovilmart
Copy link
Contributor

@dplewis it’s good for you?

Copy link
Member

@dplewis dplewis left a comment

Choose a reason for hiding this comment

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

Happy New Year

@flovilmart flovilmart merged commit f0f1870 into master Dec 30, 2017
@flovilmart flovilmart deleted the greenkeeper/mongodb-3.0.0 branch December 30, 2017 05:23
@flovilmart
Copy link
Contributor

You too!

UnderratedDev pushed a commit to UnderratedDev/parse-server that referenced this pull request Mar 21, 2020
* fix(package): update mongodb to version 3.0.0

* Compatibility with MongoDB client 3.0

* Updates Gridstore as well

* Set Read preference to Primary when not specified, to match original implementation

* Update MongoStorageAdapter.js

* Bumps to 3.0.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants