Commit Graph

48 Commits

Author SHA1 Message Date
Tanner Linsley
57c9f5fa7c release: v0.2.0 2023-09-08 00:56:08 +00:00
Corbin Crutchley
15d4af9570 chore: migrate to TSUp (#446)
* chore: migrate to TSUp

* chore: fix build
2023-09-07 17:54:16 -07:00
Tanner Linsley
d6da133a29 release: v0.1.3 2023-09-07 22:56:33 +00:00
Tanner Linsley
6ffa574a66 release: v0.1.2 2023-09-07 02:35:32 +00:00
Corbin Crutchley
6f76feee6b fix: onSubmit should now behave as expected
* fix: memoize all non-function form props by default

* chore: migrate useStableFormOpts to useMemo

* fix: options passed to useField will not always cause a re-render

* chore: minor code cleanups

* test: add previously failing test to demonstrate fix

* chore: fix linting

* fix: running form.update repeatedly should not wipe form state

* test: add test to validate formapi update behavior

* test: add initial tests for useStableOptions

* chore: remove useStableOpts and useFormCallback
2023-09-06 19:33:52 -07:00
Tanner Linsley
9424ed94f8 release: v0.1.1 2023-09-04 00:01:18 +00:00
Tanner Linsley
de22b6c38a release: v0.1.0 2023-09-03 23:50:16 +00:00
Corbin Crutchley
7980336d03 feat: remove getInputProps to support React Native 2023-09-03 16:48:51 -07:00
Corbin Crutchley
2a31bd8219 feat: remove getFormProps to support React Native 2023-09-03 16:48:51 -07:00
Tanner Linsley
48e7825686 release: v0.0.15 2023-09-02 14:47:13 +00:00
Gabriel Tavares
6eca66ee0b refactor: change form options spread to object assign (#421)
Co-authored-by: Corbin Crutchley <git@crutchcorn.dev>
2023-09-02 07:45:47 -07:00
Corbin Crutchley
4cb122551b Update store packages to match dedicated repo (#427)
* chore: update store dependency

* fix: form meta should never be undefined now

* chore: fix tests that only break on fast computers

Guess I don't need to upgrade my computer anytime soon 😅😅
2023-09-02 01:00:27 -07:00
João Pedro Magalhães
09edc1fc1a test(react-form): add on change validation tests (#425)
Co-authored-by: João Pedro Magalhães <joaopsilvamagalhaes@gmail.com>
2023-09-02 00:35:41 -07:00
Tanner Linsley
c6b246de9e release: v0.0.14 2023-08-31 22:29:44 +00:00
Tanner Linsley
dc8d88bb7c release: v0.0.13 2023-08-31 20:52:17 +00:00
Gabriel Tavares
d8ff96087d fix: cannot update a component/bad setState (#420)
* fix: cannot update a component/bad setState

* fix: add dep useEffect in useForm

* fix: add missing deps in useForm
2023-08-31 13:50:49 -07:00
Tanner Linsley
8a2f755417 release: v0.0.12 2023-08-29 08:29:14 +00:00
Corbin Crutchley
7ee5524693 fix: Initial FieldAPI tests, made FieldAPI typings much more strict (#405)
* fix: initial work at fixing the typescript typings for fieldapi to be more strict

* chore(form-core): change implementation of strict tdata

* fix(form-core): insertValue should now be typed properly

* test(form-core): validate array helpers

* fix(form-core): make types for getSubField more narrow

* chore: autoformat with prettier

* chore: fix tests, eslint

* chore: upgrade eslint deps

* chore: upgrade nx and concurrent

* chore: remove svelte from prettier plugins

* chore: upgrade TypeScript version to avoid a TS codegen bug

* chore: remove React 17 CI script temporarily

* chore: fix build and formatter
2023-08-28 08:33:44 -06:00
Corbin Crutchley
123e7a0f7e Fix defaults (#403)
* chore: inital work to migrate to Query's alpha package setup

* chore: update deps

* chore: fix build issues

* chore: disable no-children-prop rule

* fix: user input now works

* fix: useForm defaults now work as-expected
2023-07-04 21:08:03 -06:00
Corbin Crutchley
74ac9f4b9c Update build tooling (#401)
* chore: inital work to migrate to Query's alpha package setup

* chore: update deps

* chore: fix build issues

* chore: disable no-children-prop rule
2023-07-04 21:06:03 -06:00
Tanner Linsley
9beacc44a0 release: v0.0.11 2023-06-13 21:38:41 +00:00
Brandon Bayer
a3f9709dde fix: several type and build errors and fix example type inference (#399)
* fix few type errors and fix example

* couple fixes

* fix babel
2023-06-13 15:36:42 -06:00
Tanner Linsley
bebd998a55 fix: release
RELEASE_ALL
2023-06-12 09:23:40 -06:00
Tanner Linsley
884235f211 fix: router + store 2023-05-07 23:33:39 -06:00
Tanner Linsley
ee4cc3f51f release: v0.0.10 2023-05-04 23:07:20 +00:00
Tanner Linsley
ca8f244b5e fix: form.Provider 2023-05-04 16:05:36 -07:00
Tanner Linsley
07ddd2c2d6 Merge branch 'main' of https://github.com/TanStack/form 2023-05-04 15:39:17 -07:00
Tanner Linsley
b37628d337 fix: remove form.Form for headless form.getFormProps() 2023-05-04 15:39:15 -07:00
Tanner Linsley
7526403730 release: v0.0.9 2023-05-04 19:45:27 +00:00
Tanner Linsley
2ae8db4a1c release: v0.0.8 2023-05-04 19:34:37 +00:00
Tanner Linsley
6d75eba15a fix: update form props on render 2023-05-04 12:22:31 -07:00
Tanner Linsley
62a82fe48f fix: array-field mode and utilities 2023-05-03 15:16:56 -07:00
Tanner Linsley
ab651b4c2b release: v0.0.7 2023-05-01 18:24:18 +00:00
Tanner Linsley
39555fc8a2 release: v0.0.6 2023-05-01 18:00:45 +00:00
Tanner Linsley
f05ab79ef6 fix: Cross-platform FormSubmitEvent via Register 2023-05-01 11:58:55 -06:00
Tanner Linsley
c444704ae3 fix: complete form factory functionality, docs 2023-05-01 10:59:37 -06:00
Tanner Linsley
b274bccf3d fix: createFormFactory 2023-05-01 10:27:51 -06:00
Tanner Linsley
140daf605c release: v0.0.5 2023-04-27 19:28:58 +00:00
Tanner Linsley
5e209cd8d9 release: v0.0.4 2023-04-26 23:50:28 +00:00
Tanner Linsley
4862d15ff9 release: v0.0.3 2023-04-26 20:59:42 +00:00
Tanner Linsley
d7cb9b43dd fix: react reexports core, sync + async validation, debouncing 2023-04-26 14:57:53 -06:00
Tanner Linsley
aa92d2028d release: v0.0.2 2023-04-26 06:01:54 +00:00
Tanner Linsley
1097629559 release: v4.0.2 2023-04-26 05:47:56 +00:00
Zachary DeRose
449f5ee806 Fixing failing tasks in ci workflow (#394)
* fixing jest config

* fixing eslint errors for react-form

* fixing script lints

* configuring prettier to ignore built files

* updating eslint deps

* updating pnpm lockfile

* updating dep install step in pr workflow

* rm reference to custom validatePackages script

* fixing code sandbox failure

* attempting to fix frozen locfile issue

* fixing install:csb step

* removing unnecessary type assignment
2023-04-25 22:59:49 -06:00
Tanner Linsley
4fc3e7ce6c checkpoint 2023-04-25 16:16:54 -06:00
Tanner Linsley
63c400737a checkpoint 2023-04-25 10:51:17 -06:00
Tanner Linsley
a4fa4f0da8 GPT that shiz 2023-04-24 23:58:54 -06:00
Tanner Linsley
9a18e45de7 big changes 2023-04-24 15:44:59 -06:00