ember-learn / deprecation-app

Deprecation guides for ember.js, ember-data, and ember-cli
https://deprecations.emberjs.com/
22 stars 69 forks source link

build(deps-dev): bump ember-data from 4.4.1 to 5.3.0 #1350

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Bumps ember-data from 4.4.1 to 5.3.0.

Release notes

Sourced from ember-data's releases.

v5.3.0 | don't forget, baby, I'm a wildcard

The Big Picture

This release primarily focused on polish for the RequestManager story, introducing builder utils, builders for REST ActiveRecord and JSON:API requests as well as serialization utils for JSON:API requests.

As part of shipping serialization utils, we implemented several long-awaited cache features to support them:

  • cache.changedRelationships retrieves a diff of what has been added or removed from each relationship for a resource
  • cache.hasChangedRelationships answers whether any relationships have changed for a resource
  • cache.rollbackRelationships will reset all relationships for that resource to their "remote" state, removing any local changes.

As part of our ongoing efforts to modernize the library and to support the above changes, we implemented several new deprecations.

  • Deprecate legacy import paths (ember-data/) except for ember-data/store
  • Deprecate non-strict-type (e.g. "users" or "myType" instead of "user" and "my-type")
  • Deprecate non-strict-id (e.g . 1 instead of "1")

And in relationships specifically:

  • deprecate fixing non-unique relationship payloads (when the same record is referenced multiple times in a related collection)
  • deprecate remote updates clearing local changes (an upcoming blog post will explain the new behavior here in detail)

Changelog (2023-09-18)

:rocket: Enhancement

:bug: Bug Fix

... (truncated)

Changelog

Sourced from ember-data's changelog.

v5.3.0 (2023-09-18)

:rocket: Enhancement

:bug: Bug Fix

:evergreen_tree: New Deprecation

:shower: Deprecation Removal

  • adapter, model, private-build-infra, serializer
    • #8797 Drop support for ember-cli-mocha and ember-mocha when generating test blueprints (@​bertdeblock)

:memo: Documentation

:goal_net: Test

... (truncated)

Commits


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

netlify[bot] commented 1 year ago

Deploy Preview for ember-deprecations failed.

Name Link
Latest commit f94461b43d5f79bed641f4b9dd34e9f499a5d8da
Latest deploy log https://app.netlify.com/sites/ember-deprecations/deploys/6511335ebc57f80008402add