form

🤖 Powerful and type-safe form state management for the web. TS/JS, React Form, Solid Form, Lit Form and Vue Form.

MIT License

Downloads
553.5K
Stars
3.7K
Committers
101

Bot releases are hidden (Show)

form - https://github.com/TanStack/form/releases/tag/v0.26.3

Published by tannerlinsley 3 months ago

Version 0.26.3 - 7/10/24, 6:28 AM

Changes

Fix

  • solid-form: Build ESM, CJS, and source (#844) (a88aca8) by Brendan Allan

Chore

  • deps: update dependency @solidjs/testing-library to ^0.8.8 (#840) (f418ca7) by renovate[bot]
  • deps: update testing-library monorepo (#839) (a9c2bb4) by renovate[bot]
  • deps: update codecov/codecov-action action to v4 (#838) (be6d41d) by renovate[bot]
  • deps: update @tanstack/store (#837) (6a42404) by Lachlan Collins
  • deps: update dependency @tanstack/config to ^0.9.2 (#835) (d250815) by renovate[bot]
  • deps: update dependency sherif to ^0.10.0 (#836) (91d4913) by renovate[bot]
  • deps: update all non-major dependencies (#833) (ee69de0) by renovate[bot]

Ci

  • Improve Nx inputs (#841) (5b59643) by Lachlan Collins
  • renovate: Ignore vue and vue-tsc (3343d60) by Lachlan Collins
  • Add renovate.json (#829) (7a437b3) by Lachlan Collins

Docs

  • examples: Update tsconfig.json for React examples (#832) (40f86c4) by Lachlan Collins

Packages

form - https://github.com/TanStack/form/releases/tag/v0.26.2

Published by tannerlinsley 3 months ago

Version 0.26.2 - 7/9/24, 5:48 AM

Changes

Fix

  • solid-form: Rename index.ts to index.tsx (#828) (7438ca1) by Lachlan Collins

Packages

form - https://github.com/TanStack/form/releases/tag/v0.26.1

Published by tannerlinsley 3 months ago

Version 0.26.1 - 7/9/24, 4:11 AM

Changes

Fix

  • upgrade TanStack Start (#827) (f989a1e) by Corbin Crutchley

Packages

form - https://github.com/TanStack/form/releases/tag/v0.26.0

Published by tannerlinsley 3 months ago

Version 0.26.0 - 7/8/24, 8:07 PM

Changes

Feat

  • force createServerFn usage with getFormData (#826) (3b91e6c) by Corbin Crutchley

Docs

  • update solid docs (#819) (04fda1c) by Oluwabusayo Jacobs

Packages

form - https://github.com/TanStack/form/releases/tag/v0.25.3

Published by tannerlinsley 3 months ago

Version 0.25.3 - 7/6/24, 11:21 PM

Changes

Fix

  • lit-form: Correct deps/devDeps/peerDeps (#818) (6090ab1) by Lachlan Collins

Ci

  • Use pkg-pr-new templates (#817) (fb7bc9b) by Lachlan Collins
  • Add preview workflow (#811) (ae8377a) by Lachlan Collins

Docs

  • announce the RC phase in overview docs (#815) (bfad0b6) by Corbin Crutchley
  • add documentation for TanStack Start (#814) (9069729) by Corbin Crutchley
  • update vue docs (#810) (d44b9d0) by Abdurrahman Sogbesan

Other

  • (4e4a3ae) by Corbin Crutchley

Test

  • remove first level sleep in tests and use fake timers (#809) (1eda603) by Leonardo Montini

Packages

form - https://github.com/TanStack/form/releases/tag/v0.25.2

Published by tannerlinsley 4 months ago

Version 0.25.2 - 7/2/24, 10:28 PM

Changes

Fix

  • core: abort async validation if sync validation fails in the meantime (#796) (dc2ece3) by Leonardo Montini

Docs

  • update SSR/Nextjs doc imports (#803) (35f6635) by @my-slab

Test

  • fix async validation tests with adapters (#804) (0b38c3e) by Leonardo Montini

Packages

form - https://github.com/TanStack/form/releases/tag/v0.25.1

Published by tannerlinsley 4 months ago

Version 0.25.1 - 6/30/24, 11:46 PM

Changes

Fix

  • usage of deprecated version of Node.js (#800) (9dff98f) by Hamir Mahal

Ci

  • Optimise Nx workflow (#797) (6fa0c84) by Lachlan Collins

Tests

  • Run ESLint on tests (#793) (3f1dbed) by Lachlan Collins

Packages

form -

Published by tannerlinsley 4 months ago

Version 0.25.0 - 6/29/24, 9:49 AM (Manual Release)

Changes

  • feat: add initial adapter and options for TanStack Start
  • feat: migrate NextJS integration to throw when validation occured

Packages

form - https://github.com/TanStack/form/releases/tag/v0.24.3

Published by tannerlinsley 4 months ago

Version 0.24.3 - 6/29/24, 12:00 AM

Changes

Fix

  • Remove form-core type overrides from adapters (#794) (145e0a9) by Corbin Crutchley

Chore

  • Update ESLint config (#790) (f53062f) by Lachlan Collins

Docs

  • enable strict mode in react examples (#789) (adc74e0) by Leonardo Montini

Packages

form - https://github.com/TanStack/form/releases/tag/v0.24.2

Published by tannerlinsley 4 months ago

Version 0.24.2 - 6/27/24, 2:04 PM

Changes

Fix

  • republish packages with correct resolutions (#788) (71424b6) by Corbin Crutchley

Packages

form - https://github.com/TanStack/form/releases/tag/v0.24.1

Published by tannerlinsley 4 months ago

Version 0.24.1 - 6/27/24, 11:15 AM

Changes

Fix

  • arrays with null default values should no longer throw (#782) (2f61d25) by Corbin Crutchley

Packages

form - v0.24.0

Published by crutchcorn 4 months ago

What's Changed

Fix (Breaking Changes)

Refactor

Full Changelog: https://github.com/TanStack/form/compare/v0.23.3...v0.24.0

form - https://github.com/TanStack/form/releases/tag/v0.23.3

Published by tannerlinsley 4 months ago

Version 0.23.3 - 6/22/24, 5:53 PM

Changes

Fix

  • issues with StrictMode and arrays are now solved (#771) (4e54c09) by Corbin Crutchley

Chore

  • Update typescript-eslint to v7 (#770) (5473bb8) by Lachlan Collins
  • Shorter legacy TS test command (#769) (dd5f327) by Lachlan Collins
  • Move tests folders (#768) (6a085ea) by Lachlan Collins
  • fix config file (#765) (bab5a23) by Corbin Crutchley

Ci

  • Improve typescript test matrix (#767) (a5b9ff0) by Lachlan Collins

Docs

  • add next example (#766) (3e561d9) by Leonardo Montini
  • typedoc generation (33eacda) by Corbin Crutchley

Packages

form - https://github.com/TanStack/form/releases/tag/v0.23.2

Published by tannerlinsley 4 months ago

Version 0.23.2 - 6/20/24, 5:10 AM (Manual Release)

Changes

Chore

  • Update TanStack Store dependencies (#763) (d20aea9) by Lachlan Collins

Docs

  • Add "type": "module" to examples (#764) (f8f0a06) by Lachlan Collins

Packages

form - https://github.com/TanStack/form/releases/tag/v0.23.1

Published by tannerlinsley 4 months ago

Version 0.23.1 - 6/20/24, 3:46 AM (Manual Release)

Changes

Chore

  • Tidy up solid-form build, use tsc for lit-form (#762) (34cb249) by Lachlan Collins

Packages

form -

Published by tannerlinsley 4 months ago

Version 0.23.0 - 6/20/24, 3:35 AM

Changes

Feat

  • add formOptions API, add new exports from @tanstack/react-form/nextjs, remove createFormFactory (a9e3852) by Corbin Crutchley

This version changes a fair bit if you are using the following APIs:

  • formFactory (React, Vue, Lit, Solid)
  • onServerValidate (React)

formFactory

If you are using a formFactory API, please remove it in favor of the new formOptions function.

// Old
const formFactory = createFormFactory<Person>({
  defaultValues: {
    firstName: '',
    lastName: '',
    hobbies: [],
  },
})

formFactory.useForm({})

// New
const formOpts = formOptions<Person>({
  defaultValues: {
    firstName: '',
    lastName: '',
    hobbies: [],
  },
})

useForm(formOpts)

While not a 1:1 API, we believe that any existing usages of formFactory are better suited for formOptions

onServerValidate

Instead of using onServerValidate on a formFactory, you'll want to follow our new SSR guidance:

https://tanstack.com/form/latest/docs/framework/react/guides/ssr

You can see the diff of the old SSR guide and the new one here:

https://github.com/TanStack/form/commit/a9e3852f6e88ea2c1ca1eda85c5b7495e4c936e4#diff-7589cfcbf048311003c3cdc2e48d40fe17dbb21a88c1070695758e43f8efe898

Packages

form - https://github.com/TanStack/form/releases/tag/v0.22.1

Published by tannerlinsley 4 months ago

Version 0.22.1 - 6/20/24, 12:28 AM

Changes

Fix

  • solid-form: Add solid export condition (#631) (e9e0bab) by Brendan Allan

Packages

form -

Published by tannerlinsley 4 months ago

Version 0.22.0 - 6/19/24, 7:11 AM (Manual Release)

Changes

  • feat!: add ability to transform errors from validators. (#755) (b67bd8d) by Toma

To migrate, call your validators like:

validator: yupValidator()

And no longer like:

validator: yupValidator

Packages

form - https://github.com/TanStack/form/releases/tag/v0.21.1

Published by tannerlinsley 4 months ago

Version 0.21.1 - 6/19/24, 6:29 AM

Changes

Fix

  • core: fix DeepKeys not support partial nested object (#739) (8662c40) by @fkworld

Ci

  • Update workspace dependencies (#754) (7228ad2) by Lachlan Collins

Docs

  • update discord invite link (#744) (203217c) by Leonardo Montini

Packages

form - https://github.com/TanStack/form/releases/tag/v0.21.0

Published by tannerlinsley 4 months ago

Version 0.21.0 - 6/10/2024, 10:27 PM

Changes

Feat

  • core: forward options from field to form methods (#701) (5670725) by Joshua Gawenda

Fix

  • React TSC usage for 4.9 now works properly (#733) (4879e32) by Corbin Crutchley

Docs

  • fix typos in SSR warning (#731) (8076d16) by Corbin Crutchley
  • add note about backend leak on ssr example (#730) (3cec2a3) by Benjamín Vicente

Other

  • feat!: upgrade and migrate Valibot to v0.31.0 (#729) (2c87480) by Fabian Hiller
  • feat!: rename insertValue to replaceValue and add new insertValue implementation (#697) (ecae7bb) by Leonardo Montini

Packages

Package Rankings
Top 5.44% on Npmjs.org
Top 6.68% on Proxy.golang.org