-
Enhancements
- Add prefix option to check repo status plug
-
Bug fix
- Fix map.field notation warning on Elixir 1.17
- Bug fix
- Attach directories to Pending Migrations exception
- Bug fix
- Ensure "Create database" action is shown when database is not available
- Enhancements
- Return 400 for character encoding errors in Postgrex
- Bump Elixir requirement to v1.11+
- Bug fix
- Fix a regression on nested
inputs_for
- Fix a regression on nested
- Enhancements
- Support Phoenix.HTML ~> 4.1
- Use
to_form
's:action
as changeset action when passed
- Enhancements
- Support Phoenix.HTML ~> 4.0
- Enhancements
- Fix warning on undefined migration function when
ecto_sql
is missing - Support changesets with 3-arity cast function
- Fix warning on undefined migration function when
- Enhancements
- Allow migration_lock to be specified in check_repo_status
- Support multiple repos on sandbox plug API
- Support configuring multiple custom migration paths
This release bumps the requirement for Ecto and Phoenix.
- Enhancements
- Trap exits when activating the test sandbox
- Enhancements
- Support
:phoenix_html
v3.0
- Support
- Bug fixes
- Only check for storage if we cannot check for migrations. This reduces the amount of operations for successful cases (which are the most common) and avoid issues for when we can't check the storage in the first place
-
Enhancements
- Support cast_assoc
with
MFA option on inputs_for
- Support cast_assoc
-
Bug fixes
- Do not treat
InvalidChangesetError
as 422 as those are not logged - Fix status code in check status exceptions to 503
- Use text for floats and decimals as the
input_type
- numerics have many usability issues that led them to not be widely used
- Do not treat
- Enhancements
- Add
Phoenix.Ecto.CheckRepoStatus
plug
- Add
- Enhancements
- Implement
Plug.Status
forEcto.StaleEntryError
- Support Ecto 3.0
- Implement
- Enhancements
- Use
:normal
formatting when convertingDecimal
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
- Use
- Enhancements
- Support concurrent and transactional end-to-end tests for external HTTP clients using the new
:at
and:repo
options to thePhoenix.Ecto.SQL.Sandbox
plug
- Support concurrent and transactional end-to-end tests for external HTTP clients using the new
- Bug fixes
- Make
phoenix_html
dependency optional once again
- Make
-
Enhancements
- Give
Ecto.InvalidChangesetError
plug_status 422
- Give
-
Bug fixes
- Do not raise for schemaless structs
- Bug fixes
- Implement proper input_value/4 callback
- Enhancements
- Depend on Phoenix.HTML ~> 2.9
- Enhancements
- Depend on Ecto ~> 2.1 and support new
:naive_datetime
and:utc_datetime
types
- Depend on Ecto ~> 2.1 and support new
- Enhancements
- Support non-struct data in changeset
-
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
- Add
-
Bug fixes
- Do not list errors if changeset has no action
-
Enhancements
- Depend on Ecto ~> 1.1
-
Backwards incompatible changes
f.errors
now returns a raw list ofchangeset.errors
for the form's changeset which can be further translated with Phoenix' new Gettext support- No longer implement Poison protocol for
Ecto.Changeset
- Enhancements
- Depend on Ecto ~> 1.0
- Depend on Phoenix.HTML ~> 2.2
- Use the new
:as
option for naming inputs fields instead of:name
- Enhancements
- Depend on Ecto ~> 0.15
- Support
skip_deleted
in inputs_for - Support default values from data rather from
:default
option
- Enhancements
- Depend on Phoenix.HTML ~> 2.1
- Depend on Ecto ~> 0.15
- Support associations on changesets
- Enhancements
- Depend on Phoenix.HTML ~> 2.0
- Bug fix
- Ensure we can encode decimals and floats from errors messages
- Enhancements
- Depend on Phoenix.HTML ~> 1.4 (includes
input_type
andinput_validation
support) - Include embeds errors during JSON generation
- Depend on Phoenix.HTML ~> 1.4 (includes
- Enhancements
- Depend on Phoenix.HTML ~> 1.3 (includes
inputs_for
support)
- Depend on Phoenix.HTML ~> 1.3 (includes
- Enhancements
- Depend on Ecto ~> 0.14
- Enhancements
- Depend on Ecto ~> 0.12
- Enhancements
- Depend on phoenix_html as optional dependency instead of Phoenix
- Depend on poison as optional dependency instead of Phoenix
- Bug fix
- Ensure we interpolate
%{count}
in JSON encoding
- Ensure we interpolate
- Enhancements
- Implement Plug.Exception for Ecto exceptions
- Enhancements
- Support Phoenix v0.11.0 errors entry in form data
- Enhancements
- Implement
Phoenix.HTML.Safe
forEcto.Date
,Ecto.Time
andEcto.DateTime
- Implement
Poison.Encoder
forEcto.Changeset
,Decimal
,Ecto.Date
,Ecto.Time
andEcto.DateTime
- Implement
- Enhancements
- Implement
Phoenix.HTML.FormData
forEcto.Changeset
- Implement
Phoenix.HTML.Safe
forDecimal
- Implement