Skip to content

Releases: aws/aws-record-ruby

Release v2.6.0 - 2021-05-13

19 May 20:16
Compare
Choose a tag to compare

References #94

  • Feature - Add support for on-demand-billing for table migrations (#94)

Release v2.5.0 - 2020-10-13

13 Oct 19:49
Compare
Choose a tag to compare

Tag release v2.5.0

References: #106, #108

  • Feature - - Support queries yielding heterogeneous results using (#107)

  • Feature - Aws::Record::BuildableSearch - Support queries yielding heterogeneous results using multi_model_filter (#107)

Release v2.4.1 - (2020-05-29)

29 May 19:46
Compare
Choose a tag to compare

Tag release v2.4.1

References: #100, #104, #72, #95

  • Issue - Allow symbols for database_attribute_name
  • Issue - Correctly allow lambda/proc for default_value

Release v2.4.0 - 2019-07-16

16 Jul 22:54
Compare
Choose a tag to compare

References: #98

  • Feature - Aws::Record::BuildableSearch - Adds support for query and scan builders using substitution expressions. This allows for streamlined and expressive queries and scans using aws-record.

Release v2.3.0 - 2019-02-08

08 Feb 17:33
Compare
Choose a tag to compare

References: #91

  • Feature - Aws::Record::Transactions - Adds support for transactional find and transactional get requests. You can learn more about these new APIs in the documentation.

Release v2.2.0 - 2018-12-05

05 Dec 23:14
Compare
Choose a tag to compare

References: #89

  • Feature - Aws::Record::TableConfig - Adds support for the "PAY_PER_REQUEST" billing mode in table configurations.

Release v2.1.2 - 2018-11-15

15 Nov 17:55
Compare
Choose a tag to compare
  • Issue - Aws::Record::Marshalers::EpochTimeMarshaler - Fixed a bug where epoch time objects didn't properly marshal from database entries.

Release v2.1.1 - 2018-07-10

10 Jul 20:55
Compare
Choose a tag to compare

References: #84

  • Feature - Aws::Record::TableConfig - Adds :ttl_attribute to the TableConfig DSL. When used with epoch_time_attr attributes or other attributes stored as epoch time, your TableConfig migrations will enable TTL on your DynamoDB table, and will use your specified attribute as the TTL attribute.

  • Feature - Aws::Record::Marshalers::EpochTimeMarshaler - Adds the epoch_time_attr, which behaves much like time_attr except the Amazon DynamoDB storage type is numeric, and the serialized value is epoch seconds.

Release v2.1.0 - 2018-06-25

25 Jun 17:15
Compare
Choose a tag to compare
  • Feature - Aws::Record - Add the persisted?, new_record?, and destroyed? methods to Aws::Record, which supports use cases where you'd like to see if a record has just been newly initialized, or has been deleted or was a preexisting record retrieved from DynamoDB. Note that these methods are present in ActiveModel::Model so you should require that module before Aws::Record

  • Feature - Aws::Record - Add the assign_attributes, update, and update! methods to Aws::Record which supports the use case where the user might want to mass assign or update a records attributes by hash. update! also ensures that a ValidationError is thrown on an invalid update

  • Upgrading - If you already include ActiveModel::Model on your models the new persisted?, new_record? and destroyed? methods will not function properly unless you include ActiveModel::Model before Aws::Record. Additionally, new methods could lead to collisions if you happened to have attributes such as :update or :assign_attributes. In such a case, you would want to version lock below 2.1.0, or use the :database_attribute_name property and change your attribute name in code.

Release v2.0.2 - 2018-06-08

08 Jun 16:46
Compare
Choose a tag to compare

References: #79

  • Feature - Aws::Record::Marshalers::TimeMarshaler - Adds the time_attr method to AWS Record models, which uses Time as the underlying type.