Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

CHANGELOG.md

388 lines14.4 KB

1# @tanstack/solid-form
2​
3## 2.0.0-alpha.3
4​
5### Major Changes
6​
7- Release the first alpha of TanStack Form v2.
8​
9### Minor Changes
10​
11- Feature: Specify default options for `createFormHook`
12​
13- [#2365](https://github.com/TanStack/form/pull/2365) [`f8bbc25`](https://github.com/TanStack/form/commit/f8bbc25affcf5560b1da0c9c357fd62ef2108dd9) - Feat: Field groups may now omit identity bindings like `fields={{ a: 'a' }}`
14​
15### Patch Changes
16​
17- Refactor: Adapter `formOptions`/`appFormOptions` no longer shim the core types and runtime.
18​
19 BREAKING: `formOptions.looseSchema` and `formOptions.strictSchema` now require a schema as
20 first parameter. This locks down inference to get the best type safety out of it vs. the options object alone.
21​
22 Fix: `formOptions.looseSchema` now allows `defaultValues` to omit properties instead of
23 requiring them to be explicitly undefined.
24​
25- Fix: Subscription selectors now infer tuple return values without requiring `as const`.
26- Updated dependencies [[`584fcd9`](https://github.com/TanStack/form/commit/584fcd960a02590fe17a56fdd0648c50a5d584d6), [`a679245`](https://github.com/TanStack/form/commit/a679245889285779747444c2e64de5473aacc4db), [`395d61c`](https://github.com/TanStack/form/commit/395d61ccec8ed6d7ee75b0e00e6196909e866cb7), [`f8bbc25`](https://github.com/TanStack/form/commit/f8bbc25affcf5560b1da0c9c357fd62ef2108dd9)]:
27 - @tanstack/form-core@2.0.0-alpha.3
28​
29## 2.0.0-alpha.2
30​
31### Minor Changes
32​
33- [#2343](https://github.com/TanStack/form/pull/2343) [`532cba4`](https://github.com/TanStack/form/commit/532cba44680609577f75020918cdf264dadf51dd) - Feature: Specify default options for `createFormHook`
34​
35### Patch Changes
36​
37- [#2348](https://github.com/TanStack/form/pull/2348) [`4e37c69`](https://github.com/TanStack/form/commit/4e37c69b8acc1428149ece979ffe2ba3190c15d3) - Refactor: Adapter `formOptions`/`appFormOptions` no longer shim the core types and runtime.
38​
39 BREAKING: `formOptions.looseSchema` and `formOptions.strictSchema` now require a schema as
40 first parameter. This locks down inference to get the best type safety out of it vs. the options object alone.
41​
42 Fix: `formOptions.looseSchema` now allows `defaultValues` to omit properties instead of
43 requiring them to be explicitly undefined.
44​
45- [#2339](https://github.com/TanStack/form/pull/2339) [`c7e102b`](https://github.com/TanStack/form/commit/c7e102bcf134b12a402d6f80f6c3c63ce377a1e9) - Fix: Subscription selectors now infer tuple return values without requiring `as const`.
46​
47- Updated dependencies [[`532cba4`](https://github.com/TanStack/form/commit/532cba44680609577f75020918cdf264dadf51dd), [`4e37c69`](https://github.com/TanStack/form/commit/4e37c69b8acc1428149ece979ffe2ba3190c15d3), [`c7e102b`](https://github.com/TanStack/form/commit/c7e102bcf134b12a402d6f80f6c3c63ce377a1e9), [`63c9ea3`](https://github.com/TanStack/form/commit/63c9ea32b4efa95897e42a729406b89e0e92a708)]:
48 - @tanstack/form-core@2.0.0-alpha.2
49​
50## 2.0.0-alpha.1
51​
52### Patch Changes
53​
54- Updated dependencies [[`547cbea`](https://github.com/TanStack/form/commit/547cbea2eebeb0b9ec8a6e9141d35fbf4d963429), [`46c12c7`](https://github.com/TanStack/form/commit/46c12c773932c0e7c89a2deb9c4aadd747973348), [`4341660`](https://github.com/TanStack/form/commit/43416603987c14a2c9435ba367488068805589a6), [`fc424c0`](https://github.com/TanStack/form/commit/fc424c072197e70549460ca221c687562d138b9b)]:
55 - @tanstack/form-core@2.0.0-alpha.1
56​
57## 2.0.0-alpha.0
58​
59### Major Changes
60​
61- [#2288](https://github.com/TanStack/form/pull/2288) [`e68d53b`](https://github.com/TanStack/form/commit/e68d53b6882904f4606eae3481d11a0ca50ccd24) - Release the first alpha of TanStack Form v2.
62​
63### Patch Changes
64​
65- Updated dependencies [[`e68d53b`](https://github.com/TanStack/form/commit/e68d53b6882904f4606eae3481d11a0ca50ccd24)]:
66 - @tanstack/form-core@2.0.0-alpha.0
67​
68## 1.33.3
69​
70### Patch Changes
71​
72- Updated dependencies []:
73 - @tanstack/form-core@1.33.3
74​
75## 1.33.2
76​
77### Patch Changes
78​
79- Updated dependencies []:
80 - @tanstack/form-core@1.33.2
81​
82## 1.33.1
83​
84### Patch Changes
85​
86- [#2206](https://github.com/TanStack/form/pull/2206) [`df52a12`](https://github.com/TanStack/form/commit/df52a12c8772cb025bfba6773c5ff0a488211662) - Re-export `useSelector` from TanStack Store adapters and document migration from deprecated `useStore` (fixes [#2203](https://github.com/TanStack/form/issues/2203)).
87​
88- Updated dependencies [[`3c57f6d`](https://github.com/TanStack/form/commit/3c57f6d4311f823ab39374417edb5fae544ad15a), [`7b3012b`](https://github.com/TanStack/form/commit/7b3012b03e706cc409c2952964145a11a300d7fe), [`741da6b`](https://github.com/TanStack/form/commit/741da6bb659a319acaa55292564999fcbbc90012), [`3c57f6d`](https://github.com/TanStack/form/commit/3c57f6d4311f823ab39374417edb5fae544ad15a), [`6cd477a`](https://github.com/TanStack/form/commit/6cd477a97df9612019d8a2d9c97f2e86b1b59256), [`887a129`](https://github.com/TanStack/form/commit/887a1293375a168452e82b0fb482841ec02ad77f)]:
89 - @tanstack/form-core@1.33.1
90​
91## 1.33.1
92​
93### Patch Changes
94​
95- Re-export `useSelector` from `@tanstack/solid-store`. Add `form.useSelector`; `form.useStore` is deprecated (fixes [#2203](https://github.com/TanStack/form/issues/2203)).
96​
97## 1.33.0
98​
99### Minor Changes
100​
101- [#2128](https://github.com/TanStack/form/pull/2128) [`808f158`](https://github.com/TanStack/form/commit/808f158b62c08f69689a7b652c35989d717f9014) - Added FormGroup API
102​
103### Patch Changes
104​
105- Updated dependencies [[`808f158`](https://github.com/TanStack/form/commit/808f158b62c08f69689a7b652c35989d717f9014)]:
106 - @tanstack/form-core@1.33.0
107​
108## 1.32.1
109​
110### Patch Changes
111​
112- Updated dependencies [[`b402d7a`](https://github.com/TanStack/form/commit/b402d7ab134adca0d0d4647af12fde9b490c08f7), [`d0d941d`](https://github.com/TanStack/form/commit/d0d941dc1a4bd4ac15bb38a9ca1b4a863a3f418e)]:
113 - @tanstack/form-core@1.32.1
114​
115## 1.32.0
116​
117### Patch Changes
118​
119- prevent full array re-renders in array mode ([#2169](https://github.com/TanStack/form/pull/2169))
120​
121- re-render arrays when length doesn't change but values do ([#2172](https://github.com/TanStack/form/pull/2172))
122​
123- Updated dependencies [[`5dd1ed4`](https://github.com/TanStack/form/commit/5dd1ed4e9eb0fb9c3f8909dfb58236c07c27739d), [`556e35e`](https://github.com/TanStack/form/commit/556e35e30ad75f536ae253960a371c32ae138e29), [`427b3d9`](https://github.com/TanStack/form/commit/427b3d9fd516b8222339ae7e8e38844f198c5d7a), [`01f51b5`](https://github.com/TanStack/form/commit/01f51b54f551e1cb052b222652fbf6e05c9f2b44), [`4d250c0`](https://github.com/TanStack/form/commit/4d250c0c10433484ba6f622d94ca1a56bd0768d0)]:
124 - @tanstack/form-core@1.32.0
125​
126## 1.31.0
127​
128### Patch Changes
129​
130- Updated dependencies []:
131 - @tanstack/form-core@1.31.0
132​
133## 1.30.0
134​
135### Patch Changes
136​
137- Updated dependencies []:
138 - @tanstack/form-core@1.30.0
139​
140## 1.29.3
141​
142### Patch Changes
143​
144- Updated dependencies []:
145 - @tanstack/form-core@1.29.3
146​
147## 1.29.2
148​
149### Patch Changes
150​
151- Remove errant `Field.Field` usage and `useForm().useField()` ([`94f9841`](https://github.com/TanStack/form/commit/94f984161a8d4c5cb41aa37b61d63d5744ef01d5))
152​
153- Updated dependencies []:
154 - @tanstack/form-core@1.29.2
155​
156## 1.29.1
157​
158### Patch Changes
159​
160- Updated dependencies [[`6b8aa1e`](https://github.com/TanStack/form/commit/6b8aa1e92d883dfbdddbd5f0393a31d2e7120d3d)]:
161 - @tanstack/form-core@1.29.1
162​
163## 1.29.0
164​
165### Patch Changes
166​
167- Updated dependencies []:
168 - @tanstack/form-core@1.29.0
169​
170## 1.28.6
171​
172### Patch Changes
173​
174- Updated dependencies [[`7a1428d`](https://github.com/TanStack/form/commit/7a1428d6ce2806069b3d7b8f8b2aacc26315b771)]:
175 - @tanstack/form-core@1.28.6
176​
177## 1.28.5
178​
179### Patch Changes
180​
181- Updated dependencies [[`39932c1`](https://github.com/TanStack/form/commit/39932c1da28b5e4ea4b73f8b488d92fc100ccc41)]:
182 - @tanstack/form-core@1.28.5
183​
184## 1.28.4
185​
186### Patch Changes
187​
188- Fix props passed to `withForm` and `withFieldGroup` not being reactive. ([#2058](https://github.com/TanStack/form/pull/2058))
189​
190 Object spread (`{ ...props, ...innerProps }`) was eagerly evaluating SolidJS reactive getters, producing a static snapshot that broke signal tracking. Replaced with `mergeProps()` to preserve getter descriptors and `createComponent()` to maintain the correct reactive context.
191​
192- Refactor internals for substancially faster performance ([#2035](https://github.com/TanStack/form/pull/2035))
193​
194- Updated dependencies [[`f88faaf`](https://github.com/TanStack/form/commit/f88faaf72d265fdcbe99887421bd97dd03cb703e)]:
195 - @tanstack/form-core@1.28.4
196​
197## 1.28.3
198​
199### Patch Changes
200​
201- form arrays now work again ([#2041](https://github.com/TanStack/form/pull/2041))
202​
203- Updated dependencies [[`0b3952d`](https://github.com/TanStack/form/commit/0b3952d9805b4f1756829faa012e4112c14859a7)]:
204 - @tanstack/form-core@1.28.3
205​
206## 1.28.2
207​
208### Patch Changes
209​
210- bump @tanstack/store dependency to 0.8.0 ([#2038](https://github.com/TanStack/form/pull/2038))
211​
212- Updated dependencies [[`a07862d`](https://github.com/TanStack/form/commit/a07862de23ea008c7dd3821edd880b6ebc569016)]:
213 - @tanstack/form-core@1.28.2
214​
215## 1.28.1
216​
217### Patch Changes
218​
219- Updated dependencies [[`72d970a`](https://github.com/TanStack/form/commit/72d970add6ab682d733e35a95e5e1f44efb695d2)]:
220 - @tanstack/form-core@1.28.1
221​
222## 1.28.0
223​
224### Patch Changes
225​
226- fix: flatten errors consistently when validating before field mount ([#2003](https://github.com/TanStack/form/pull/2003))
227​
228 Fixed an issue where `field.errors` was incorrectly nested as `[[error]]` instead of `[error]` when `form.validate()` was called manually before a field was mounted. The `flat(1)` operation is now applied by default unless `disableErrorFlat` is explicitly set to true, ensuring consistent error structure regardless of when validation occurs.
229​
230- Updated dependencies [[`41faffe`](https://github.com/TanStack/form/commit/41faffee657e753b37132275c2255d29fdd3f325), [`7f2453b`](https://github.com/TanStack/form/commit/7f2453baf8c852adfab2475fa3f110f597b24c52)]:
231 - @tanstack/form-core@1.28.0
232​
233## 1.27.7
234​
235### Patch Changes
236​
237- Fix double-rendering of Solid fields ([#1959](https://github.com/TanStack/form/pull/1959))
238​
239- Updated dependencies [[`3519cce`](https://github.com/TanStack/form/commit/3519cce63072e87989bfa1b83b845e8d645d2725)]:
240 - @tanstack/form-core@1.27.7
241​
242## 1.27.6
243​
244### Patch Changes
245​
246- Updated dependencies [[`c526378`](https://github.com/TanStack/form/commit/c5263786ed8b12144837ddb87f43c87fa4efc2d4)]:
247 - @tanstack/form-core@1.27.6
248​
249## 1.27.5
250​
251### Patch Changes
252​
253- Updated dependencies [[`36fa503`](https://github.com/TanStack/form/commit/36fa503f21c59e68138a21de7038bf941a579b55), [`01b24a9`](https://github.com/TanStack/form/commit/01b24a9aa54f7d908830af352cacd51fddf65bbe)]:
254 - @tanstack/form-core@1.27.5
255​
256## 1.27.4
257​
258### Patch Changes
259​
260- Using any Signal inside the Form.AppField render function no longer causes the entire component to re-run whenever that Signal changes. ([#1934](https://github.com/TanStack/form/pull/1934))
261​
262- Updated dependencies [[`c753d5e`](https://github.com/TanStack/form/commit/c753d5eca5021c231bcdfd5f0a337156958fcde1)]:
263 - @tanstack/form-core@1.27.4
264​
265## 1.27.3
266​
267### Patch Changes
268​
269- Updated dependencies [[`c2ecf5d`](https://github.com/TanStack/form/commit/c2ecf5d6df0034d2db982f9b55aed963d94a76a3)]:
270 - @tanstack/form-core@1.27.3
271​
272## 1.27.2
273​
274### Patch Changes
275​
276- Updated dependencies []:
277 - @tanstack/form-core@1.27.2
278​
279## 1.27.1
280​
281### Patch Changes
282​
283- Updated dependencies [[`3b080ec`](https://github.com/TanStack/form/commit/3b080ec1faefa9894c0f73880dbff680888e6a9a)]:
284 - @tanstack/form-core@1.27.1
285​
286## 1.27.0
287​
288### Patch Changes
289​
290- Updated dependencies [[`8afbfc3`](https://github.com/TanStack/form/commit/8afbfc39d7373ec2b516f7c8ff5585ca44098cc1), [`4e92a91`](https://github.com/TanStack/form/commit/4e92a913e109f54463be572cdc3f09232e9d2701)]:
291 - @tanstack/form-core@1.27.0
292​
293## 1.26.0
294​
295### Minor Changes
296​
297- add withFieldGroup API Solid Form Composition ([#1783](https://github.com/TanStack/form/pull/1783))
298​
299### Patch Changes
300​
301- Updated dependencies [[`74f40e7`](https://github.com/TanStack/form/commit/74f40e7d0a862dcb4dbda3481b3a23482883a0a2)]:
302 - @tanstack/form-core@1.26.0
303​
304## 1.25.0
305​
306### Patch Changes
307​
308- Updated dependencies [[`004835f`](https://github.com/TanStack/form/commit/004835fbc113f36ac32fc5691ad27bc00813f389)]:
309 - @tanstack/form-core@1.25.0
310​
311## 1.23.9
312​
313### Patch Changes
314​
315- Updated dependencies [[`8ede6d0`](https://github.com/TanStack/form/commit/8ede6d0bb5615a105f54c13d3160d0243ea6c041)]:
316 - @tanstack/form-core@1.24.5
317​
318## 1.23.8
319​
320### Patch Changes
321​
322- form-core: Optimise event client emissions and minor layout tweaks ([#1758](https://github.com/TanStack/form/pull/1758))
323​
324- Updated dependencies [[`94631cb`](https://github.com/TanStack/form/commit/94631cb97dea611de69a900c89b7e8dfe0eeee37)]:
325 - @tanstack/form-core@1.24.4
326​
327## 1.23.7
328​
329### Patch Changes
330​
331- Updated dependencies [[`33cce81`](https://github.com/TanStack/form/commit/33cce812cbfeb42aa7457bab220a807ff5c4ba7f)]:
332 - @tanstack/form-core@1.24.3: respect dontValidate option in formApi array modifiers ([#1775](https://github.com/TanStack/form/pull/1775))
333​
334## 1.23.6
335​
336### Patch Changes
337​
338- Updated dependencies [[`74af33e`](https://github.com/TanStack/form/commit/74af33eb80218b8cec8642b64ce7e69a62a65248)]:
339 - @tanstack/form-core@1.24.2: prevent runtime errors when using `deleteField` ([#1706](https://github.com/TanStack/form/pull/1706))
340​
341## 1.23.5
342​
343### Patch Changes
344​
345- Updated dependencies [[`2cfe44c`](https://github.com/TanStack/form/commit/2cfe44ce1e35235ae37ee260dc943a94c9feb71d)]:
346 - @tanstack/form-core@1.24.1
347​
348## 1.23.4
349​
350### Patch Changes
351​
352- Updated dependencies [[`c978946`](https://github.com/TanStack/form/commit/c97894688c6f5f1953a87c26890e156ecb0bcaab)]:
353 - @tanstack/form-core@1.24.0
354​
355## 1.23.3
356​
357### Patch Changes
358​
359- Updated dependencies [[`f608267`](https://github.com/TanStack/form/commit/f6082674290a2ec5bc1d3ae33f193539ac7fc4b6)]:
360 - @tanstack/form-core@1.23.3
361​
362## 1.23.2
363​
364### Patch Changes
365​
366- Updated dependencies [[`7cf3728`](https://github.com/TanStack/form/commit/7cf3728a7b75e077802b427db2a387e36b23682a)]:
367 - @tanstack/form-core@1.23.2
368​
369## 1.23.1
370​
371### Patch Changes
372​
373- Updated dependencies [[`db96886`](https://github.com/TanStack/form/commit/db96886a8bf9d3d944bf09fc050b4c2c4b514851)]:
374 - @tanstack/form-core@1.23.1
375​
376## 1.23.0
377​
378### Patch Changes
379​
380- Updated dependencies [[`773c1b8`](https://github.com/TanStack/form/commit/773c1b8d9e1b82b5403633691de22f1a1e188d4f), [`1e36222`](https://github.com/TanStack/form/commit/1e362224d3086f67d8a49839d196edd7aa78c04d)]:
381 - @tanstack/form-core@1.23.0
382​
383## 1.21.1
384​
385### Patch Changes
386​
387- Updated dependencies [[`d2b6063`](https://github.com/TanStack/form/commit/d2b6063c0fc5406235f8be5462c19497717dfd0d)]:
388 - @tanstack/form-core@1.22.0