Skip to content

Releases: shiftcode/dynamo-easy

v5.0.2

13 Feb 15:24
7e97c85
Compare
Choose a tag to compare

5.0.2 (2019-02-13)

Bug Fixes

  • read-many-request: remove default limit (536a60c)

v5.0.1

13 Feb 12:38
99c7534
Compare
Choose a tag to compare

5.0.1 (2019-02-13)

Bug Fixes

  • conditions: making notContains actually work (e4697c5)

v5.0.0

12 Feb 13:54
c738fba
Compare
Choose a tag to compare

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

11 Feb 12:32
Compare
Choose a tag to compare
v5.0.0-beta.1 Pre-release
Pre-release

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

11 Feb 11:21
54eabd5
Compare
Choose a tag to compare
v4.1.0-beta.31 Pre-release
Pre-release

4.1.0-beta.31 (2019-02-11)

Bug Fixes

  • logger: log level as number enum (396364b)
  • write-request: execFullResponse now maps returned items (e871be2)

v4.1.0-beta.30

08 Feb 15:37
dd26341
Compare
Choose a tag to compare
v4.1.0-beta.30 Pre-release
Pre-release

4.1.0-beta.30 (2019-02-08)

Bug Fixes

  • requests: allow attributePath for onlyIfAttribute, whereAttribute (9d840cf)

v4.1.0-beta.29

06 Feb 15:27
Compare
Choose a tag to compare
v4.1.0-beta.29 Pre-release
Pre-release

4.1.0-beta.29 (2019-02-06)

Bug Fixes

  • test: add missing properties (3d9fc59)

Features

  • error-handling: better error handling (726b316)
  • metadata: refactor and fix issue (45537bb)

v4.1.0-beta.28

06 Feb 14:06
Compare
Choose a tag to compare
v4.1.0-beta.28 Pre-release
Pre-release

4.1.0-beta.28 (2019-02-06)

Bug Fixes

  • batch-write-single-table.request: typings (4cbba5c)

v4.1.0-beta.27

05 Feb 18:26
Compare
Choose a tag to compare
v4.1.0-beta.27 Pre-release
Pre-release

4.1.0-beta.27 (2019-02-05)

Features

  • typing: narrow typing when not defining returnValues (380c1ec)

v4.1.0-beta.26

05 Feb 16:13
ea37f7a
Compare
Choose a tag to compare
v4.1.0-beta.26 Pre-release
Pre-release

4.1.0-beta.26 (2019-02-05)

Features

  • batch-get.request: method to set ReturnConsumedCapacity (1016622)
  • write-requests: receive mapped ReturnValues from exec (661cda7)