electrodb 1.4.0 → 1.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -4
- package/README.md +351 -138
- package/browser.js +53 -0
- package/bundle.js +9962 -0
- package/index.d.ts +10 -9
- package/notes +935 -29
- package/package.json +1 -1
- package/src/clauses.js +0 -18
- package/src/entity.js +23 -1
- package/src/schema.js +4 -1
- package/index.test-d.ts +0 -3829
package/CHANGELOG.md
CHANGED
|
@@ -60,16 +60,40 @@ All notable changes to this project will be documented in this file. Breaking ch
|
|
|
60
60
|
- TypeScript type definitions for `get()` method now incorporate potential for `null` response.
|
|
61
61
|
- Type definitions for `value()` and `name()` where clause operations.
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
## [1.3.1] - 2021-08-09
|
|
64
64
|
### Added
|
|
65
65
|
- New entity method `parse()` to expose ElectroDB formatting for values retrieved outside of ElectroDB. [[read more]](./README.md#parse)
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
## [1.3.2] - 2021-08-11
|
|
68
68
|
### Fixed
|
|
69
69
|
- Newly added method `parse()` had critical typo. Method now has an improved api, and appropriate tests [[read more]](./README.md#parse)
|
|
70
70
|
|
|
71
|
-
|
|
71
|
+
## [1.4.0] - 2021-08-22
|
|
72
72
|
### Added
|
|
73
73
|
- Added support for choosing the case ElectroDB will use when modeling a Partition or Sort Key. [[read more]](./README.md#using-electrodb-with-existing-data)
|
|
74
74
|
- Added support for indexes to use fields that are shared with attribute fields. This should help users leverage ElectroDB with existing tables. [[read more]](./README.md#using-electrodb-with-existing-data)
|
|
75
|
-
- Added Query Option `ignoreOwnership` to bypass ElectroDB checks/interrogations for ownership of an item before returning it. [[read more]](./README.md#query-options)
|
|
75
|
+
- Added Query Option `ignoreOwnership` to bypass ElectroDB checks/interrogations for ownership of an item before returning it. [[read more]](./README.md#query-options)
|
|
76
|
+
|
|
77
|
+
## [1.4.1] - 2021-08-25
|
|
78
|
+
### Added
|
|
79
|
+
- Typedef support for RegExp validation on string attributes
|
|
80
|
+
|
|
81
|
+
### Fixed
|
|
82
|
+
- RegExp validation issue resulting in undefined (but not required) values being tested.
|
|
83
|
+
|
|
84
|
+
## [1.4.2] - 2021-09-09
|
|
85
|
+
### Fixed
|
|
86
|
+
- Typing for `.page()` method pager. Now includes the destructured keys associated with the index being queried. [[read more]](./README.md#page)
|
|
87
|
+
- Adding documentation, and expanding typing for the query option `limit`, for use in `.params()` calls. [[read more]](./README.md#query-options)
|
|
88
|
+
|
|
89
|
+
## [1.4.3] - 2021-10-03
|
|
90
|
+
### Fixed
|
|
91
|
+
- ElectroDB would throw when an `undefined` property was passed to query. This has been changed to not throw if a partial query on that index can be accomplished with the data provided.
|
|
92
|
+
|
|
93
|
+
## [1.4.4] - 2021-10-16
|
|
94
|
+
### Added
|
|
95
|
+
- Updates did not include composite attributes involved in primary index. Though these values cannot be changed, they should be `set` on update method calls in case the update results in an item insert. [[read more]](./README.md#updates-to-composite-attributes)
|
|
96
|
+
|
|
97
|
+
## [0.11.1] - 2021-10-17
|
|
98
|
+
### Patched
|
|
99
|
+
- Updates did not include composite attributes involved in primary index. Though these values cannot be changed, they should be `set` on update method calls in case the update results in an item insert. [[read more]](./README.md#updates-to-composite-attributes)
|