File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ Add `polymorphic_embed` for Elixir as a dependency in your `mix.exs` file:
266266``` elixir
267267def deps do
268268 [
269- {:polymorphic_embed , " ~> 4.0 .0" }
269+ {:polymorphic_embed , " ~> 4.1 .0" }
270270 ]
271271end
272272```
Original file line number Diff line number Diff line change 11defmodule PolymorphicEmbed.MixProject do
22 use Mix.Project
33
4- @ version "4.0 .0"
4+ @ version "4.1 .0"
55
66 def project do
77 [
You can’t perform that action at this time.
0 commit comments