Emberjs Data Versions Save

A lightweight reactive data library for javascript applications. Designed over composable primitives.

v5.3.3

2 months ago

v5.3.3 (2024-03-02)

:bug: Bug Fix

Committers: (1)

Chris Thoburn (@runspired)

v5.3.2

2 months ago

v5.3.2 (2024-02-29)

:house: Internal

Committers: (1)

Chris Thoburn (@runspired)

v5.3.1

2 months ago

v5.3.1 (2024-02-24)

:evergreen_tree: New Deprecation

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

:memo: Documentation

:rocket: Enhancement

:bug: 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)

:house: Internal

Committers: (8)

Krystan HuffMenne (@gitKrystan) Kirill Shaplyko (@Baltazore) Chris Thoburn (@runspired) OMKAR MAKHARE (@omimakhare) Agnik Bakshi (@Agnik7) @BoussonKarel Jared Galanis (@jaredgalanis) Eric Kelly (@HeroicEric)

v4.12.5

4 months ago

Changelog (2023-12-04)

:rocket: Enhancement

:bug: Bug Fix

Committers: 1

  • Chris Thoburn @runspired
  • Krystan HuffMenne @gitKrystan

v4.12.4

6 months ago

Changelog (2023-10-19)

:bug: 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)

:goal_net: Test

Committers: 1

v5.3.0

7 months ago

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

: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

:house: Internal

Committers: 11

v5.2.0

8 months ago

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

v5.1.2

8 months ago

Changelog (2023-08-17)

:bug: 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

v4.4.2

9 months ago

v4.4.2 (2023-08-01)

:bug: Bug Fix

  • model
    • #8713 Notify on length when notifying that many-array has changed (@richgt)

Committers: 1

v4.12.3

9 months ago

Changelog (2023-07-13)

:bug: Bug Fix

  • #8708 fix: catch errors during didCommit in DEBUG (@runspired)
    • also fix: unloadAll(void) sets RecordArray to isDestroyed #8707
    • also fix: peekAll state can be incorrect if unloadRecord occurs immediately after successful save #8709
  • #8704 fix: de-dupe coalescing when includes or adapterOptions is present but still use findRecord (@runspired)
  • #8705 fix: make implicit relationship teardown following delete of related record safe (@runspired)
  • #8703 fix: @ember-data/debug should declare its peer-dependency on @ember-data/store (@runspired)

Committers: 1