Releases: dynamoose/dynamoose
Releases · dynamoose/dynamoose
v2.0.0-beta.8
Version 2.0.0 Beta 8
- Adding
Condition
class to be able to create conditionals easily - Adding support for
Condition
instances onModel.update
- Fixing issue where custom parameters couldn't be passed into custom methods
- Added batch methods
Model.batchGet
Model.batchDelete
Model.batchPut
- Fixing issue where nested attributes wouldn't check
required
if parent object overwritten inModel.update
- Adding support for more
Conditional
methods onScan
&Query
(ex.group
,or
, etc)
v2.0.0-beta.7
Version 2.0.0 Beta 7
- Adding support for custom methods
- Performance optimizations
- Fixed issue with numbers in
saveUnknown
keys - When storing
Date
asseconds
it now rounds the number to ensure it doesn't store a decimal - Fixing bug where if date was set to
0
it would return as a number instead of as a date object - Fixing bug where validation wouldn't run if value is falsy (ex.
0
,false
, etc) - Fixing issue where
internalProperties
would be accessible/visible on Documents
v2.0.0-beta.6
Version 2.0.0 Beta 6
- Changing behavior to return undefined instead of null for expired object if
expires.items.returnExpired
is true - Changing behavior to only running required check for children attributes if parent value exists
- Adding support for using dynamoose.undefined in Model.update
- Allowing for extra attributes in key for
Model.delete
&Model.get
- Allowing for setting document attribute value to undefined
- Adding support for
saveUnknown
for Model.update - Fixing issue where error would be thrown if TTL was already enabled
v2.0.0-beta.5
Version 2.0.0 Beta 5
- BREAKING CHANGE FROM BETA 4:
Scan.null
&Query.null
have been removed - BREAKING CHANGE FROM BETA 4: Changed behavior of enum to only check enum if value exists (if you want previous behavior add
required
to attribute settings) - Added support for
get
andset
function settings on Schema Attribute settings - Added support for
Scan.exists
&Query.exists
- Fixed bug where creating tables would use wrong hash key in certain situations
- Fixed issues where Query's and Scan's would have errors from AWS due to invalid request
- Fixed an issue where trying to use
saveUnknown
with an attribute that was of typeArray
wouldn't work as expected - Fixed issues related to creation of tables, especially related to throughput
- Fixed a bug where
new Model()
to create a new document with no object passed in would fail - Fixed a bug where falsey default values (ex.
false
or0
) wouldn't work as expected - Fixed a bug where
Model.transaction.update
wouldn't work correctly and would throw an error from AWS - Fixed a race condition when passing in single object with update types to
Model.update
which would cause the wrong request to be sent to AWS and therefore an error was thrown by AWS - Made improvements to single object scan's and query's, including seaching for the correct index for query's
v2.0.0-beta.4
Version 2.0.0 Beta 4
- Fixed bugs related to retrieving and storing objects with empty objects
- Added support for wildcards in
saveUnknown
properties - Fixed bug where
saveUnknown
wouldn't work for Scans or Queries - Fixed error related to initialization of model when table needed to be created
v2.0.0-beta.3
Version 2.0.0 Beta 3
- BREAKING CHANGE FROM BETA 2: Models must now be initialized with the
new
keyword Model.delete
document.delete
- Adding support for second based storage for Date types
- Fixing bug where default values wouldn’t conform to schema
- Adding support for default value as custom type
- Adding support for TTL
- Adding support for returning DynamoDB API request for most methods
- Transaction support
dynamoose.undefined
v2.0.0-beta.2
Version 2.0.0 Beta 2
dynamoose.aws.ddb.local
Model.table.create.request
Document.original
v2.0.0-beta.1
Version 2.0.0 Beta 1
v1.5.2
Version 1.5.2
This is a minor bug fix for Plugins, and also adds some other improvements for plugins and other parts of the app.
Please comment or contact me if you have any questions about this release.
General
v1.5.1
Version 1.5.1
This is a minor release with documentation and project improvements.
Please comment or contact me if you have any questions about this release.
Documentation
- Add constructor for model schema types in TypeScript #547
- Defined dynamoose transaction in dynamoose.d.ts #540
- Documentation Improvements #561