Releases: 47colborne/dynamini
Releases · 47colborne/dynamini
Trinity Bellwoods
- Implemented .scan
- Dates and times use .zone if available
- Fixed behaviour of nullified attributes handled with a default (nullification will effectively return the attribute to its default value)
- Implemented .handled_attributes, to examine the handled value of all attributes
- Batch inserts and deletes now automatically split over multiple calls when necessary
- Various bugfixes
- Tested compatibility with aws-sdk 3
- Tested compatibility with ActiveModel 4/ 5
- Now depends on aws-sdk-dynamodb ~> 1 rather than the entire aws-sdk
Corner Place
Added skip_timestamps option to batch saving method ( #import )
Hothouse
New features!
- before_save and after_save callbacks
- Added limit and reversal functionality to .query
- .batch_delete
- .find_or_nil, for when you aren't sure whether your item will exist
- Added support for sets
- Reworked :handle's interface for arrays and sets. Preserved support for the old interface.
- .add_to is now available if you need to update your enumerables in a more atomic way.
Wellington
- Added .query support for querying on range keys
- Added the _was attribute suffix method for quickly getting previous values
- Added .import for saving multiple records at once
- Various bug fixes and symmetrization of methods
- Modularized the code for readability and maintenance
- Hit that shiny 4.0 code climate GPA
Church
Richmond
- Dynamini now supports atomic counters using the increment! method.
- Data is no longer automatically converted to strings when storing to attributes - this allows you to save non-string values directly
- Various readability fixes
- More methods accept skip_timestamps: true as an option
- Automatic array support
- Refactored :handle to remove unnecessary string conversion steps