formkit/formkit (@formkit/addons)
### [`v1.5.1`](https://togithub.com/formkit/formkit/releases/tag/1.5.1)
[Compare Source](https://togithub.com/formkit/formkit/compare/1.5.0...1.5.1)
##### π Bug fixes
- Fixes a bug introduced in `1.5.0` that caused the context.value to not properly synced with the `node.value` inside of nested group structures ([#1133](https://togithub.com/formkit/formkit/issues/1133)).
### [`v1.5.0`](https://togithub.com/formkit/formkit/releases/tag/1.5.0)
[Compare Source](https://togithub.com/formkit/formkit/compare/1.4.0...1.5.0)
FormKit 1.5.0 ships with a new development build of FormKit. In development FormKit now uses slightly different versions of its packages that include additional developer experience enhancements. This is similar to how Vue itself has "development" and "production" versions, and it allows FormKit to provide an improved developer experience such as improved HMR support and better error messages.
The groundwork is now laid for greatly improved developer experience in future releases. This release also includes dozens of bug fixes and improvements.
##### πͺ New features
- Adds a new API for adding props to inputs with default values, boolean props, and getters/setters. See the [updated docs for more info](https://formkit.com/essentials/custom-inputs#object-notation).
- `createInput` now supports a third argument, sectionsSchema which allows you to extend the default sections that come with `createInput` ([#882](https://togithub.com/formkit/formkit/issues/882)).
- Adds new context property `didMount` and node event `mounted` to recognize when the `` component is mounted to the DOM ([#0b8753d](https://togithub.com/formkit/formkit/commit/0b8753d)).
- Now `node.children` are observed by `@formkit/observer`, this allows validation rules to access `node.children` with reactivity.
- Hot module replacement with Vite/Nuxt now preserve the form state when updating form code ([#1068](https://togithub.com/formkit/formkit/issues/1068))
- Adds new `changeLocale` composable that globally changes the locale of all forms with Options API, Composition API, and Nuxt autoimport ([#1112](https://togithub.com/formkit/formkit/issues/1112))
- Rules `allow_non_alpha` and `allow_numeric`.
- The new FormKit cli now scaffolds new apps (`npx formkit create-app`) to use themes.formkit.comβs theme system.
- New development build of FormKit that includes additional developer experience enhancements.
##### π Bug fixes
- Fixes Vite TSDoc comment warnings - by **Yue Yang** [(e47c9)](https://togithub.com/formkit/formkit/commit/e47c990)
- Fix windows create-app name for nuxt projects ([1066](https://togithub.com/formkit/formkit/issues/1066))
- Inputs that use `options` (select, checkbox, radio, autocomplete etc) now properly count their `__mask` value ([#1046](https://togithub.com/formkit/formkit/issues/1046)).
- Fixes a bug that did now allow submitAttrs to disable submit input ([#789](https://togithub.com/formkit/formkit/issues/789)).
- Removes data-disabled on checkbox and radio inputs when false - ([#1043](https://togithub.com/formkit/formkit/issues/1043)).
- Fixes autoAnimate when used on repeaters and other inputs with complex conditionals ([#1016](https://togithub.com/formkit/formkit/issues/1016)).
- Significantly improves `@formkit/nuxt`βs experimental `autoImport` feature ([1095](https://togithub.com/formkit/formkit/issues/1095), and others).
- Autoheight textarea hydration in nuxt ([#980](https://togithub.com/formkit/formkit/issues/980)).
- Adds non-blocking messages in getValidationMessages ([#849](https://togithub.com/formkit/formkit/issues/849)).
- `node.clearErrors()` always removes errors local to that node ([#941](https://togithub.com/formkit/formkit/issues/941))
- Reduces re-renders on destructured group values ([#1068](https://togithub.com/formkit/formkit/issues/1068)).
- Removes warning on multi-step about default slot being called outside render function ([#920](https://togithub.com/formkit/formkit/issues/920)).
- Inputs inside a disabled repeater can be enabled per-input ([#1043](https://togithub.com/formkit/formkit/issues/1043)).
- Improves typing for `createInput()` ([#1105](https://togithub.com/formkit/formkit/issues/1105)).
- Removes `data-complete` on groups/lists ([#1038](https://togithub.com/formkit/formkit/issues/1038)).
- Boolean props like disabled and preserve can now be used without explicitly setting them to `true` or `false` ([#989](https://togithub.com/formkit/formkit/issues/989)).
> \[!IMPORTANT]\
> Vitest does not automatically use the same node parameters (conditions) that Vite does (see [#4971](https://togithub.com/vitest-dev/vitest/issues/4971)). If you find your tests failing after you update, you can add the following to your `vitest.config.js` file:
Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.4.0
->1.5.1
Release Notes
formkit/formkit (@formkit/addons)
### [`v1.5.1`](https://togithub.com/formkit/formkit/releases/tag/1.5.1) [Compare Source](https://togithub.com/formkit/formkit/compare/1.5.0...1.5.1) ##### π Bug fixes - Fixes a bug introduced in `1.5.0` that caused the context.value to not properly synced with the `node.value` inside of nested group structures ([#1133](https://togithub.com/formkit/formkit/issues/1133)). ### [`v1.5.0`](https://togithub.com/formkit/formkit/releases/tag/1.5.0) [Compare Source](https://togithub.com/formkit/formkit/compare/1.4.0...1.5.0) FormKit 1.5.0 ships with a new development build of FormKit. In development FormKit now uses slightly different versions of its packages that include additional developer experience enhancements. This is similar to how Vue itself has "development" and "production" versions, and it allows FormKit to provide an improved developer experience such as improved HMR support and better error messages. The groundwork is now laid for greatly improved developer experience in future releases. This release also includes dozens of bug fixes and improvements. ##### πͺ New features - Adds a new API for adding props to inputs with default values, boolean props, and getters/setters. See the [updated docs for more info](https://formkit.com/essentials/custom-inputs#object-notation). - `createInput` now supports a third argument, sectionsSchema which allows you to extend the default sections that come with `createInput` ([#882](https://togithub.com/formkit/formkit/issues/882)). - Adds new context property `didMount` and node event `mounted` to recognize when the `Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.