Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electrodb

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electrodb - npm Package Versions

1
17

1.2.0

Diff

Changelog

Source

[1.2.0] - 2021-07-31

Added

  • Added new update methods append, add, subtract, data, remove, delete, and data for improved support of all DynamoDB update methods. [read more]

Changed

  • The property names of ExpressionAttributeValues underwent some change in this release due to the addition of new update operations. This is not a breaking change but if you have tests to match on the exact params returned from ElectroDB these will likely break. [read more]
tywalch
published 1.1.1 •

Changelog

Source

[1.1.1] - 2021-07-07

Added

  • Added new syntax for Attribute Property watch to trigger whenever any attribute is updated/retrieved. [read more]

Changed

  • The Attribute Property readOnly is now enforced before watch properties are evaluated. This allows properties that use the Attribute Property watch to deliberately circumnavigate readOnly enforcement. [read more]
tywalch
published 1.1.0 •

Changelog

Source

[1.1.0] - 2021-07-07

Added

  • Expanding "collection" concept to include sub-collections. Sub-collections will allow for more precise cross-entity queries to be modeled. [read more]

Fixed

  • Addressed edge-case when modeling sparse indexes that would leave unable to be queried via secondary index. [read more]
tywalch
published 1.0.0 •

Changelog

Source

[1.0.0] - 2021-06-27

Added

  • new .match() method to replace original Find method functionality. [read more]
  • New template property on Model for building custom composite key templates. The template property also brings forward a new syntax similar to template literal syntax. [read more]
  • New custom composite key syntax using the template property. [read more]
  • Numeric table keys now possible. Before PK and SK values could only be strings, Numeric Keys are now supported through the templates index property. [read more]

Changed

  • Rename of facets property on Model to composite for arrays and template for string templates. [read more]
  • Get method now returns null when value is not found. Prior functionality returned an empty object. [read more]
  • Strict enforcement of all SK composite attributes being present when performing .get(), .put(), .create(), .delete(), .remove(), .update(), .patch() operations.
  • Find method now does not add filters for values supplied, Find now only identifies an Index (if possible) and fulfills the Composite Attributes of that Index (if possible). [read more]
  • Query Option lastEvaluatedKeyRaw when used with pagination replaced Query Option pager with option values: "raw", "item", "named". Default set to "named". [read more]
  • Query Option lastEvaluatedKeyRaw when used with bulk operations replaced Query Option unprocessed with option values: "raw", "item". Default set to "item". [read more]

Deprecated

  • Removing facets property from documentation, examples, and TypeScript typing. Replaced with composite property for arrays and template for string templates. [read more]
  • Fully deprecated custom facet string format. Facet strings defined attributes with a prefixed : as in :storeId would resolve to storeId. This has been replaced by the template syntax, surrounding the attribute with ${...}. [read more]
tywalch
published 0.11.0 •

tywalch
published 0.10.6 •

tywalch
published 0.10.5 •

tywalch
published 0.10.4 •

tywalch
published 0.10.3 •

tywalch
published 0.10.2 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc