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

CHANGELOG.md

377 lines13.6 KB

1# @tanstack/angular-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- [#2426](https://github.com/TanStack/form/pull/2426) [`395d61c`](https://github.com/TanStack/form/commit/395d61ccec8ed6d7ee75b0e00e6196909e866cb7) - 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
12​
13 `validatorOutputs` now allows a callback validator to specify data that the submit function should know. Schemas do this
14 automatically, but now you can do it manually as well:
15 `run: ({ createOutput }) => createOutput('This is not a validation error and onSubmit can use this')`
16​
17 The current map is:
18​
19 | Validator | `onSubmit: ({ validatorOutputs }) => ...` |
20 | -------------------------- | ----------------------------------------- |
21 | Schema | Schema's output data |
22 | `createOutput(X)` | `X` |
23 | Default callback validator | `undefined` |
24 | Validation error | N/A, `onSubmit` doesn't run |
25​
26### Patch Changes
27​
28- Refactor: Adapter `formOptions`/`appFormOptions` no longer shim the core types and runtime.
29​
30 BREAKING: `formOptions.looseSchema` and `formOptions.strictSchema` now require a schema as
31 first parameter. This locks down inference to get the best type safety out of it vs. the options object alone.
32​
33 Fix: `formOptions.looseSchema` now allows `defaultValues` to omit properties instead of
34 requiring them to be explicitly undefined.
35​
36- Fix: Subscription selectors now infer tuple return values without requiring `as const`.
37- 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)]:
38 - @tanstack/form-core@2.0.0-alpha.3
39​
40## 2.0.0-alpha.2
41​
42### Patch Changes
43​
44- [#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.
45​
46 BREAKING: `formOptions.looseSchema` and `formOptions.strictSchema` now require a schema as
47 first parameter. This locks down inference to get the best type safety out of it vs. the options object alone.
48​
49 Fix: `formOptions.looseSchema` now allows `defaultValues` to omit properties instead of
50 requiring them to be explicitly undefined.
51​
52- [#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`.
53​
54- 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)]:
55 - @tanstack/form-core@2.0.0-alpha.2
56​
57## 2.0.0-alpha.1
58​
59### Patch Changes
60​
61- 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)]:
62 - @tanstack/form-core@2.0.0-alpha.1
63​
64## 2.0.0-alpha.0
65​
66### Major Changes
67​
68- [#2288](https://github.com/TanStack/form/pull/2288) [`e68d53b`](https://github.com/TanStack/form/commit/e68d53b6882904f4606eae3481d11a0ca50ccd24) - Release the first alpha of TanStack Form v2.
69​
70### Patch Changes
71​
72- Updated dependencies [[`e68d53b`](https://github.com/TanStack/form/commit/e68d53b6882904f4606eae3481d11a0ca50ccd24)]:
73 - @tanstack/form-core@2.0.0-alpha.0
74​
75## 1.33.3
76​
77### Patch Changes
78​
79- Updated dependencies []:
80 - @tanstack/form-core@1.33.3
81​
82## 1.33.2
83​
84### Patch Changes
85​
86- Updated dependencies []:
87 - @tanstack/form-core@1.33.2
88​
89## 1.33.1
90​
91### Patch Changes
92​
93- 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)]:
94 - @tanstack/form-core@1.33.1
95​
96## 1.33.0
97​
98### Minor Changes
99​
100- [#2128](https://github.com/TanStack/form/pull/2128) [`808f158`](https://github.com/TanStack/form/commit/808f158b62c08f69689a7b652c35989d717f9014) - Added FormGroup API
101​
102### Patch Changes
103​
104- Updated dependencies [[`808f158`](https://github.com/TanStack/form/commit/808f158b62c08f69689a7b652c35989d717f9014)]:
105 - @tanstack/form-core@1.33.0
106​
107## 1.32.1
108​
109### Patch Changes
110​
111- Updated dependencies [[`b402d7a`](https://github.com/TanStack/form/commit/b402d7ab134adca0d0d4647af12fde9b490c08f7), [`d0d941d`](https://github.com/TanStack/form/commit/d0d941dc1a4bd4ac15bb38a9ca1b4a863a3f418e)]:
112 - @tanstack/form-core@1.32.1
113​
114## 1.32.0
115​
116### Patch Changes
117​
118- prevent full array re-renders in array mode ([#2171](https://github.com/TanStack/form/pull/2171))
119​
120- re-render arrays when length doesn't change but values do ([#2172](https://github.com/TanStack/form/pull/2172))
121​
122- 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)]:
123 - @tanstack/form-core@1.32.0
124​
125## 1.31.0
126​
127### Minor Changes
128​
129- Add tanstack-with-form API for more modular form usage ([#2163](https://github.com/TanStack/form/pull/2163))
130​
131### Patch Changes
132​
133- Updated dependencies []:
134 - @tanstack/form-core@1.31.0
135​
136## 1.30.0
137​
138### Patch Changes
139​
140- Updated dependencies []:
141 - @tanstack/form-core@1.30.0
142​
143## 1.29.3
144​
145### Patch Changes
146​
147- Updated dependencies []:
148 - @tanstack/form-core@1.29.3
149​
150## 1.29.2
151​
152### Patch Changes
153​
154- Updated dependencies []:
155 - @tanstack/form-core@1.29.2
156​
157## 1.29.1
158​
159### Patch Changes
160​
161- Updated dependencies [[`6b8aa1e`](https://github.com/TanStack/form/commit/6b8aa1e92d883dfbdddbd5f0393a31d2e7120d3d)]:
162 - @tanstack/form-core@1.29.1
163​
164## 1.29.0
165​
166### Patch Changes
167​
168- Updated dependencies []:
169 - @tanstack/form-core@1.29.0
170​
171## 1.28.6
172​
173### Patch Changes
174​
175- Updated dependencies [[`7a1428d`](https://github.com/TanStack/form/commit/7a1428d6ce2806069b3d7b8f8b2aacc26315b771)]:
176 - @tanstack/form-core@1.28.6
177​
178## 1.28.5
179​
180### Patch Changes
181​
182- Updated dependencies [[`39932c1`](https://github.com/TanStack/form/commit/39932c1da28b5e4ea4b73f8b488d92fc100ccc41)]:
183 - @tanstack/form-core@1.28.5
184​
185## 1.28.4
186​
187### Patch Changes
188​
189- Refactor internals for substancially faster performance ([#2035](https://github.com/TanStack/form/pull/2035))
190​
191- Updated dependencies [[`f88faaf`](https://github.com/TanStack/form/commit/f88faaf72d265fdcbe99887421bd97dd03cb703e)]:
192 - @tanstack/form-core@1.28.4
193​
194## 1.28.3
195​
196### Patch Changes
197​
198- form arrays now work again ([#2041](https://github.com/TanStack/form/pull/2041))
199​
200- Updated dependencies [[`0b3952d`](https://github.com/TanStack/form/commit/0b3952d9805b4f1756829faa012e4112c14859a7)]:
201 - @tanstack/form-core@1.28.3
202​
203## 1.28.2
204​
205### Patch Changes
206​
207- bump @tanstack/store dependency to 0.8.0 ([#2038](https://github.com/TanStack/form/pull/2038))
208​
209- Updated dependencies [[`a07862d`](https://github.com/TanStack/form/commit/a07862de23ea008c7dd3821edd880b6ebc569016)]:
210 - @tanstack/form-core@1.28.2
211​
212## 1.28.1
213​
214### Patch Changes
215​
216- Updated dependencies [[`72d970a`](https://github.com/TanStack/form/commit/72d970add6ab682d733e35a95e5e1f44efb695d2)]:
217 - @tanstack/form-core@1.28.1
218​
219## 1.28.0
220​
221### Patch Changes
222​
223- fix: flatten errors consistently when validating before field mount ([#2003](https://github.com/TanStack/form/pull/2003))
224​
225 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.
226​
227- Updated dependencies [[`41faffe`](https://github.com/TanStack/form/commit/41faffee657e753b37132275c2255d29fdd3f325), [`7f2453b`](https://github.com/TanStack/form/commit/7f2453baf8c852adfab2475fa3f110f597b24c52)]:
228 - @tanstack/form-core@1.28.0
229​
230## 1.27.7
231​
232### Patch Changes
233​
234- Updated dependencies [[`3519cce`](https://github.com/TanStack/form/commit/3519cce63072e87989bfa1b83b845e8d645d2725)]:
235 - @tanstack/form-core@1.27.7
236​
237## 1.27.6
238​
239### Patch Changes
240​
241- Updated dependencies [[`c526378`](https://github.com/TanStack/form/commit/c5263786ed8b12144837ddb87f43c87fa4efc2d4)]:
242 - @tanstack/form-core@1.27.6
243​
244## 1.27.5
245​
246### Patch Changes
247​
248- Updated dependencies [[`36fa503`](https://github.com/TanStack/form/commit/36fa503f21c59e68138a21de7038bf941a579b55), [`01b24a9`](https://github.com/TanStack/form/commit/01b24a9aa54f7d908830af352cacd51fddf65bbe)]:
249 - @tanstack/form-core@1.27.5
250​
251## 1.27.4
252​
253### Patch Changes
254​
255- Updated dependencies [[`c753d5e`](https://github.com/TanStack/form/commit/c753d5eca5021c231bcdfd5f0a337156958fcde1)]:
256 - @tanstack/form-core@1.27.4
257​
258## 1.27.3
259​
260### Patch Changes
261​
262- Updated dependencies [[`c2ecf5d`](https://github.com/TanStack/form/commit/c2ecf5d6df0034d2db982f9b55aed963d94a76a3)]:
263 - @tanstack/form-core@1.27.3
264​
265## 1.27.2
266​
267### Patch Changes
268​
269- Updated dependencies []:
270 - @tanstack/form-core@1.27.2
271​
272## 1.27.1
273​
274### Patch Changes
275​
276- Updated dependencies [[`3b080ec`](https://github.com/TanStack/form/commit/3b080ec1faefa9894c0f73880dbff680888e6a9a)]:
277 - @tanstack/form-core@1.27.1
278​
279## 1.27.0
280​
281### Patch Changes
282​
283- Updated dependencies [[`8afbfc3`](https://github.com/TanStack/form/commit/8afbfc39d7373ec2b516f7c8ff5585ca44098cc1), [`4e92a91`](https://github.com/TanStack/form/commit/4e92a913e109f54463be572cdc3f09232e9d2701)]:
284 - @tanstack/form-core@1.27.0
285​
286## 1.26.0
287​
288### Patch Changes
289​
290- Updated dependencies [[`74f40e7`](https://github.com/TanStack/form/commit/74f40e7d0a862dcb4dbda3481b3a23482883a0a2)]:
291 - @tanstack/form-core@1.26.0
292​
293## 1.25.0
294​
295### Patch Changes
296​
297- Updated dependencies [[`004835f`](https://github.com/TanStack/form/commit/004835fbc113f36ac32fc5691ad27bc00813f389)]:
298 - @tanstack/form-core@1.25.0
299​
300## 1.23.9
301​
302### Patch Changes
303​
304- Updated dependencies [[`8ede6d0`](https://github.com/TanStack/form/commit/8ede6d0bb5615a105f54c13d3160d0243ea6c041)]:
305 - @tanstack/form-core@1.24.5
306​
307## 1.23.8
308​
309### Patch Changes
310​
311- form-core: Optimise event client emissions and minor layout tweaks ([#1758](https://github.com/TanStack/form/pull/1758))
312​
313- Updated dependencies [[`94631cb`](https://github.com/TanStack/form/commit/94631cb97dea611de69a900c89b7e8dfe0eeee37)]:
314 - @tanstack/form-core@1.24.4
315​
316## 1.23.7
317​
318### Patch Changes
319​
320- Updated dependencies [[`33cce81`](https://github.com/TanStack/form/commit/33cce812cbfeb42aa7457bab220a807ff5c4ba7f)]:
321 - @tanstack/form-core@1.24.3: respect dontValidate option in formApi array modifiers ([#1775](https://github.com/TanStack/form/pull/1775))
322​
323## 1.23.6
324​
325### Patch Changes
326​
327- Updated dependencies [[`74af33e`](https://github.com/TanStack/form/commit/74af33eb80218b8cec8642b64ce7e69a62a65248)]:
328 - @tanstack/form-core@1.24.2: prevent runtime errors when using `deleteField` ([#1706](https://github.com/TanStack/form/pull/1706))
329​
330## 1.23.5
331​
332### Patch Changes
333​
334- Updated dependencies [[`2cfe44c`](https://github.com/TanStack/form/commit/2cfe44ce1e35235ae37ee260dc943a94c9feb71d)]:
335 - @tanstack/form-core@1.24.1
336​
337## 1.23.4
338​
339### Patch Changes
340​
341- Updated dependencies [[`c978946`](https://github.com/TanStack/form/commit/c97894688c6f5f1953a87c26890e156ecb0bcaab)]:
342 - @tanstack/form-core@1.24.0
343​
344## 1.23.3
345​
346### Patch Changes
347​
348- Updated dependencies [[`f608267`](https://github.com/TanStack/form/commit/f6082674290a2ec5bc1d3ae33f193539ac7fc4b6)]:
349 - @tanstack/form-core@1.23.3
350​
351## 1.23.2
352​
353### Patch Changes
354​
355- Updated dependencies [[`7cf3728`](https://github.com/TanStack/form/commit/7cf3728a7b75e077802b427db2a387e36b23682a)]:
356 - @tanstack/form-core@1.23.2
357​
358## 1.23.1
359​
360### Patch Changes
361​
362- Updated dependencies [[`db96886`](https://github.com/TanStack/form/commit/db96886a8bf9d3d944bf09fc050b4c2c4b514851)]:
363 - @tanstack/form-core@1.23.1
364​
365## 1.23.0
366​
367### Patch Changes
368​
369- Updated dependencies [[`773c1b8`](https://github.com/TanStack/form/commit/773c1b8d9e1b82b5403633691de22f1a1e188d4f), [`1e36222`](https://github.com/TanStack/form/commit/1e362224d3086f67d8a49839d196edd7aa78c04d)]:
370 - @tanstack/form-core@1.23.0
371​
372## 1.21.1
373​
374### Patch Changes
375​
376- Updated dependencies [[`d2b6063`](https://github.com/TanStack/form/commit/d2b6063c0fc5406235f8be5462c19497717dfd0d)]:
377 - @tanstack/form-core@1.22.0