Skip to content

Latest commit

 

History

History
100 lines (66 loc) · 3.37 KB

CHANGELOG.md

File metadata and controls

100 lines (66 loc) · 3.37 KB

v3.0.0 (2022-03-28)

The release includes a lot of changes to make sure that the package is compatible with the latest MongoDB version. Most notable changes:

v2.1.0 (2020-10-15)

Features

Manager

createService

v2.0.0 (2020-09-29)

  • Update dependencies.

Breaking Changes

createQueryService

  • Rename validateSchema option to validate.
  • Change addCreatedOnField default to true.
  • Change addUpdatedOnField default to true.

createService

  • Rename validateSchema option to validate.
  • Change addCreatedOnField default to true.
  • Change addUpdatedOnField default to true.
  • Remove generateId method.
  • Remove expectDocument method.

Features

Manager

createQueryService

  • Add useStringId option.

createService

  • Add useStringId option.

v1.1.0 (2019-06-25)

  • Update dependencies.
  • Fix required version of the Node.js.

Breaking Changes

  • Now update function will work via set operator. It means the new doc will be the result of merge of the old doc and the provided one.

v1.0.0 (2018-05-23)

  • Update dependencies.
  • Add tests.
  • Fix required version of the Node.js.

Breaking Changes

  • Now, by default, we do not add the fields createdOn and updatedOn automatically to the model. If you want to save the current behavior, add the appropriate addCreatedOnField and addUpdatedOnField options to the service definitions.

v0.3.1 (2017-12-16)

  • Stop using deprecated method ensureIndex of the monk.

v0.3.0 (2017-10-24)

  • Add ability to create custom methods for service and query service.
  • Add tests.

v0.2.0 (2017-10-12)

  • Add support of the joi for validating data schema.
  • Add tests for validating of the schema.