Skip to content

Releases: emberjs/data

v1.13.10

20 Aug 22:07
Compare
Choose a tag to compare

Release 1.13.10 (August 20, 2015)

  • #3577 Use the correct modelClass and serializer to extract a polymorphic
  • #3667 Don’t crash \w Ember 2.0

Please Note: Ember Data 1.13.x does not support Ember 2.1+. If you would like to use Ember Data with Ember 2.1 or greater please upgrade to Ember Data 2.0

v2.0.0-beta.2

14 Aug 16:32
Compare
Choose a tag to compare

Release 2.0.0-beta.2 (August 14, 2015)

Breaking Changes

The live updating filterBy (introduced in 2.0.0-beta.1) on RecordArrays and ManyArrays has been
reverted because it broke semver and existing applications. filterBy once again returns a normal array. See #3263.

Changes

  • #3651 [DOC release] Update changelog for 1.13.9
  • #3653 [BUGFIX beta] Update the dependencies for Ember 2.0
  • #3654 Revert the live filterBy changes in Ember Data beta.1

v1.13.9

13 Aug 22:27
Compare
Choose a tag to compare

Release 1.13.9 (August 13, 2015)

Breaking Changes

The live updating filterBy (introduced in 1.13.8) on RecordArrays and ManyArrays has been
reverted because it broke semver and existing applications. See #3263.

Changes

  • #3633 Fixed typo.
  • #3639 Remove todo in API doc
  • #3648 Revert filter by
  • #3623 [BUGFIX release] Update ember-inflector to 1.9.0 (This commit was included in 1.13.8 but 1.13.8 was built with an old ember-inflector dependency by mistake.)

Ember Data v2.0.0-beta.1

06 Aug 15:40
Compare
Choose a tag to compare
Pre-release

Release 2.0.0-beta.1 (August 6, 2015)

Breaking Changes

Unsaved deleted records are no longer removed from hasMany relationships and RecordArrays returned by the store

In Ember Data 1.13 once a record was marked as deleted it was removed from all of the RecordArrays and hasMany arrays it belongTo. This made it difficult to create UIs where a user could flag a record for deletion but still allow the user the ability to un-flag the record until the save request was made.

In Ember Data 2.0 a record will no longer be removed from hasMany relationships or RecordArrays until the delete has been acknowledged by the adapter. Although deleted records will be visible in hasMany relationships they will not be serialized when saving these relationships to the backend.

To make the transition easier RecordsArrays and hasMany relationships implement (since Ember Data 1.13.8) a filterBy method that returns a live filtered subset of the original array. This can be used to filter out deleted but unsaved records.

App.PostController = Ember.Controller.extend({
  allPosts: function() {
    return this.store.peekAll('post');
  }.property()
  allUndeletedPosts: function() {
    return this.store.peekAll('post').filterBy('isDeleted', false);
  }.property()
});

Changes

  • #3375 JSONAPISerializer only supports the new Serializer API
  • #3251 Convert unload test to json api format for store.push.. #3223
  • #3345 [CLEANUP] drop IE8 support
  • #3487 Default to using the JSONAPIAdapter
  • #3389 Re-enable beta and canary tests
  • #3383 update ember-inflector to 1.6.2
  • #3384 Assert if the RESTSerializers when using the new format calls another
  • #3379 store.push should support arrays in the JSONAPI data property
  • #3388 Have looked up ActiveModelSerializer opt into the new Serializer API
  • #3489 Remove deprecated code from the Ember Data initializer
  • #3396 make sure deprecate error doesnt get swallowed when using store.push(type, data)
  • #3392 AMS modelNameFromPayloadKey and serializePolymorphicType cleanup
  • #3394 [DOC] Deprecate store.pushMany in documentation
  • #3408 Fix Typos in Documentation for DS.Adapter
  • #3433 Fix deprecation warnings
  • #3430 [CLEANUP beta] Remove old Serializer API
  • #3432 [CLEANUP beta] Use Object.keys/Object.create instead of Ember.keys/Ember.create
  • #3420 [CLEANUP] Remove ember-new-computed dependency
  • #3410 Fix minor typo in deprecation warning
  • #3488 Relationships are async by default in 2.0
  • #3462 Fix documentation typos in Adapter
  • #3441 [CLEANUP beta] Remove ManyArray deprecations
  • #3440 [CLEANUP beta] Remove RESTSerializer deprecations
  • #3439 [CLEANUP beta] Remove RESTAdapter deprecations
  • #3438 [CLEANUP beta] Remove BuildURLMixin deprecations
  • #3442 [CLEANUP beta] Remove Model deprecations
  • #3443 [CLEANUP beta] Remove Snapshot deprecations
  • #3436 Fix Ember Data build with fresh install
  • #3457 [CLEANUP beta] Remove ActiveModelAdapter/Serializer
  • #3458 [DOC] createRecord relationships close #3421
  • #3490 Remove deprecated finder methods on the store.
  • #3469 Update shouldReload* flags for 2.0
  • #3470 Fix broken link
  • #3473 [DOC] Fill @Property of DS.Model.modelName
  • #3481 update errors.js docs to mirror new json api error specs
  • #3477 Add modelClass argument to JSONSerializer.extractId
  • #3539 Only remove deleted records form record arrays when saved
  • #3496 Update README.md
  • #3497 Use detail instead of details for JSON API error objects
  • #3532 [CLEANUP beta] Remove Store deprecations
  • #3550 Fix JSONSerializer to pass through payload.included
  • #3534 Rename error attribute
  • #3544 Add error message in _pushInternalMessage when unknown type
  • #3531 Adds some documentation for JSONApiSerializer
  • #3533 [CLEANUP beta] Remove console.log() call
  • #3567 Use Ember.$ instead of jQuery for AJAX requests
  • #3570 Update Ember.deprecate and Ember.warn calls to include required information

