electrodb
Advanced tools
Changelog
[2.12.2] - 2023-12-18
scan
appended invalid filters if some cases. In cases where attributes are used as keys or composite templates contain no prefixes the scan
operation would append invalid filters to parameters. This bug was identified by discord user @engi22, thank you!Changelog
[2.12.0] - 2023-11-27
any
and CustomAttributeType
attribute types. Prior to this release, any
and CustomAttributeType
could only be used with root attributes. This change adds support for CustomAttributeType
to be used with map
attributes.condition
property on index definitions to prevent unnecessary GSI writes & hot partitions for certain data models. The provided condition
callback will be invoked at query-time, passed all attributes set on that mutation, and if it returns false
the index will not be written to your DynamoDB table. Addresses Issue #330.Changelog
[2.11.0] - 2023-11-12
scope
to index definitions, allowing users to further isolate partition keys beyond just service
participation. This implements an RFC that was thoughtfully put forward by @Sam3d in Issue #290. Thank you, Brooke for your contribution!Changelog
[2.10.7] - 2023-11-09
2.10.4
affecting all queries discovered and brought forward by Ross Gerbasi. Thank you, Ross Gerbasi!Changelog
[2.10.6] - 2023-11-04
Changelog
[2.10.5] - 2023-11-03
patch
and update
methods that caused key composite attributes to be set with their attribute name not their "field" name. This would impact users who both use the update
method to create new items and use alternative field name definitions for their composite keys. All other users would likely be silently impacted by this issue.Changelog
[2.10.4] - 2023-10-26
NOTE: This version is deprecated, this version introduced code that significantly increased latency. That code was fixed in
2.10.7
cause
property to ElectroError
, currently populated when error originates from the AWS Client, to help with error triage. This also adds the ability to provide an error type to ElectroError<Error> to type the error located on cause
.Changelog
[2.10.3]