Skip to content

Commit ad5b4e9

Browse files
committed
Bump version to 0.1.23
1 parent 3f2613d commit ad5b4e9

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Changelog for version 0.X
2+
3+
## 0.1.23
4+
5+
### Enhancement
6+
7+
* Updates ex_doc.
8+
9+
### Bug Fix
10+
11+
* [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.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ EctoMorph.cast_to_struct(data, Test, [:thing, embed: [:bar]])
4545
data = %{"thing" => "foo", "embed" => %{"bar"=> "baz"}}
4646
EctoMorph.cast_to_struct(data, %Test{}, [:thing, embed: [:bar]])
4747

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

5151
defmoule OtherStruct do
@@ -185,7 +185,7 @@ end
185185
data = %{
186186
random: "data",
187187
more: "fields",
188-
__meta__: "stuff",
188+
__meta__: "stuff",
189189
other_thing: %{id: 1, ignored: "field"}
190190
}
191191

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

@@ -217,7 +217,7 @@ by adding `ecto_morph` to your list of dependencies in `mix.exs`:
217217
```elixir
218218
def deps do
219219
[
220-
{:ecto_morph, "~> 0.1.22"}
220+
{:ecto_morph, "~> 0.1.23"}
221221
]
222222
end
223223
```

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ defmodule EctoMorph.MixProject do
66
name: "EctoMorph",
77
app: :ecto_morph,
88
description: description(),
9-
version: "0.1.22",
9+
version: "0.1.23",
1010
package: package(),
1111
elixirc_paths: elixirc_paths(Mix.env()),
1212
elixir: "~> 1.9",

0 commit comments

Comments
 (0)