@ember-data/legacy-compat 5.9.0-beta.1 → 5.9.0-beta.2

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/CHANGELOG.md ADDED
@@ -0,0 +1,182 @@
1
+ # @ember-data/legacy-compat Changelog
2
+
3
+ ## v5.8.0 (2025-10-07)
4
+
5
+ #### :house: Internal
6
+
7
+ * [#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))
8
+
9
+ #### Committers: (1)
10
+
11
+ Chris Thoburn ([@runspired](https://github.com/runspired))
12
+
13
+ ## v5.7.0 (2025-08-26)
14
+
15
+ #### :house: Internal
16
+
17
+ * [#10129](https://github.com/warp-drive-data/warp-drive/pull/10129) chore: bump typescript to 5.9 ([@runspired](https://github.com/runspired))
18
+ * [#10124](https://github.com/warp-drive-data/warp-drive/pull/10124) chore: mark a few types as private ([@runspired](https://github.com/runspired))
19
+
20
+ #### Committers: (1)
21
+
22
+ Chris Thoburn ([@runspired](https://github.com/runspired))
23
+
24
+ ## v5.6.0 (2025-07-01)
25
+
26
+ #### :memo: Documentation
27
+
28
+ * [#9991](https://github.com/warp-drive-data/warp-drive/pull/9991) chore: improve output of typedoc ([@runspired](https://github.com/runspired))
29
+ * [#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))
30
+
31
+ #### :rocket: Enhancement
32
+
33
+ * [#10011](https://github.com/warp-drive-data/warp-drive/pull/10011) feat: @warp-drive/core/build-config ([@runspired](https://github.com/runspired))
34
+ * [#10005](https://github.com/warp-drive-data/warp-drive/pull/10005) feat: @warp-drive/legacy ([@runspired](https://github.com/runspired))
35
+
36
+ #### :bug: Bug Fix
37
+
38
+ * [#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))
39
+
40
+ #### :house: Internal
41
+
42
+ * [#10042](https://github.com/warp-drive-data/warp-drive/pull/10042) chore: upgrade to vite7 ([@runspired](https://github.com/runspired))
43
+ * [#10040](https://github.com/warp-drive-data/warp-drive/pull/10040) chore: isolated declarations ([@runspired](https://github.com/runspired))
44
+
45
+ #### Committers: (1)
46
+
47
+ Chris Thoburn ([@runspired](https://github.com/runspired))
48
+
49
+ ## v5.5.0 (2025-05-08)
50
+
51
+ #### :memo: Documentation
52
+
53
+ * [#9975](https://github.com/warp-drive-data/warp-drive/pull/9975) types: fixup PolarisMode schema types to check better ([@runspired](https://github.com/runspired))
54
+
55
+ #### :rocket: Enhancement
56
+
57
+ * [#9965](https://github.com/warp-drive-data/warp-drive/pull/9965) feat: universal reactivity hooks ([@runspired](https://github.com/runspired))
58
+
59
+ #### :house: Internal
60
+
61
+ * [#9965](https://github.com/warp-drive-data/warp-drive/pull/9965) feat: universal reactivity hooks ([@runspired](https://github.com/runspired))
62
+
63
+ #### Committers: (1)
64
+
65
+ Chris Thoburn ([@runspired](https://github.com/runspired))
66
+
67
+ ## v5.4.0 (2025-04-11)
68
+
69
+ #### :rocket: Enhancement
70
+
71
+ * [#9884](https://github.com/warp-drive-data/warp-drive/pull/9884) feat: cache patch operations for relationships and documents ([@runspired](https://github.com/runspired))
72
+ * [#9883](https://github.com/warp-drive-data/warp-drive/pull/9883) feat: make documents react to cache updates ([@runspired](https://github.com/runspired))
73
+ * [#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))
74
+ * [#9619](https://github.com/warp-drive-data/warp-drive/pull/9619) Support @ember/test-waiters v4 ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
75
+ * [#9541](https://github.com/warp-drive-data/warp-drive/pull/9541) feat: eslint-plugin-(ember-data|warp-drive) ([@runspired](https://github.com/runspired))
76
+
77
+ #### :bug: Bug Fix
78
+
79
+ * [#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))
80
+
81
+ #### :house: Internal
82
+
83
+ * [#9780](https://github.com/warp-drive-data/warp-drive/pull/9780) chore: bump @glimmer/component ([@runspired](https://github.com/runspired))
84
+ * [#9759](https://github.com/warp-drive-data/warp-drive/pull/9759) chore: Improve contributing experience ([@runspired](https://github.com/runspired))
85
+ * [#9752](https://github.com/warp-drive-data/warp-drive/pull/9752) chore: tooling upgrades to support WarpDrive package unification ([@runspired](https://github.com/runspired))
86
+ * [#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))
87
+ * [#9699](https://github.com/warp-drive-data/warp-drive/pull/9699) chore: update to pnpm 10 ([@runspired](https://github.com/runspired))
88
+ * [#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))
89
+ * [#9620](https://github.com/warp-drive-data/warp-drive/pull/9620) Starwars ([@NullVoxPopuli](https://github.com/NullVoxPopuli))
90
+ * [#9596](https://github.com/warp-drive-data/warp-drive/pull/9596) chore: Remove unused `--report-unused-disable-directives` flag ([@gitKrystan](https://github.com/gitKrystan))
91
+
92
+ #### Committers: (3)
93
+
94
+ Chris Thoburn ([@runspired](https://github.com/runspired))
95
+ [@NullVoxPopuli](https://github.com/NullVoxPopuli)
96
+ Krystan HuffMenne ([@gitKrystan](https://github.com/gitKrystan))
97
+
98
+ ## v5.3.4 (2024-06-15)
99
+
100
+ #### :memo: Documentation
101
+
102
+ * [#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))
103
+
104
+ #### :rocket: Enhancement
105
+
106
+ * [#9474](https://github.com/warp-drive-data/warp-drive/pull/9474) Improve query types for legacy-compat/builders ([@gitKrystan](https://github.com/gitKrystan))
107
+ * [#9471](https://github.com/warp-drive-data/warp-drive/pull/9471) feat: npx warp-drive ([@runspired](https://github.com/runspired))
108
+ * [#9468](https://github.com/warp-drive-data/warp-drive/pull/9468) feat: string utils 🌌 ([@runspired](https://github.com/runspired))
109
+ * [#9407](https://github.com/warp-drive-data/warp-drive/pull/9407) feat: v2 addons ([@runspired](https://github.com/runspired))
110
+ * [#9448](https://github.com/warp-drive-data/warp-drive/pull/9448) feat: impl SchemaService RFC ([@runspired](https://github.com/runspired))
111
+ * [#9444](https://github.com/warp-drive-data/warp-drive/pull/9444) feat: rename LifetimesService => CachePolicy for clarity ([@runspired](https://github.com/runspired))
112
+ * [#9400](https://github.com/warp-drive-data/warp-drive/pull/9400) feat: add expectId util ([@runspired](https://github.com/runspired))
113
+ * [#9366](https://github.com/warp-drive-data/warp-drive/pull/9366) feat: typed Model ([@runspired](https://github.com/runspired))
114
+ * [#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))
115
+ * [#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))
116
+ * [#9319](https://github.com/warp-drive-data/warp-drive/pull/9319) Add @ember-data/legacy-compat/builders ([@gitKrystan](https://github.com/gitKrystan))
117
+ * [#9260](https://github.com/warp-drive-data/warp-drive/pull/9260) feat: ember specific data utils ([@runspired](https://github.com/runspired))
118
+ * [#9244](https://github.com/warp-drive-data/warp-drive/pull/9244) feat: improves consumer-facing store types ([@runspired](https://github.com/runspired))
119
+
120
+ #### :bug: Bug Fix
121
+
122
+ * [#9265](https://github.com/warp-drive-data/warp-drive/pull/9265) feat: Improve config handling for polyfillUUID ([@MehulKChaudhari](https://github.com/MehulKChaudhari))
123
+
124
+ #### :house: Internal
125
+
126
+ * [#9292](https://github.com/warp-drive-data/warp-drive/pull/9292) feat: add new build-config package ([@runspired](https://github.com/runspired))
127
+ * [#9392](https://github.com/warp-drive-data/warp-drive/pull/9392) Fix some typos after reading code ([@Baltazore](https://github.com/Baltazore))
128
+ * [#9370](https://github.com/warp-drive-data/warp-drive/pull/9370) chore: rename macros ([@runspired](https://github.com/runspired))
129
+ * [#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))
130
+
131
+ #### Committers: (4)
132
+
133
+ Chris Thoburn ([@runspired](https://github.com/runspired))
134
+ Krystan HuffMenne ([@gitKrystan](https://github.com/gitKrystan))
135
+ Mehul Kiran Chaudhari ([@MehulKChaudhari](https://github.com/MehulKChaudhari))
136
+ Kirill Shaplyko ([@Baltazore](https://github.com/Baltazore))
137
+
138
+ 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)
139
+
140
+ ## v5.3.1 (2024-02-24)
141
+
142
+ #### :memo: Documentation
143
+
144
+ * [#9072](https://github.com/warp-drive-data/warp-drive/pull/9072) feat: advanced JSON:API queries & basic request example ([@runspired](https://github.com/runspired))
145
+
146
+ #### :rocket: Enhancement
147
+
148
+ * [#9220](https://github.com/warp-drive-data/warp-drive/pull/9220) feat: request infra improvements ([@runspired](https://github.com/runspired))
149
+ * [#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))
150
+ * [#9072](https://github.com/warp-drive-data/warp-drive/pull/9072) feat: advanced JSON:API queries & basic request example ([@runspired](https://github.com/runspired))
151
+ * [#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))
152
+ * [#8921](https://github.com/warp-drive-data/warp-drive/pull/8921) feat: Improved Fetch Errors ([@runspired](https://github.com/runspired))
153
+
154
+ #### :bug: Bug Fix
155
+
156
+ * [#8934](https://github.com/warp-drive-data/warp-drive/pull/8934) fix: JSONAPISerializer should not reify empty records ([@runspired](https://github.com/runspired))
157
+
158
+ #### :house: Internal
159
+
160
+ * [#9110](https://github.com/warp-drive-data/warp-drive/pull/9110) Stricter typescript-eslint config ([@gitKrystan](https://github.com/gitKrystan))
161
+ * [#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))
162
+ * [#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))
163
+ * [#9055](https://github.com/warp-drive-data/warp-drive/pull/9055) Fix ESLint for VSCode ([@gitKrystan](https://github.com/gitKrystan))
164
+ * [#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))
165
+ * [#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))
166
+ * [#9050](https://github.com/warp-drive-data/warp-drive/pull/9050) chore: use composite mode for tsc ([@runspired](https://github.com/runspired))
167
+ * [#9049](https://github.com/warp-drive-data/warp-drive/pull/9049) chore: incremental tsc builds ([@runspired](https://github.com/runspired))
168
+ * [#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))
169
+ * [#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))
170
+ * [#9028](https://github.com/warp-drive-data/warp-drive/pull/9028) chore: more isolated types ([@runspired](https://github.com/runspired))
171
+ * [#9025](https://github.com/warp-drive-data/warp-drive/pull/9025) chore: reconfigure request package type location ([@runspired](https://github.com/runspired))
172
+ * [#9019](https://github.com/warp-drive-data/warp-drive/pull/9019) chore: make model types strict ([@runspired](https://github.com/runspired))
173
+ * [#9017](https://github.com/warp-drive-data/warp-drive/pull/9017) chore: make json-api cache strict ([@runspired](https://github.com/runspired))
174
+ * [#9016](https://github.com/warp-drive-data/warp-drive/pull/9016) chore: make type-only files strict ([@runspired](https://github.com/runspired))
175
+ * [#8931](https://github.com/warp-drive-data/warp-drive/pull/8931) chore: package infra for schema-record ([@runspired](https://github.com/runspired))
176
+ * [#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))
177
+
178
+ #### Committers: (2)
179
+
180
+ Chris Thoburn ([@runspired](https://github.com/runspired))
181
+ Krystan HuffMenne ([@gitKrystan](https://github.com/gitKrystan))
182
+
@@ -0,0 +1 @@
1
+ export * from "@warp-drive/legacy/compat/-private";
package/dist/-private.js CHANGED
@@ -1 +1 @@
1
- export * from '@warp-drive/legacy/compat/-private';
1
+ export * from "@warp-drive/legacy/compat/-private"
@@ -0,0 +1 @@
1
+ export * from "@warp-drive/legacy/compat/builders";
package/dist/builders.js CHANGED
@@ -1 +1 @@
1
- export * from '@warp-drive/legacy/compat/builders';
1
+ export * from "@warp-drive/legacy/compat/builders"
@@ -0,0 +1,2 @@
1
+ import { AdapterPayload, CompatStore, LegacyNetworkHandler, LegacyStoreCompat, MinimumAdapterInterface, MinimumSerializerInterface, SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from "@warp-drive/legacy/compat";
2
+ export { type AdapterPayload, type CompatStore, LegacyNetworkHandler, type LegacyStoreCompat, type MinimumAdapterInterface, type MinimumSerializerInterface, type SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor };
package/dist/index.js CHANGED
@@ -1 +1,3 @@
1
- export { LegacyNetworkHandler, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from '@warp-drive/legacy/compat';
1
+ import { LegacyNetworkHandler, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from "@warp-drive/legacy/compat";
2
+
3
+ export { LegacyNetworkHandler, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor };
@@ -0,0 +1 @@
1
+ export * from "@warp-drive/legacy/compat/utils";
package/dist/utils.js CHANGED
@@ -1 +1 @@
1
- export * from '@warp-drive/legacy/compat/utils';
1
+ export * from "@warp-drive/legacy/compat/utils"
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.9.0-beta.1",
4
+ "version": "5.9.0-beta.2",
5
5
  "license": "MIT",
6
6
  "author": "Chris Thoburn <runspired@users.noreply.github.com>",
7
7
  "repository": {
@@ -14,16 +14,13 @@
14
14
  "keywords": [
15
15
  "ember-addon"
16
16
  ],
17
- "volta": {
18
- "extends": "../../package.json"
19
- },
20
17
  "files": [
21
- "unstable-preview-types",
22
18
  "addon-main.cjs",
23
19
  "dist",
24
20
  "README.md",
25
21
  "LICENSE.md",
26
- "logos"
22
+ "logos",
23
+ "unstable-preview-types"
27
24
  ],
28
25
  "exports": {
29
26
  ".": {
@@ -43,18 +40,18 @@
43
40
  },
44
41
  "dependencies": {
45
42
  "@embroider/macros": "^1.20.6",
46
- "@warp-drive/core": "5.9.0-beta.1",
47
- "@warp-drive/legacy": "5.9.0-beta.1",
48
- "@warp-drive/utilities": "5.9.0-beta.1"
43
+ "@warp-drive/core": "5.9.0-beta.2",
44
+ "@warp-drive/legacy": "5.9.0-beta.2",
45
+ "@warp-drive/utilities": "5.9.0-beta.2"
49
46
  },
50
47
  "devDependencies": {
51
- "@babel/core": "^7.28.3",
52
- "@babel/plugin-transform-typescript": "^7.28.0",
53
- "@babel/preset-env": "^7.28.3",
54
- "@babel/preset-typescript": "^7.27.1",
55
- "@warp-drive/internal-config": "5.9.0-beta.1",
56
- "typescript": "^5.9.3",
57
- "vite": "^7.3.1"
48
+ "@babel/core": "^7.29.7",
49
+ "@babel/plugin-transform-typescript": "^7.29.7",
50
+ "@babel/preset-env": "^7.29.7",
51
+ "@babel/preset-typescript": "^7.29.7",
52
+ "@warp-drive/internal-config": "5.9.0-beta.2",
53
+ "tsdown": "^0.22.14",
54
+ "typescript-7": "npm:typescript@7.1.0-dev.20260828.1"
58
55
  },
59
56
  "ember": {
60
57
  "edition": "octane"
@@ -67,9 +64,9 @@
67
64
  }
68
65
  },
69
66
  "scripts": {
70
- "lint": "eslint . --quiet --cache --cache-strategy=content",
71
- "build:pkg": "vite build",
67
+ "check:types": "node ./node_modules/typescript-7/bin/tsc --noEmit",
68
+ "build:pkg": "node node_modules/tsdown/dist/run.mjs",
72
69
  "sync": "echo \"syncing\"",
73
- "start": "vite"
70
+ "start": "node node_modules/tsdown/dist/run.mjs --watch"
74
71
  }
75
72
  }
@@ -1,10 +1,3 @@
1
1
  declare module '@ember-data/legacy-compat/-private' {
2
- /**
3
- * Utilities - often temporary - for maintaining backwards compatibility with
4
- * older parts of EmberData.
5
- *
6
- @module
7
- */
8
2
  export * from "@warp-drive/legacy/compat/-private";
9
-
10
3
  }
@@ -1,14 +1,3 @@
1
1
  declare module '@ember-data/legacy-compat/builders' {
2
- /**
3
- Builders for migrating from `store` methods to `store.request`.
4
-
5
- These builders enable you to migrate your codebase to using the correct syntax for `store.request` while temporarily preserving legacy behaviors.
6
- This is useful for quickly upgrading an entire app to a unified syntax while a longer incremental migration is made to shift off of adapters and serializers.
7
- To that end, these builders are deprecated and will be removed in a future version of Ember Data.
8
-
9
- @module
10
- @deprecated
11
- */
12
2
  export * from "@warp-drive/legacy/compat/builders";
13
-
14
3
  }
@@ -1,11 +1,7 @@
1
- /// <reference path="./builders.d.ts" />
2
- /// <reference path="./utils.d.ts" />
3
1
  /// <reference path="./-private.d.ts" />
2
+ /// <reference path="./utils.d.ts" />
3
+ /// <reference path="./builders.d.ts" />
4
4
  declare module '@ember-data/legacy-compat' {
5
- /**
6
- * @module
7
- * @mergeModuleWith <project>
8
- */
9
- export { normalize, pushPayload, serializeRecord, cleanup, serializerFor, adapterFor, LegacyNetworkHandler, type MinimumAdapterInterface, type MinimumSerializerInterface, type SerializerOptions, type AdapterPayload, type LegacyStoreCompat, type CompatStore } from "@warp-drive/legacy/compat";
10
-
5
+ import { AdapterPayload, CompatStore, LegacyNetworkHandler, LegacyStoreCompat, MinimumAdapterInterface, MinimumSerializerInterface, SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor } from "@warp-drive/legacy/compat";
6
+ export { type AdapterPayload, type CompatStore, LegacyNetworkHandler, type LegacyStoreCompat, type MinimumAdapterInterface, type MinimumSerializerInterface, type SerializerOptions, adapterFor, cleanup, normalize, pushPayload, serializeRecord, serializerFor };
11
7
  }
@@ -1,11 +1,3 @@
1
1
  declare module '@ember-data/legacy-compat/utils' {
2
- /**
3
- Utilities for helping to migrate to stricter
4
- and more consistent use of IDs and types.
5
-
6
- @module
7
- @deprecated
8
- */
9
2
  export * from "@warp-drive/legacy/compat/utils";
10
-
11
3
  }