Skip to content

Commit

Permalink
Bump version to 0.1.23
Browse files Browse the repository at this point in the history
  • Loading branch information
Adzz committed Mar 19, 2021
1 parent 3f2613d commit ad5b4e9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog for version 0.X

## 0.1.23

### Enhancement

* Updates ex_doc.

### Bug Fix

* [validate_nested_changeset] - previously we were marking the parent as valid if the nested changeset was valid. This was incorrect if the parent was already invalid. This has now been fixed.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ EctoMorph.cast_to_struct(data, Test, [:thing, embed: [:bar]])
data = %{"thing" => "foo", "embed" => %{"bar"=> "baz"}}
EctoMorph.cast_to_struct(data, %Test{}, [:thing, embed: [:bar]])

# Changes can even be a different struct, if it
# Changes can even be a different struct, if it
# has overlapping keys they will be casted as expected:

defmoule OtherStruct do
Expand Down Expand Up @@ -185,7 +185,7 @@ end
data = %{
random: "data",
more: "fields",
__meta__: "stuff",
__meta__: "stuff",
other_thing: %{id: 1, ignored: "field"}
}

Expand All @@ -199,7 +199,7 @@ Deep filtering will keep virtual fields, relations and through relations. That m
data = %Test{
random: "data",
more: "fields",
__meta__: "stuff",
__meta__: "stuff",
other_thing: %OtherThing{id: 1, ignored: "field"}
}

Expand All @@ -217,7 +217,7 @@ by adding `ecto_morph` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:ecto_morph, "~> 0.1.22"}
{:ecto_morph, "~> 0.1.23"}
]
end
```
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule EctoMorph.MixProject do
name: "EctoMorph",
app: :ecto_morph,
description: description(),
version: "0.1.22",
version: "0.1.23",
package: package(),
elixirc_paths: elixirc_paths(Mix.env()),
elixir: "~> 1.9",
Expand Down

0 comments on commit ad5b4e9

Please sign in to comment.