Skip to content

v4.0.0

Compare
Choose a tag to compare
@michaelwittwer michaelwittwer released this 28 Nov 15:14
· 380 commits to master since this release
6198f46

4.0.0 (2018-11-28)

Bug Fixes

  • deps: update package.lock (f56fa9e)
  • flatmap-stream: update tsc-watch (f3866f3)
  • lint-staged: only lint src files for now (0688271)
  • mapper: remove non-existend export (11b1653)
  • param-util: resolve attribute value name conflicts in addExpression (f208ba5), closes #70

Code Refactoring

  • mapper: no special behaviour for date types (858b350), closes #67
  • mapper: use object instead of class (977eb38)
  • request: super class for put, delete, update request (f48928f)
  • various: skip classes when only static methods (fb62e75)

Features

  • mapper: fix nested @model classes (6a0ceb0)
  • model: models are now able to inherit/extend other models (7d3f5e3)
  • typings: better typing (21b7a98)

BREAKING CHANGES

  • mapper: CustomMapper decorator no longer accepts classes but an object with the two methods
    fromDb/toDb
  • various: DynamoEasyConfig.update(config) is now updateDyanmoEasyConfig(config)
  • request: renaming of where/whereAttribute to onlyIf/onlyIfAttribute
  • mapper: moment no longer default for dates, no longer date mapping by naming convention