You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .cursor/skills/data-client-v0.18-migration/SKILL.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
---
2
-
name: data-client-v0.17-migration
3
-
description: Migrate custom @data-client schemas from the v0.16 denormalize(input, args, unvisit) signature to the v0.17 denormalize(input, delegate) signature. Use when upgrading to v0.17, when seeing TS errors about unvisit not being callable, or when adapting custom Schema implementations.
2
+
name: data-client-v0.18-migration
3
+
description: Migrate custom @data-client schemas from the v0.18 denormalize(input, args, unvisit) signature to the v0.18 denormalize(input, delegate) signature. Use when upgrading to v0.18, when seeing TS errors about unvisit not being callable, or when adapting custom Schema implementations.
4
4
---
5
5
6
-
# @data-client v0.17 Migration
6
+
# @data-client v0.18 Migration
7
7
8
8
Applies to anyone implementing a custom [`Schema`](https://dataclient.io/docs/api/Schema) — `SchemaSimple`, `SchemaClass`, polymorphic wrappers, or types that subclass `EntityMixin` directly. Built-in schemas (`Entity`, `resource()`, `Collection`, `Union`, `Values`, `Array`, `Object`, `Query`, `Invalidate`, `Lazy`) are migrated by the library.
@@ -10,24 +10,24 @@ import ScalarDemo from '../../docs/rest/shared/\_ScalarDemo.mdx';
10
10
11
11
**New Features:**
12
12
13
-
-[Scalar schema](/blog/2026/04/24/v0.17-scalar-typed-downloads#scalar) - Lens-dependent entity fields (e.g. portfolio-specific values) without ever mutating the underlying entity
14
-
-[RestEndpoint `content` property](/blog/2026/04/24/v0.17-scalar-typed-downloads#content-property) - Typed file downloads, text responses, and streaming with a single property
15
-
-[resource() `nonFilterArgumentKeys`](/blog/2026/04/24/v0.17-scalar-typed-downloads#non-filter-argument-keys) - Sort/pagination args don't fragment your [Collections](/rest/api/Collection)
13
+
-[Scalar schema](/blog/2026/04/24/v0.18-scalar-typed-downloads#scalar) - Lens-dependent entity fields (e.g. portfolio-specific values) without ever mutating the underlying entity
14
+
-[RestEndpoint `content` property](/blog/2026/04/24/v0.18-scalar-typed-downloads#content-property) - Typed file downloads, text responses, and streaming with a single property
15
+
-[resource() `nonFilterArgumentKeys`](/blog/2026/04/24/v0.18-scalar-typed-downloads#non-filter-argument-keys) - Sort/pagination args don't fragment your [Collections](/rest/api/Collection)
16
16
17
17
**Other Improvements:**
18
18
19
-
-[Binary Content-Type auto-detection](/blog/2026/04/24/v0.17-scalar-typed-downloads#binary-auto-detection) - Images, PDFs, and other binary responses are handled automatically with no configuration ([#3868](https://github.com/reactive/data-client/pull/3868))
19
+
-[Binary Content-Type auto-detection](/blog/2026/04/24/v0.18-scalar-typed-downloads#binary-auto-detection) - Images, PDFs, and other binary responses are handled automatically with no configuration ([#3868](https://github.com/reactive/data-client/pull/3868))
20
20
-[Collection extender body types match HTTP method semantics](/rest/api/Collection) - PATCH extenders (`.move`, `.remove`) accept partial bodies; standalone `RestEndpoint` derives a typed body from the Collection's entity schema ([#3910](https://github.com/reactive/data-client/pull/3910))
21
21
- Export [`CollectionOptions`](/rest/api/Collection) from `@data-client/endpoint` and `@data-client/rest` for typed Collection construction ([#3904](https://github.com/reactive/data-client/pull/3904))
0 commit comments