@ember-data/legacy-compat 5.10.0-alpha.0 → 5.10.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -31,7 +31,7 @@
31
31
  > [!CAUTION]
32
32
  > **⚠️ This is a legacy compatibility package** not recommended for new applications.
33
33
  >
34
- > Use [Handlers](https://warp-drive.io/api/@warp-drive/core/request/interfaces/Handler) with [@warp-drive/core](https://warp-drive.io/api/@warp-drive/core/) instead.
34
+ > Use [Handlers](https://warp-drive.io/api/@warp-drive/core/request/types/Handler) with [@warp-drive/core](https://warp-drive.io/api/@warp-drive/core/) instead.
35
35
 
36
36
  This package provides **compatibility shims** to bridge legacy EmberData patterns (Models, Adapters, Serializers) with modern WarpDrive infrastructure (RequestManager, Handlers, Cache).
37
37
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ember-data/legacy-compat",
3
3
  "description": "Compatibility Shims for Older (Legacy) EmberData",
4
- "version": "5.10.0-alpha.0",
4
+ "version": "5.10.0-alpha.10",
5
5
  "license": "MIT",
6
6
  "author": "Chris Thoburn <runspired@users.noreply.github.com>",
7
7
  "repository": {
@@ -39,19 +39,19 @@
39
39
  "version": 2
40
40
  },
41
41
  "dependencies": {
42
- "@embroider/macros": "^1.20.6",
43
- "@warp-drive/core": "5.10.0-alpha.0",
44
- "@warp-drive/legacy": "5.10.0-alpha.0",
45
- "@warp-drive/utilities": "5.10.0-alpha.0"
42
+ "@embroider/macros": "^1.21.1",
43
+ "@warp-drive/core": "5.10.0-alpha.10",
44
+ "@warp-drive/legacy": "5.10.0-alpha.10",
45
+ "@warp-drive/utilities": "5.10.0-alpha.10"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@babel/core": "^7.29.7",
49
- "@babel/plugin-transform-typescript": "^7.29.7",
49
+ "@babel/plugin-transform-typescript": "^7.29.9",
50
50
  "@babel/preset-env": "^7.29.7",
51
51
  "@babel/preset-typescript": "^7.29.7",
52
- "@warp-drive/internal-config": "5.10.0-alpha.0",
53
- "tsdown": "^0.22.14",
54
- "typescript-7": "npm:typescript@7.1.0-dev.20260828.1"
52
+ "@warp-drive/internal-config": "5.10.0-alpha.10",
53
+ "tsdown": "^0.23.0",
54
+ "typescript-7": "npm:typescript@7.1.0-dev.20260920.1"
55
55
  },
56
56
  "ember": {
57
57
  "edition": "octane"
@@ -1,6 +1,6 @@
1
- /// <reference path="./-private.d.ts" />
2
- /// <reference path="./utils.d.ts" />
3
1
  /// <reference path="./builders.d.ts" />
2
+ /// <reference path="./utils.d.ts" />
3
+ /// <reference path="./-private.d.ts" />
4
4
  declare module '@ember-data/legacy-compat' {
5
5
  import { AdapterPayload, CompatStore, LegacyNetworkHandler, LegacyStoreCompat, MinimumAdapterInterface, MinimumSerializerInterface, SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from "@warp-drive/legacy/compat";
6
6
  export { type AdapterPayload, type CompatStore, LegacyNetworkHandler, type LegacyStoreCompat, type MinimumAdapterInterface, type MinimumSerializerInterface, type SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor };
package/CHANGELOG.md DELETED
@@ -1,210 +0,0 @@
1
- # @ember-data/legacy-compat Changelog
2
-
3
- ## v5.9.0 (2026-09-05)
4
-
5
- #### :memo: Documentation
6
-
7
- * [#10502](https://github.com/warp-drive-data/warp-drive/pull/10502) chore(docs): fix link to /guides/migrating/index.md ([@BobrImperator](https://github.com/BobrImperator))
8
- * [#10471](https://github.com/warp-drive-data/warp-drive/pull/10471) [docs] Ensure consistent legacy package warnings ([@gitKrystan](https://github.com/gitKrystan))
9
-
10
- #### :bug: Bug Fix
11
-
12
- * [#10458](https://github.com/warp-drive-data/warp-drive/pull/10458) fix: bump build dependencies ([@runspired](https://github.com/runspired))
13
-
14
- #### :house: Internal
15
-
16
- * [#10955](https://github.com/warp-drive-data/warp-drive/pull/10955) chore(deps): drop now-unused classic typescript devDependency ([@runspired](https://github.com/runspired))
17
- * [#10948](https://github.com/warp-drive-data/warp-drive/pull/10948) chore(types): move all remaining packages to TypeScript 7 for check:types ([@runspired](https://github.com/runspired))
18
- * [#10928](https://github.com/warp-drive-data/warp-drive/pull/10928) chore: bump pnpm to 12.0.0, replace Volta with mise ([@runspired](https://github.com/runspired))
19
- * [#10729](https://github.com/warp-drive-data/warp-drive/pull/10729) fix: invoke tsdown directly via node to avoid racy bin-shim resolution ([@runspired](https://github.com/runspired))
20
- * [#10696](https://github.com/warp-drive-data/warp-drive/pull/10696) chore(types): drop redundant tsconfig paths, keep references editor-only ([@runspired](https://github.com/runspired))
21
- * [#10678](https://github.com/warp-drive-data/warp-drive/pull/10678) feat: migrate @ember-data/legacy-compat's build to rolldown via tsdown ([@runspired](https://github.com/runspired))
22
- * [#10643](https://github.com/warp-drive-data/warp-drive/pull/10643) feat: migrate @warp-drive/core's build to rolldown via tsdown ([@runspired](https://github.com/runspired))
23
- * [#10459](https://github.com/warp-drive-data/warp-drive/pull/10459) chore: tweak install ([@runspired](https://github.com/runspired))
24
-
25
- #### Committers: (3)
26
-
27
- Bartlomiej Dudzik ([@BobrImperator](https://github.com/BobrImperator))
28
- Krystan HuffMenne ([@gitKrystan](https://github.com/gitKrystan))
29
- Chris Thoburn ([@runspired](https://github.com/runspired))
30
-
31
- ## v5.8.0 (2025-10-07)
32
-
33
- #### :house: Internal
34
-
35
- * [#10349](https://github.com/warp-drive-data/warp-drive/pull/10349) chore: update all emberjs/data links to warp-drive-data/warp-drive ([@runspired](https://github.com/runspired))
36
-
37
- #### Committers: (1)
38
-
39
- Chris Thoburn ([@runspired](https://github.com/runspired))
40
-
41
- ## v5.7.0 (2025-08-26)
42
-
43
- #### :house: Internal
44
-
45
- * [#10129](https://github.com/warp-drive-data/warp-drive/pull/10129) chore: bump typescript to 5.9 ([@runspired](https://github.com/runspired))
46
- * [#10124](https://github.com/warp-drive-data/warp-drive/pull/10124) chore: mark a few types as private ([@runspired](https://github.com/runspired))
47
-
48
- #### Committers: (1)
49
-
50
- Chris Thoburn ([@runspired](https://github.com/runspired))
51
-
52
- ## v5.6.0 (2025-07-01)
53
-
54
- #### :memo: Documentation
55
-
56
- * [#9991](https://github.com/warp-drive-data/warp-drive/pull/9991) chore: improve output of typedoc ([@runspired](https://github.com/runspired))
57
- * [#9989](https://github.com/warp-drive-data/warp-drive/pull/9989) [BREAKING] docs: integrate API docs to the new docs site ([@runspired](https://github.com/runspired))
58
-
59
- #### :rocket: Enhancement
60
-
61
- * [#10011](https://github.com/warp-drive-data/warp-drive/pull/10011) feat: @warp-drive/core/build-config ([@runspired](https://github.com/runspired))
62
- * [#10005](https://github.com/warp-drive-data/warp-drive/pull/10005) feat: @warp-drive/legacy ([@runspired](https://github.com/runspired))
63
-
64
- #### :bug: Bug Fix
65
-
66
- * [#9982](https://github.com/warp-drive-data/warp-drive/pull/9982) fix: simplify peer configuration to avoid bringing extra copies of glimmer/validator ([@runspired](https://github.com/runspired))
67
-
68
- #### :house: Internal
69
-
70
- * [#10042](https://github.com/warp-drive-data/warp-drive/pull/10042) chore: upgrade to vite7 ([@runspired](https://github.com/runspired))
71
- * [#10040](https://github.com/warp-drive-data/warp-drive/pull/10040) chore: isolated declarations ([@runspired](https://github.com/runspired))
72
-
73
- #### Committers: (1)
74
-
75
- Chris Thoburn ([@runspired](https://github.com/runspired))
76
-
77
- ## v5.5.0 (2025-05-08)
78
-
79
- #### :memo: Documentation
80
-
81
- * [#9975](https://github.com/warp-drive-data/warp-drive/pull/9975) types: fixup PolarisMode schema types to check better ([@runspired](https://github.com/runspired))
82
-
83
- #### :rocket: Enhancement
84
-
85
- * [#9965](https://github.com/warp-drive-data/warp-drive/pull/9965) feat: universal reactivity hooks ([@runspired](https://github.com/runspired))
86
-
87
- #### :house: Internal
88
-
89
- * [#9965](https://github.com/warp-drive-data/warp-drive/pull/9965) feat: universal reactivity hooks ([@runspired](https://github.com/runspired))
90
-
91
- #### Committers: (1)
92
-
93
- Chris Thoburn ([@runspired](https://github.com/runspired))
94
-
95
- ## v5.4.0 (2025-04-11)
96
-
97
- #### :rocket: Enhancement
98
-
99
- * [#9884](https://github.com/warp-drive-data/warp-drive/pull/9884) feat: cache patch operations for relationships and documents ([@runspired](https://github.com/runspired))
100
- * [#9883](https://github.com/warp-drive-data/warp-drive/pull/9883) feat: make documents react to cache updates ([@runspired](https://github.com/runspired))
101
- * [#9769](https://github.com/warp-drive-data/warp-drive/pull/9769) chore: remove restriction on new field kinds being used with legacy mode ([@runspired](https://github.com/runspired))
102
- * [#9619](https://github.com/warp-drive-data/warp-drive/pull/9619) Support @ember/test-waiters v4 ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
103
- * [#9541](https://github.com/warp-drive-data/warp-drive/pull/9541) feat: eslint-plugin-(ember-data|warp-drive) ([@runspired](https://github.com/runspired))
104
-
105
- #### :bug: Bug Fix
106
-
107
- * [#9592](https://github.com/warp-drive-data/warp-drive/pull/9592) fix: add ember-source as explicit peer-dep for use of @ember/debug ([@runspired](https://github.com/runspired))
108
-
109
- #### :house: Internal
110
-
111
- * [#9780](https://github.com/warp-drive-data/warp-drive/pull/9780) chore: bump @glimmer/component ([@runspired](https://github.com/runspired))
112
- * [#9759](https://github.com/warp-drive-data/warp-drive/pull/9759) chore: Improve contributing experience ([@runspired](https://github.com/runspired))
113
- * [#9752](https://github.com/warp-drive-data/warp-drive/pull/9752) chore: tooling upgrades to support WarpDrive package unification ([@runspired](https://github.com/runspired))
114
- * [#9705](https://github.com/warp-drive-data/warp-drive/pull/9705) chore: make diagnostic shutdown safer, use bun for holodeck server ([@runspired](https://github.com/runspired))
115
- * [#9699](https://github.com/warp-drive-data/warp-drive/pull/9699) chore: update to pnpm 10 ([@runspired](https://github.com/runspired))
116
- * [#9629](https://github.com/warp-drive-data/warp-drive/pull/9629) fix: restore * versions and setup publish to not overwrite them ([@runspired](https://github.com/runspired))
117
- * [#9620](https://github.com/warp-drive-data/warp-drive/pull/9620) Starwars ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
118
- * [#9596](https://github.com/warp-drive-data/warp-drive/pull/9596) chore: Remove unused `--report-unused-disable-directives` flag ([@gitKrystan](https://github.com/gitKrystan))
119
-
120
- #### Committers: (3)
121
-
122
- Chris Thoburn ([@runspired](https://github.com/runspired))
123
- [@NullVoxPopuli](https://github.com/NullVoxPopuli)
124
- Krystan HuffMenne ([@gitKrystan](https://github.com/gitKrystan))
125
-
126
- ## v5.3.4 (2024-06-15)
127
-
128
- #### :memo: Documentation
129
-
130
- * [#9328](https://github.com/warp-drive-data/warp-drive/pull/9328) chore: update READMEs with status and dist tag info ([@runspired](https://github.com/runspired))
131
-
132
- #### :rocket: Enhancement
133
-
134
- * [#9474](https://github.com/warp-drive-data/warp-drive/pull/9474) Improve query types for legacy-compat/builders ([@gitKrystan](https://github.com/gitKrystan))
135
- * [#9471](https://github.com/warp-drive-data/warp-drive/pull/9471) feat: npx warp-drive ([@runspired](https://github.com/runspired))
136
- * [#9468](https://github.com/warp-drive-data/warp-drive/pull/9468) feat: string utils 🌌 ([@runspired](https://github.com/runspired))
137
- * [#9407](https://github.com/warp-drive-data/warp-drive/pull/9407) feat: v2 addons ([@runspired](https://github.com/runspired))
138
- * [#9448](https://github.com/warp-drive-data/warp-drive/pull/9448) feat: impl SchemaService RFC ([@runspired](https://github.com/runspired))
139
- * [#9444](https://github.com/warp-drive-data/warp-drive/pull/9444) feat: rename LifetimesService => CachePolicy for clarity ([@runspired](https://github.com/runspired))
140
- * [#9400](https://github.com/warp-drive-data/warp-drive/pull/9400) feat: add expectId util ([@runspired](https://github.com/runspired))
141
- * [#9366](https://github.com/warp-drive-data/warp-drive/pull/9366) feat: typed Model ([@runspired](https://github.com/runspired))
142
- * [#9359](https://github.com/warp-drive-data/warp-drive/pull/9359) feat: type checked builders and inferred request types from builders ([@runspired](https://github.com/runspired))
143
- * [#9353](https://github.com/warp-drive-data/warp-drive/pull/9353) feat: utilies for migrating to stricter type and id usage ([@runspired](https://github.com/runspired))
144
- * [#9319](https://github.com/warp-drive-data/warp-drive/pull/9319) Add @ember-data/legacy-compat/builders ([@gitKrystan](https://github.com/gitKrystan))
145
- * [#9260](https://github.com/warp-drive-data/warp-drive/pull/9260) feat: ember specific data utils ([@runspired](https://github.com/runspired))
146
- * [#9244](https://github.com/warp-drive-data/warp-drive/pull/9244) feat: improves consumer-facing store types ([@runspired](https://github.com/runspired))
147
-
148
- #### :bug: Bug Fix
149
-
150
- * [#9265](https://github.com/warp-drive-data/warp-drive/pull/9265) feat: Improve config handling for polyfillUUID ([@MehulKChaudhari](https://github.com/MehulKChaudhari))
151
-
152
- #### :house: Internal
153
-
154
- * [#9292](https://github.com/warp-drive-data/warp-drive/pull/9292) feat: add new build-config package ([@runspired](https://github.com/runspired))
155
- * [#9392](https://github.com/warp-drive-data/warp-drive/pull/9392) Fix some typos after reading code ([@Baltazore](https://github.com/Baltazore))
156
- * [#9370](https://github.com/warp-drive-data/warp-drive/pull/9370) chore: rename macros ([@runspired](https://github.com/runspired))
157
- * [#9279](https://github.com/warp-drive-data/warp-drive/pull/9279) types: branded transforms and improve types needed for serializers ([@runspired](https://github.com/runspired))
158
-
159
- #### Committers: (4)
160
-
161
- Chris Thoburn ([@runspired](https://github.com/runspired))
162
- Krystan HuffMenne ([@gitKrystan](https://github.com/gitKrystan))
163
- Mehul Kiran Chaudhari ([@MehulKChaudhari](https://github.com/MehulKChaudhari))
164
- Kirill Shaplyko ([@Baltazore](https://github.com/Baltazore))
165
-
166
- For the full project changelog see [https://github.com/warp-drive-data/warp-drive/blob/main/CHANGELOG.md](https://github.com/warp-drive-data/warp-drive/blob/main/CHANGELOG.md)
167
-
168
- ## v5.3.1 (2024-02-24)
169
-
170
- #### :memo: Documentation
171
-
172
- * [#9072](https://github.com/warp-drive-data/warp-drive/pull/9072) feat: advanced JSON:API queries & basic request example ([@runspired](https://github.com/runspired))
173
-
174
- #### :rocket: Enhancement
175
-
176
- * [#9220](https://github.com/warp-drive-data/warp-drive/pull/9220) feat: request infra improvements ([@runspired](https://github.com/runspired))
177
- * [#9095](https://github.com/warp-drive-data/warp-drive/pull/9095) feat (internal): support legacy model behaviors in SchemaRecord legacy mode ([@runspired](https://github.com/runspired))
178
- * [#9072](https://github.com/warp-drive-data/warp-drive/pull/9072) feat: advanced JSON:API queries & basic request example ([@runspired](https://github.com/runspired))
179
- * [#8935](https://github.com/warp-drive-data/warp-drive/pull/8935) feat: (private) implement basic field support for schema-record ([@runspired](https://github.com/runspired))
180
- * [#8921](https://github.com/warp-drive-data/warp-drive/pull/8921) feat: Improved Fetch Errors ([@runspired](https://github.com/runspired))
181
-
182
- #### :bug: Bug Fix
183
-
184
- * [#8934](https://github.com/warp-drive-data/warp-drive/pull/8934) fix: JSONAPISerializer should not reify empty records ([@runspired](https://github.com/runspired))
185
-
186
- #### :house: Internal
187
-
188
- * [#9110](https://github.com/warp-drive-data/warp-drive/pull/9110) Stricter typescript-eslint config ([@gitKrystan](https://github.com/gitKrystan))
189
- * [#9058](https://github.com/warp-drive-data/warp-drive/pull/9058) Switch from eslint-plugin-prettier to running prettier directly ([@gitKrystan](https://github.com/gitKrystan))
190
- * [#9057](https://github.com/warp-drive-data/warp-drive/pull/9057) Add eslint-plugin-n to eslint config for node files ([@gitKrystan](https://github.com/gitKrystan))
191
- * [#9055](https://github.com/warp-drive-data/warp-drive/pull/9055) Fix ESLint for VSCode ([@gitKrystan](https://github.com/gitKrystan))
192
- * [#9051](https://github.com/warp-drive-data/warp-drive/pull/9051) chore: use references for tsc, add checks to schema-record, bun to run scripts ([@runspired](https://github.com/runspired))
193
- * [#9032](https://github.com/warp-drive-data/warp-drive/pull/9032) chore(types): split out lint and type commands to be per-package ([@runspired](https://github.com/runspired))
194
- * [#9050](https://github.com/warp-drive-data/warp-drive/pull/9050) chore: use composite mode for tsc ([@runspired](https://github.com/runspired))
195
- * [#9049](https://github.com/warp-drive-data/warp-drive/pull/9049) chore: incremental tsc builds ([@runspired](https://github.com/runspired))
196
- * [#9046](https://github.com/warp-drive-data/warp-drive/pull/9046) chore: reduce number of things turbo builds for build ([@runspired](https://github.com/runspired))
197
- * [#9029](https://github.com/warp-drive-data/warp-drive/pull/9029) chore: add @warp-drive/core as home for shared code ([@runspired](https://github.com/runspired))
198
- * [#9028](https://github.com/warp-drive-data/warp-drive/pull/9028) chore: more isolated types ([@runspired](https://github.com/runspired))
199
- * [#9025](https://github.com/warp-drive-data/warp-drive/pull/9025) chore: reconfigure request package type location ([@runspired](https://github.com/runspired))
200
- * [#9019](https://github.com/warp-drive-data/warp-drive/pull/9019) chore: make model types strict ([@runspired](https://github.com/runspired))
201
- * [#9017](https://github.com/warp-drive-data/warp-drive/pull/9017) chore: make json-api cache strict ([@runspired](https://github.com/runspired))
202
- * [#9016](https://github.com/warp-drive-data/warp-drive/pull/9016) chore: make type-only files strict ([@runspired](https://github.com/runspired))
203
- * [#8931](https://github.com/warp-drive-data/warp-drive/pull/8931) chore: package infra for schema-record ([@runspired](https://github.com/runspired))
204
- * [#8906](https://github.com/warp-drive-data/warp-drive/pull/8906) feat: expand mock-server capabilities, add to main tests ([@runspired](https://github.com/runspired))
205
-
206
- #### Committers: (2)
207
-
208
- Chris Thoburn ([@runspired](https://github.com/runspired))
209
- Krystan HuffMenne ([@gitKrystan](https://github.com/gitKrystan))
210
-