Skip to content

v6.1.1

Compare
Choose a tag to compare
@notheotherben notheotherben released this 08 Oct 14:35
· 366 commits to main since this release

Added

  • Support for passing through low level connection options to the node-mongodb-native driver. You can review the full list of options here.
import * as Iridium from 'iridium';

var core = new Iridium.Core("mongodb://localhost/test", {
  options: {
    server: {
      socketOptions: {
        connectionTimeoutMS: 10000
      }
    }
  }
});

This release is backwards compatible with most code, with the exception of those users who are already making use of an options field in their connection settings for MongoDB.