Skip to content

Releases: emberjs/data

v5.3.4 | In a cloud of sparkling dust

15 Jun 02:29
Compare
Choose a tag to compare

image

Yes, this is a patch release packed with goodies. We expect this to be the last patch release of the 5.3 cycle. This puts the release of 5.4 with the first stable releases of @warp-drive/schema-record and @warp-drive/ember ~4 weeks away. Who needs August when you have July?

In no particular order, goodies contained

  • 5.3.4 ships fully as v2-addons
  • all packages ship types, types must be opted into, see the typescript guide
  • native types packages are now available for 5.3
  • mirror packages are now available for 5.3
  • a new cli tool has been added. So far its only niftiness is this cli tool will let you quickly configure your 4.x project for typescript. npx warp-drive retrofit types@canary. Mileage may vary, this works best with 4.12
  • ember-inflector and @ember/string are no longer project dependencies

Three new deprecations

  • deprecates Store extending EmberObject
  • deprecates using emberData in options in ember-cli-build in favor of setConfig
  • deprecates using ember-inflector for singularization/pluralization support in favor of @ember-data/request-utils (ember-inflector is not deprecated, only WarpDrive/EmberData's consumption of it)

v5.3.4 (2024-06-15)

🌲 New Deprecation

📝 Documentation

🚀 Enhancement

🐛 Bug Fix

Read more

v4.12.8 | Backstreet's Back, Alright!

08 May 19:10
Compare
Choose a tag to compare

v4.12.8 (2024-05-08)

🚀 Enhancement

Committers: 1

v4.6.5 | Man, I feel like a woman

08 May 19:42
Compare
Choose a tag to compare

v4.6.5 (2024-05-08)

🐛 Bug Fix

  • #9316 Notify on length when notifying that many-array has changed

Committers: 1

v5.3.3 | I won't lie, it won't be easy

02 Mar 04:05
Compare
Choose a tag to compare

v5.3.3 (2024-03-02)

🐛 Bug Fix

Committers: (1)

Chris Thoburn (@runspired)

v5.3.2 | Make the music stop before it starts

29 Feb 23:27
Compare
Choose a tag to compare

v5.3.2 (2024-02-29)

🏠 Internal

Committers: (1)

Chris Thoburn (@runspired)

v5.3.1 | Forever may never come

24 Feb 02:18
Compare
Choose a tag to compare

v5.3.1 (2024-02-24)

🌲 New Deprecation

  • #9189 fix: mutating ManyArray should handle duplicates gracefully (with deprecation) (@gitKrystan)

📝 Documentation

🚀 Enhancement

🐛 Bug Fix

  • #9221 fix: prevent rollbackRelationships from setting remoteState and localState to the same array reference (@runspired)
  • #9203 fix: Fetch handler hacks for Mirage (canary) (@gitKrystan)
  • #9189 fix: mutating ManyArray should handle duplicates gracefully (with deprecation) (@gitKrystan)
  • #9183 fix: keep a backreference for previously merged identifiers (@runspired)
  • #8927 fix: live-array delete sync should not clear the set on length match (@runspired)
  • #9164 fix: url configuration should respect / for host and error more meaningfully when invalid (@runspired)
  • #9159 fix: support full range of json:api for references, update docs (@runspired)
  • #9097 fix: allow decorator syntax in code comments during yui doc processing (@jaredgalanis)
  • #9014 fix: make willCommit slightly safer when race conditions occur (@runspired)
  • #8934 fix: JSONAPISerializer should not reify empty records (@runspired)
  • #8892 doc: Fix paths in transform deprecations (@HeroicEric)

🏠 Internal

Read more

v4.12.5 | Paw Patrol is on a Roll

04 Dec 21:34
Compare
Choose a tag to compare

Changelog (2023-12-04)

🚀 Enhancement

🐛 Bug Fix

Committers: 1

v4.12.4 | Old age is just around the bend

19 Oct 00:51
Compare
Choose a tag to compare

Changelog (2023-10-19)

🐛 Bug Fix

  • #9012 fix: make willCommit slightly safer when race conditions occur (@runspired)
  • #8933 fix: JSONAPISerializer should not reify empty records (@runspired)
  • #8926 fix: unloadAll should cleanup live-array membership (@runspired)

🥅 Test

Committers: 1

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

18 Sep 19:55
Compare
Choose a tag to compare

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)

🚀 Enhancement

🐛 Bug Fix

🌲 New Deprecation

🚿 Deprecation Removal

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

📝 Documentation

🥅 Test

🏠 Internal

Read more

v5.2.0 | I could've taken you places

17 Aug 23:48
Compare
Choose a tag to compare

Changelog (2023-08-17)

  • Re-release of 5.1.2 to keep lockstep pace. This release contains no new work.

5.1.2 Contained the following changes

🐛 Bug Fix

  • #8750 Backport into release (@jrjohnson)
    • fix: @ember-data/debug should declare its peer-dependency on @ember-data/store #8703
    • fix: de-dupe coalescing when includes or adapterOptions is present but still use findRecord #8704
    • fix: make implicit relationship teardown following delete of related record safe #8705
    • fix: catch errors during didCommit in DEBUG #8708