v4.1.1
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:- Be warned that, while this patches the memory leak when using sharedb-mongo, directly using the underlying Node driver can still leak sessions when using
cursor.count()
orcursor.explain()
. - On Mongo's end, it's tracked in https://jira.mongodb.org/browse/NODE-4833 and https://jira.mongodb.org/browse/NODE-4845.
- Be warned that, while this patches the memory leak when using sharedb-mongo, directly using the underlying Node driver can still leak sessions when using
- Thanks to @deongroenewald for the report and repro case!
- This mostly affected
Full Changelog: v4.1.0...v4.1.1