Skip to content

Latest commit

 

History

History
398 lines (173 loc) · 14.3 KB

CHANGELOG.md

File metadata and controls

398 lines (173 loc) · 14.3 KB

4.3.1 (2024-06-09)

Bug Fixes

  • uses unsetCompact for Form filter prop (e5947ae)

4.3.0 (2024-06-09)

Features

  • unsetcompact: adds special [] syntax to unsetCompact (a06396a)
  • working on unset algorithm (8f8c9b0)

Performance Improvements

  • unsetcompact: avoids recursion for trailing [] notation (3d888ba)

4.2.0 (2024-05-27)

Bug Fixes

  • 🐛 Fixes potential circular object (128bb0c)
  • 🐛 Updates types (cf1c777)

Features

  • 🎸 Builds data object from useInertiaInput (fa74815)

4.1.0 (2024-05-23)

Features

  • useinertiainput: exports UseInertiaInputProps (6e63ef2)

4.0.0 (2024-05-21)

Features

  • 🎸 Clears errors on an input when the value changes (aaca443)
  • 🎸 Updates tests (28da649)

BREAKING CHANGES

  • 🧨 Clears errors by default on value change. Must pass clearErrorsOnChange: false to useInertiaInput to disable behavior

4.0.0 (2024-05-21)

Features

  • 🎸 Clears errors on an input when the value changes (aaca443)

BREAKING CHANGES

  • 🧨 Clears errors by default on value change. Must pass clearErrorsOnChange: false to useInertiaInput to disable behavior

3.7.0 (2024-05-03)

Features

  • input: makes Input more extensible (406e6c6)

3.6.0 (2024-05-02)

Features

  • usedynamicinputs: adds support for a plain object override (08698f5)

3.5.0 (2024-04-29)

Features

  • usedynamicinputs: adds override option to addInput (91979ce)

3.4.0 (2024-04-14)

Features

  • removeInput returns the removed record (#16) (b4ac146)

3.3.3 (2024-02-01)

Bug Fixes

  • 🐛 Remove memoization of returned methods (9198d6b)

3.3.2 (2023-12-16)

Bug Fixes

  • 🐛 Changes default form data type to NestedObject (c7690f9)

3.3.1 (2023-12-16)

Bug Fixes

  • 🐛 Adds second generic to useInertiaInput type definition (bcf3d39)

3.3.0 (2023-08-19)

Features

  • 🎸 Force release for breaking change in rollup export (e87c4cc)

3.2.1 (2023-06-12)

Bug Fixes

  • 🐛 Replaces isEmpty with isUnset for detecting empty inputs (886b0de)

3.2.0 (2023-06-10)

Features

  • 🎸 Adds optional requiredFields prop to Submit button (#8) (b064ef3)

3.1.5 (2023-06-09)

Bug Fixes

  • 🐛 Makes to a required prop (#7) (0822d5c)

3.1.4 (2023-04-18)

Bug Fixes

  • 🐛 Fixes type for clearErrors (7751649)

3.1.3 (2023-04-10)

Bug Fixes

  • 🐛 Removes Required modifier from Form definitions (3933d8d)

3.1.2 (2023-04-08)

Bug Fixes

  • 🐛 Adds path typings to clearErrors (834d2d2)

3.1.1 (2023-04-08)

Bug Fixes

  • 🐛 Removes undefined option for data return value (29a48e3)

3.1.0 (2023-04-05)

Features

  • 🎸 Adds the filter prop (5331b2b)

3.0.2 (2023-03-31)

Bug Fixes

  • 🐛 Clears errors upon form reset (ac7cabf)

3.0.1 (2023-03-30)

Bug Fixes

  • 🐛 Rewrites error keys from server responses (2a719e9)

3.0.0 (2023-03-29)

Features

  • 🎸 Renames onBeforeChange to onChange (91152b2)

BREAKING CHANGES

  • 🧨 onChange

2.3.0 (2023-03-29)

Features

  • 🎸 Adds type inference to getters and setters (c6b4c35)

2.2.0 (2023-03-27)

Features

2.1.0 (2023-03-26)

Features

  • 🎸 Adds useDynamicInputs hook (0c81eb1)

2.0.15 (2023-03-25)

Bug Fixes

  • 🐛 Exports DynamicInputsProps (07c669d)

2.0.14 (2023-03-25)

Bug Fixes

  • 🐛 Properly scopes model attribute in DynamicInputs (35fb5ff)

2.0.13 (2023-03-24)

Bug Fixes

  • 🐛 Removes disabled conditions from Submit button (403270a)

2.0.12 (2023-03-24)

Bug Fixes

  • 🐛 Only resets form data after success if async (3f970c7)

2.0.11 (2023-03-24)

Bug Fixes

  • 🐛 Adds errors to dependency array in Form component (f342147)

2.0.10 (2023-03-24)

Bug Fixes

  • 🐛 Refactors Form component to eliminate a file (89e370f)

2.0.9 (2023-03-23)

Bug Fixes

  • 🐛 Nested arrays properly renamed, errors properly set (e2629d9)

2.0.8 (2023-03-23)

Bug Fixes

  • 🐛 Includes array access notation in attributes rewrite (d7dbb59)

2.0.7 (2023-03-22)

Bug Fixes

  • 🐛 Fixes fillEmptyValues to include nested arrays (4089f82)

2.0.6 (2023-03-22)

Bug Fixes

2.0.5 (2023-03-21)

Bug Fixes

  • 🐛 Fixes incorrect inertia router import and setData memo (b2b48d9)

2.0.4 (2023-03-20)

Bug Fixes

  • 🐛 Improves typing, memoizes useForm return values (05a3237)

2.0.3 (2023-03-18)

Bug Fixes

  • 🐛 Fixes useInertiaForm callbacks and adds tests (6b408b7)

2.0.2 (2023-03-17)

Bug Fixes

  • 🐛 Fixes reset and clearErrors (539b39c)

2.0.1 (2023-03-17)

Bug Fixes

  • 🐛 Allows transform method to work (b31c5ce)

2.0.0 (2023-03-16)

Features

  • 🎸 Fixes rails attributes implementation (19e61d8)

BREAKING CHANGES

  • 🧨

1.0.7 (2023-03-14)

Bug Fixes

  • 🐛 Replaces lodash.cloneDeep with js native structuredClone (347f226)

1.0.6 (2023-03-14)

Bug Fixes

  • 🐛 Minor updates to cause release (4f581ba)

1.0.5 (2023-02-24)

Bug Fixes

  • 🐛 Classname was omitted from form definition (139d3b1)

1.0.4 (2023-02-24)

Bug Fixes

  • 🐛 Moves rollup plugin to dev dependencies (6e819f1)

1.0.3 (2023-02-24)

Bug Fixes

1.0.2 (2023-02-24)

Bug Fixes

  • 🐛 Adds generic typings for useInertiaInput (e9f2536)

1.0.1 (2023-02-22)

Bug Fixes

  • 🐛 Removes old README section (d9b6ecc)

1.0.0 (2023-02-22)

Features

  • 🎸 Alpha version bump (7ba1317)