4.11.2 (2024-06-05)
4.11.1 (2024-04-04)
4.11.0 (2024-04-02)
- add someOf an allOf filter condition utilities (d6c3f65)
- allow creation of Dynamic attribute with only metadata (62d7a52), closes #673
4.10.2 (2024-03-28)
4.10.1 (2024-03-07)
- using not contains query filter (98d3c7f)
4.10.0 (2023-11-16)
- using a conditional check on a nowOnUpdate Date attribute (074fe81)
- expose a way to get the Transaction write items (d0d0c6a)
4.9.1 (2023-10-30)
- make MagicSearch.page public again (b9de391)
4.9.0 (2023-10-30)
- async generators (28cc5f3)
4.8.2 (2023-10-14)
- store original value when removing an attribute (0f444ab)
4.8.1 (2023-10-14)
- tracking when the entire document is loaded (e22902a)
4.8.0 (2023-10-14)
- afterSave: updatedAttributes and deletedAttributes always empty (c47aeb7)
- abort controller support (77da825)
4.7.1 (2023-09-15)
- restore support for AWS XRAY (1d972ba)
4.7.0 (2023-09-15)
- re-add support for DYNAMO_ACCESS_KEY_ID & DYNAMO_SECRET_ACCESS_KEY (b438325)
- allow removing multiple properties or attributes (4bb1ca4)
4.6.0 (2023-09-14)
4.5.0 (2023-09-14)
- expose proper typing for isTrulyEmpty (ae04049)
- accept number and string arrays on set properties (72b57cc)
4.4.0 (2023-09-14)
- allow arrays to be passed via set (7c19ff6)
4.3.1 (2023-09-14)
- convert string sets to an array when outputting to JSON (6258812)
4.3.0 (2023-09-14)
4.2.0 (2023-09-14)
- creation of update expression duplicated remove segment (d21bfe4)
- migrateTable comparison of indexes (e1599c7), closes #645
- add support for using add and remove update operators with sets (33bf76e)
- allow sets to continue to be native javascript arrays (c137a74), closes #667
4.1.2 (2023-08-25)
- cdk utility needs to use unique resource id for every table (c8c6f0b)
4.1.1 (2023-08-15)
4.1.0 (2023-04-10)
- map attributes using independent property names (57a0132)
4.0.0 (2023-04-08)
- assign a default value for range key (3f3de65), closes #569
- ci: dynamodb port needs to be exposed (d54a548)
- ci: running in container is breaking semantic-release (424d8d5)
- conditions when using a transaction (95d4cdd), closes #609
- ensure date attribute with nowOnUpdate update on partial updates (374d02e), closes #613
- passing undefined to Table.new clears default values (ea33dd3), closes #602
- add support for List attributes (4abf8f4), closes #608
- convert sets to use Set types (f35ace4)
- generate CDK table (1162d6e)
- improve autoscaling support and interfaces (2f80f0b), closes #544
- upgrade to aws-sdk v3 (e4fca19)
- this converts StringSet, NumberSet, and BinarySet to use a Set type in TypeScript, which provides better typing and ensures values are unique. This will later help with processing the changes to sets only, rather than having to re-save the entire set of values which is inefficient for larger sets.
- Very necessary.
3.1.3 (2022-07-28)
- date: passing invalid date values to fromJSON would error (14904d5)
3.1.2 (2022-06-13)
- provide a helpful error when a delete item fails (c16b1b6)
- updateSet could fail to remove items from the set (7e30de5)
3.1.1 (2022-04-22)
- allow use of updateSet with nullable properties (a6d8736)
3.1.0 (2022-04-22)
3.0.2 (2021-09-27)
- allow attributes with the property name of 'name' (d044c3d)
3.0.1 (2021-09-27)
- do not force Dyngoose-generated properties when the property is set (fb7f9e8)
- ignore unknown properties when reading a map when told to ignore (991a7b3)
3.0.0 (2021-08-21)
- additional testing to prevent [null] output #482 (59f0541)
- querying by property names does not work as expected (12e4d5d), closes #494
- This has changed the way the
Table.save
method accepts arguments. It now accepts an object of parameters, rather than two hard-coded arguments. In addition, I've removed theTable.forceSave
method, that functionality is now integrated into theTable.save
method and is available by passing{ force: true }
in the parameters object.
2.16.5 (2021-05-25)
- the order of arguments for beforeSave #479 (821fcb5)
- use of MagicSearch without filters for paging entire table/index (9ba0309), closes #478
2.16.4 (2021-03-18)
- apply defaults before importing values when using Table.fromJSON (2d92a76)
2.16.3 (2021-03-03)
- excludes operator incorrectly formatting the query (7e37678)
2.16.2 (2021-03-01)
- date attributes should accept number timestamps (75a88e6)
2.16.1 (2021-03-01)
- allow manipulateRead to be used even when the value is null (f2f2935)
- allow manipulateWrite to be used when the value is null (a204fcd)
2.16.0 (2021-02-26)
- accept ISO formatted strings for Date attributes (843396a)
- add better typing for MagicSearch conditions (27f01c9)
2.15.3 (2021-02-23)
- 🐛 Billing mode pay per request for GSIs (#453) (7bce6be)
- cannot specify BillingMode on the GSI input (148d041)
2.15.2 (2021-02-22)
- do not specify ProjectionExpression when performing a COUNT (634f9e1)
2.15.1 (2021-02-22)
- projection expression for MagicSearch (aa09be3)
2.15.0 (2021-02-22)
- throw helpful errors when using MagicSearch and Batch utilities (6ffb945)
2.14.0 (2021-02-19)
- support specifying the CloudFormation resource name for a Table (7f2598b)
2.13.4 (2021-02-05)
- utility to expose whether a record is new (0ec99e2)
2.13.3 (2021-02-05)
- expose transaction CancellationReasons on the error (92c73cd)
2.13.2 (2021-02-04)
- using Table.fromJSON() with a Map attribute (1cce51b)
2.13.1 (2021-02-04)
- using Table.toJSON() with a Map attribute (9feef8e)
2.13.0 (2021-01-23)
- support enabling point-in-time recovery (0462f52)
2.12.3 (2021-01-22)
2.12.2 (2021-01-21)
- support for typescript 4.1.x (74a8b83)
2.12.1 (2021-01-21)
- provide the query input to the PrimaryKey put and update handlers (14cb4e3)
2.12.0 (2021-01-16)
- throw helpful errors with useful stacks (b7c5f05)
2.11.1 (2020-12-15)
- pass the lastEvaluatedKey from the last output object during merge (c15be05)
2.11.0 (2020-12-10)
- add Query.PrimaryKey.search (595847e)
2.10.1 (2020-12-05)
- usage of fromDynamo was not consistent (88b23b2)
2.10.0 (2020-12-05)
- allow deleting of attributes when loaded from primaryKey.fromKey (5568d6c)
- allow filtering on scans of the primary key (f753097)
2.9.2 (2020-11-27)
- using MagicSearch with indexes was not building KeyConditions (95ae96d)
2.9.1 (2020-11-14)
- fix using dates as range key and calling primarKey.get (5284298)
2.9.0 (2020-11-14)
- require the table name to be specified (5651e1b)
- allow strict property name pathing into maps (9078ccb)
- atomic batch get operations (590f268)
- primary key .get method accepts filters object (d08618c)
- semaphore batch writes (ab42567)
- use projection expression builder for MagicSearch (132ca9b)
2.8.1 (2020-11-14)
- do not apply defaults when loading from DynamoDB (adac797)
2.8.0 (2020-11-14)
2.7.1 (2020-11-04)
- projections were failing when no reserved words were used (20cbe7b)
2.7.0 (2020-11-03)
- build projection expressions to support reserved word attributes (c005758)
2.6.0 (2020-11-03)
- add batch get utility class (75fa6c9)
2.5.0 (2020-10-29)
- add .minimum(min) execution utility to MagicSearch (fa987a4)
2.4.0 (2020-10-29)
- allow throughput to be specified as a number on GSIs (e5cbbae)
- check the nonKeyAttributes specified to a GSI (8d0962e)
- include the src files, which are referenced by the js maps (11e3f77)
- query output as an native array (ac8111c)
- set limit of 1 when performing a gsi.get query (a519758)
2.3.2 (2020-10-23)
- allow void to be used as the range key type for primary keys (2a181bc)
2.3.1 (2020-10-23)
- allow any property name, but maintain the intelligent autocomplete (fd31498)
2.3.0 (2020-10-22)
- any attribute using binary's metadata (8c4d077)
- ensure specs are excluded from npm package (37252b7)
- npm run test command referencing removing tsconfig (d85d898)
- add del to table to delete by property name (c9a0647)
- upgrade to eslint, add bigint support to NS, type set/get on table (9aec8c3)
2.2.0 (2020-10-14)
2.1.0 (2020-10-14)
2.0.0 (2020-09-29)
- add call-chaining search support for advanced filtering and querying operations (#133) (19366dd), closes #130
- The existing
Table.search()
function has changed and it now requires you to call.exec()
on the result, like:Table.search({ id: 'something' }).exec()
.
1.12.3 (2020-08-06)
1.12.2 (2020-03-11)
1.12.1 (2020-02-27)
- make aws-sdk a peerDependency to allow users to specify a version (c15a097)
1.12.0 (2020-02-25)
- make new 'extra' optional (23b7814)
- support "extra" on tables and attributes (fc076c7)
1.11.4 (2020-02-21)
- date attributes should honor desired format when output to JSON (b6fa238)
1.11.3 (2020-02-21)
- do not use official process.env.AWS_* variables by default (60444d5)
1.11.2 (2020-02-21)
- output log messages from utils/cloudformation (4284fcb)
1.11.1 (2020-02-21)
- prevent use of INCLUDE without nonKeyAttributes (9e39ab9)
- usage of incorrect suffix variable in utils/cloudforamtion (45c36a3)
1.11.0 (2020-02-20)
- bug with migrate utility, typo using the wrong variable (5a0d612)
- allow any DynamoDB configuration option to be defined (67bb421)
1.10.0 (2020-02-19)
- support migrating the TTL attribute as part of migrateTable (7a1761b)
1.9.0 (2020-02-19)
- add explicit support for unix and millisecond timestamps (17dd6ae)
- support setting a table's billing mode to PAY_PER_REQUEST (5536e66)
- support storing BigInts as numbers (ab28bf7)
1.8.0 (2020-02-19)
- add type checks to prevent errors when performing queries (c11ae98)
1.7.0 (2020-02-19)
- pass an event with more useful data to the afterSave handler (5aa3a0c)
1.6.0 (2020-02-18)
- export a Dyngoose object to help intelligent IDEs import Dyngoose (da7bf07)
1.5.0 (2020-02-17)
- support conditions for deleting records (66a82b3)
1.4.0 (2020-02-17)
- add strong typing for Query.PrimaryKey.update (f5042e5)
1.3.0 (2020-02-17)
- support conditional writes when saving records (a52d1ee)
1.2.0 (2020-02-17)
- issue with dynamic attributes and date nowOnCreate and nowOnUpdate (76eeccb)
- issues with use of map attributes (4703289)
- make Table.search avoid use of indexes for operational searches (6547b54)
1.1.0 (2020-02-17)
- add custom error classes (94f7329)
- add query filter support for LocalSecondaryIndexes (9d79660)
- add Table.new for strongly typed creation of new records (fe821a6)
- add Table.search generic search utility that looks for indexes (94cd2c1)
- add utilities to migrate and seed tables for development (8e81b3e)
- add utility to generate CloudFormation resources (f0d07e2)
- make Table.get and Table.set use property names (2104c03)
- stickly type queries using filters (634c368)
1.0.1 (2020-02-16)
- PrimaryKey.batchGet (a116124)
- merge DateTime, DateOnly, and Timestamp attributes into Date (0d546f4)