Releases: shiftcode/dynamo-easy
Releases · shiftcode/dynamo-easy
v5.0.2
v5.0.1
v5.0.0
5.0.0 (2019-02-12)
Bug Fixes
- attribute-names.function: extend regex with numbers (e653aa4)
- batch-requests: export consts (60d0568)
- batch-write-single-table-request: delete/put directly to params (68e0150)
- batch-write-single-table.request: typings (4cbba5c)
- date-mappers: export date mappers (ef18185)
- decorator-util: uncomment error (18a83fb)
- deps: bring back correct dependencies (890544d)
- deps: remove unused dependencies entry (ce3ef43)
- lint-staged: remove tslint script in test glob (0140a85)
- lodash-es: lodash-es does not work with jest (404ac18)
- logger: log level as number enum (396364b)
- mapper: map certain falsey values to model (e68a1e2)
- mapper: remove unnecessary potential null return type (adc871f)
- mapper: ts errors (82f9275)
- metadata: forProperty, regex exec loop (da0e6f2)
- metadata: typings (bbec5c9)
- nested-models: support for nested models (e8ff7bd)
- param-util: more strict regex for mergeUpdateExpressions (361db4f)
- primary-key.type: remove since no longer used (9fe6017)
- read-many-request: remove unnecessary type assertion (37e5c4e)
- requests: allow attributePath for onlyIfAttribute, whereAttribute (9d840cf)
- scan-request: use correct params (e38e555)
- test: add missing properties (3d9fc59)
- test: remove wrong error throw (f19e81c)
- transact-get: method order (3f8572e)
- transact-put-spec: fix test (4b97bdd)
- transact-write-request: fix map function to return void (f676500)
- transactget: exports (2b01cc5)
- update-config: fix check if dateMapper arg is invalid (33240a2)
- update-config: throw when invalid dateMapper was given (c5d0894)
- update-config.function: fix and correctly test the function (20e97b5)
- util: make the isBrowser/isNode method actually work (699539e)
- write-request: execFullResponse now maps returned items (e871be2)
Code Refactoring
- replace Observables with Promises (1cb9882)
- expressions: improve types and runtime validation (d53a787)
- paged-request: remove unused, untested paged-request (85c0d71)
- requests: sessionValidityEnsurer & tableNameResover via config (d3aaa1f)
Features
- batch-get-single-table.request: fetch until no UnprocessedItems are returned (28ba66b)
- batch-get.request: handle UnprocessedItems (048ea01)
- batch-get.request: method to set ReturnConsumedCapacity (1016622)
- batch-write-request: added (6ccb73a)
- doc: add reference to gitbook and stackblitz (ad03055)
- error-handling: better error handling (726b316)
- expression-builder: cleanup validation and other (a76befa)
- mapper: test for empty value mapping (2172fd0)
- metadata: refactor and fix issue (45537bb)
- number-mapper: don't map NaN for numbers (b8747ba)
- reflect-metadata: remove import (fac4f11)
- reflect-metadata: remove import (44c34c1)
- transact-get-request: request class created (92cb428)
- transact-get-single-table-request: created (856daa4)
- transact-update: add updateAttribute equivalent to UpdateRequest (334d204)
- transact-write-request: add execFullResponse method (42dec7a)
- transact-write-request: new request type for transactions (c8b939f)
- ts-2.9.1: add support for previous ts versions (fbb6403)
- tslint: add custom rule for dynamoDB imports (7fc92d8)
- typing: narrow typing when not defining returnValues (380c1ec)
- update: ifNotExists option for update.set (982ecf0)
- update-expression-definition-chain: better typings (2ca7730)
- update-request: updateAttribute method (f9baf9c)
- util: add more robust library (09b21dd)
- util: misc (6ad9064)
- wrap-mapper-for-collection.function: throw error when wrong value (98d018e)
- write-requests: receive mapped
ReturnValues
from exec (661cda7)
BREAKING CHANGES
- all requests no work with and return promises
- expressions: update().add() and update().removeFromSet() no longer supports vararg
- transact-get-single-table-request: DynamoStore::batchGetItem was renamed to batchGet
- batch-write-single-table-request: you cannot longer put or delete more than 25 items in one BatchWriteSingleTableRequest instance. create multiple request instances instead.
- requests: The sessionValidityEnsurer & tableNameResolver are no longer provided on instantiation (from DynamoStore or Requests) but are provided through the updateDynamoConfig(). Therefore you only need to define it once.
- batch-get-single-table.request: provide the keys to fetch as Partial
- paged-request: PagedRequest no longer exists
- batch-get.request: method
forModel
now takes Partial instead of string or object with
PartitionKey+SortKey
v5.0.0-beta.1
5.0.0-beta.1 (2019-02-11)
Bug Fixes
- attribute-names.function: extend regex with numbers (e653aa4)
- batch-requests: export consts (60d0568)
- batch-write-single-table-request: delete/put directly to params (68e0150)
- batch-write-single-table.request: typings (4cbba5c)
- date-mappers: export date mappers (ef18185)
- decorator-util: uncomment error (18a83fb)
- deps: bring back correct dependencies (890544d)
- deps: remove unused dependencies entry (ce3ef43)
- lint-staged: remove tslint script in test glob (0140a85)
- lodash-es: lodash-es does not work with jest (404ac18)
- logger: log level as number enum (396364b)
- mapper: map certain falsey values to model (e68a1e2)
- mapper: remove unnecessary potential null return type (adc871f)
- mapper: ts errors (82f9275)
- metadata: forProperty, regex exec loop (da0e6f2)
- metadata: typings (bbec5c9)
- nested-models: support for nested models (e8ff7bd)
- param-util: more strict regex for mergeUpdateExpressions (361db4f)
- primary-key.type: remove since no longer used (9fe6017)
- read-many-request: remove unnecessary type assertion (37e5c4e)
- requests: allow attributePath for onlyIfAttribute, whereAttribute (9d840cf)
- scan-request: use correct params (e38e555)
- test: add missing properties (3d9fc59)
- test: remove wrong error throw (f19e81c)
- transact-get: method order (3f8572e)
- transact-put-spec: fix test (4b97bdd)
- transact-write-request: fix map function to return void (f676500)
- transactget: exports (2b01cc5)
- update-config: fix check if dateMapper arg is invalid (33240a2)
- update-config: throw when invalid dateMapper was given (c5d0894)
- update-config.function: fix and correctly test the function (20e97b5)
- util: make the isBrowser/isNode method actually work (699539e)
- write-request: execFullResponse now maps returned items (e871be2)
Code Refactoring
- replace Observables with Promises (1cb9882)
- expressions: improve types and runtime validation (d53a787)
- paged-request: remove unused, untested paged-request (85c0d71)
- requests: sessionValidityEnsurer & tableNameResover via config (d3aaa1f)
Features
- batch-get-single-table.request: fetch until no UnprocessedItems are returned (28ba66b)
- batch-get.request: handle UnprocessedItems (048ea01)
- batch-get.request: method to set ReturnConsumedCapacity (1016622)
- batch-write-request: added (6ccb73a)
- doc: add reference to gitbook and stackblitz (ad03055)
- error-handling: better error handling (726b316)
- expression-builder: cleanup validation and other (a76befa)
- mapper: test for empty value mapping (2172fd0)
- metadata: refactor and fix issue (45537bb)
- number-mapper: don't map NaN for numbers (b8747ba)
- reflect-metadata: remove import (fac4f11)
- reflect-metadata: remove import (44c34c1)
- transact-get-request: request class created (92cb428)
- transact-get-single-table-request: created (856daa4)
- transact-update: add updateAttribute equivalent to UpdateRequest (334d204)
- transact-write-request: add execFullResponse method (42dec7a)
- transact-write-request: new request type for transactions (c8b939f)
- ts-2.9.1: add support for previous ts versions (fbb6403)
- tslint: add custom rule for dynamoDB imports (7fc92d8)
- typing: narrow typing when not defining returnValues (380c1ec)
- update: ifNotExists option for update.set (982ecf0)
- update-expression-definition-chain: better typings (2ca7730)
- update-request: updateAttribute method (f9baf9c)
- util: add more robust library (09b21dd)
- util: misc (6ad9064)
- wrap-mapper-for-collection.function: throw error when wrong value (98d018e)
- write-requests: receive mapped
ReturnValues
from exec (661cda7)
BREAKING CHANGES
- all requests no work with and return promises
- expressions: update().add() and update().removeFromSet() no longer supports vararg
- transact-get-single-table-request: DynamoStore::batchGetItem was renamed to batchGet
- batch-write-single-table-request: you cannot longer put or delete more than 25 items in one BatchWriteSingleTableRequest instance. create multiple request instances instead.
- requests: The sessionValidityEnsurer & tableNameResolver are no longer provided on instantiation (from DynamoStore or Requests) but are provided through the updateDynamoConfig(). Therefore you only need to define it once.
- batch-get-single-table.request: provide the keys to fetch as Partial
- paged-request: PagedRequest no longer exists
- batch-get.request: method
forModel
now takes Partial instead of string or object with
PartitionKey+SortKey
v4.1.0-beta.31
4.1.0-beta.31 (2019-02-11)
Bug Fixes
v4.1.0-beta.30
4.1.0-beta.30 (2019-02-08)
Bug Fixes
- requests: allow attributePath for onlyIfAttribute, whereAttribute (9d840cf)