Skip to content

Releases: share/sharedb-mongo

v5.0.0

12 Jun 09:16
Compare
Choose a tag to compare
  • BREAKING — Drop Node.js v16 support

v4.2.0

28 May 16:56
Compare
Choose a tag to compare
  • #157 (@alecgibson) — Allow disabling the src/seq/v index: to be used in conjunction with [email protected], which tries to avoid hitting this index. The index can be opted out of with:
new ShareDbMongo(
  mongoUrl,
  {
    disableIndexCreation: {
      src_seq_v: true,
    },
  },
);

Existing indexes will need to be manually deleted if they're no longer desired.

Note that it's technically still possible to try to look documents up by src/seq/v. The chance should be remote, but it's not impossible. Removing this index may lead to very bad performance in these corner cases.

v4.1.2

17 May 11:17
Compare
Choose a tag to compare
  • Add sharedb@5 support

v4.1.1

13 Feb 17:58
Compare
Choose a tag to compare

What's Changed

  • Fix $map query transform by @ericyhwang in #154
    • It would just hang previously. It's very likely unused by any consumers, but it's not much code to keep support for it.
  • Resolve memory leak when using cursor operations like $count in mongodb@4-6 by @ericyhwang in #152
    • This mostly affected $count. $explain was affected as well, though that usually won't be used in a production service.
    • ⚠️ If you also use the Mongo Node driver directly:
    • Thanks to @deongroenewald for the report and repro case!

Full Changelog: v4.1.0...v4.1.1

v4.1.0

06 Sep 07:09
Compare
Choose a tag to compare
  • #151 — Add support for mongodb@6

v4.0.0

16 May 16:53
Compare
Choose a tag to compare

What's Changed

Note - This release has no actual breaking changes since sharedb@3, so if you are not using Node 14 any longer, it's safe to do a drop-in upgrade.

Full Changelog: v3.0.1...v4.0.0

v3.0.1

01 Mar 09:02
Compare
Choose a tag to compare
  • #145 — Fix npm test

v2.1.2

01 Mar 09:01
Compare
Choose a tag to compare
  • #146 — Fix npm test

v3.0.0

28 Feb 17:59
Compare
Choose a tag to compare
  • #142BREAKING: drop support for mongodb@2
  • #139 — add MongoDB v6 to the build matrix

v2.1.1

28 Feb 17:33
Compare
Choose a tag to compare
  • #144 — Fix test dependencies