Skip to content

Releases: sensedeep/dynamodb-onetable

v0.7.0

19 Feb 01:16
Compare
Choose a tag to compare

Major Feature Release

This release brings support for the AWS SDK v3.

Features

  • Support AWS SDK v3
  • Add parse:true option to queryItems to read item collections
  • Add Table.groupByType utility

Fixes

  • Fix validating KeyConditionExpression and FilterExpression operators
  • Fix find/query with {begins: 'value} and {operator: 'value'} queries
  • Fix some issues with batch* operations
  • Fix unique field support when PK/SK were not named pk/sk
  • Documentation fixes

See

v0.6.11

15 Feb 08:10
Compare
Choose a tag to compare

Minor Patch Release

Features

  • None

Fixes

  • Fix hybrid build distribution for CommonJS and ESM
  • Update Doc with note about AWS v3

See

v0.6.10

15 Feb 08:09
Compare
Choose a tag to compare

Minor Patch Release

Features

  • None

Fixes

  • Documentation corrections

See

v0.6.9

10 Feb 21:51
Compare
Choose a tag to compare

Minor Patch Release

Features

  • None

Fixes

  • Setting UUID value for fields that require dynamic UUID (uuid: true in schema)
  • Fix find/scan filters for falsy non-null values
  • Documentation corrections

See

v0.6.8

06 Feb 02:12
Compare
Choose a tag to compare

Minor Patch Release

Features

  • Package as commonjs or ES modules using package.json exports
  • Add Table.scanModules API

Fixes

  • none

See

v0.6.7

04 Feb 00:10
Compare
Choose a tag to compare

Minor Patch Release

Features

  • Add params.exists for create/update/remove to control checking for attribute existence
  • Add Table.getSchema()

Fixes

  • Return default values if unset in get/find
  • Make ES module friendly

See

v0.6.6

18 Jan 05:59
Compare
Choose a tag to compare

Minor Patch Release

Features

  • Add params.context to override Table.context.
  • Add params.updateIndexes to force index attributes to be updated.

Fixes

  • Revert trace to default levels from 'info'

See

v0.6.5

15 Jan 04:01
Compare
Choose a tag to compare

Minor Patch Release

Features

  • Add API params.hidden override
  • Add rest of *Item API for Table

Fixes

  • Refactor Model *Item API to be private
  • Improve method documentation in README.md
  • Fix empty ExpressionAttributeValues
  • Fix Method.scan using fallback
  • Fix validating Table methods using modelName

See

v0.6.4

13 Jan 02:52
Compare
Choose a tag to compare

Minor Update Release

Features

  • Add schema per attribute nulls control.

Fixes

  • Fix context properties containing nulls.
  • Add raw result to migrate callback.

See

v0.6.3

12 Jan 06:05
Compare
Choose a tag to compare

Major Initial Release

This is the first public release of dynamodb-onetable.

This module has been used for a while as the DynamoDB interface for the SenseDeep serverless troubleshooter.

Change Log

  • Initial release on GitHub and NPM

Features

  • Schema supported one-table access to DynamoDB APIs.
  • Efficient storage and access of multiple entities in a single DynamoDB table.
  • High level API with type marshaling, validations, and extended query capability for get/delete/update operations.
  • Bidirectional conversion of DynamoDB types to Javascript types.
  • Option to invoke DynamoDB or simply generate API parameters.
  • Generation of Conditional, Filter, Key and Update expressions.
  • Schema item definitions for attribute types, default values, enums and validations.
  • Powerful field level validations with required and transactional unique attributes.
  • Easy parameterization of filter and conditional queries.
  • Multi-page response aggregation.
  • Compound and templated key management.
  • Encrypted fields.
  • Support for Batch, Transactions, GSI, LSI indexes.
  • Hooks to modify DynamoDB requests and responses and for item/attribute migrations.
  • Controllable logging to see exact parameter, data and responses.
  • Simple, easy to read source to modify (< 1000 lines).
  • Safety options to prevent "rm -fr *".
  • No module dependencies.

Fixes

  • N/A

See