Releases: sensedeep/dynamodb-onetable
v2.7.4
v2.7.3
Minor Patch Release
Features
- None
Fixes
*Warn if missing unique properties
Thanks
Thanks to all who contributed issues and patches. Much appreciated.
See
v2.7.2
Minor Patch Release
Features
- None
Fixes
- Fix module imports for ESM
- Fix batchGet type
- Fix getCurrentSchema type
- Some doc updates
Thanks
Thanks to all who contributed issues and patches. Much appreciated.
See
v2.7.1
Minor Path Release
Features
- None
Fixes
- Async declarations in Model.d.ts
Thanks
Thanks to all who contributed issues and patches. Much appreciated.
See
v2.7.0
Minor Feature Release
This release includes a solid refactor of the partial update support in Expression.js. Please report any issues with partial and nested updates. For this reason, we've incremented the minor version number to indicate the risk.
It also adds support for CustomMetrics](https://www.npmjs.com/package/custom-metrics). Previously the single table metrics (Metrics.js) could create a lot of CloudWatch metrics which are quite expensive (~$4 per metric / year). CustomMetrics stores metrics in the dynamoDB table. When used with buffering, you can get high resolution DynamoDB metrics with a small additional DynamoDB load.
Features
- Add support for CustomMetrics
Fixes
- Partial array updates
- Suppress annoying AWS SDK v2 warning
- Fix AWS SDK V3 missing TTL support
- Update all dependencies
- Remove Node 14 tests
- Fix ESM distribution generation
- Add metric flush on lambda termination (requires a lambda layer)
Thanks
Thanks to all who contributed issues and patches. Much appreciated.
See
v2.6.4
Minor Patch Release
Fixes
- #479 - Batched get with incomplete keys
- #477 - Match sample code with release
- #490 - Add missing metric types
- Add table.metrics to TS definitions
- Add profile to OneParams
- Fix partial nested update expression
- #489 - Metrics not including namespace
- #488 - Fix conditional boolean in Table.d.ts
- #470 Fix batchWrite unprocessed items
- Fix encoded nested properties
- Fix mapped nested put operations
Thanks
Thanks to all who contributed issues and patches. Much appreciated.
See
v2.6.3
Minor Patch Release
Fixes
- Fix missing quoting on where clause for filter queries
- Fix #476 Template value throw type error when using nested property that is undefined
- Fix #480 Create on create result for typescript
- Fix README regarding ASW SDK V3 init
- Fix import Buffer
- Exclude Stream unit test
- Fix hard dep on AWS SDK
- Change default SDK to AWS V3
- Improve Table constructor to not require Dynamo for AWS SDK V3
- Updated README for typescript
- Add options to getModel for "nothrow"
- Fix #454 init() exception on deps
Thanks
Thanks to all who contributed issues and patches. Much appreciated.
See
v2.6.2
v2.6.1
Minor Patch Release
Breaking Changes
- Temporarily disabling processing DynamoDB streams for the AWS SDK V2. The streams support created a hard dependency on the V3 SDK.
Fixes
- Fix hard dependency on AWS SDK V2 #446
Thanks
Thanks to all who contributed issues and patches. Much appreciated.
See
v2.6.0
Major Feature Release
Breaking Changes
- Changed the Table.params.partial default to be true
Features
- Omit storing attributes that are encoded in value templates via the encode property.
- Code formatted using prettier
- Allow params.timestamps overrides
- Allow schema and params partial overrides
- Documentation improvements
Fixes
- Set default schema properties for Tables
- Fix per field "hidden" overrides and clarify doc regarding use of "hidden"
- Fix cherry pick required index properties from next/prev params
- Find next/prev with GSIs (was missing primary index fields)
- Fix type conversions for untyped fields inside arrays for dates
- Get consistent timestamps inside transactions
- Fix handling null nested schema objects #417
- Fix handling for nested schema arrays nulls
- Fix TypeScript types for nested schema array nulls.
- Fix build badge
- Fix missing scope property to OneModel typescript definition. #412
- Fix saveSchema when supporting RegExp for encode. #408
- Add support for ConditionCheck transaction items. #409
- Fix OneField.encode typescript definition needs to allow for (string|number). #405
- Fix return consumed capacity for write operations. #444
- Fix updateTable not a function for V3 SDK. #441
- Fix invalid prep value when paginating GSIs. #443
- Fix encode in schemas. #423
Thanks
Thanks to all who contributed issues and patches. Much appreciated.