Ember Data v1.13.8

06 Aug 13:27
Compare
Choose a tag to compare

Release 1.13.8 (August 6, 2015)

#3608 [BUGFIX release] Validate JSON API docs returned by normalizeResponse
#3591 DS.Store#findQuery overrides DS.Store#query docs
#3263 Add RecordArray#filterBy which contains a live, filtered subset
#3593 Update bin/changelog with customizations for Ember Data
#3601 [DOC release] Fix missing docs due to /* instead of /**
#3610 [BUGFIX release] Add missing urlForFindQueryRecord to BuildUrlMixin
#3615 [DOC release] Update misleading example for Adapter.queryRecord()
#3619 [DOC release] fix urlForFindRecord documentation
#3622 Fix failing tests from merging PR #3263
#3623 [BUGFIX release] Update ember-inflector to 1.9.0
#3624 Implement filterBy on DS.ManyArray

Ember Data v1.13.7

27 Jul 15:29
Compare
Choose a tag to compare

Release 1.13.7 (July 27, 2015)

#3554 Add queryRecord method to the RESTAdapter
#3553 Reversed args in Ember.Observer
#3531 Adds some documentation for JSONApiSerializer
#3555 [BUGFIX release] Transition to loaded.saved state after rollback
#3558 [BUGFIX release] Follow JSON-API error object spec
#3560 Deprecate error property
#3562 remove babel warnings around parameters
#3563 [DOC release] Adding documentation for SnapshotRecordArray
#3571 [DOC release] Update README examples
#3575 [BUGFIX release] Update Ember.deprecate and Ember.warn calls to include required information
#3582 [BUGFIX release] Fix unconsistent behavior in Model.changedAttributes
#3590 Update bin/changelog to deal with cherry-picked commits

Ember Data v1.13.5

08 Jul 14:37
Compare
Choose a tag to compare

Changelog

  • #3437 Deprecate normalizePayload and normalizeHash @wecc
  • #3478 Fix Ember Data build with fresh install @sly7-7
  • #3475 [BUGFIX release] Remove deprecation warning for dev, keep IE 8 compat @sly7-7
  • #3452 [BUGFIX release] handle case where linked relationship data is null @pangratz
  • #3458 [DOC] createRecord relationships close #3421 @givanse
  • #3460 [BUGFIX release] Do not register the service store when it has already been registered @loadimpact
  • #3462 Fix documentation typos in Adapter @sutherland
  • #3473 [DOC] Fill @Property of DS.Model.modelName @XrXr
  • #3479 [DOC release] Fix typo in JSONSerializer.extractAttributes docs @pdud
  • #3482 [BUGFIX release] Update the version of ember-new-computed to fix an E… @bmac
  • #3481 update errors.js docs to mirror new json api error specs @philipp-spiess
  • #3497 Use detail instead of details for JSON API error objects @sebastianseilund
  • #3503 [DOC release] Fix documentation for DS.InternalModel#_changedKeys() @hibariya
  • #3505 [BUGFIX release] Do not assume the serializer is an Ember object. @bmac
  • #3511 Assert serializers are using the same API @wecc
  • #3468 [BUGFIX release] shouldReloadRecord and shouldBackgroundReloadRecord … @bmac
  • #3513 [BUGFIX release] Always look up the serializer using store.serializerFor @bmac
  • #3477 Add modelClass argument to JSONSerializer.extractId @pdud