Skip to content

Commit

Permalink
chore: update deprecation availability
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Dec 19, 2024
1 parent ee8bcde commit 06d0953
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion packages/graph/src/-private/-diff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export function diffCollection(
id: 'ember-data:deprecate-non-unique-relationship-entries',
for: 'ember-data',
until: '6.0',
since: { available: '5.3', enabled: '5.3' },
since: { available: '4.13', enabled: '5.3' },
}
);
// eslint-disable-next-line no-console
Expand Down
2 changes: 1 addition & 1 deletion packages/graph/src/-private/coerce-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function coerceId(id: Coercable): string | null {
until: '6.0',
for: 'ember-data',
since: {
available: '5.3',
available: '4.13',
enabled: '5.3',
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export default function replaceRelatedRecord(graph: Graph, op: ReplaceRelatedRec
{
id: 'ember-data:deprecate-relationship-remote-update-clearing-local-state',
for: 'ember-data',
since: { enabled: '5.3', available: '5.3' },
since: { enabled: '5.3', available: '4.13' },
until: '6.0',
url: 'https://deprecations.emberjs.com/v5.x#ember-data-deprecate-relationship-remote-update-clearing-local-state',
}
Expand Down Expand Up @@ -180,7 +180,7 @@ export default function replaceRelatedRecord(graph: Graph, op: ReplaceRelatedRec
{
id: 'ember-data:deprecate-relationship-remote-update-clearing-local-state',
for: 'ember-data',
since: { enabled: '5.3', available: '5.3' },
since: { enabled: '5.3', available: '4.13' },
until: '6.0',
url: 'https://deprecations.emberjs.com/v5.x#ember-data-deprecate-relationship-remote-update-clearing-local-state',
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function replaceRelatedRecordsRemote(graph: Graph, op: ReplaceRelatedRecordsOper
{
id: 'ember-data:deprecate-relationship-remote-update-clearing-local-state',
for: 'ember-data',
since: { enabled: '5.3', available: '5.3' },
since: { enabled: '5.3', available: '4.13' },
until: '6.0',
url: 'https://deprecations.emberjs.com/v5.x#ember-data-deprecate-relationship-remote-update-clearing-local-state',
}
Expand Down
2 changes: 1 addition & 1 deletion packages/legacy-compat/src/builders/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function normalizeModelName(type: string): string {
until: '6.0',
for: 'ember-data',
since: {
available: '5.3',
available: '4.13',
enabled: '5.3',
},
}
Expand Down
2 changes: 1 addition & 1 deletion packages/model/src/-private/has-many.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function normalizeType(type: string) {
until: '6.0',
for: 'ember-data',
since: {
available: '5.3',
available: '4.13',
enabled: '5.3',
},
}
Expand Down
2 changes: 1 addition & 1 deletion packages/model/src/-private/many-array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ function assertNoDuplicates<T>(
until: '6.0',
since: {
enabled: '5.3',
available: '5.3',
available: '4.13',
},
}
);
Expand Down
6 changes: 3 additions & 3 deletions packages/model/src/-private/schema-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ if (ENABLE_LEGACY_SCHEMA_SERVICE) {
until: '6.0',
for: 'ember-data',
since: {
available: '5.4',
available: '4.13',
enabled: '5.4',
},
});
Expand All @@ -184,7 +184,7 @@ if (ENABLE_LEGACY_SCHEMA_SERVICE) {
until: '6.0',
for: 'ember-data',
since: {
available: '5.4',
available: '4.13',
enabled: '5.4',
},
});
Expand All @@ -205,7 +205,7 @@ if (ENABLE_LEGACY_SCHEMA_SERVICE) {
until: '6.0',
for: 'ember-data',
since: {
available: '5.4',
available: '4.13',
enabled: '5.4',
},
});
Expand Down
2 changes: 1 addition & 1 deletion packages/model/src/-private/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function normalizeModelName(type: string): string {
until: '6.0',
for: 'ember-data',
since: {
available: '5.3',
available: '4.13',
enabled: '5.3',
},
}
Expand Down
4 changes: 2 additions & 2 deletions packages/request-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ export class CachePolicy {
id: 'ember-data:request-utils:lifetimes-service-store-arg',
since: {
enabled: '5.4',
available: '5.4',
available: '4.13',
},
for: '@ember-data/request-utils',
until: '6.0',
Expand Down Expand Up @@ -939,7 +939,7 @@ export class LifetimesService extends CachePolicy {
id: 'ember-data:deprecate-lifetimes-service-import',
since: {
enabled: '5.4',
available: '5.4',
available: '4.13',
},
for: 'ember-data',
until: '6.0',
Expand Down
6 changes: 3 additions & 3 deletions packages/schema-record/src/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ if (ENABLE_LEGACY_SCHEMA_SERVICE) {
until: '6.0',
for: 'ember-data',
since: {
available: '5.4',
available: '4.13',
enabled: '5.4',
},
});
Expand All @@ -307,7 +307,7 @@ if (ENABLE_LEGACY_SCHEMA_SERVICE) {
until: '6.0',
for: 'ember-data',
since: {
available: '5.4',
available: '4.13',
enabled: '5.4',
},
});
Expand All @@ -326,7 +326,7 @@ if (ENABLE_LEGACY_SCHEMA_SERVICE) {
until: '6.0',
for: 'ember-data',
since: {
available: '5.4',
available: '4.13',
enabled: '5.4',
},
});
Expand Down
8 changes: 4 additions & 4 deletions packages/store/src/-private/store-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ const app = new EmberApp(defaults, {
until: '6.0',
for: 'ember-data',
since: {
available: '5.4',
available: '4.13',
enabled: '5.4',
},
}
Expand Down Expand Up @@ -2397,7 +2397,7 @@ if (ENABLE_LEGACY_SCHEMA_SERVICE) {
until: '6.0',
for: 'ember-data',
since: {
available: '5.4',
available: '4.13',
enabled: '5.4',
},
});
Expand All @@ -2409,7 +2409,7 @@ if (ENABLE_LEGACY_SCHEMA_SERVICE) {
until: '6.0',
for: 'ember-data',
since: {
available: '5.4',
available: '4.13',
enabled: '5.4',
},
});
Expand All @@ -2421,7 +2421,7 @@ if (ENABLE_LEGACY_SCHEMA_SERVICE) {
until: '6.0',
for: 'ember-data',
since: {
available: '5.4',
available: '4.13',
enabled: '5.4',
},
});
Expand Down
2 changes: 1 addition & 1 deletion packages/store/src/-private/utils/coerce-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export function coerceId(id: unknown): string | null {
until: '6.0',
for: 'ember-data',
since: {
available: '5.3',
available: '4.13',
enabled: '5.3',
},
}
Expand Down
2 changes: 1 addition & 1 deletion packages/store/src/-private/utils/normalize-model-name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function normalizeModelName(type: string): string {
until: '6.0',
for: 'ember-data',
since: {
available: '5.3',
available: '4.13',
enabled: '5.3',
},
}
Expand Down

0 comments on commit 06d0953

Please sign in to comment.