1.7.2 (2019-03-18)
1.7.1 (2019-03-18)
- naming: remove extension from name (ca346d0)
1.7.0 (2019-03-18)
- ts: adding ts testing, compiling and exports (0d2ef68)
- ts: fix ci script to also lint typescript (992c7ff)
- ts: fixing spelling (e087570)
1.6.5 (2019-03-03)
1.6.4 (2019-02-19)
1.6.3 (2019-02-18)
- model: fixing batchDelete syntax bug (dfb448f)
- model: fixing update and condition check syntax bug (74623bf)
1.6.2 (2019-02-13)
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.
This is a minor release with documentation and project improvements.
Please comment or contact me if you have any questions about this release.
- Add constructor for model schema types in TypeScript #547
- Defined dynamoose transaction in dynamoose.d.ts #540
- Documentation Improvements #561
- ESLint #557
- Project Improvements #558
- Updating issue template with warning about not filling out fields #538
- Updating Dependencies #562
- Refactor transactions tests to use DynamoDB Local tests #563
This release adds support for list_append
when adding elements to a list using the Model.update
method.
Please comment or contact me if you have any questions about this release.
This version adds some more options to the model and schema options objects.
Please comment or contact me if you have any questions about this release.
- errorUnknown #531
- defaultReturnValues #533
Just a simple bug fix release!
Please comment or contact me if you have any questions about this release.
- Make saveUnknown work recursively #522
- Always use Array.isArray to check if array #521
- Fix error logging for data/schema mismatch #518
- Changing to not update timestamps when scaning or querying with filter #510
- dynamoose.d.ts allow validate property on schema to return promise as well as raw boolean #520
- update typescript typings to allow
ON_DEMAND
throughput in SchemaOptions #530
Dynamoose Version 1.3.0 finishes implementation of some important features (DynamoDB transaction support, and pay per request billing mode), improves the overall stability of the project (reduces NPM package size, bug fixes, throwing more errors), along many more improvements.
Please comment or contact me if you have any questions about this release.
- RAW DynamoDB Transaction Item Support #486
- Model.transaction.conditionCheck #485
- Async Schema Methods #492
- Reducing Size of NPM Package #484
- Raise error if list or map not provided #443
- Fix support for PAY_PER_REQUEST BillingMode when Model includes Global Secondary Indexes #504
- Fixing problem where if primary key starts with underscore Model.create doesn’t work #502
- Adding documentation for query.using method #489
- Adding documentation for populating an array of items #493
- Fixes a typo in Model.update documentation #506
AWS reInvent 2018 has wrapped up, and this release includes support for all of the DynamoDB goodies announced. This version also includes beta support for plugins! Plugin support has the potential to have breaking changes in the future with no warning, so please be aware of that when using the system. Please give feedback on plugins by creating issues on the Dynamoose repository.
Please comment or contact me if you have any questions about this release.
- DynamoDB Transaction Support #472
- DynamoDB On-Demand Support #471
- Plugins - BETA #325
- Adding Node.js version 11 to Travis CI test suite #468
- Adding more NPM Keywords #469
- Updating NPM Dependencies #466 #473
Dynamoose version 1.1.0 has a few improvements for debugging Dynamoose as well as a few new features.
Please comment or contact me if you have any questions about this release.
- Update batchPut to work with timestamps #449
- Adding expires defaultExpires function #452
- Make debugging index creation dramatically easier #440
- Adding debug messages for setDDB and revertDDB #451
Dynamoose version 1.0.1 comes with some minor bug fixes to solve problems with Dynamoose version 1.0.0. We are actively monitoring the GitHub Issues and will continue to work to provide bug fixes as fast as possible. Please create a GitHub Issue or contact me if you are having problems and we will work to address it as fast as possible.
Dynamoose version 1.0.0 is here. This is a massive release, and will also be the first official breaking update to Dynamoose. You can view the details about the release below.
This version officially removes support for Node.js versions below 8.0. Versions below 8.0 might work, but we do not make guarantees. Even if Node.js versions below 8.0 work with Dynamoose 1.0+ we might add features that break support for older Node.js versions without a SEMVER major version release.
The one major thing about the release notes below that is a bit confusing is the fact that ES6/Future Changes
are in the Breaking changes
section. That section is directly related to Requiring Node.js version 8.0 and higher
. Therefor although the breaking change is technically the fact that Node.js versions less than 8.0 won't be supported, they are directly related, therefor they are both in the Breaking changes
section. In future 1.x we might add more ES6/Future Changes, but those will not be considered breaking changes due to the fact that it will only break if you are running on a Node.js version less than version 8.0.
Please comment or contact me if you have any questions about this release.
- Requiring Node.js version 8.0 and higher #366
- Toggle useDocumentTypes and useNativeBooleans defaults to true #376
- Query.all and Scan.all Delay Seconds to Milliseconds #287
- Fix data corruption when storing binary data #386
- Adding updateTimestamps option to Model.save #317
- Feature/add enum attribute #274
model.originalItem()
#338
- Adding support for saveUnknown being an array #333
- DynamoDB Document Client/DAX Support #330
- Adding better error handling for parsing invalid data from DynamoDB #331
- Adding support for SSESpecification #306
- Adding support for DynamoDB table streams #332
Model.getTableReq()
#308 #151- Static methods are automatically bound with the context of their Model #361
- Recreate dynamo db instance on .local() #354
- added support for specifying the ReturnValues option in update #350
- Expose Model classes to Schema methods #400 #397
- Refactoring custom error code #414
- Saying which table is effected by Error #356
- Adding expires returnExpiredItems property #426
- DDB Functions #429
- Updates Expires attribute on Model Updates Option #420
- ES6/Future Changes
- Fix saveUnknown throwing errors when value where falsy #336
- Fix scanByRawFilter containing - Select: 'COUNT' #341
- Fix loading document type attributes from DynamoDB when when saveUnknown=true #339
- Fix the ModelError type #374
- Fixes falsy key value for batch get #379
- Fix serverSideEncryption option #383
- Using Buffer.from instead of new Buffer #413
- Fixing issue with query with multiple indexes #344 #343
- Save unknown update #431 #403
- Fixing typo related to stream options #432 #430
- Improving Model.delete documentation #309
- Updated TypeScript types #358 #357
- Updating typescript documentation for create vs put overwrite default #377 #359
- GitHub issue and PR templates #394 #405
- Updating metadata #369
- Change QueryKey and ScanKey type to any #419
- General project work #409
Version 0.8.7 is here! Below is a list of the changes released in Version 0.8.7. Huge THANK YOU to everyone who submitted pull requests and issues in this release. As always keep the issues and pull requests coming, only makes this package better!!
- Adding support for
Query.all()
#223 - Suffix Option #321
- Catch corrupted JSON error #243 #242
- Pass model instance directly to schema::attributeFromDynamo #257
- Fix range key on queries #225
- Provide model when converting keys .toDynamo #217
- Normalise Scan response shape when using "RawAWSFilter" #320
- Remove JSON.stringify for model in Debug message #277
- Set NewModel.name to include table name #300
- Allow unknown types to be populated as native dynamo types #240
- Competition of
.populate
method #250
- Adding Model.queryOne to docs #298
- Schema Get Function Clarification #291
- Fixed Typo in README #282
- Better Static method example (
getAll
) #284 - Added Dynamoose Gitter chat badge to README #247
- Improving README badges on retina displays #229
- Moving ChangeLog and Roadmap to separate files #305
- Moving Examples to Website #304
- Adding AWS X-Ray Support documentation #307 #144
- Throughput is only respected on table creation #316 #311
- More Query tests #290
- Even more Query tests #310
- Fixing issue where some scan tests weren't being run correctly #289
- Switch to NYC (istanbul) for unit test coverage #219
- Enable unit test code coverage reporting #215
- Scan test to ensure all with delay and limit works correctly #314
- Nested Properties Schema Support #258
- Option fields optional, and added overloaded create function #245
- Improve the typing support for
.model()
#234 #233 - Allow update partial data #319
- Adds
ddb
interface #280
- useNativeBooleans #55
- saveUnknown #125
- Support for multiple indexes defined on the hashkey attribute of the table
- scan.all() #93 #140
- scan.parallel d7f7f77
- TTL support 92994f1
- added schema parsing overrides #145
- populate #137
- Added consistent() to scan. #15 #142
- Default function enhancements #127
- Create required attributes on update #96
- Add typescript typings #123
- Added .count() for Query and Scan #101
- Nested scans #141 #158