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.5.13
0.5.12
0.5.11
0.5.10
0.5.9
0.5.8
0.5.7
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.24
0.4.23
0.4.23-rc.1
0.4.23-rc.0
0.4.22-rc2
0.4.22-rc1
0.4.21
0.4.20
0.4.19
0.4.18
0.4.17
0.4.16
0.4.15
0.4.14
0.4.13
0.4.12
0.4.11
0.4.10
0.4.9
0.4.8
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
Utilities for integrating Ash and Phoenix
Current section
Files
Jump to
Current section
Files
ash_phoenix
CHANGELOG.md
CHANGELOG.md
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](Https://conventionalcommits.org) for commit guidelines.
<!-- changelog -->
## [v2.1.26](https://github.com/ash-project/ash_phoenix/compare/v2.1.25...v2.1.26) (2025-04-09)
### Improvements:
* allow configuring positional args for form code interfaces
* Add subdomain live_view hook (#339)
## [v2.1.25](https://github.com/ash-project/ash_phoenix/compare/v2.1.24...v2.1.25) (2025-03-27)
### Improvements:
* add error impl for Ash.Error.Action.InvalidArgument (#336)
## [v2.1.24](https://github.com/ash-project/ash_phoenix/compare/v2.1.23...v2.1.24) (2025-03-25)
### Bug Fixes:
* assign page and stream to actually stream the stream (#334)
* Prevent empty errors pass to error class (#332)
## [v2.1.23](https://github.com/ash-project/ash_phoenix/compare/v2.1.22...v2.1.23) (2025-03-21)
### Bug Fixes:
* also handle `nil` errors
## [v2.1.22](https://github.com/ash-project/ash_phoenix/compare/v2.1.21...v2.1.22) (2025-03-21)
### Bug Fixes:
* unhandled error in form submission warning (#329)
## [v2.1.21](https://github.com/ash-project/ash_phoenix/compare/v2.1.20...v2.1.21) (2025-03-18)
### Bug Fixes:
* translate errors into an error class before rendering
* Additional function clause for keyset pagination (page_link_params) (#323)
## [v2.1.20](https://github.com/ash-project/ash_phoenix/compare/v2.1.19...v2.1.20) (2025-03-11)
### Bug Fixes:
* always remove `auto?` option after handling it
## [v2.1.19](https://github.com/ash-project/ash_phoenix/compare/v2.1.18...v2.1.19) (2025-03-04)
### Bug Fixes:
* handle case w/ set list of join attributes
## [v2.1.18](https://github.com/ash-project/ash_phoenix/compare/v2.1.17...v2.1.18) (2025-02-10)
### Bug Fixes:
* page_link_params supports integers
## [v2.1.17](https://github.com/ash-project/ash_phoenix/compare/v2.1.16...v2.1.17) (2025-01-30)
### Improvements:
* guess the plural name for resources automatically
## [v2.1.16](https://github.com/ash-project/ash_phoenix/compare/v2.1.15...v2.1.16) (2025-01-29)
### Bug Fixes:
* don't try to build form interfaces for calculations
* reindex forms sorted with `sort_forms/3`
## [v2.1.15](https://github.com/ash-project/ash_phoenix/compare/v2.1.14...v2.1.15) (2025-01-27)
### Bug Fixes:
* handle `nil` nested 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
### Improvements:
* 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](https://github.com/ash-project/ash_phoenix/compare/v2.1.13...v2.1.14) (2025-01-19)
### Bug Fixes:
* 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)
### Improvements:
* support `_drop_*`, `_add_*` and `_sort_*` params
* add `AshPhoenix.Form.sort_forms` utility
## [v2.1.13](https://github.com/ash-project/ash_phoenix/compare/v2.1.12...v2.1.13) (2025-01-03)
### Bug Fixes:
* ensure that form interfaces properly set data
* update html generators to properly call actions
## [v2.1.12](https://github.com/ash-project/ash_phoenix/compare/v2.1.11...v2.1.12) (2024-12-22)
### Improvements:
* Add `AshPhoenix` extension
## [v2.1.11](https://github.com/ash-project/ash_phoenix/compare/v2.1.10...v2.1.11) (2024-12-20)
### Bug Fixes:
* only ever raise error classes
### Improvements:
* make igniter optional
* simplify setting valid on `AshPhoenix.Form.add_error/3`
* don't populate args that aren't set
## [v2.1.10](https://github.com/ash-project/ash_phoenix/compare/v2.1.9...v2.1.10) (2024-12-12)
### Bug Fixes:
* use Igniter.Project.Module.parse to get module names for generator (#274)
## [v2.1.9](https://github.com/ash-project/ash_phoenix/compare/v2.1.8...v2.1.9) (2024-12-11)
### Bug Fixes:
* ensure that errors on before_action hooks invalidate the form
### Improvements:
* Migrate phoenix gen to igniter (#261)
* add `AshPhoenix.Form.update_params/2`
## [v2.1.8](https://github.com/ash-project/ash_phoenix/compare/v2.1.7...v2.1.8) (2024-10-29)
### Improvements:
* track `raw_params`
## [v2.1.7](https://github.com/ash-project/ash_phoenix/compare/v2.1.6...v2.1.7) (2024-10-29)
### Bug Fixes:
* 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](https://github.com/ash-project/ash_phoenix/compare/v2.1.5...v2.1.6) (2024-10-17)
### Improvements:
* allow phoenix_live_view rc
## [v2.1.5](https://github.com/ash-project/ash_phoenix/compare/v2.1.4...v2.1.5) (2024-10-14)
### Improvements:
* support generic actions (#250)
## [v2.1.4](https://github.com/ash-project/ash_phoenix/compare/v2.1.3...v2.1.4) (2024-09-30)
### Bug Fixes:
* properly include calc args in `to_filter_map`
## [v2.1.3](https://github.com/ash-project/ash_phoenix/compare/v2.1.2...v2.1.3) (2024-09-30)
### Bug Fixes:
* properly apply calculations with arguments in filter form
## [v2.1.2](https://github.com/ash-project/ash_phoenix/compare/v2.1.1...v2.1.2) (2024-09-03)
### Bug Fixes:
* spec `update_form` to accept functions of lists
## [v2.1.1](https://github.com/ash-project/ash_phoenix/compare/v2.1.0...v2.1.1) (2024-08-01)
### Bug Fixes:
* Use :public? instead of :private? (#221)
### Improvements:
* raise an error on usage of old option name
## [v2.1.0](https://github.com/ash-project/ash_phoenix/compare/v2.0.4...v2.1.0) (2024-07-26)
### Bug Fixes:
* ensure we `prepare_source` for all read action forms
## [v2.0.4](https://github.com/ash-project/ash_phoenix/compare/v2.0.3...v2.0.4) (2024-06-13)
### Bug Fixes:
* various fixes for union form handling
* properly fill union values on update
* ensure changing union type is reflected in param transformer
### Improvements:
* honor `_union_type` when applying input
## [v2.0.3](https://github.com/ash-project/ash_phoenix/compare/v2.0.2...v2.0.3) (2024-06-05)
### Bug Fixes:
* 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](https://github.com/ash-project/ash_phoenix/compare/v2.0.1...v2.0.2) (2024-05-22)
### Bug Fixes:
* don't assume all embeds have a create/update action
## [v2.0.1](https://github.com/ash-project/ash_phoenix/compare/v2.0.0...v2.0.1) (2024-05-17)
### Bug Fixes:
* improve union handling
* Convert entered action names into atoms for lookup in the resource (#187)
* various fixes around union forms
### Improvements:
* support adding a form by inserting to an index
## [v2.0.0](https://github.com/ash-project/ash_phoenix/compare/v2.0.0...v1.3.4) (2024-04-30)
The changelog is being restarted. See `/documentation/1.0-CHANGELOG.md` in GitHub for the old changelog.
### Improvements:
- [AshPhoenix.Form] better error message with hints for accepted/non accepted missing forms
### Bug Fixes:
- [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` and `Ash.can?/3`. (#165)
- Pass the tenant to `Ash.can/3` and `Ash.can?/3`.