Skip to content

Commit 76d22cf

Browse files
committed
Bump version to 4.1.0
1 parent 619cf85 commit 76d22cf

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
# Changelog
22

3+
## 4.1.x
4+
5+
* Add `Form.source_data/1` and `Form.source_module/1` (`get_polymorphic_type/2` doesn't work for list of embeds)
6+
* Add `:retain_unlisted_types_on_load` and `:nilify_unlisted_types_on_load` options
7+
* MongoDB fix
8+
39
## 4.0.x
410

511
* Support `sort_param` and `drop_param` for list of embeds
612
* Add `PolymorphicEmbed.HTML.Component.polymorphic_embed_inputs_for/1`
713
(similar to `Phoenix.Component.inputs_for/1`)
814
* Support updating list of embeds while retaining ids
9-
* Add `:retain_unlisted_types_on_load` and `:nilify_unlisted_types_on_load` options
1015
* Fix form input rendering for list of embeds
1116
* Fix `traverse_errors` for nested embeds
12-
* MongoDB fix
1317

1418
**Breaking Change**: The form helper `get_polymorphic_type/3` has been updated to `get_polymorphic_type/2`.
1519
The module name parameter (previously the second parameter) has been removed.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Add `polymorphic_embed` for Elixir as a dependency in your `mix.exs` file:
266266
```elixir
267267
def deps do
268268
[
269-
{:polymorphic_embed, "~> 4.0.0"}
269+
{:polymorphic_embed, "~> 4.1.0"}
270270
]
271271
end
272272
```

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule PolymorphicEmbed.MixProject do
22
use Mix.Project
33

4-
@version "4.0.0"
4+
@version "4.1.0"
55

66
def project do
77
[

0 commit comments

Comments
 (0)