Skip to content

Update mongodb to the latest version 🚀 #6656

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
2 commits merged into from
Apr 30, 2020
Merged

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Apr 29, 2020


☝️ Important announcement: Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The dependency mongodb was updated from 3.5.6 to 3.5.7.

This version 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.


Publisher: mbroadst
License: Apache-2.0

Release Notes for v3.5.7

The MongoDB Node.js team is pleased to announce version 3.5.7 of the driver

Release Highlights

Warning: Accessing non-existent property 'count' of module exports inside circular dependency

Work earlier this year left some dead code in our operations code, resulting in this warning message reported by multiple users. While we still have a few cycles in our codebase yet, this will quiet Node.js 14's circular dependency warnings.

Sessions are only acquired when operations are executed

Drivers use an implicit session for all operations where an explicit session is not provided. A subtle bug was introduced when session support was implemented where implicit sessions were created and assigned to operations even if they were about to sit in a queue waiting for execution. This results in the driver creating many sessions rather than reusing pooled ones. The fix is to ensure a session is only checked out of the pool when the operation is about to be written to a server.

Thanks very much to all the community members who contributed to this release!

Release Notes

Bug

  • [NODE-2536] - Circular dependency in Node.js 14 nightly
  • [NODE-2552] - Server session creation grows unbounded with every operation call

Improvement

  • [NODE-2534] - Document options supported by the unified topology
  • [NODE-2560] - Make 'reIndex' a standalone-only command
Commits

The new version differs by 12 commits.

  • 6eb6d6c chore(release): 3.5.7
  • 7f1cf35 refactor(ChangeStream): use maybePromise for next/hasNext
  • 8851a28 docs: fix event names in gridFS tutorial
  • 8a69ed6 chore: update snappy version to fix issue with node v4
  • 61aaa3d doc: document options supported by the unified topology
  • f778ef5 test: reduce flakiness of socket timeout test
  • 3d05a6d fix: limit growth of server sessions through lazy acquisition
  • 56a1b8a fix: remove circular dependency warnings on node 14
  • 84d2354 test: temporarily skip sharded transactions tests
  • 0b6f813 chore: update package lock to depend on latest bson version
  • 0665a02 test: remove replicaset topology from reIndex tests
  • d8bbb55 test: lint the driver in a single evergreen task

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 🌴

@ghost ghost added the Merge On Green label Apr 29, 2020
@codecov
Copy link

codecov bot commented Apr 30, 2020

Codecov Report

Merging #6656 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6656      +/-   ##
==========================================
- Coverage   93.92%   93.88%   -0.04%     
==========================================
  Files         169      169              
  Lines       11997    12090      +93     
==========================================
+ Hits        11268    11351      +83     
- Misses        729      739      +10     
Impacted Files Coverage Δ
src/Adapters/Storage/Mongo/MongoStorageAdapter.js 92.85% <0.00%> (-0.67%) ⬇️
src/Adapters/Cache/RedisCacheAdapter/index.js 97.33% <0.00%> (-0.63%) ⬇️
src/ParseServer.js 91.06% <0.00%> (-0.01%) ⬇️
src/RestWrite.js 93.67% <0.00%> (ø)

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 2b72233...346d002. Read the comment docs.

@ghost ghost merged commit d279198 into master Apr 30, 2020
@greenkeeper greenkeeper bot deleted the greenkeeper/mongodb-3.5.7 branch April 30, 2020 04:37
This pull request was closed.
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.

0 participants