Skip to content

Latest commit

 

History

History
285 lines (114 loc) · 5.84 KB

CHANGELOG.md

File metadata and controls

285 lines (114 loc) · 5.84 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

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 (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 (2025-01-03)

Bug Fixes:

  • ensure that form interfaces properly set data

  • update html generators to properly call actions

v2.1.12 (2024-12-22)

Improvements:

  • Add AshPhoenix extension

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 (2024-12-12)

Bug Fixes:

  • use Igniter.Project.Module.parse to get module names for generator (#274)

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 (2024-10-29)

Improvements:

  • track raw_params

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 (2024-10-17)

Improvements:

  • allow phoenix_live_view rc

v2.1.5 (2024-10-14)

Improvements:

  • support generic actions (#250)

v2.1.4 (2024-09-30)

Bug Fixes:

  • properly include calc args in to_filter_map

v2.1.3 (2024-09-30)

Bug Fixes:

  • properly apply calculations with arguments in filter form

v2.1.2 (2024-09-03)

Bug Fixes:

  • spec update_form to accept functions of lists

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 (2024-07-26)

Bug Fixes:

  • ensure we prepare_source for all read action forms

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 (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 (2024-05-22)

Bug Fixes:

  • don't assume all embeds have a create/update action

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 (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.