Skip to content

Releases

@tanstack/vue-form@2.0.0-alpha.3

Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:29
Immutable release. Only release title and notes can be modified.
0914a26

Major Changes

  • Release the first alpha of TanStack Form v2.

Minor Changes

  • #2419 584fcd9 - Restore field.replaceValue() and add form.replaceFieldValue() for replacing an array element in place

  • Feature: Specify default options for createFormHook

  • #2365 f8bbc25 - Feat: Field groups may now omit identity bindings like fields={{ a: 'a' }}

Patch Changes

  • Refactor: Adapter formOptions/appFormOptions no longer shim the core types and runtime.

    BREAKING: formOptions.looseSchema and formOptions.strictSchema now require a schema as
    first parameter. This locks down inference to get the best type safety out of it vs. the options object alone.

    Fix: formOptions.looseSchema now allows defaultValues to omit properties instead of
    requiring them to be explicitly undefined.

  • Fix: Subscription selectors now infer tuple return values without requiring as const.

  • #2401 541abc8 - Keep Vue field values and validation state reactive in child components, and keep slot and injected field handlers connected after resets and field name changes.

  • Updated dependencies [584fcd9, a679245, 395d61c, f8bbc25]:

    • @tanstack/form-core@2.0.0-alpha.3

@tanstack/svelte-form@2.0.0-alpha.3

Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:29
Immutable release. Only release title and notes can be modified.
0914a26

Major Changes

  • Release the first alpha of TanStack Form v2.

Minor Changes

  • Feature: Specify default options for createFormHook

  • #2365 f8bbc25 - Feat: Field groups may now omit identity bindings like fields={{ a: 'a' }}

Patch Changes

  • Refactor: Adapter formOptions/appFormOptions no longer shim the core types and runtime.

    BREAKING: formOptions.looseSchema and formOptions.strictSchema now require a schema as
    first parameter. This locks down inference to get the best type safety out of it vs. the options object alone.

    Fix: formOptions.looseSchema now allows defaultValues to omit properties instead of
    requiring them to be explicitly undefined.

  • Fix: Subscription selectors now infer tuple return values without requiring as const.

  • Updated dependencies [584fcd9, a679245, 395d61c, f8bbc25]:

    • @tanstack/form-core@2.0.0-alpha.3

@tanstack/solid-form@2.0.0-alpha.3

Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:29
Immutable release. Only release title and notes can be modified.
0914a26

Major Changes

  • Release the first alpha of TanStack Form v2.

Minor Changes

  • Feature: Specify default options for createFormHook

  • #2365 f8bbc25 - Feat: Field groups may now omit identity bindings like fields={{ a: 'a' }}

Patch Changes

  • Refactor: Adapter formOptions/appFormOptions no longer shim the core types and runtime.

    BREAKING: formOptions.looseSchema and formOptions.strictSchema now require a schema as
    first parameter. This locks down inference to get the best type safety out of it vs. the options object alone.

    Fix: formOptions.looseSchema now allows defaultValues to omit properties instead of
    requiring them to be explicitly undefined.

  • Fix: Subscription selectors now infer tuple return values without requiring as const.

  • Updated dependencies [584fcd9, a679245, 395d61c, f8bbc25]:

    • @tanstack/form-core@2.0.0-alpha.3

@tanstack/solid-form-devtools@1.0.0-alpha.3

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:28
Immutable release. Only release title and notes can be modified.
0914a26

Major Changes

  • Release the first alpha of TanStack Form v2.

@tanstack/react-form@2.0.0-alpha.3

Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:29
Immutable release. Only release title and notes can be modified.
0914a26

Major Changes

  • Release the first alpha of TanStack Form v2.

Minor Changes

  • Feature: Specify default options for createFormHook

  • Add default form, field, and form group options to createFormHook.

  • #2426 395d61c - BREAKING: schemaOutputs no longer exists. It is superceded by validatorOutputs. This is only a name change, the schema's result is the same as before

    validatorOutputs now allows a callback validator to specify data that the submit function should know. Schemas do this
    automatically, but now you can do it manually as well:
    run: ({ createOutput }) => createOutput('This is not a validation error and onSubmit can use this')

    The current map is:

    Validator onSubmit: ({ validatorOutputs }) => ...
    Schema Schema's output data
    createOutput(X) X
    Default callback validator undefined
    Validation error N/A, onSubmit doesn't run
  • #2365 f8bbc25 - Feat: Field groups may now omit identity bindings like fields={{ a: 'a' }}

  • #2369 28c693f - Feat: Field and Form components can now be nested to create namespaces.

