Release Notes of node-mongo-tenant

The mongo tenant is a highly configurable mongoose plugin solving multi-tenancy problems on document level (for now...). It creates a tenant-reference field and takes care of unique indexes. Also it provides access to tenant-bound model-classes, that prohibit the exploid of the given tenant scope. Last but not least the "MAGIC" can be disabled so that shipping of the same code in single- and multi-tenancy environment (on premis vs. cloud hosted) is a question of a single line of config.

1.5.0
July 6, 2018
fixed
  • Fix discriminator handling, properly preserve tenant scope. (#38)

1.4.0
March 20, 2018

Mongoose 5 compatibility

added
  • Make mongo tenant compatible with mongoose 5. :tada: (#34)

1.3.2
November 10, 2017
fixed
  • Fix coveralls / travis-ci integration.

1.3.1
November 10, 2017
improved
  • Generate coverage reports with nyc instead of istanbul.

fixed
  • Fix test system to exit after the last test.

1.3.0
November 7, 2017
added
  • Introduce this release notes definition. (#23)

  • Add config option requireTenantId in order to enforce tenant id to be set. (#28)

1.2.0
August 28, 2017
added
  • Add support for sparse option in unique fields. (#20)

  • Add partialFilterExpression as option to indexes. (#21)

1.1.0
August 21, 2017
added
  • Add support for aggregation pipeline argument passed as array. (#14)

improved
  • Use native promise to avoid the mongoose deprecation warning.

  • Fix mongoose initialization deprecation warning by using mongoClient.

1.0.4
February 6, 2017
improved
  • Improve compatibility to latest mongoose version.

1.0.3
February 6, 2017
fixed
  • Upgrade testrunner mocha to version 3.

  • Fix test incompatibility with [email protected] (#5)

1.0.2
February 6, 2017
fixed
1.0.1
November 1, 2016
fixed
  • Fix find with tenantIds of type ObjectId. (#3)

1.0.0
June 26, 2016

First Stable version

added
  • Introduce multi tenancy logic.

  • Test against real mongodb instance.

  • Display build badges in readme.

  • Setup coveralls in order to keep an eye on test coverage.

  • Improve code documentation.

  • Ensure coding standards via jshint.

0.0.1
June 21, 2016

Project setup & initial release

added
  • Base mongoose plugin setup & tests.

  • Introduce MIT license.

  • Setup travis ci to run automated tests on every commit.