Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump ember-data from 3.28.12 to 4.12.0 #653

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 30, 2023

Bumps ember-data from 3.28.12 to 4.12.0.

Release notes

Sourced from ember-data's releases.

v4.12.0 - Can't Cache This!

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 than store.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 RFC

To 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

... (truncated)

Changelog

Sourced from ember-data's changelog.

4.12.0 (2023-04-06)

🚀 Enhancement

🐛 Bug Fix

... (truncated)

Commits
  • 431c81b Release v4.12.0
  • 9077e90 Release v4.12.0-beta.9
  • 396a2b4 chore(deps): update dependency ember-source to ~4.12.0 (#8546)
  • 9cabb63 feat: pnpm v8 and associated fixes
  • c7ad96f chore: updated/added some test coverage for RecordArray (#8540)
  • 0ed232c Release v4.12.0-alpha.19
  • f8f0f4b chore(deps): update asset-compilation to ^7.21.4 (#8536)
  • 7541261 chore(deps): update dependency webpack to ^5.77.0 (#8532)
  • 641483b Release v4.12.0-alpha.18
  • 1aee66f Feat: README files for Debug, Adapter and Serializer (#8533)
  • Additional commits viewable in compare view

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 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.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Apr 30, 2023
@dependabot dependabot bot requested a review from velrest April 30, 2023 22:59
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ember-data-4.12.0 branch 2 times, most recently from 10639bf to c3649e0 Compare May 3, 2023 16:19
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ember-data-4.12.0 branch from c3649e0 to 99f154d Compare May 15, 2023 12:31
Bumps [ember-data](https://github.com/emberjs/data/tree/HEAD/packages/-ember-data) from 3.28.12 to 4.12.0.
- [Release notes](https://github.com/emberjs/data/releases)
- [Changelog](https://github.com/emberjs/data/blob/main/CHANGELOG.md)
- [Commits](https://github.com/emberjs/data/commits/v4.12.0/packages/-ember-data)

---
updated-dependencies:
- dependency-name: ember-data
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ember-data-4.12.0 branch from 99f154d to 5c2d758 Compare May 15, 2023 16:44
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 16, 2024

Superseded by #771.

@dependabot dependabot bot closed this Jun 16, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/ember-data-4.12.0 branch June 16, 2024 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants