Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 1.26 KB

CHANGELOG.md

File metadata and controls

61 lines (33 loc) · 1.26 KB

Changelog

3.0.x

  • Default value for polymorphic list of embeds is [] instead of nil (following embeds_many/3)

Migration from 2.x to 3.x

  • Use polymorphic_embeds_one/2 and polymorphic_embeds_many/2 macros instead of field/3

2.0.x

  • Support IDs

Migration from 1.x to 2.x

  • Make sure that every existing polymorphic embedded_schema contains the setting @primary_key false

1.10.x

  • Add polymorphic_embed_inputs_for/2 for displaying forms in LiveView
  • Add polymorphic_embed_inputs_for/3 for displaying forms in Phoenix templates without needing to specify the type

1.9.x

  • Add PolymorphicEmbed.types/2 function returning the possible types for a polymorphic field

1.8.x

  • Add :nilify and :ignore for :on_type_not_found option

1.7.x

  • Support the SQLite3 Ecto adapter ecto_sqlite3

1.6.x

  • Fix errors in form for embeds_one nested into polymorphic_embed
  • Refactor PolymorphicEmbed.HTML.Form

1.5.x

  • Add traverse_errors/2

1.4.x

  • Support custom changeset functions through :with option

1.3.x

  • Add :required option

1.2.x

  • Support custom type field

1.1.x

  • Support list of polymorphic embeds
  • Force :on_replace option to be explicitly set