All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
v2.1.9 (2024-12-11)
- ensure that errors on before_action hooks invalidate the form
-
Migrate phoenix gen to igniter (#261)
-
add
AshPhoenix.Form.update_params/1
v2.1.8 (2024-10-29)
- track
raw_params
v2.1.7 (2024-10-29)
-
set _union_type param when unnesting a resource in a union
-
don't wrap resources inside of unions as WrappedValue
-
warn on missing
params
on submit -
unwrap unions & wrapped values when fetching values
v2.1.6 (2024-10-17)
- allow phoenix_live_view rc
v2.1.5 (2024-10-14)
- support generic actions (#250)
v2.1.4 (2024-09-30)
- properly include calc args in
to_filter_map
v2.1.3 (2024-09-30)
- properly apply calculations with arguments in filter form
v2.1.2 (2024-09-03)
- spec
update_form
to accept functions of lists
v2.1.1 (2024-08-01)
- Use :public? instead of :private? (#221)
- raise an error on usage of old option name
v2.1.0 (2024-07-26)
- ensure we
prepare_source
for all read action forms
v2.0.4 (2024-06-13)
-
various fixes for union form handling
-
properly fill union values on update
-
ensure changing union type is reflected in param transformer
- honor
_union_type
when applying input
v2.0.3 (2024-06-05)
-
properly (i.e safely) encode ci strings to iodata and params
-
various union param handling fixes
-
properly transform nested params
-
make sure that _index is correctly updated before and after removal for sparse forms (#196) (#197)
v2.0.2 (2024-05-22)
- don't assume all embeds have a create/update action
v2.0.1 (2024-05-17)
-
improve union handling
-
Convert entered action names into atoms for lookup in the resource (#187)
-
various fixes around union forms
- support adding a form by inserting to an index
v2.0.0 (2024-04-30)
The changelog is being restarted. See /documentation/1.0-CHANGELOG.md
in GitHub for the old changelog.
- [AshPhoenix.Form] better error message with hints for accepted/non accepted missing forms
-
[AshPhoenix.Form] don't use
public_attributes?
, check for all accepted attributes. In Ash 3.0, private attributes can be accepted -
[AshPhoenix.Form]
-
Pass the tenant to
Ash.can/3
andAsh.can?/3
. (#165) -
Pass the tenant to
Ash.can/3
andAsh.can?/3
.