Releases: shiftcode/dynamo-easy
Releases · shiftcode/dynamo-easy
v4.0.0
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
v3.1.0
v3.0.3
v3.0.2
v3.0.1
v3.0.0
3.0.0 (2018-10-26)
Bug Fixes
- mapper: disallowe null value for HASH/RANGE key (1147be0)
- mapper: proper validation if attribute is HASH or RANGE key (a00be04)
- typing: resolve ts issue (cf9fed8)
Code Refactoring
- mapper: specific attribute types for a strictly typed mapper (807ef7e)
Features
- mapper: print out property name on error (e0cf2af)
BREAKING CHANGES
- mapper: CustomMappers need to define their AttributeType