Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 24, 2025

This PR contains the following updates:

Package Change Age Confidence
@tanstack/react-form (source) ^0.32.0 -> ^0.48.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

TanStack/form (@​tanstack/react-form)

v0.48.2

Compare Source

Version 0.48.2 - 3/2/25, 1:47 AM

Changes

Fix
  • deletion of subitems on a field now works (#​1199) (72a09c3) by Corbin Crutchley
Docs
  • include example of React.lazy for tree-shaking (#​1198) (230c2a0) by Corbin Crutchley

Packages

v0.48.1

Compare Source

Version 0.48.1 - 3/1/25, 11:23 AM

Changes

Fix
  • subfield data is removed properly when calling removeFieldValue (#​1197) (c8cfbe0) by Corbin Crutchley

Packages

v0.48.0

Compare Source

Version 0.48.0 - 3/1/25, 10:39 AM

Changes

Feat
Chore
  • fix Nx execution (91b909f) by Corbin Crutchley
Docs

Packages

v0.47.3

Compare Source

Version 0.47.3 - 3/1/25, 7:59 AM

Changes

Fix
  • withForm now works without any props (#​1194) (faea151) by Corbin Crutchley
Docs
  • fix standard schema validation type (5a29a1b) by Corbin Crutchley

Packages

v0.47.2

Compare Source

Version 0.47.2 - 3/1/25, 7:19 AM

Changes

Fix

Packages

v0.47.1

Compare Source

Version 0.47.1 - 3/1/25, 6:50 AM

Changes

Fix
  • transform changes at runtime should now work (#​1193) (0734926) by Corbin Crutchley
Docs
  • add TS debug steps (541b37a) by Corbin Crutchley

Packages

v0.47.0

Compare Source

Version 0.47.0 - 3/1/25, 6:08 AM

Changes

Feat
  • Added createFormHook and createFormHookContexts APIs for form composition in React
Fixes
  • Unions should now be supported better in fields
  • Infinite type warnings should no longer be a thing
Breaking changes
  • TypeScript 5.4 is now the minimum required version

Packages

v0.46.0

Compare Source

Version 0.46.0 - 2/28/25, 8:51 PM

Changes

Feat
  • use react-start packages for Start support (#​1191) (bea5803) by Manuel Schiller

Packages

v0.45.1

Compare Source

Version 0.45.1 - 2/25/25, 7:14 AM

Changes

Fix
  • form-core: clear previous invalid sync validation errors on FormApi (#​1157) (b2db36a) by Juan Villa

Packages

v0.45.0

Compare Source

Version 0.45.0 - 2/25/25, 7:02 AM

Changes

Feat

Packages

v0.44.1

Compare Source

Version 0.44.1 - 2/25/25, 6:46 AM

Changes

Fix
  • subfields should now return the correct validation errors in TS (#​1176) (2fd4271) by Corbin Crutchley

Packages

v0.44.0

Compare Source

Version 0.44.0 - 2/24/25, 7:30 PM

Changes

Feat
Chore

Packages

v0.43.2

Compare Source

Version 0.43.2 - 2/21/25, 3:11 PM

Changes

Fix
  • RN on Android no longer needs a replaceAll polyfill (#​1166) (f8add78) by Corbin Crutchley
Docs
  • remove reference to createServerValidate (c36e218) by Corbin Crutchley

Packages

v0.43.1

Compare Source

Version 0.43.1 - 2/21/25, 11:50 AM

Changes

Fix
  • new lockfile for CI (4bac1f7) by Corbin Crutchley
  • form core should now be pinned to the right version (#​1165) (fc7f8a6) by Corbin Crutchley

Packages

v0.43.0

Compare Source

Version 0.43.0 - 2/21/25, 11:14 AM

PRs

  • Allow returning anything in a validator (#​1104) (d8ed149) by Corbin Crutchley

The Main Showcase

This PR allows you to return non-string values from validators:

<form.Field name="password" validators={{onChange: () => ({hasUppercase: false, hasLowercase: true}) }} />

In addition, it also enforces type safety on the returned value on both errorMap and the errors array:

const form = new FormApi({
  defaultValues: {
    name: 'test',
  },
} as const)

const field = new FieldApi({
  form,
  name: 'name',
  validators: {
    onChange: () => {
      return 123 as const
    },
  },
})

assertType<123 | undefined>(field.state.meta.errorMap.onChange)

assertType<Array<123 | undefined>>(field.state.meta.errors)

Breaking Changes

  • Removes all validatorAdapters (packages, code, and props alike)
  • When using Standard Schema validators:
    • form.errors is now Record<string, StandardSchemaV1Issue[]>
    • field.errors is now StandardSchemaV1Issue[] (flattened, unless you pass disableErrorFlat in form.Field)
  • Vue 3.4 is the new minimum version
  • Vue JSX usage no longer works
Migration Guide

If you're using Yup today, you'll either need to wait for this community PR to be merged or replace Yup with another schema library.

  • If using schema validation:
    • Remove all validatorAdapter properties
    • Uninstall @tanstack/yup-form-adapter, @tanstack/valibot-form-adapter, and @tanstack/zod-form-adapter
    • Migrate all validation errors on a field away from .map(str => <p>{str}</p>) and towards .map(issue => <p>{issue.messaeg}</p>)
    • Migrate all validation errors on form away from .map(str => <p>{str}</p>) and towards .map(issueObj => <p>{issueObj.issues[0].message}</p>)
  • (If Vue): Migrate form components to use SFCs

Other Changes

  • Vue SFC Works as-intended
  • TanStack Start Adapter has been updated to new APIs

Packages

v0.42.1

Compare Source

Version 0.42.1 - 2/20/25, 5:25 PM

Changes

Fix

Packages

v0.42.0

Compare Source

Version 0.42.0 - 2/13/25, 6:44 PM

Changes

Feat
  • form-core: field meta and errors are shifted when doing array operations (990a916) by Leonardo Montini

Packages

v0.41.4

Compare Source

Version 0.41.4 - 2/11/25, 10:48 PM

Changes

Fix
  • form-core: skip form validation for each single field on form submit (#​1147) (5f1bc0b) by Leonardo Montini
Ci
Docs
  • risks of omitting useStore selector (#​1126) (2bd0696) by Harry Whorlow

Packages

v0.41.3

Compare Source

Version 0.41.3 - 1/21/25, 6:32 PM

Changes

Fix
  • useStore without a selector should no longer crash in React (#​1123) (a56d353) by Corbin Crutchley
Docs
  • Add package manager examples for TanStack Form installation (#​1120) (280060a) by Sagar Dwivedi

Packages

v0.41.2

Compare Source

Version 0.41.2 - 1/15/25, 2:00 AM

Changes
Fix
  • meta should not regenerate every render (#​1114) (08d610f) by Corbin Crutchley
Chore
  • deps: use react 19 stable, fix JSX resolution (#​1113) (b60264c) by Lachlan Collins
  • deps: replace rimraf with premove, update deps (#​1112) (58628f7) by Lachlan Collins
  • deps: update autofix-ci/action digest to 551dded (#​1110) (3e0ef50) by renovate[bot]
Packages

v0.41.1

Compare Source

Version 0.41.1 - 1/11/25, 12:34 PM

Changes
Fix
  • react-form: update the name of the rendered field when it changes (b5133f2) by fuko
Packages

v0.41.0

Compare Source

Version 0.41.0 - 12/29/24, 4:14 PM

Changes
Feat
  • make accessing field properties faster and more stable (be7f9bf) by Corbin Crutchley
Packages

v0.40.4

Compare Source

Version 0.40.4 - 12/17/24, 9:16 AM

Changes
Fix
  • set fields to isBlurred only after field blur event (#​940) (1f043e9) by Pascal Küsgen
Packages

v0.40.3

Compare Source

Version 0.40.3 - 12/16/24, 10:43 PM

Changes
Fix
  • spread field errors on form onMount validator (#​1079) (ab9dd76) by Leonardo Montini
Chore
  • allow unusedLocals in standard-schema example (#​1068) (91eb9ab) by Misha Kaletsky
Packages

v0.40.2

Compare Source

Version 0.40.2 - 12/14/24, 10:35 AM

Changes
Fix
  • remove dependency from standard schema and internalize it (#​1076) (4503caf) by Leonardo Montini
Chore
  • deprecate adapters for zod and valibot (#​1065) (af3f6b3) by Leonardo Montini
Docs
Packages

v0.40.1

Compare Source

Version 0.40.1 - 12/11/24, 8:32 PM

Changes
Fix
  • allow standard schema validator on field validators without explicit adapter (#​1064) (8e7ca78) by Leonardo Montini
Packages

v0.40.0

Compare Source

Version 0.40.0 - 12/10/24, 9:55 PM

Changes
Feat
  • native support for standard schema libraries (#​1020) (6a82b7f) by Leonardo Montini
Packages

v0.39.2

Compare Source

Version 0.39.2 - 12/10/24, 4:58 PM

Changes

Fix
Other

Packages

v0.39.1

Compare Source

Version 0.39.1 - 12/10/24, 4:51 PM

Changes
Fix
  • export useStore in Solid, React, and Vue forms (#​1063) (3971cf3) by Corbin Crutchley
Chore
Ci
Docs
  • add balastrong"s video tutorials (#​1048) (5c875c3) by Leonardo Montini
Packages

v0.39.0

Compare Source

Version 0.39.0 - 11/29/24, 9:06 AM (Manual Release)

Changes
Breaking Changes

This release introduces two breaking changes for our React adapter:

  • Removing form.useStore in favor of @tanstack/react-store's useStore(form.store) API
  • Removing form.useField in favor of other APIs

No other adapters have any changes in any other way.

We did not want to make either of these changes, but were forced to by the React Compiler not allowing for dynamic hooks. We're deeply sorry about these breaking changes and will do our best to mitigate future breaking changes prior to 1.0.

Migration Guides

To fix form.useStore(selectorFn) you should be able to easily replace it with @tanstack/react-store's useStore(form.store, selectorFn). These will behave identically from one another.

form.useField, on the other hand, is more tricky. We generally discouraged you from using this hook from the very beginning and see its usage as an anti-pattern.

While migrating away from useField entirely is a better solution in the long-run, you can also import useField from @tanstack/react-form and add useField({form, ...otherProps}) as an interim migration strategy.

Packages

v0.38.0

Compare Source

Version 0.38.0 - 11/29/24, 8:07 AM (Manual Release)

Changes
Breaking Changes
  • Drop support for TypeScript 4.9 and 5.0
    • TypeScript 5.1 is now required
  • Drop support for Angular 17.3 and 18.x
    • Angular 19 is now required

I'd (Corbin) like to personally apologize for introducing these breaking changes during our RC phase. While working on fixing various bugs we realized we couldn't easily support these versions without majorly impacting users on these older versions of TypeScript and Angular.

Chore
  • add tests for TypeScript 5.4+ (ea4b760) by Corbin Crutchley
  • fix lint (b8d20bd) by Corbin Crutchley
Ci
  • apply automated fixes and generate docs (987510b) by autofix-ci[bot]
  • apply automated fixes and generate docs (6cee9ec) by autofix-ci[bot]
Docs
  • react: move listeners prop to the form field component (#​1039) (477e844) by Damian Stasik
Other
Packages

v0.37.1

Compare Source

Version 0.37.1 - 11/25/24, 9:12 PM

Changes
Fix
  • form-core: handle numeric keys as array index only if parent is an array (#​993) (a4e76c8) by Leonardo Montini
Packages

v0.37.0

Compare Source

Version 0.37.0 - 11/25/24, 9:03 PM

Changes
Feat
Chore
  • deps: update dependency isbot to v5 (#​1033) (1db18b2) by renovate[bot]
Packages

v0.36.3

Compare Source

Version 0.36.3 - 11/23/24, 12:57 PM

Changes

Fix

Packages

v0.36.2

Compare Source

Version 0.36.2 - 11/19/24, 7:58 PM

Changes
Fix
  • form-core: async form validator runs only if sync field & form passed (#​1029) (362ce10) by Leonardo Montini
Packages

v0.36.1

Compare Source

Version 0.36.1 - 11/19/24, 6:27 PM

Changes
Fix
  • core: run form submit validator once on submit (#​1028) (72516f1) by Leonardo Montini
Chore
Docs
Packages

v0.36.0

Compare Source

Version 0.36.0 - 11/16/24, 6:06 PM

Changes

Feat

Packages

v0.35.0

[Compare Source](https://redirect.gith


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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch 2 times, most recently from 758742b to aca0d74 Compare January 25, 2025 19:40
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch 3 times, most recently from a4fd865 to 2028131 Compare February 13, 2025 23:05
@renovate renovate bot changed the title fix(deps): update dependency @tanstack/react-form to ^0.41.0 fix(deps): update dependency @tanstack/react-form to ^0.42.0 Feb 13, 2025
@renovate renovate bot changed the title fix(deps): update dependency @tanstack/react-form to ^0.42.0 fix(deps): update dependency @tanstack/react-form to ^0.43.0 Feb 21, 2025
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch from 2028131 to fed328c Compare February 21, 2025 15:40
@renovate renovate bot changed the title fix(deps): update dependency @tanstack/react-form to ^0.43.0 fix(deps): update dependency @tanstack/react-form to ^0.44.0 Feb 24, 2025
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch 2 times, most recently from e509ab1 to 02cba61 Compare February 25, 2025 10:15
@renovate renovate bot changed the title fix(deps): update dependency @tanstack/react-form to ^0.44.0 fix(deps): update dependency @tanstack/react-form to ^0.45.0 Feb 25, 2025
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch from 02cba61 to ce92bfa Compare February 28, 2025 21:36
@renovate renovate bot changed the title fix(deps): update dependency @tanstack/react-form to ^0.45.0 fix(deps): update dependency @tanstack/react-form to ^0.46.0 Feb 28, 2025
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch from ce92bfa to 07e1591 Compare March 1, 2025 06:46
@renovate renovate bot changed the title fix(deps): update dependency @tanstack/react-form to ^0.46.0 fix(deps): update dependency @tanstack/react-form to ^0.47.0 Mar 1, 2025
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch from 07e1591 to 632294a Compare March 1, 2025 10:52
@renovate renovate bot changed the title fix(deps): update dependency @tanstack/react-form to ^0.47.0 fix(deps): update dependency @tanstack/react-form to ^0.48.0 Mar 1, 2025
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch from 632294a to d932ab2 Compare June 4, 2025 09:32
Copy link
Contributor

coderabbitai bot commented Jun 4, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch 3 times, most recently from 2f879f7 to 6d2b592 Compare June 12, 2025 11:08
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch from 6d2b592 to 2380bb0 Compare June 17, 2025 12:38
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch 2 times, most recently from e845166 to 94ff86b Compare July 30, 2025 09:37
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch 2 times, most recently from aad6509 to 1ac2b71 Compare August 6, 2025 20:49
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch from 1ac2b71 to d6fbf1e Compare August 18, 2025 04:37
@renovate renovate bot changed the title fix(deps): update dependency @tanstack/react-form to ^0.48.0 Update dependency @tanstack/react-form to ^0.48.0 Aug 18, 2025
@renovate renovate bot changed the title Update dependency @tanstack/react-form to ^0.48.0 fix(deps): update dependency @tanstack/react-form to ^0.48.0 Aug 19, 2025
@renovate renovate bot changed the title fix(deps): update dependency @tanstack/react-form to ^0.48.0 Update dependency @tanstack/react-form to ^0.48.0 Aug 28, 2025
@renovate renovate bot changed the title Update dependency @tanstack/react-form to ^0.48.0 fix(deps): update dependency @tanstack/react-form to ^0.48.0 Sep 2, 2025
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch from d6fbf1e to 4c9b492 Compare September 11, 2025 13:32
@renovate renovate bot requested a review from devesh-juspay as a code owner September 11, 2025 13:32
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch from 4c9b492 to 73ed66a Compare September 15, 2025 12:55
@renovate renovate bot changed the title fix(deps): update dependency @tanstack/react-form to ^0.48.0 Update dependency @tanstack/react-form to ^0.48.0 Sep 15, 2025
@renovate renovate bot changed the title Update dependency @tanstack/react-form to ^0.48.0 fix(deps): update dependency @tanstack/react-form to ^0.48.0 Sep 15, 2025
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch 3 times, most recently from ca6203e to 9a44d3e Compare October 1, 2025 10:46
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch from 9a44d3e to 6f27d8d Compare October 10, 2025 06:09
@renovate renovate bot force-pushed the renovate/tanstack-form-monorepo branch from 6f27d8d to 4054ebf Compare October 21, 2025 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants