Skip to content

Releases: circles-learning-labs/ecto_adapters_dynamodb

empty_map_set_to_nil update support

05 May 00:38
Compare
Choose a tag to compare

This patch release fixes a bug that was introduced in version 3.1.0 - the :empty_map_set_to_nil option handling did not support updates to records, this release resolves that.

Support for ecto_sql version 3.6

03 May 05:00
Compare
Choose a tag to compare

This patch release adds support for ecto_sql version 3.6.

Optional support for empty mapsets

03 May 00:59
Compare
Choose a tag to compare

This minor version release includes optional support for empty mapsets, via the :empty_mapset_to_nil and :nil_to_empty_mapset configuration options. Quoth the README:

When a field contains a `DynamoDBSet` type and has a MapSet in it, by default the mapset must contain one or more values, otherwise an `insert` on the object will fail. This is due to DynamoDB not supporting empty sets. Setting this value to `true` will convert empty mapset values to `nil` before writting, allowing them to be written to DynamoDB as a null value.

**:nil_to_empty_mapset** :: boolean, *default:* `false`

When a field contains a `DynmamoDBSet` type, and the value in DynamoDB is null, setting this option causes the loaded value to be populated with an empty MapSet (the result of `MapSet.new()`) rather than being left as `nil`.

DynamoDBSet.is_equal? - handle nil

27 Apr 23:10
Compare
Choose a tag to compare

This release adds appropriate handling for instances where DynamoDBSet.is_equal? may be provided with nil values.

Maintain backwards compatibility for Ecto 3.0 < 3.5

22 Mar 23:56
caec601
Compare
Choose a tag to compare

This patch release allows for broader Ecto version support - version 3.0.0 of this app only supported Ecto >= 3.5, but this patch supports all versions >= 3.0.

New config format, Ecto 3.5 support

19 Mar 00:16
577ed79
Compare
Choose a tag to compare

This major release features two significant changes - configuration must be specified on a per-repo basis, and only Ecto version 3.5 and above will be supported. For more information on the configuration changes, check out the README or the version 3 upgrade guide.

A number of other dependencies have been upgraded, and a few documentation fixes were made as well.

Update dependencies

18 Feb 01:06
Compare
Choose a tag to compare

This patch version includes updates for a few dependencies.

Clean up applications

02 Sep 13:03
1ba5241
Compare
Choose a tag to compare

This patch release removes the applications key from mix.exs' application, which may have caused problems for users using mix release tools, among other things.

Fix logging crash when committed data is not a string

03 Aug 11:42
Compare
Choose a tag to compare

This patch release resolves issue #61 which caused a logging-related crash when binary data was committed to the DB.

Fix ecto/ecto_sql compatibility issue

22 May 17:28
Compare
Choose a tag to compare

The 3.4.4 release of ecto/ecto_sql removed support for Ecto.Adapters.SQL.load_embed/2, replacing it with Ecto.Type.embedded_load/3 - this patch release accommodates for that change.