legendary-doc-site/apps/core/deps/phoenix_ecto/CHANGELOG.md
2020-07-03 21:41:01 -05:00

3.4 KiB

Changelog

v4.1.0

  • Enhancements
    • Add Phoenix.Ecto.CheckRepoStatus plug

v4.0.0

  • Enhancements
    • Implement Plug.Status for Ecto.StaleEntryError
    • Support Ecto 3.0

v3.4.0

  • Enhancements
    • Use :normal formatting when converting Decimal to HTML safe
    • Ignore errors in case changeset.action is :ignore
    • Allow :timeout option on external sandbox
    • Extract and translate internal exception from Ecto.SubQueryError

v3.3.0

  • Enhancements
    • Support concurrent and transactional end-to-end tests for external HTTP clients using the new :at and :repo options to the Phoenix.Ecto.SQL.Sandbox plug

v3.2.3

  • Bug fixes
    • Make phoenix_html dependency optional once again

v3.2.2

  • Enhancements

    • Give Ecto.InvalidChangesetError plug_status 422
  • Bug fixes

    • Do not raise for schemaless structs

v3.2.1

  • Bug fixes
    • Implement proper input_value/4 callback

v3.2.0

  • Enhancements
    • Depend on Phoenix.HTML ~> 2.9

v3.1.0

  • Enhancements
    • Depend on Ecto ~> 2.1 and support new :naive_datetime and :utc_datetime types

v3.0.1

  • Enhancements
    • Support non-struct data in changeset

v3.0.0

  • Enhancements

    • Add Phoenix.Ecto.SQL.Sandbox for concurrent acceptance tests with Phoenix and Ecto based on user-agent
    • Use the new sandbox based on user-agent
    • Depend on Phoenix.HTML ~> 2.6
    • Depend on Ecto ~> 2.0
  • Bug fixes

    • Do not list errors if changeset has no action

v2.0.0

  • Enhancements

    • Depend on Ecto ~> 1.1
  • Backwords incompatible changes

    • f.errors now returns a raw list of changeset.errors for the form's changeset which can be further translated with Phoenix' new Gettext support
    • No longer implement Poison protocol for Ecto.Changeset

v1.2.0

  • Enhancements
    • Depend on Ecto ~> 1.0
    • Depend on Phoenix.HTML ~> 2.2
    • Use the new :as option for naming inputs fields instead of :name

v1.1.0

  • Enhancements
    • Depend on Ecto ~> 0.15
    • Support skip_deleted in inputs_for
    • Support default values from data rather from :default option

v1.0.0

  • Enhancements
    • Depend on Phoenix.HTML ~> 2.1
    • Depend on Ecto ~> 0.15
    • Support associations on changesets

v0.9.0

  • Enhancements
    • Depend on Phoenix.HTML ~> 2.0

v0.8.1

  • Bug fix
    • Ensure we can encode decimals and floats from errors messages

v0.8.0

  • Enhancements
    • Depend on Phoenix.HTML ~> 1.4 (includes input_type and input_validation support)
    • Include embeds errors during JSON generation

v0.7.0

  • Enhancements
    • Depend on Phoenix.HTML ~> 1.3 (includes inputs_for support)

v0.6.0

  • Enhancements
    • Depend on Ecto ~> 0.14

v0.5.0

  • Enhancements
    • Depend on Ecto ~> 0.12

v0.4.0

  • Enhancements
    • Depend on phoenix_html as optional dependency instead of Phoenix
    • Depend on poison as optional dependency instead of Phoenix

v0.3.2

  • Bug fix
    • Ensure we interpolate %{count} in JSON encoding

v0.3.1

  • Enhancements
    • Implement Plug.Exception for Ecto exceptions

v0.3.0

  • Enhancements
    • Support Phoenix v0.11.0 errors entry in form data

v0.2.0

  • Enhancements
    • Implement Phoenix.HTML.Safe for Ecto.Date, Ecto.Time and Ecto.DateTime
    • Implement Poison.Encoder for Ecto.Changeset, Decimal, Ecto.Date, Ecto.Time and Ecto.DateTime

v0.1.0

  • Enhancements
    • Implement Phoenix.HTML.FormData for Ecto.Changeset
    • Implement Phoenix.HTML.Safe for Decimal