Releases: circles-learning-labs/ecto_adapters_dynamodb
empty_map_set_to_nil update support
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
This patch release adds support for ecto_sql
version 3.6.
Optional support for empty mapsets
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
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
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
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
This patch version includes updates for a few dependencies.
Clean up applications
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
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
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.