Patch Changes

  • Refactor: Adapter formOptions/appFormOptions no longer shim the core types and runtime.

    BREAKING: formOptions.looseSchema and formOptions.strictSchema now require a schema as
    first parameter. This locks down inference to get the best type safety out of it vs. the options object alone.

    Fix: formOptions.looseSchema now allows defaultValues to omit properties instead of
    requiring them to be explicitly undefined.

  • Fix: Subscription selectors now infer tuple return values without requiring as const.

  • #2434 fceed8a - Provide the field context inside App Form ArrayField, so registered field components render there instead of throwing.

  • Updated dependencies [584fcd9, a679245, 395d61c, f8bbc25]:

    • @tanstack/form-core@2.0.0-alpha.3

@tanstack/react-form-start@2.0.0-alpha.3

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:29
Immutable release. Only release title and notes can be modified.
0914a26

Major Changes

  • Release the first alpha of TanStack Form v2.

Patch Changes

@tanstack/react-form-nextjs@2.0.0-alpha.3

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:29
Immutable release. Only release title and notes can be modified.
0914a26

Major Changes

  • Release the first alpha of TanStack Form v2.

Patch Changes

@tanstack/react-form-devtools@1.0.0-alpha.3

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:29
Immutable release. Only release title and notes can be modified.
0914a26

Major Changes

  • Release the first alpha of TanStack Form v2.

Patch Changes

  • Updated dependencies []:
    • @tanstack/form-devtools@1.0.0-alpha.3

@tanstack/preact-form@2.0.0-alpha.3

Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:28
Immutable release. Only release title and notes can be modified.
0914a26

Major Changes

  • Release the first alpha of TanStack Form v2.

Minor Changes

  • Feature: Specify default options for createFormHook

  • #2426 395d61c - BREAKING: schemaOutputs no longer exists. It is superceded by validatorOutputs. This is only a name change, the schema's result is the same as before

    validatorOutputs now allows a callback validator to specify data that the submit function should know. Schemas do this
    automatically, but now you can do it manually as well:
    run: ({ createOutput }) => createOutput('This is not a validation error and onSubmit can use this')

    The current map is:

    Validator onSubmit: ({ validatorOutputs }) => ...
    Schema Schema's output data
    createOutput(X) X
    Default callback validator undefined
    Validation error N/A, onSubmit doesn't run
  • #2365 f8bbc25 - Feat: Field groups may now omit identity bindings like fields={{ a: 'a' }}

Patch Changes

  • Refactor: Adapter formOptions/appFormOptions no longer shim the core types and runtime.

    BREAKING: formOptions.looseSchema and formOptions.strictSchema now require a schema as
    first parameter. This locks down inference to get the best type safety out of it vs. the options object alone.

    Fix: formOptions.looseSchema now allows defaultValues to omit properties instead of
    requiring them to be explicitly undefined.

  • Fix: Subscription selectors now infer tuple return values without requiring as const.

  • #2434 fceed8a - Provide the field context inside App Form ArrayField, so registered field components render there instead of throwing.

  • Updated dependencies [584fcd9, a679245, 395d61c, f8bbc25]:

    • @tanstack/form-core@2.0.0-alpha.3

@tanstack/lit-form@2.0.0-alpha.3

Pre-release

Choose a tag to compare

@github-actions github-actions released this 23 Oct 07:28
Immutable release. Only release title and notes can be modified.
0914a26

Major Changes

  • Release the first alpha of TanStack Form v2.

Minor Changes

  • #2365 f8bbc25 - Feat: Field groups may now omit identity bindings like fields={{ a: 'a' }}

Patch Changes

  • Refactor: Adapter formOptions/appFormOptions no longer shim the core types and runtime.

    BREAKING: formOptions.looseSchema and formOptions.strictSchema now require a schema as
    first parameter. This locks down inference to get the best type safety out of it vs. the options object alone.

    Fix: formOptions.looseSchema now allows defaultValues to omit properties instead of
    requiring them to be explicitly undefined.

  • Fix: Subscription selectors now infer tuple return values without requiring as const.

  • Updated dependencies [584fcd9, a679245, 395d61c, f8bbc25]:

    • @tanstack/form-core@2.0.0-alpha.3