miragejs / ember-cli-mirage

An Ember Addon to easily add Mirage JS to your Ember app.
http://ember-cli-mirage.com
MIT License
863 stars 441 forks source link

Bump @ember-data/store from 4.11.3 to 5.3.0 #2538

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

Bumps @ember-data/store from 4.11.3 to 5.3.0.

Release notes

Sourced from @​ember-data/store'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/store'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
  • 4badefd Release v5.3.0
  • f825b94 Release v5.4.0-alpha.16
  • 977a794 chore(deps): update dependency @​babel/core to ^7.22.19 (#8875)
  • 2ee4219 Release v5.4.0-alpha.15
  • 7d4f65c feat: docs, tests and fixes for create/update/deleteRecord builders (#8849)
  • 3ad11e2 chore(deps): update pnpm to v8.7.5 (#8870)
  • 83f80b7 chore(deps): update dependency rollup to ^3.29.1 (#8869)
  • 8289d5c Release v5.4.0-alpha.14
  • 59b18a1 Release v5.4.0-alpha.13
  • 7bb299f chore(deps): update dependency @​babel/core to ^7.22.17 (#8834)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)
dependabot[bot] commented 11 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.