The MongoDB Node.js team is pleased to announce version 3.5.6 of the driver
@dobesv helped identify a regression where a map function would be applied twice
if defined on a cursor, and that cursor was used to stream data.
A bug was fixed where
readPreferenceTags with a single value in the connection string was not properly interpreted as an array of tags. This prevented the Use Analytics Nodes to Isolate Workload guidance from working correctly.
User @sean-daley reported seeing this in an AWS Lambda environment, but has proven to be somewhat of a heisenbug. We are rolling out a fix here that ensures sessions (implicit or not) are not used after they have been explicitly ended.
We invite you to try the driver immediately, and report any issues to the NODE project.
Thanks to all who contributed to this release!
The MongoDB Node.js team