All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
v2.3.14 (2025-08-21)
-
ensure nested form errors are included (#401) by @joangavelan
-
Remove Product from Save Product button - Save button (#403) by Kenneth Kostrešević
-
remove unwanted sections from AGENTS.md when installing ash_phoenix (#406) by Rodolfo Torres
-
add resource name for route option for
ash_phoenix.gen.html(#402) by Kenneth Kostrešević
v2.3.13 (2025-08-07)
-
ensure nested form errors are included (#401) by @joangavelan
-
Remove Product from Save Product button - Save button (#403) by Kenneth Kostrešević
- add resource name for route option for
ash_phoenix.gen.html(#402) by Kenneth Kostrešević
v2.3.12 (2025-07-29)
- fix typo in usage rules (#397) by albinkc
v2.3.11 (2025-07-17)
- Add
to_form/2in usage rules and improve error message when accessing a form withoutto_form/2(#390) by Kenneth Kostrešević
v2.3.10 (2025-07-09)
- handle
value_is_keyforms by @zachdaniel
v2.3.9 (2025-06-28)
- update usage rules with info on
raw_errorsby @zachdaniel
v2.3.8 (2025-06-25)
- resolve warning about map key access as function call by @zachdaniel
- add
AshPhoenix.Form.raw_errors/2by @zachdaniel
v2.3.7 (2025-06-18)
-
access proper form field for nested argument inputs by @zachdaniel
-
handle case where last item in add form path is an integer by @zachdaniel
v2.3.6 (2025-06-10)
- merge overridden params with original params in code interfaces by @zachdaniel
v2.3.5 (2025-05-31)
- live route instructions (#371)
v2.3.4 (2025-05-30)
- reenable migrate task
v2.3.3 (2025-05-30)
-
new generators, use actor when getting resource
-
new generators, close Layouts.app tag
-
new generators, remove handle_params and apply_action, since this no longer handles create/update
-
new generators, remove handle params + title, since this no longer handles update
-
implement new codegen status plug
-
support
Ash.Scope -
resolve igniter task deprecation warning
-
new generator tweaks (#368)
-
explain importants of positional arguments in usage rules
v2.3.2 (2025-05-21)
- support old phoenix generators (#365)
-
update igniter, remove inflex
-
add usage-rules.md
v2.3.1 (2025-05-15)
-
Initialize :raw_params field of for_action() Form (#362)
-
for action params option (#359)
-
Accept Phoenix.LiveView.Socket in SubdomainPlug (#355)
-
Document
:paramsoption forfor_action(#361) -
Rework gen.live (#353)
-
support
AshPhoenix.Formin error subject
v2.3.0 (2025-04-29)
- Add Inertia.Errors impl for Ash.Error types (#352)
-
properly route inertia errors to implementation
-
handle invalid query error different formats
v2.2.0 (2025-04-13)
- Add basic Igniter installer to add
ash_phoenixto the formatter list
v2.1.26 (2025-04-09)
-
allow configuring positional args for form code interfaces
-
Add subdomain live_view hook (#339)
v2.1.25 (2025-03-27)
- add error impl for Ash.Error.Action.InvalidArgument (#336)
v2.1.24 (2025-03-25)
-
assign page and stream to actually stream the stream (#334)
-
Prevent empty errors pass to error class (#332)
v2.1.23 (2025-03-21)
- also handle
nilerrors
v2.1.22 (2025-03-21)
- unhandled error in form submission warning (#329)
v2.1.21 (2025-03-18)
-
translate errors into an error class before rendering
-
Additional function clause for keyset pagination (page_link_params) (#323)
v2.1.20 (2025-03-11)
- always remove
auto?option after handling it
v2.1.19 (2025-03-04)
- handle case w/ set list of join attributes
v2.1.18 (2025-02-10)
- page_link_params supports integers
v2.1.17 (2025-01-30)
- guess the plural name for resources automatically
v2.1.16 (2025-01-29)
-
don't try to build form interfaces for calculations
-
reindex forms sorted with
sort_forms/3
v2.1.15 (2025-01-27)
-
handle
nilnested form when carrying over errors -
Handle invalid params and warn when invalid (#301)
-
In AshPhoenix.Form.errors parse path before errors get (#300)
-
Make ash_errors private and remove unused default values
-
Show correct error message when no form is configured but a relationship is present
-
Move get params logic to private function, put get params on every for call (#304)
-
add
AshPhoenix.LiveView.assign_page_and_stream_result/3(#303) -
make arguments have higher precedence in do_value (#294)
v2.1.14 (2025-01-19)
-
print routes on ash_phoenix.gen.live again
-
properly find matching forms by primary key
-
Allow re-adding forms to a nested form after deleting the last one from a list (#291)
-
handle case where last form is deleted
-
simplifications and fixes for drop_param
-
ensure that form interfaces properly set data
-
fix warning in filter_form.ex (#285)
-
support
_drop_*,_add_*and_sort_*params -
add
AshPhoenix.Form.sort_formsutility
v2.1.13 (2025-01-03)
-
ensure that form interfaces properly set data
-
update html generators to properly call actions
v2.1.12 (2024-12-22)
- Add
AshPhoenixextension
v2.1.11 (2024-12-20)
- only ever raise error classes
-
make igniter optional
-
simplify setting valid on
AshPhoenix.Form.add_error/3 -
don't populate args that aren't set
v2.1.10 (2024-12-12)
- use Igniter.Project.Module.parse to get module names for generator (#274)
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/2
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
paramson 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_formto 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_sourcefor 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_typewhen 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/3andAsh.can?/3. (#165) -
Pass the tenant to
Ash.can/3andAsh.can?/3.