Skip to content

dependabot npm(deps): bump mongodb from 4.3.0 to 4.3.1

Depen d'Abot requested to merge dependabot-npm_and_yarn-mongodb-4.3.1 into master

Bumps mongodb from 4.3.0 to 4.3.1.

Release notes

Sourced from mongodb's releases.

v4.3.1

The MongoDB Node.js team is pleased to announce version 4.3.1 of the mongodb package!

Release Highlights

In this patch release, we address the limitation introduced in 4.3.0 with the dot notation Typescript improvements and recursive types.
Namely, this fix removes compilation errors for self-referential types.

Note that this fix still has the following limitations:

  • type checking defaults to any after the first level of recursion for self-referential types
interface Node {
  next: Node | null;
}
declare const collection: Collection<Node>;
// no error here even though next is of type Node | null
collection.find({
next: {
next: 'asdf'
}
});
  • indirectly self-referential types are still not supported
interface A {
  b: B;
}
interface B {
a: A;
}
declare const mutuallyRecursive: Collection<A>;
// this will throw an error because there is indirect recursion
// between types (A depends on B which depends on A and so on)
mutuallyRecursive.find({});

Bug Fixes

  • NODE-3792: remove offensive language throughout the codebase (#3091) (8e2b0cc)
  • NODE-3852,NODE-3854,NODE-3856: Misc typescript fixes for 4.3.1 (#3102) (dd5195a)

... (truncated)

Commits
  • 8970ac1 chore(release): 4.3.1
  • 63168b4 chore: update dependencies (#3108)
  • fa03df8 chore(NODE-3717): test reorg - the conclusion (#3105)
  • dd5195a fix(NODE-3852,NODE-3854,NODE-3856): Misc typescript fixes for 4.3.1 (#3102)
  • 2adc7cd test(NODE-3787): sync preferring error codes over messages (#3104)
  • b3d9fb8 chore(NODE-3717): test reorg penultimate part (#3103)
  • 8e2b0cc fix(NODE-3792): remove offensive language throughout the codebase (#3091)
  • c3256c4 chore(NODE-3717): move tests p-z (#3098)
  • 91c108e chore: improve test filtering to use mocha hooks (#3095)
  • 3f668bd docs: update Evergreen CLI example command (#3099)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by pearsb1, a new releaser for mongodb since your current version.


Merge request reports

Loading