chore(deps): update dependency ember-data to v5 #398
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.28.13
->5.3.9
Release Notes
emberjs/data (ember-data)
v5.3.9
Compare Source
v5.3.8
Compare Source
v5.3.7
Compare Source
v5.3.6
Compare Source
v5.3.5
Compare Source
v5.3.4
Compare Source
🌲 New Deprecation
📝 Documentation
🚀 Enhancement
🐛 Bug Fix
🏠 Internal
Committers: (2)
Chris Thoburn (@runspired)
@NullVoxPopuli
For the full project changelog see https://github.com/emberjs/data/blob/main/CHANGELOG.md
v5.3.3
: | I won't lie, it won't be easyCompare Source
v5.3.3 (2024-03-02)
🐛 Bug Fix
Committers: (1)
Chris Thoburn (@runspired)
v5.3.2
: | Make the music stop before it startsCompare Source
v5.3.2 (2024-02-29)
🏠 Internal
Committers: (1)
Chris Thoburn (@runspired)
v5.3.1
Compare Source
🚀 Enhancement
🐛 Bug Fix
🏠 Internal
Committers: (3)
Chris Thoburn (@runspired)
Eric Kelly (@HeroicEric)
Krystan HuffMenne (@gitKrystan)
v5.3.0
: | don't forget, baby, I'm a wildcardCompare Source
The Big Picture
This release primarily focused on polish for the
RequestManager
story, introducing builder utils, builders forREST
ActiveRecord
andJSON:API
requests as well as serialization utils forJSON: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 resourcecache.hasChangedRelationships
answers whether any relationships have changed for a resourcecache.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.
ember-data/
) except forember-data/store
1
instead of"1"
)And in relationships specifically:
Changelog (2023-09-18)
🚀 Enhancement
🐛 Bug Fix
🌲 New Deprecation
🚿 Deprecation Removal
adapter
,model
,private-build-infra
,serializer
ember-cli-mocha
andember-mocha
when generating test blueprints (@bertdeblock)📝 Documentation
JSONAPISerializer.shouldSerializeHasMany
relation param type (@samridhivig)🥅 Test
🏠 Internal
Committers: 11
v5.2.0
: | I could've taken you placesCompare Source
Changelog (2023-08-17)
5.1.2 Contained the following changes
🐛 Bug Fix
v5.1.2
: | Now I've had time to think it overCompare Source
Changelog (2023-08-17)
🐛 Bug Fix
v5.1.1
: - I know it was wrong, but never said I was sorryCompare Source
Changelog (2023-07-07)
🐛 Bug Fix
Committers: 1
v5.1.0
: - We went to Hell, but we never came backCompare Source
Changelog (2023-06-29)
🐛 Bug Fix
Committers: 1
v5.0.1
Compare Source
🐛 Bug Fix
Committers: 1
v5.0.0
: - Rose Colored LensesCompare Source
This release removes code deprecated during 4.x.
🎵 We could stay like this forever.
Changelog
🐛 Bug Fix
🚿 Deprecation Removal
📝 Documentation
Committers: 4
v4.12.8
: | Backstreet's Back, Alright!Compare Source
v4.12.8 (2024-05-08)
🚀 Enhancement
Committers: 1
v4.12.7
Compare Source
v4.12.6
Compare Source
v4.12.5
: | Paw Patrol is on a RollCompare Source
Changelog (2023-12-04)
🚀 Enhancement
🐛 Bug Fix
Committers: 1
v4.12.4
: | Old age is just around the bendCompare Source
Changelog (2023-10-19)
🐛 Bug Fix
🥅 Test
Committers: 1
v4.12.3
Compare Source
🐛 Bug Fix
Committers: 1
v4.12.2
: LTS - v4.12.2 | With our head above the clouds, fallin' stupid like we're kidsCompare Source
Changelog (2023-07-07)
🚀 Enhancement
🐛 Bug Fix
Committers: 1
v4.12.1
Compare Source
🐛 Bug Fix
Committers: 2
v4.12.0
: - Can't Cache This!Compare Source
It might be the last release of the cycle, but this release comes packed with goodies, so here we'll try to unpack a bit of what's changed.
A Big Step Towards Modern Javascript Build Tooling Support
First, while all addons are still shipping as v1-addons, they now look a lot like v2-addons. We're referring to this as "v1-lite". We pre-build them with rollup leaving only the most minimal babel step to be done when included in your app. Generally this should result in applications seeing improved build times and vastly improved embroider support.
There are still a few blocking issues in ember-auto-import and embroider before EmberData will be able to flip the switch and ship its packages as v2-addons, but that's what is left at this point: a switch to flip. Many thanks to @richgt for his efforts to help us on this journey.
Documentation
Numerous APIs associated with the Cache, Notifications, Identity Management, and Record Lifecycle have new or improved docs. All packages have had their package overviews updated (some extensively, a few just a bit -- for now), and all packages now have a detailed README.
Deprecation documentation is now written inline alongside the flags that may be used to control granular deprecation stripping. Deprecation documentation will also continue to be added to the deprecation guides, though as of yet the 4.x guides have not been added there (we'd love help with this!).
A major focus of the 5.x cycle will be on refining and polishing the documentation for Polaris. A Quest issue has been opened and we'd love your help!
@ember-data/request has its first Stable Release!
This package introduces the RequestManager, a package that can be used independently (but also comes bundled with
ember-data
) that re-envisions how data fetching is managed for both EmberData and applications more broadly.You may want to peruse the RFC or head over and read its documentation
With this release, all existing request flows in EmberData utilize the RequestManager. While Adapters and Serializers will continue to work via the legacy-handler, these concepts are now entirely optional and users should expect that over the course of the 5.x series as the new request management story is further polished that these legacy concepts will be deprecated and removed from the recommended experience. They will, however, likely live on much longer since their implementation is now as an integration into the request-pipeline of the future and as such is something an application could choose to integrate and continue using.
The Notifications Service has Expanded Capabilities
In addition to subscribing to notifications for individual resources, the notification service now enables subscribing to resource added/removed events and Document added/removed events.
Promises are now Native Promises
EmberData now uses native promises for all promise APIs instead of RSVP Promises. This can have some unexpected timing affects, there's an overview here
The Cache 2.1 Spec is Implemented
What this means in effect is that
store.request
is now a much ... much more powerful API thanstore.query
. Requests are capable of providing a cache-key or being cached by URL, with full lifecycle control and notification subscriptions. Documents are a first-class citizen of the Cache and EmberData more broadly, we are no longer just a resource-cache. For the full motivations and a discussion of all the various capabilities this unlocks we recommend reading the RFCTo go with this, the
JSON:API
cache previously provided by@ember-data/record-data
is now upgraded to the 2.1 spec and available as the@ember-data/json-api
package. While this cache does not yet implement the full suite of cache 2.1 APIs, support for all Cache 2.1 APIs has been added to the store.Changelog
🚀 Enhancement
🐛 Bug Fix
🚿 Deprecation Removal
@ember/error
to native Error (@chriskrycho)📝 Documentation
🥅 Test
🏠 Internal
Committers: 9
v4.11.3
: - Roads? Where We're Going ...Compare Source
Fixes a memory leak in SSR/Tests and Infinite Recursion bug in develop when yielded/awaited in an ember-concurrency task.
v4.11.2
: - Roads UntraveledCompare Source
Bugfixes to resolve major upgrade blockages (computed chains not recalcing, failing builds)
[
v4.11.1
](https://github.com/emberjs/data/compare/v4.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.