Skip to content

Version 3.1.0 (beta)

Pre-release
Pre-release
Compare
Choose a tag to compare
@eduardoboucas eduardoboucas released this 06 Apr 14:25
· 712 commits to develop since this release

Added

  • #157: Documents in Reference fields are now resolved multiple times if settings.strictCompose is set to true
  • #177: Model API now supports Promises and named parameters. old syntax is retained for backward-compatibility.
  • #329: Fields in referenced documents can now be specified using dot-notation in the existing fields parameter.
  • #336: A Reference field can now reference documents from multiple collections.
  • #406: Introduced handshake function to ensure compatibility of versions between API core and data connectors.

Changed

  • #196 and #323: Added field modules to encapsulate field-specific logic.
  • #300: _createdAt and _lastModifiedAt internal fields are now appended to documents in the Model class.
  • #371 and #384: Make defaults paths relative to the parent app, not the module.
  • #390: Falsy values of Reference fields are now ignored, preserving the behavior of any other Reference fields in the document.
  • #394: New DateTime field module now stores values as Unix timestamps and allows queries to be performed using any date format.
  • #405: Lock down major version of @dadi/logger.