Releases: dynamoose/dynamoose
v2.7.2
Version 2.7.2
This release fixes a bug related to the return value of document.save
and Model.create
, and more.
Please comment or contact me if you have any questions about this release.
Bug Fixes
document.save
&Model.create
now return the document saved to DynamoDB- Type messages now display
null
when passing in a invalid typenull
value as opposed to the previousobject
Other
- Added some more TypeScript tests
v3.0.0-alpha.1
Version 3.0.0 Alpha 1
v2.7.1
Version 2.7.1
This release has a lot of bug fixes for Dynamoose.
Please comment or contact me if you have any questions about this release.
Bug Fixes
- Fixing issue where with required check failing for non updating properties when using
$DELETE
inModel.delete
- Prioritizing indexes with range key when querying
- Improvements to type and schema matching for nested properties
- Fixing issue where retrieving previously created model would ignore prefix and suffix
- Fixing TypeScript issues with nested models
- Fixing issue where nested models would auto-populate
- Fixing issues with nested models within nested elements
Documentation
- Making
saveUnknown
more clear in documentation
Other
- Added warning when passing in
undefined
into Conditional
v2.7.0
Version 2.7.0
This release patches a 🚨 security vulnerability 🚨.
Please comment or contact me if you have any questions about this release.
General
- Patch for Prototype Pollution (GHSA-rrqm-p222-8ph2)
- Added
$DELETE
option forModel.update
Bug Fixes
- Fixed a bug related to
update
setting being true for model with index
v2.6.0
Version 2.6.0
This release adds support for a new constant type along with a bunch of other improvements and fixes.
Please comment or contact me if you have any questions about this release.
General
- Added Constant type
- Added
attributes
setting for Model.batchGet
Bug Fixes
- Fixed issues with nested arrays with multiple data types
- Fixed issue with array of indexes
- Fixed bugs related to multiple types for attribute
- Fixed internal method bug that had the potential to cause issues throughout codebase (only known issue related to update transactions)
Other
- Added security policy
v2.5.0
Version 2.5.0
This release adds support for the DynamoDB null
type, along with some more TypeScript fixes, and some other cool enhancements.
Please comment or contact me if you have any questions about this release.
General
- Added support for the DynamoDB
null
type - Added support for
Document.save
condition setting
Bug Fixes
- Fixed TypeScript typing bugs related to Scan & Queries
- Fixed TypeScript typing bugs related to
dynamoose.THIS
- Fixed TypeScript typing bugs related to
Model.waitForActive.check
setting - Fixed TypeScript typing bugs related to
dynamoose.THIS
- Fixed TypeScript typing issue with multiple type options for attribute
Documentation
- Better explaination for
name
parameter representing the DynamoDB table name
v2.4.1
Version 2.4.1
This release fixes a performance issue related to TypeScript.
Please comment or contact me if you have any questions about this release.
Other
- Fixes a memory leak related to the TypeScript target being
es6
. This was fixed by changing the target toes2017
.
v2.4.0
Version 2.4.0
This release fixes a lot of bugs and adds support for consistent read support to Model.get
and support for conditional deletes.
Please comment or contact me if you have any questions about this release.
General
- Added consistent read support to
Model.get
- Added support for passing a condition into
Model.delete
- Added support for strongly typed models in TypeScript
Bug Fixes
- Fixed bug where
document.delete
would fail with rangeKey - Transaction TypeScript improvements
- Set schema type TypeScript improvements
- Fixed issue related to having
0
as number for key (range or hash) - Fixed bug where passing in reserved keyword attributes into
Model.get
would fail - Improvements to how queries decide which index to use
- Improvements to storing and retrieving documents with multi-dimensional arrays (nested arrays)
Documentation
- Updated website search
- Improvements to documentation clarity
v2.3.0
Version 2.3.0
This release adds major new support for single table design.
Please comment or contact me if you have any questions about this release.
Major New Features
- Single Table Design Enhancements
- Nested Schemas
- Multiple Attribute Types
- Combine Type
- Multiple Schemas per Model
- Readds populate support (similar to v1 but breaking changes between v1 and v2 populate functionality)
General
- Adds document.toJSON() method
- Adds Serialization support
Bug Fixes
- Minor bug fixes for TypeScript typings
v2.3.0-beta.1
Version 2.3.0 Beta 1
This release adds some major functionality related to single table design.
Please comment or contact me if you have any questions about this release.
Major New Features
- Single Table Design Enhancements
- Nested Schemas
- Multiple Attribute Types
- Combine Type
- Multiple Schemas per Model
- Readds populate support (similar to v1 but breaking changes between v1 and v2 populate functionality)
General
- Adds
document.toJSON()
method - Adds Serialization support