New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-data-model-fragments

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-data-model-fragments - npm Package Versions

123467

2.0.2

Diff
slindberg
published 2.0.2 •

Changelog

Source

v2.0.2 (December 23, 2015)

  • Backported fix for issue with store.push leaving records dirty
slindberg
published 1.13.2 •

Changelog

Source

v1.13.2 (December 23, 2015)

  • Backported fix for issue with store.push leaving records dirty
slindberg
published 2.1.1 •

Changelog

Source

v2.1.1 (December 23, 2015)

  • Fixed issue with store.push leaving records dirty
slindberg
published 2.1.0 •

Changelog

Source

v2.1.0 (November 15, 2015)

  • Updated Ember/ED > v2.1.x
  • Fixed initializer argument deprecation
slindberg
published 2.0.1 •

Changelog

Source

v2.0.1 (November 15, 2015)

  • Fixed issue with looking up application/default serializers with store#serializerFor (@thec0keman)
slindberg
published 1.13.1 •

Changelog

Source

v1.13.1 (November 15, 2015)

  • Backported fix for application/default serializer lookup
slindberg
published 2.0.0 •

Changelog

Source

v2.0.0 (October 28, 2015)

  • Removed Deprecated APIs
  • Fixed breaking changes in Ember 2.0
  • Fixed deserialization issue when isNewSerializerAPI is not specified
Breaking Changes

The isDirty and rollback methods on fragments and fragment arrays have been removed (use hasDirtyAttributes and rollbackAttributes instead).

slindberg
published 1.13.0 •

Changelog

Source

v1.13.0 (October 25, 2015)

  • Removed deprecated APIs
  • Changed default value of fragment array properties to an empty array
  • Changed repository name
Breaking Changes

Deprecated APIs have been removed:

  • DS.ModelFragmentMF.Fragment
  • DS.hasOneFragmentMF.fragment
  • DS.hasManyFragmentsMF.fragmentArray
  • DS.fragmentOwnerMF.fragmentOwner

Support for non-fragment array properties has been added with the new property MF.array, which supports transforms:

export default DS.Model.extend({
  things: MF.array('string'),
  stuff: MF.array('my-custom-transform')
});

The default value of fragment array properties is now an empty array (previously null):

export default DS.Model.extend({
  things: MF.fragmentArray('some-fragment'), // { defaultValue: [] } option is no longer necessary
  stuff: MF.array('string') // Defaults to an empty array as well
});

The repository name has changed from ember-data.model-fragments to ember-data-model-fragments. This does not affect the NPM package name, but does affect the Bower package. Consequently, when upgrading from v0.4.x to v1.13.x, in addition to making sure the addon blueprint runs, the old Bower package must be removed manually:

$ bower uninstall --save ember-data.model-fragments
slindberg
published 0.4.4 •

Changelog

Source

v0.4.4 (October 25, 2015)

  • Reverted clearing fragment owner to maintain rollback support
  • Fixed issue with record dirtiness when setting with object literal
slindberg
published 0.4.3 •

Changelog

Source

v0.4.3 (October 14, 2015)

  • Updated API and added deprecation warnings to all outdated APIs
  • Fixed issue with initializer arguments in Ember 2.1 (@jakesjews)