- Bump
_arrayVersionwhen asyncdefaultValuesupdate array fields that are not mounted yet, and when array fields mount with existing values (fixes #2201).
- Introduced a Prioritized Default System that ensures consistency between field metadata and form reset behavior. This change prioritizes field-level default values over form-level defaults across
isDefaultValuederivation,form.reset(), andform.resetField(). This ensures that field metadata accurately reflects the state the form would return to upon reset and preventsundefinedfrom being incorrectly treated as a default when a value is explicitly specified. (#2006)
-
evaluate()incorrectly treated distinct non-plain objects with no own enumerable keys (Temporal types, RegExp, getter-only class instances) as equal because the key-iteration loop vacuously succeeded. A guard now returnsfalsefor such objects, falling back to referential inequality. (#2140) -
exclude undefined from FormState errors type (
427b3d9) -
Prevent synchronous validators from returning Promises (#1987)
-
re-render arrays when length doesn't change but values do (#2172)
- Ensure fieldName is passed to custom validation logic functions (#2127)
- fix(core): field unmount (#2068)
- Upgrade packages and fixed theme pacakge missmatch (#2072)
- Refactor internals for substancially faster performance (#2035)
- form arrays now work again (#2041)
- bump @tanstack/store dependency to 0.8.0 (#2038)
- Fix various issues with SSR. Things should now work as-expected in many many more scenarios than before (#1890)
-
fix: flatten errors consistently when validating before field mount (#2003)
Fixed an issue where
field.errorswas incorrectly nested as[[error]]instead of[error]whenform.validate()was called manually before a field was mounted. Theflat(1)operation is now applied by default unlessdisableErrorFlatis explicitly set to true, ensuring consistent error structure regardless of when validation occurs. -
run validation for fields without instances (#2001)
- Fix double-rendering of Solid fields (#1959)
- fix(form-core): Prevent runtime errors during validation (#1948)
-
fix(form-core): Resolve memory leaks for SSR / Devtools (#1866)
-
Ensure dynamically rendered fields receive form validation errors (#1691)
-
fix: prevent unnecessary re-renders when there are no async validators (#1929)
Fields were re-rendering twice on each keystroke because
isValidatingwas being set totruethenfalseeven when there were no async validators to run. This fix checks if there are actual async validators before toggling theisValidatingstate.Fixes #1130
- Bump TanStack pacer to pacer-lite for reduced custom event emissions. (#1876)
- Fix issues with methods not being present in React adapter (#1903)
- fix stale fields on array changes (#1729)
- allow explicitly setting
field.handleChange(undefined)(#1729)
- Removes debug config from event client in form-core (#1852)
-
- Make
fieldMetarecord typePartial<>to reflect runtime behaviour (#1787)
- Make
- Optimise event client emissions and minor layout tweaks (#1758)
- respect dontValidate option in formApi array modifiers (#1775)
- fix(form-core): prevent runtime errors when using
deleteField(#1706)
- fix(form-core): call
onSubmitInvalideven whencanSubmitis false (#1697)
- Removes UUID from package.json for native environments. Reverts formId to a getter function. (#1753)
- Bump @tanstack/devtools-event-client to 0.3.2, patches side effects in event client. (#1767)
- fix(form-core): handle string array indices in prefixSchemaToErrors (#1689)
- bump to latest event client, for angular ssr (#1761)
-
ssr, dayjs, uuid, version bump patch (#1747)
-
Jumping v1.22.0 as it's incorrectly published, fixed adapter to core. (#1749)
- Bump core to match devtools, docs config update (#1739)