- #5383 Remove '@ember/ordered-set' warning when building Ember Data
- #5255 [BUGFIX beta] Use native Map if present. (#5255)
- #5367 Update ember twiddle links to working versions (#5367)
- #5370 Fix failing test on master by adding an invalid inverse to trigger th…
- #5372 [BUGFIX beta] Use @ember/ordered-set to avoid deprecations.
- #5376 [bugfix beta] Fetch cancels unload
- #5377 invalidate link promise on inverse unload
- #5341 Avoid
isEmpty
for known object types. - #5230 [BUGFIX] enable lazy-relationship payloads to work with polymorphic relationships
- #5327 [DOC] Fix Changelog release date for v2.11.0
- #5310 Remove
s3-put
andcached-npm
scripts. - #5273 client-side-delete semantics
unloadRecord
- #5330 [CHORE] updates to benchmark harness
- #5322 Clean up a bunch of invalid yuidoc blocks that were causing warnings …
- #5318 Use Ember.computed in the headers examples to avoid ember eslint warning
- #5311 Avoid bower usage in config/ember-try.js
- #5321 Update some dependencies to clean up some noise when running yarn ins…
- #5317 Dont serialize new belongsTo records (#5317)
- #5323 Stop using deprecated vendor-prefix hook to inject enableoptionalfeat…
- #5326 Remove usages of enumerable observers
- #5329 bump rsvp
- #5332 [BUGFIX beta] Fix development build relationship caching.
- #5333 [DEV-BUGFIX] Fix instrumentation when running in production (#5333)
- #5339 Prevent build issues when linking ember-source.
- #5340 [BUGFIX beta] Update DS.Errors#unknownProperty to return
undefined
. - #5342 Refactor Travis setup to leverage stages... (#5342)
- #5230 [BUGFIX] enable lazy-relationship payloads to work with polymorphic relationships
- #5273 client-side-delete semantics
unloadRecord
- #5296 blueprints/adapter-test: Add RFC232 variants
- #5249 Fix client-side delete + resurrection
- #5301 Add a test to ensure multiple stores get unique instances of serializ…
- #5289 [CLEANUP beta] Remove support/deprecation for normalizeHash in 3.0.0 (#5289)
- #5286 Remove deprecation/support for complex object as defaultValues of DS.attr
- #5288 Remove date transforms deprecations and support for Ember.Date.parse
- #5289 [CLEANUP beta] Remove support/deprecation for normalizeHash in 3.0.0 (#5289)
- #5261 [BUGFIX] inverseFor should respect inverse: null
- #5285 Remove deprecation messages for old instance initializers
- #5290 Remove deprecation around shouldSerializeHasMany
- #5291 Remove deprecation and fallback for keyForAttribute when keyForPolymo…
- #5293 cleanup: node-tests cleanup (#5293)
- #5294 blueprints/transform-test: Add RFC232 variants
- #5297 bluepints/model-test: Add RFC232 variants
- #5298 blueprints/serializer-test: Add RFC232 variants
- #5299 Fixup the RFC232 model-test files.
- #5300 Simplify
store.adapterFor
andstore.serializerFor
. - #5305 Serializers and adapters should be unique per store
- #5308 Simplify the getDescriptor test helper
- #5230 [BUGFIX] enable lazy-relationship payloads to work with polymorphic relationships
- #5273 client-side-delete semantics
unloadRecord
- #5225 Remove blueprints for Mocha < 0.12. (#5225)
- #4998 [DOC beta] Assert that both modelName and id are passed to
peekRecord
(#4998) - #5223 [BUGFIX release] Cleanup test only dependencies.
- #5200 bump rsvp
- #5108 Updates addon to adhere to RFC 176 (#5108)
- #5232 Update documentation in model.js
- #5203 Skip ember try on appveyor
- #5239 Deprecate support for "production like" values in EMBER_ENV
- #5213 [BUGFIX beta] proxy
meta
on PromiseArray - #5212 Do not show feature flag improved-ajax methods in the api docs
- #5206 [BUGFIX beta] Fix broccoli-babel-transpiler cache warnings
- #5216 [BUGFIX beta] invalid record becomes loaded when property is reset
- #5217 [BUGFIX beta] RecordReference returns null when not yet loaded
- #5218 Update assert against nulls (#5218)
- #5220 Remove (unnecessary) ember-inflector peer dependency
- #5221 Fix docs link. (#5221)
- #5224 Add missing dependency for travis build
- #5238 Move initialize-store-service.js out of the instance-initializers dir…
- #5242 [BUGFIX beta] Normalize model names during
push
- #5250 [doc] Update links to Ember Guide (#5250)
- #5260 [doc] Update urlForFindRecord example
- #5230 [BUGFIX] enable lazy-relationship payloads to work with polymorphic relationships
- #5216 [BUGFIX beta] invalid record becomes loaded when property is reset
- #4998 [DOC beta] Assert that both modelName and id are passed to
peekRecord
(#4998) - #5217 [BUGFIX beta] RecordReference returns null when not yet loaded
- #5166 [DOC] Remove mention of
bower install
from README - #5114 Make import stripping smarter to resolve #5019
- #5165 [DOC] Update README build step script name
- #5212 Do not show feature flag improved-ajax methods in the api docs
- #5183 [DOCS release] Add missing "relationship" field to RESTAdapter.findBelongsTo docs
- #5176 fix node 4
- #5172 [DOC] Remove parameter from BelongsToReference.value
- #5178 Ignore included resources without that don't have a corresponding ember-data model
- #5213 [BUGFIX beta] proxy
meta
on PromiseArray - #5197 Fix ember-data Node 4.x builds
- #5191 Remove feature flagging for ds-extended-errors.
- #5184 Update LICENSE through 2017
- #5196 [BUGFIX beta] Avoid cache related warnings during builds.
- #5206 [BUGFIX beta] Fix broccoli-babel-transpiler cache warnings
- #5216 [BUGFIX beta] invalid record becomes loaded when property is reset
- #5220 Remove (unnecessary) ember-inflector peer dependency
- #5223 [BUGFIX release] Cleanup test only dependencies.
- #5224 Add missing dependency for travis build
- #5232 Update documentation in model.js
- #5230 [BUGFIX] enable lazy-relationship payloads to work with polymorphic relationships
- #5114 Make import stripping smarter to resolve #5019
- #5197 Fix ember-data Node 4.x builds
- #5206 [BUGFIX beta] Fix broccoli-babel-transpiler cache warnings
- #5192 Remove feature flagging for ds-extended-errors.
- #4994 [BUGFIX beta] Fix flushing of pending saves, that include a deleted record (#4994)
- #5089 Bump
amd-name-resolver
version to enable parallel babel transpile - #5030 fix build
- #5029 loosen header parsing slightly
- #5094 {master} Unload fun
- #5038 remove deprecated
idToRecord
and cleanup - #5035 [BUGFIX release] Fix global build (#5035)
- #5031 Ensure
ember-data/-private
module is emitted properly for ember-cli < 2.12. (#5031) - #5101 [DOC beta] fix instructions for build command
- #5047 cleanup
- #5039 use prop destructor for Ember dependencies
- #5040 tests for unload + resurrect + remote relationship state
- #5044 update
ember-resolver
loader.js
rsvp
- #5115 [DOC release] Fixes code blocks for api viewer
- #5060 Set hasData for preloaded empty hasMany
- #5058 [BUGFIX] keep local state after a deletion
- #5049 more cleanup
- #5051 add test for hasMany + addObject + destroyRecord
- #5048 [BUGFIX release] createRecord should only setup relationships it has … (#5048)
- #5053 [BUGFIX] has-many relationship: set hasData when fetching link
- #5128 Avoid MODEL_FACTORY_INJECTION deprecations in tests on Ember >= 2.14.
- #5075 unpin testem version
- #5074 disable node-tests in windows for now
- #5072 remove
pretender
and update some deps - #5066 Revert "[BUGFIX] keep local state after a deletion"
- #5067 [BUGFIX] Preserve local relationship changes after persisting a delet…
- #5070 [DOC release] Update doc for deprecated function.
- #5130 Replace Ember.String.{pluralize,singularize} with ember-inflector imports
- #5099 {master} forward port
- #5088 {MASTER} [BUGFIX release] handle dupe relationship entries
- #5077 [BUGFIX release] fix destroyRecord followed by unloadRecord and impli…
- #5141 Import Inflector instead of relying on Ember namespace
- #5110 [BUGFIX beta] Implement
cacheKeyForTree
hook. - #5106 {forwardport master}
- #5147 [BUGFIX release] fix relationship merging
- #5126 Failing test for #5125 and attempted fix
- #5119 Don't notify relationships with links during initialization
- #5123 Ensure we are properly testing multiple Ember versions.
- #5122 Remove Bower dependency and related files.
- #5139 [DOC release] Improve save method documentation
- #5144 [BUGFIX release] Load many2many relationships correctly
- #5150 [BUGFIX release] Enumerate relationships provided, not all on a given…
- #5151 [CLEANUP] PERF prevent duplicate recordArrayManager signals on push o…
- #5153 [BUGFIX release] ensure inverse async HasMany is correctly maintained
- #5162 Update RELEASE.md
- #5192 Remove feature flagging for ds-extended-errors.
- #5230 [BUGFIX] enable lazy-relationship payloads to work with polymorphic relationships
- #5195 Ensure
ember-data/-private
module is emitted properly for ember-cli…
- #5193 Remove feature flagging for ds-extended-errors.
- #5188 Backport to release
- #5132 [BUGFIX] Fixes saving a record immediately after unloading a record with the same id
- #5145 [BUGFIX] Load many2many relationships correctly
- #5148 [BUGFIX] Relationships now update properly with new information
- #5155 [BUGFIX] Ensure symmetry between async and sync relationships
- #5098 {beta} Beta unload and create
- #5105 {Beta} forward port
- #5119 [BUGFIX release] Don't notify relationships with links during initialization
- #5033 loosen header parsing slightly
- #4965 [BUGFIX beta] Skip test which doesn't play nicely with the latest em…
- 84041a5f Update RELEASE.md
- #4959 [BUGFIX] remove forgotten broccoli-stew import
- #4947 remove needless change events when creating a recordArrays
- #5071 [BACKPORT] Update doc for deprecated function.
- #5002 [BUGFIX BETA] Added
system/store/container-instance-cache
to the -private export - #4992 Use https in references to emberjs website (#4992)
- #4969 [BUGFIX beta] Ensure Engines can boot without error.
- #4971 Fix typo in function call
- #5008 [BUGFIX BETA]: Fixed export regression.
ember-data/transform
to be default. - #5022 Ensure
ember-data/-private
module is emitted properly for ember-cli < 2.12. (#5022) - #5031 Ensure
ember-data/-private
module is emitted properly for ember-cli < 2.12. (#5031) - #5068 [BUGFIX release] Preserve local relationship changes after persisting a delet…
- #5079 [BACKPORT 2 release] Release fix unload after destroy
- #5086 {release} [BUGFIX release] handle dupe relationship entries
- #5091 {release} Bump
amd-name-resolver
version to enable parallel babel transpile - #5092 [BUGFIX release] relationship [x, y] should not break on x.unloadRecord()
- #5032 loosen header parsing slightly
- #5048 [BUGFIX release] createRecord should only setup relationships it has … (#5048)
- #4981 [DOC release] Document DS.HasManyReference.ids
- #4964 Fix typo: expect multiple s/methods/records back
- #4959 [BUGFIX] remove forgotten broccoli-stew import
- #4960 ensure we don't compile typeof checks poorly
- #4962 Update to use built-in debug code stripping functionality.
- #4947 remove needless change events when creating a recordArrays
- #4984 [DOC release] Fix doc for
diffArray
- #4971 Fix typo in function call
- #4965 [BUGFIX beta] Skip test which doesn't play nicely with the latest em…
- #4969 [BUGFIX beta] Ensure Engines can boot without error.
- #4978 Lock ember-cli-htmlbars to 1.3.0 to get the build passing again
- #4980 [DOC release] Docs for has-many, belongs-to ref meta
- #5002 [BUGFIX BETA] Added
system/store/container-instance-cache
to the -private export - #5003 Change setupStore helper default serializer to JSONAPISerializer #4754 (#5003)
- #5008 [BUGFIX BETA]: Fixed export regression.
ember-data/transform
to be default. - #5009 cleanup
index.js
and drop0.12
node - #5011 Fix and tests for unloadRecord => findRecord issue
- #5230 [BUGFIX] enable lazy-relationship payloads to work with polymorphic relationships
- #5119 [BUGFIX release] Don't notify relationships with links during initialization
- #5097 [BUGFIX release] unloadRecord + findRecord + orphaned relationships
- #5097 [BUGFIX release] restore unloadRecord + createRecord
- #5086 {release} [BUGFIX release] handle dupe relationship entries
- #5091 {release} Bump
amd-name-resolver
version to enable parallel babel transpile - #5092 [BUGFIX release] relationship [x, y] should not break on x.unloadRecord()
- #5086 {release} [BUGFIX release] handle dupe relationship entries
- #5091 {release} Bump
amd-name-resolver
version to enable parallel babel transpile - #5092 [BUGFIX release] relationship [x, y] should not break on x.unloadRecord()
- #5031 Ensure
ember-data/-private
module is emitted properly for ember-cli < 2.12. (#5031) - #5079 [BACKPORT 2 release] Release fix unload after destroy
- #5048 [BUGFIX release] createRecord should only setup relationships it has … (#5048)
- #5033 loosen header parsing slightly
- #5022 Ensure
ember-data/-private
module is emitted properly for ember-cli < 2.12. (#5022)
- #4994 [BUGFIX beta] Fix flushing of pending saves, that include a deleted record (#4994)
- #5008 [BUGFIX BETA]: Fixed export regression.
ember-data/transform
to be default.
- #5013 [BUGFIX beta] fixes an issue with sync dematerialization followed by a findRecord, adds test coverage
- #5002 [BUGFIX BETA] Added
system/store/container-instance-cache
to the -private export file - #4959 [BUGFIX] remove forgotten broccoli-stew import
- #4965 [BUGFIX beta] Skip test which doesn't play nicely with the latest em…
- #4969 [BUGFIX beta] Ensure Engines can boot without error.
- #4971 Fix typo in function call
- #4885 Lazy snapshot.type
- #4855 Update the changelog for the Ember Data 2.12.0 release
- #4821 Pay go setup relationships
- #4884 Defer serializer loading
- #4863 Tidy up parse-reponse-headers (#4863)
- #4861 Update yarn.lock
- #4862 Babel 6
- #4860 Refactor the detection / warnings around ember-cli-shims. (#4860)
- #4913 [BUGFIX canary] don't prematurely nullify props
- #4869 Speed up triggering events
- #4864 make ES6.Classes loose (#4864)
- #4868 [PERF] make filtered/liveRecord array storage a simple Object.create(…
- #4909 Deprecate didUpdateAll, add _didUpdateAll.
- #4870 More record -> internalModel fixes
- #4908 Add a better error message when malformatted JSON API is pushed into …
- #4871 Remove dead code
- #4891 Add a test to ensure a HasManyReference returns a value when the arra…
- #4905 [DOCUMENTATION] Refer the RFC process for requesting new features
- #4896 Ember.warn when ManyArray.objectAt() is undefined
- #4892 [DOC] Documents the caching behavior of queryRecord
- #4900 [doc] updating peekRecord documentation with reference to its counterpart f…
- #4893 Remove unnecessary relationship guard
- #4897 Deprecate buildInternalModel, add _buildInternalModel.
- #4898 [BUGFIX beta] Rename
relationship.destroy
toremoveInverseRelationships
- #4901 [BUGFIX beta] Removes
get record
from InternalModel. (#4901) - #4899 Fix internalModel typo
- #4903 Use node 6 for travis tests
- #4880 [BUGFIX canary] ensure context is applied in the iife
- #4878 Fix tests in release branch RE: factoryFor. (#4878)
- #4874 Rename record[s] -> internalModel[s]
- #4883 Fix readme typo - "First things first"
- #4876 [BUGFIX canary] ensure the globals build has the correct context in the iife.
- #4895 [PERF] single-pass over the initializers array
- #4931 [BUGFIX beta] [fixes #4509] createRecord initializes correctly
- #4914 Revert "Ember.warn when ManyArray.objectAt() is underfined"
- #4910 [BUGFIX] initial-relationship-setup must handle null
- #4911 [BUGFIX] partially fix pushing of null onto already materialized array
- #4935 bump github module slightly to work around node-resolve issue (remove…
- #4922 [BUGFIX release] restore internalModels GUID_KEY’s
- #4920 Svelted some our builds a bit (3KB savings)
- #4919 [DOC] Fix findHasMany parameter order
- #4925 [SVELTE] rollup -private for winnings
- #4924 [PERF] Model.prototype.didDefineProperty only in dev
- #4943 hash-for-dep only the plugin (not all of ember-data) as this plugin h…
- #4928 Don't use
let
orconst
- #4926 [DOC release] Add missing ` in urlsForFindMany description
- #4930 Remove no-longer-working private API usage.
- #4932 update yarn.lock
- #4936 [SVELTE] Transforms & remove Date.parse polyfill (#4936)
- #4937 [BUGFIX beta] Update dependencies to use Babel 6.
- #4941 only coerce non-string id's
- #4946 dummy app routes should work with and without heimdall
- #4948 Only will merge mixin in dev
- #4950 [PERF] Guard against poorly optimized babel output
- #5012 [BUGFIX release] fixes an issue with sync dematerialization followed by a findRecord, adds test coverage
- #4965 [BUGFIX beta] Skip test which doesn't play nicely with the latest em…
- #4970 [BUGFIX release] Ensure Engines can boot without error.
- #4860 Refactor the detection / warnings around ember-cli-shims.
- #4853 [Fixes #4853] use Object.create(null) directly
- #4858 [PERF] let GUID_KEYS just be set on the model instances
- #4937 [BUGFIX beta] Update dependencies to use Babel 6
- #4922 [BUGFIX release] restore internalModels GUID_KEY’s
- #4916 [BACKPORT 4913] don't prematurely nullify props on the container-inst…
- #4862 [BETA] Update dependencies to use babel 6.
- #4877 [BUGFIX beta] ensure the globals build has the correct context in the iife.
- #4879 [BUGFIX beta] ensure context is applied in iife
- #4767 Updating gitignore to remove .idea
- #4741 Clean up some YUIdoc erros
- #4693 Fixed modelFor documentation. Look up model's class name (#4693)
- #4719 [DOC release] Add note to embedded records mixin (#4719)
- #4723 Simplify Backburner Usage (#4723)
- #4715 converts Snapshot to an es6 class instead of using prototype assign
- #4728 [CLEANUP beta] Linter changes for addon, addon/adapters and addon/serializers
- #4708 es6 RecordArrayManager
- #4657 Deprecate unused initializers
- #4593 Free up
internalModel
s - #4729 [CLEANUP Beta] Linter changes for addon/-private (not -private/system)
- #4730 [CLEANUP Beta] Linter changes for addon/-private/system
- #4799 [DOC] Add Ember imports and use lets in adapter examples
- #4760 Update deprecate arguments (#4760)
- #4743 [BUGFIX canary] Fix _lookupFactory deprecation for Ember canary
- #4747 Updates code sample to match Guides
- #4750 Add a yarn lock file
- #4745 License: 2017
- #4808 Avoid mutating model factory in _modelForMixin.
- #4772 [DOC] Shorthand method syntax, quotes, and cleanup
- #4766 [DOC] Update store.unloadRecord description
- #4763 Document cache/request behavior of
query
#4733 (#4763) - #4771 [BUGFIX beta] Ensure ISO-8601 regex correctly matches timestamps (#4771)
- #4765 [DOC] Make model.unloadRecord public (#4765)
- #4762 [DOC] - add bower install to README
- #4769 [DOC release] Add missing docs for
preload
option. - #4815 More Cleanups
- #4780 [DOC] shorthand method and quotes/semicolons for serializers/json
- #4778 [DOC] shorthand methods and quotes for json-api serializer (#4778)
- #4775 [DOC] shorthand methods for transform
- #4774 [DOC] Shorthand method fixes in adapter
- #4776 [DOC] shorthand method fixes for serializer
- #4777 [DOC] shorthand method in attr
- #4832 remove isPrimaryType’s reliance on modelName (#4832)
- #4794 Fix spelling error in documentation
- #4782 [DOC] shorthand methods and quotes for adapter errors
- #4781 [DOC] shorthand method and quotes fro serializers/rest
- #4789 Do not access container if Ember.getOwner exists.
- #4790 Add a test for #4770
- #4783 [DOC] shorthand methods for rest adapter
- #4837 Stefs cleanup (#4837)
- #4810 [Fixes #4807] realize class + factory seperation
- #4809 bump ember-cli
- #4805 Don’t redefine findPossibleInverses for each _findInverseFor
- #4806 Added missing DS references to DS.Model implementation examples
- #4798 [DOC] Cleanup example code in attr
- #4841 Cleanup (#4841)
- #4830 don’t create extra internal promise objects
- #4823 [BUGFIX] ensure all of DS is initialized together
- #4813 misc cleanup (#4813)
- #4818 remove more unneeded class reification
- #4831 Cleanup things and stuff (#4831)
- #4836 cleanup + reject with useful reasons
- #4838 Stefs cleanup (and some test suite memory leak fixes) (#4838)
- #4840 [DOC] Fix markup for example code of
DS.Model#inverseFor
- #4842 Stable has many promise proxy (#4842)
- #4846 remove un-needed Ember.A
- #4850 Optimise has many notifications (#4850)
- #4851 Don't calculate
_changedKeys
pointlessly (#4851)
- #4875 [BUGFIX release] ensure the globals build has the correct context in the iife.
- #4881 Fix injection-test on the release branch
- #4805 Don’t redefine findPossibleInverses for each _findInverseFor
- #4808 Avoid mutating model factory in _modelForMixin.
- #4810 [Fixes #4807] realize class + factory seperation
- #4743 [BUGFIX canary] Fix _lookupFactory deprecation for Ember canary
- #4765 [DOC] Make model.unloadRecord public (#4765)
- #4792 [BUGFIX beta] revert deletion of filter that removed deleted model…
- #4789 Do not access container if Ember.getOwner exists.
- #4760 Update deprecate arguments (#4760)
- #4698 [FIX backburner] Avoids spinning up unnecessary run loops via run.join
- #4638 Update the API docs for snapshots
- #4705 Underscores the already private store.reloadRecord method
- #4663 Silence warnings and deprecations in the console during tests
- #4642 Add API docs for the HasManyReference
- #4706 Improved performance for findHasMany finder
- #4684 Modernizes relationship containers
- #4664 Upgraded IdentityMap and RecordMap
- #4668 [PERF] use micro-queue
- #4699 include related record on the complex test
- #4688 Fixed a typo
- #4685 [FEATURE ds-rollback-attribute] rename ds-reset-attribute
- #4686 [FEATURE ds-improved-ajax] Disable feature
- #4704 Factory cache
- #4696 fix(benchmarks): benchmarks for store.query no longer included record…
- #4691 [BUGFIX beta] Add blueprints for "ember-cli-mocha >= 0.12.0"
- #4697 chore(benchmarks): benchmarks needed to time a few lookups for us to …
- #4701 [PERF] flatten DS.Model to avoid multi-extend, expensive reopens, and extra mixin detection
- #4702 Enable the ds-check-should-serialize-relationships feature flag
- #4703 Removes store._adapterRun
- #4716 [DOC canary] Updating CONTRIBUTING.md to use ember-twiddle as examples
- #4718 [BUGFIX beta] Inverse null relationships should throw if model doesn't exist 3
- #4734 [DOC] fix a couple of typos in model class docs
- #4739 Removed id in urlForFindAll signature
- #4518 Update the relationship docs to remove some references to a globals s…
- #4581 [DOC] Update descriptions of findRecord() and findAll()
- #4438 add
relationship
property to findHasMany RESTAdapter docs - #4283 Add better error messaging for adapters that do not implement createR…
- #4440 Add examples to the Serializer API docs
- #4272 [BUGFIX beta] Don't unnecessarily materialize records
- #4562 [PERF] make internal model lazier
- #4601 Naming cleanup
- #4586 Remove the ds-boolean-transform-allow-null feature flag
- #4582 tidy up integration/filter-test
- #4585 Update changelog for the Ember Data 2.9.0 release
- #4632 [DOC ds-extended-errors] Add docs for extended errors
- #4592 [DOC] Add documentation for query#update() to refresh query
- #4591 Cleanup record array manager
- #4587 Remove ds-links-in-record-array feature flag
- #4590 Fix YUIDoc warnings
- #4589 Feat/improved cache
- #4640 build ember-data attribute debug info dynamically
- #4606 fix(instrumentation): heimdall-query needed bumped to work properly
- #4599 Don't warn for 'async: false' relationships with link + data
- #4594 Revert "unloadRecord does not remove observers"
- #4605 Don't notify belongsTo changes if nothing changed
- #4597 Cleanup record array manager
- #4598 fix integration/record-array-test setup
- #4600 make DS.ManyArray lazy
- #4603 [WARNING] Warn when extending JSONAPISerializer with extractMeta
- #4604 Warn when findRecord returns a different id than the one requested
- #4659 Document the relationship serialized format in the RESTAdapter
- #4624 Test assertions when updateRecord & deleteRecord don't exist on adapter
- #4612 [DOC] Mark
errorsHashToArray
anderrorsArrayToHash
public - #4620 [FEATURE ds-serialize-id] add serializeId to json-serializer
- #4613 Assert that InternalModel is indeed not materialized on store._push
- #4616 Assert when original and not normalized key is found in payload
- #4621 tidy-up integration/filter-test
- #4617 chore(store): cleans up and optimizes code paths around fetching rela…
- #4607 Fix dummy app serializer
- #4609 [DOC] Improve warning for mismatched id in store.findRecord
- #4614 [DOC] Minor changes to addon/serializer.js
- #4671 Fix typo in delete-record-test
- #4645 cleanup system/many-array
- #4636 Add a missing example to the ManyArray api docs
- #4630 Updates json-api-mock-server
- #4644 [PERF] HasMany doesn't need to inform RecordArrayManager
- #4629 [DOC] #4595 revise unloadAll description
- #4641 Add API docs for the RecordReference
- #4639 Update API docs for BelongsToReference
- #4643 [BUGFIX #4649 #4648]
- #4637 Simplify Adapter#serialize by using snapshot.serialize() since they d…
- #4661 dirty check to prevent liveRecordArrays being rebuilt too often
- #4665 Deprecate store.recordIsLoaded
- #4654 remove useless private api
- #4653 Update the API docs on the JSONAPISerializer
- #4652 Improve the API docs for the JSONAPI adapter
- #4662 Code Cleanup for store.js
- #4651 Add some minor updates to the store documentation
- #4658 Test for hasMany array removal on deletion
- #4669 fix mock server
- #4674 Update
findHasMany
API docs - #4680 Remove unused helper function
normalizeAttributes
- #4656 [PERF backport to beta] fix sub-optimal compiler output (#4655)
- #4592 [DOC] Add documentation for query#update() to refresh query
- #4510 Heimdall instrumentation
- #4546 Revert "Log an assertion if the response from createRecord does not have an i…"
- #4553 [DOCS] Fix store.unloadAll modelName param type
- #4566 Properly cleanup store and env in store integration test
- #4574 Move heimdalljs to dependencies
- #4576 [DOC] Update Readme to reflect new default adapter
- #4578 Improved null id assertions
- #4577 [DOC] fix typo
- #4529 isUpdating should be true only if a reload happens
- #4566 Properly cleanup store and env in store integration test
- #4567 [bugfix beta] Treat status code 0 as an abort
- #4559 [BUGFIX beta] Use Ember.guidFor to set InternalModel's guid.
- #4560 [BUGFIX beta] Ensure record array length is reset during willDestroy.
- #4545 [BUGFIX beta] Make
Model#data
a plain getter. - #4541 [DOC beta] Remove
Ember.ArrayController
from initializer example (#4540) - #4540 Add examples to the build-url-mixin API docs (#4512)
- #4537 [BUGFIX beta] Ember Data should not swallow exceptions from the run loop
- #4546 Revert "Log an assertion if the response from createRecord does not have an i…"
- #4536 [DOC] fix features response typo (#4530)
- #4490 [DOCS] No need to use Ember.run in succes and failure of wrapped getJSON
- #4493 Addresses #4492
- #4503 Update ember-try config to test against alpha.
- #4515 Document the allowNull property on the boolean transform
- #4516 Update the docs for normalizeModelName so they explain the intent of …
- #4521 Remove ContainerProxy
- #4522 add license to bower.json
- #4536 bump to latest ember-cli, run ember init, cleanup post init
- #4546 Revert "Log an assertion if the response from createRecord does not have an I…"
- #4537 [BUGFIX beta] Ember Data should not swallow exceptions from the run loop
- #4545 [BUGFIX beta] Make
Model#data
a plain getter. - #4541 [BUGFIX release] Include initializers for global production build
- #4464 Add benchmarks directory to npmignore
- #4425 [BUGFIX] Pass options to transform for serialization in json-api
- #4408 Log an assertion if the response from createRecord does not have an id and the id was not already provided by the client
- #4246 [FEATURE ds-rollback-attribute] Add rolling back of a single model attribute
- #4418 remove DEPRECATION: Using the global version of DS is deprecated when running tests
- #4481 [BUGFIX release] Revert blueprints to use the old import DS format
- #4433 Remove JSHint directives from Mocha test blueprints
- #4435 [DOC] typo fix for queryRecord (kown -> known)
- #4431 Update changelog for 2.6.1 release
- #4454 Add since tags for methods added in Ember Data 1.13
- #4447 Remove initializer methods from the API docs
- #4446
modelHasAttributeOrRelationshipNamedType
should not show up in the API docs - #4444 Update the API docs for the DS.Adapter class
- #4448 [BUGFIX beta] The adapter should call
ajax
instead of the new methods if it has been customized. - #4490 [DOCS] No need to use Ember.run in success and failure of wrapped getJSON
- #4449 Add link to PR for ds-check-should-serialize-relationships feature
- #4489 [BUGFIX beta] Fix Brittle Promise Usage
- #4470 Belongs to not updating when response contains a change with the previous value
- #4451 [CLEANUP beta] Remove feature flag for ds-serialize-ids-and-types (shipped in 2.6) #4416
- #4466 [BUGFIX beta] Fixes issue with GET requests appending ?{} to url
- #4484 [BUGFIX beta] Update API docs to import DS from 'ember-data'
- #4485 Update changelog for the Ember Data 2.7.0 release
- #4499 [BUGFIX beta] add assertions for reference methods on DS.Model
- #4503 Update ember-try config to test against alpha.
- #4515 Document the allowNull property on the boolean transform
- #4516 Update the docs for normalizeModelName so they explain the intent of the function
- #4519 [BUGFIX beta] Prefer includes over contains
- #4521 Remove ContainerProxy
- #4482 Disable ds-improved-ajax for the 2.7 release
- #4470 Belongs to not updating when response contains a change with the previous value
- #4481 [BUGFIX release] Revert blueprints to use the old import DS format
- #4484 [BUGFIX beta] Update API docs to import DS from 'ember-data'
- #4454 Add since tags for methods added in Ember Data 1.13
- #4464 Add benchmarks directory to npmignore
- #4466 [BUGFIX beta] Fixes issue with GET requests appending ?{} to url
- #4425 [BUGFIX] Pass options to transform for serialization in json-api
- #4433 Remove JSHint directives from Mocha test blueprints
- #4435 [DOC] typo fix for queryRecord (kown -> known)
- #4448 [BUGFIX beta] The adapter should call
ajax
instead of the new metho… - #4320 Fixup feature flagging infrastructure.
- #4311 Use property lookup in applyTransforms
- #4318 [FEATURE ds-payload-hooks] Add hooks to map type in payload to modelName
- #4378 [DOC] Add link to PR's for every feature
- #4327 [DOC] Update CONTRIBUTING.md for feature flags
- #4389 call super in addon#init
- #4337 [DOC] Update README.md for improve ES6 syntax in example
- #4348 [CLEANUP ds-finder-include]
- #4347 [CLEANUP ds-references]
- #4345 [DOC] fix example syntax
- #4334 Port the 2.5.x changelog entires to master
- #4393 During normalization, use property lookup instead of hasOwnProp checks
- #4363 [DOC] Fix hard-coded "Customizing Adapters" link
- #4350 [CLEANUP ds-transform-pass-options]
- #4374 Fix #4366: EmbeddedRecordsMixin embeds the record, not the snapshot
- #4392 Fix lint errors caused by merging an older pr
- #4396 Deprecate date parse
- #4398 [FEATURE ds-overhaul-references] Fix inconsistencies with Reference#push
- #4399 Add link to PR of ds-payload-type-hooks feature
- #4403 [BUGFIX beta] Correctly coalesce URI encoded ids
- #4405 [BUGFIX beta] Document the adapterOptions property
- #4427 Update changelog for the 2.6.0 release
- #4425 [BUGFIX] Pass options to transform for serialization in json-api
- #4389 call super in addon#init
- #4386 [BUGFIX release]
isUpdating
flag is set correctly forstore.findAll
- #4374 Fix #4366: EmbeddedRecordsMixin embeds the record, not the snapshot
- #4379 [BUGFIX beta] Fix resetting of properties to in-flight values
- #4380 [BUGFIX beta] remove trailing whitespace from model blueprint
- #4300 [BUGFIX beta] Overhaul queryRecord
- #4363 [DOC] Fix hard-coded "Customizing Adapters" link
- #4320 Fixup feature flagging infrastructure.
- #4324 [DOC beta] Clarify DS.Model#changedAttributes()
- #4324 [DOC beta] Clarify DS.Model#changedAttributes()
- #4327 [DOC] Update CONTRIBUTING.md for feature flags
- #4328 [BUGFIX release] Only setup babel options once.
- #4330 [DOC beta] Make clear where
blog
is coming from - #4331 [BUGFIX beta] Overhaul attr/relationships imports in model blueprint
- #4338 [DOC beta] Overhaul documentation for reload / background reload
- #4345 [DOC] fix example syntax
- #4184 blueprints: Use project.dependencies() to determine test framework
- #3848 [BUGFIX] EmbeddedRecordMixin should include the type serializing hasMany as ids
- #4154 Make sure new record are not pushed twice when parent is saved before.
- #4023 Enhance blueprints: only extend from application entity if it exists
- #4177 Elaborate on running tests in browser
- #3586 [FEATURE ds-extended-errors] Make adapter error extendable and add more error types
- #3099 [FEATURE ds-improved-ajax] Finer control over customizing a request
- #4022 [FEATURE ds-boolean-transform-allow-null] allow null for boolean
- #4173 Create RELEASE.md
- #4178 DS.Store type presence checks
- #3559 [BUGFIX release] Guard against isDestroyed in ManyArray.flushCanonical
- #4259 Warn when the JSONAPISerializer is extended with the EmbeddedRecordsM…
- #4200 Avoid errors when ember-cli-shims is not included.
- #4188 Update ember-cli to v2.3.0
- #4191 Don't resolve model name unless actually needed
- #4189 AppVeyor: Use same line endings as original files
- #4193 support 1.13 officially
- #4194 Use modelNameFromPayloadKey when type is given
- #4196 Restructure and elaborate on test which fixes a tricky bug
- #4187 Add acceptance tests for the mocha blueprints
- #4197 Update changelog for Ember Data 2.4
- #4274 [DOC canary] Update extractMeta documentation
- #4230 Only show ember-cli-shims errors if actually installed
- #4214 Fix AMD dependencies
- #4223 Run tests in production
- #4205 [BUGFIX release] ensure import paths are resolved \w posix separators
- #4215 unify prod/dev add-on build
- #4225 Don't do inverse work if inverse is explicitly turned off
- #4228 Solves #4186 and fixes
this._super
call withinnormalize
method. - #4222 Strip code for DS_WARN_ON_UNKNOWN_KEYS warning in production
- #4220 Use single quotes
- #4204 Fix RESTAdapter.findRecord without a snapshot
- #4264 Moved the adapter errors into the public API space.
- #4247 Add test asserting no unnecessary inverse work
- #4235 [DOC] Fix store.findAll return type
- #4243 moves the ember dep in the package-manager package.json into optionalDependencies
- #4241 Fix spacing issue thats causing jscs errors on the beta branch
- #4240 Add note on
testInDebug
- #4248 fix prod-build issue
- #4244 [DOC] Add section on commit tagging to CONTRIBUTING.md
- #4245 Tweaks to docs on error responses
- #4287 [FEATURE ds-extended-errors] add DS.ServerError
- #4270 Fix incorrect reference to
push
in thefindRecord
docs - #4260 Modified the setup-ember-dev test helper to use
ember-metal/debug
s override hooks - #4263 [FEATURE ds-links-in-record-array] Add links to RecordArray when present on payload
- #4257 Update changelog for Ember Data 2.4.3
- #4268 JSONSerializer should normalize the links object using the attrs hash
- #4258 Deprecate normalizeHash method on the rest serializer
- #4301 fix rest-adapter-test typo
- #4278 Uses bin/start with friendly error message for npm start.
- #4276 [BUGFIX canary] Improve finders assertion messages
- #4304 pass DS.SnapshotRecordArray to build-url-mixin buildURL
- #4280 Update "blueprint-test-helpers" and "ember-cli"
- #4307 [skip ci] fix invalid indentation in codeclimate.yml
- #4288 [FEATURE ds-extended-errors] fix usage of isEnabled
- #4284 [CLEANUP] Use Array.isArray everywhere instead of Ember.isArray
- #4281 Speed up JSONSerializer#applyTransforms
- #4286 Use the dot reporter to reduce the noise in travis output
- #4308 pass snapshot through to urlForFindHasMany and urlForFindBelongsTo
- #4316 Fix
isUpdating
for DS.AdapterPopulatedRecordArray#update() - #4317 [CLEANUP] remove reference to no more used isNewSerializerAPI flag
- #4386 [BUGFIX release]
isUpdating
flag is set correctly forstore.findAll
- #4328 [BUGFIX release] Only setup babel options once.
- #4333 [BUGFIX release] use es5 syntax for addon's index.js file
- #4320 [BUGFIX release] Ensure feature flag stripping works for all builds.
- #4293 Transition an invalid created record to the deleted saved state when deleted
- #4304 pass DS.SnapshotRecordArray to build-url-mixin buildURL
- #4308 pass snapshot through to urlForFindHasMany and urlForFindBelongsTo
- #4314 [BUGFIX beta] convert single record sideloaded records to plural
- #4316 Fix
isUpdating
for DS.AdapterPopulatedRecordArray#update() - #4245 Tweaks to docs on error responses
- #4268 JSONSerializer should normalize the links object using the attrs hash
- #4270 Fix incorrect reference to
push
in thefindRecord
docs - #4271 [BUGFIX beta] Ensure
null
is returned for Reference#value() - #4274 [DOC canary] Update extractMeta documentation
- #4295 [DOC release] Mistaken back tick.
- #4178 DS.Store type presence checks
- #4194 Use modelNameFromPayloadKey when type is given
- #4243 moves the ember dep in the package-manager package.json into optionalDependencies
- #4248 fix prod-build issue
- #4250 [BUGFIX beta] Use Ember.assign when availability
- #4256 [BUGFIX release] Revert pr #3864
- #4214 Fix AMD dependencies
- #4184 blueprints: Use project.dependencies() to determine test framework
- #3559 [BUGFIX release] Guard against isDestroyed in ManyArray.flushCanonical
- #4154 Make sure new record are not pushed twice when parent is saved before.
- #4198 [DOC beta] Fix error message internal docs
- #4200 Avoid errors when ember-cli-shims is not included.
- #4204 Fix RESTAdapter.findRecord without a snapshot
- #4205 [BUGFIX release] ensure import paths are resolved \w posix separators
- #4221 [BUGFIX beta] use assert from debug utils so it is stripped correctly
- #4235 [DOC] Fix store.findAll return type
- #4237 [DOC beta] Fix typo in inline doc. of normalizeResponse
- #4119 Add ember.js and ember-data tags automatically to SO question
- #4063 [BUGFIX release] don't load "app" code when loading globals files
- #4040 Use test helpers from ember dev
- #4116 Add assertions for store#query()
- #4066 Use correct version number when used as an addon.
- #4065 Bump canary to 2.5.0
- #4070 Update blueprints to import modules directly
- #4111 [BUGFIX beta] Add ducktyping of
AdapterError
- #4084 [cleanup] Remove unnecessary inline JSHint config
- #4082 Move the date import to where it is used intead of the root module
- #4074 Update README, now that ember-data is a proper addon
- #4079 [CLEANUP] remove unused config/ember-defeatureify.js
- #4078 Use
Ember.merge
instead of ember-data's shim - #4090 Make yui doc generate links from the project root instead of the file…
- #4085 Update codeclimate.yml
- #4086 [FEATURE ds-transform-pass-options] pass options to DS.Transform
- #4141 [DOC] Document behavior of object level errors with JSON API
- #4094 Update changelog for 2.3.2 release
- #4092 Delete TRANSITION.md
- #4152 Remove extra definition of InvalidError
- #4100 [DOC] Replace reference to DS.Store.find
- #4102 [DOC] Fix misleading docs for
DS.RESTAdapter.findBelongsTo
- #4110 [FEATURE ds-pushpayload-return] Change
pushPayload
to return a value. - #4097 Update
.npmignore
- #4104 [DOC] Mark
DS.Store.filter
as private - #4101 [cleanup] Remove unneeded
getComputedPropertyDesc
test helper - #4160 Fixes broken link
- #4128 Fix calls to keyForRelationship in embedded records
- #4117 Add assertion for polymorphic type for HasManyReference#push
- #4118 [ci skip] Sort CHANGELOG by version and not date of release
- #4164 [CLEANUP] remove
toString
definitions for models in tests - #4147 Fix key remapping for embedded belongsTo
- #4135 import require
- #4153 calling reload multiple times on a has many triggers only one request
- #4155 remove container related deprecation warnings
- #4159 [DOC] Mark store.filter as deprecated in JSDoc.
- #4167 Add blueprints from ember-cli-mocha
- #4168 TravisCI: Use PhantomJS v2.1.1
- #4169 Simplify PhantomJS installation on TravisCI
- #4171 [CLEANUP] Remove shim for Backburner.join
- #4172 [CLEANUP] Remove shim for Ember.Service
- #4224 Enable feature flags for 2.5 beta cycle
- #4243 moves the ember dep in the package-manager package.json into optionalDependencies
- #4256 [BUGFIX release] Revert pr #3864
- #4248 [BUGFIX release] fix prod-build issue
- #3559 [BUGFIX release] Guard against isDestroyed in ManyArray.flushCanonical
- #4154 Make sure new record are not pushed twice when parent is saved before.
- #4204 Fix RESTAdapter.findRecord without a snapshot
- #4205 [BUGFIX release] ensure import paths are resolved \w posix separators
- #4214 Fix AMD dependencies
- #4125 [BUGFIX beta] Export more public API's via modules
- #4135 import require
- #4137 [BUGFIX beta] Allow optional spaces when parsing response headers
- #4141 [DOC] Document behavior of object level errors with JSON API
- #4147 Fix key remapping for embedded belongsTo
- #4167 Add blueprints from ember-cli-mocha
- #4082 Move the date import to where it is used intead of the root module
- #4063 [BUGFIX release] don't load "app" code when loading globals files
- #4088 [BUFGIX release] Fix regression with missing initializers
- #4066 Use correct version number when used as an addon.
- #4072 [BUGFIX release] Fix bundled source path for gem
- #4073 [BUGFIX release] Add missing dist source to gem
- #4077 [CLEANUP beta] Change the way metadata in response is stored on record array
- #4084 [cleanup] Remove unnecessary inline JSHint config
- #4090 Make yui doc generate links from the project root instead of the file…
- #4091 [BUGFIX release] Refactor Model.reopen to use mixins
- #4095 [BUGFIX release] Remove 'v' prefix from
DS.VERSION
- #4108 [BUGFIX beta] Fix
BuildUrlMixin.urlPrefix
regression when host=/ - #3999 Run the Ember Data initializer when Ember Data is loaded as an Ember …
- #3941 Mark
adapterFor
andserializerFor
as public - #3813 ember-data should provide its blueprints
- #3916
Store._find
assertsadapterPayload
not empty - #3940 Remove JSONSerializer#normalizeId
- #3303 Implement RFC 57 - Reference Unification
- #3864 Throw a more helpful error message if the response from queryRecord i…
- #3930 Friendly Errors
- #2384 Directly reloading a hasMany with links should trigger only one request
- #3853 fix transitioning into invalid state
- #3841 Log a deprecation warning when when Ember Data is loaded with Ember 1.13
- #3926 Run
ember watson: methodify
onaddon/
andtest/
- #4009 [FEATURE ds-references] More conistency for RecordReference
- #3961 Add a better error message when findRecord returns an array
- #3949 Fix incorrect reference in store api docs
- #3946 Report better error when
type
is missing from a JSONApi response - #3958 [DOCS fix] fix incorrect argument description...
- #4014 Register the version before the DEBUG version are printed when loadin…
- #3968 Add failing test on PromiseArray.createRecord when called before hasM…
- #3965 [Doc] Specify the status code expected to populate the error object
- #3964 Merge normalizeRelationships and setupRelationships methods in store
- #3967 Added documentation to modify the hash by reference
- #3966 tests for #3707
- #4016 Add missing dependencies for the changelog script
- #3970 [CLEANUP] move test file to correct location
- #4017 [FEATURE ds-references] bring back accidentally removed tests
- #3985 Remove extraneous conditional in ajax()
- #3980 Add license field to bower.json
- #3979 Re-enable feature flags
- #3974 Remove duplicate createRecord test
- #3973 [CLEANUP] use debug helpers from ember-data/debug
- #3983 Fix documentation to use "serializedHasManyName"
- #3984 Cleanup .jshintrc since no globals are used anymore
- #3976 Allow
include
query parameter with store.findRecord & store.findAll - #4000 Re-enable pushing builds to S3
- #3996 Update ember-cli-shims to 0.1.0 to silence ED's own warning
- #3988 [PERF] Don't use array methods
- #3989 Rely on internalModel.createSnapshot to set adapterOptions
- #3990 Update adapter function references in test
- #3993 Do not publish .gem files to npm
- #4025 Use keyForReliationship for belongsTo and hasMany
- #4007 [CLEANUP] Use
isEnabled
instead ofEmber.FEATURES
directly - #4006 [CLEANUP] Separate buildURL tests from pathForType tests
- #4001 Add ember-publisher to package.json
- #4004 [CLEANUP] remove unused feature-flags.js
- #4003 Only run the Ember.onload initializers in globals mode
- #4005 don't cache length in for loops
- #4002 Fix paths to files which should be uploaded to S3
- #4049 Run node tests and optional feature tests on AppVeyor
- #4015 [CLEANUP] Don't cache length in for loops
- #4019 Use JSON-API adapter and serializer in blueprints
- #4018 [CLEANUP] re-use test setup to assert correct call to adapter.ajax
- #4011 [CLEANUP] Update and remove obsolete comments
- #4030 [CLEANUP] use methods from utils module directly
- #4029 Move public modules out of the
-private
folder - #4051 Make setup-container public to allow consuming apps more flexibility with initializer
- #4037 Happy New Year!
- #4035 Simplify the urlPrefix method to make it easier to understand
- #4031 [CLEANUP] Remove special logic for meta.descs in tests
- #4032 [CLEANUP] remove obsolete code within Store#willDestroy
- #4039 Replace calls to store.find with store.findRecord
- #4053 [FEATURE ds-references] Only add function to prototype if enabled
- #4059 Update name for feature in FEATURES.md
- #4095 [BUGFIX release] Remove 'v' prefix from
DS.VERSION
- #4000 Re-enable pushing builds to S3
- #4002 Fix paths to files which should be uploaded to S3
- #4072 [BUGFIX release] Fix bundled source path for gem
- #4073 [BUGFIX release] Add missing dist source to gem
- #4082 Move the date import to where it is used intead of the root module
- #4084 [cleanup] Remove unnecessary inline JSHint config
- #4088 [BUFGIX release] Fix regression with missing initializers
- #4090 Make yui doc generate links from the project root instead of the file…
- #4091 [BUGFIX release] Refactor Model.reopen to use mixins
- #4063 [BUGFIX release] don't load "app" code when loading globals files
- #4066 Use correct version number when used as an addon.
Ember Data 2.3 is now published as and Ember CLI addon in addition to a bower package. See the release notes for instruction on how to upgrade your Ember CLI project to take advantage of the Ember Data addon.
- #4039 Replace calls to store.find with store.findRecord
- #4042 [BUGFIX beta] prevent calls to store.query leaking
- #4048 Strip stuff from addon before it is added to app
- #4050 [BUGFIX beta] Functional update for adapter populated record arrays
- #4051 Make setup-container public to allow consuming apps more flexibility with initializer
- #4052 [DOC beta] Hide private classes from YUIDoc
- #4055 [BUGFIX beta] pin jquery to 1.11.3 to fix broken build
- #4057 [BUGFIX beta] fail builds in ember-cli when ember-cli-shims isn't met
- #4058 [BUGFIX beta] Do not expose the array argument on store.query
- #4060 Require ember-source 2.x
- #4018 [CLEANUP] re-use test setup to assert correct call to adapter.ajax
- #4019 Use JSON-API adapter and serializer in blueprints
- #4021 [BUGFIX beta] Move ember-inflector to an explicit dependency for the …
- #4025 Use keyForReliationship for belongsTo and hasMany
- #4029 [BUGFIX beta] Move public modules out of the
-private
folder - #4026 [BUGFIX beta] ignores keys that are not found in the map
- #3813 ember-data should provide its blueprints
- #3996 Update ember-cli-shims to 0.1.0 to silence ED's own warning
- #3999 Run the Ember Data initializer when Ember Data is loaded as an Ember …
- #4003 Only run the Ember.onload initializers in globals mode
- #4010 [DOC beta] Mark comments as private
- #4014 Register the version before the DEBUG version are printed when loadin…
- #3995 [BUGFIX beta] Implement public module API.
- #3865 [PERF] Ajax should join an existing run if one exists
- #3949 Fix incorrect reference in store api docs
- #3841 Log a deprecation warning when when Ember Data is loaded with Ember 1.13
- #3973 [CLEANUP] use debug helpers from ember-data/debug
- #3978 [BUGFIX beta] bump ember-inflector
- #3983 [DOC beta] Fix documentation to use "serializedHasManyName"
- #3986 Move private modules into the
-private
directory - #3865 Assert that passed array to set a hasMany consists of records
- #3820 [CLEANUP] Remove duplicate test for creating record
- #3819 [CLEANUP] Remove duplicate
default export
in snapshot.js - #3713 Document the return value of DS.Adapter#updateRecord
- #3390 Update the jsbin link so it has no deprecation warnings
- #3835 [BUGFIX] extract polymorphic belongsTo in RESTSerializer
- #3829 Remove references to findQuery
- #3824 [DOCS] Improve docs for JSONSerializer
- #3828 [CLEANUP] Make idiomatic use of
export default
- #3821 [CLEANUP] Remove unecessary wrap of rejection in run-loop
- #3827 [DOC] Remove reference to
isDirty
in DS.Model documentation - #3839 Cleanup build
- #3831 [CLEANUP] dasherize file name for hasRecordForId test
- #3830 Fix tests for non-dasherized lookups
- #3837 [BUGFIX] Attribute/relationship named "type" of embedded record is considered before normalization
- #3832 Fix API docs for JSONAPISerializer.normalize
- #3834 raise errors on deprecation
- #3843 Remove unneeded PromiseArray allocation
- #3844 Remove conditional statement that is always true
- #3855 Deprecate complex objects as an attributes
defaultValue
. - #3850 [DOC] Document snapshotRecordArray param passed to adapter.findAll
- #3868 Reset changed attributes when matching data is pushed
- #3869 Update the Changelog for 1.13.14
- #3867 Allow serializers to normalize response, remove old internal serializers code
- #3858 [DOC] remove documentation for
isError
in states - #3866 Allow store.push to accept { data: null }
- #3860 [CLEANUP] remove unused private method in AdapterPopulatedRecordArray
- #3907 Addonize
- #3898 Fix DS.Errors summary and error object example
- #3889 [perf] minor adjustments to
store#push
flow - #3928 update README stating no IE8 support
- #3915 Add null implementation of findMany in DS.Adapter
- #3904 Cleanup
.codeclimate.yml
- #3912 Use public API for container/registry when possible.
- #3924 [CLEANUP]
tests/integration/adapter/find-test.js
- #3925 [CLEANUP] Clean up adapter/find-all-test.js
- #3927 restore globals publishing to canary build
- #3929 upgrade node to 4 on CI
- #3931 update ember-cli to 1.13.12
- #3937 [BUGFIX beta] Warn instead of asserting when a mapped key doesn't mat…
- #3868 Reset changed attributes when matching data is pushed
- #3875 [BUGFIX beta] serialize type for embedded, polymorphic belongsTo
- #3900 [DOC fix] errors pointers should start with a /
- #3905 [BUGFIX release] Update the dependencies for Ember 2.x
- #3909 [BUGFIX beta] Correctly handle object level errors in json api
- #3910 [BUGFIX release] Normalize attrs keys
- #3912 Use public API for container/registry when possible.]
- #3835 [BUGFIX] extract polymorphic belongsTo in RESTSerializer
- #3887 [BUGFIX release] update ember-inflector to resolve default Inflector …
- #3888 [BUGFIX release] import from ember-inflector to use the default instance
- #3832 Fix API docs for JSONAPISerializer.normalize
- #3837 [BUGFIX] Attribute/relationship named "type" of embedded record is considered before normalization
- #3846 [BUGFIX beta] Attribute/relationship named "type" of primary record i…
- #3847 [BUGFIX beta] JSONAPI serializer not respecting 'attrs' hash
- #3857 [BUGFIX beta] rollbackAttributes() works after multiple failed saves
- #3859 [BUGFIX beta] Correctly handle invalid errors without payload or pointer
- #3861 [BUGFIX beta] Assert that an array is returned from the normalized re…
- #3867 Allow serializers to normalize response, remove old internal serializers code
- #3697 Fix typo in CHANGELOG
- #3215 remove Map/MapWithDefault polyfills, use Ember's ones
- #3711 Explicitly set length after setting a new content property
- #3714 Update the location of the custom store in the API doc example
- #3699 [refactor] add some tests asserting polymorphic relationships can be …
- #3751 Remove normalizePayload, associated docs, and mention of functionality.
- #3732 follow up fixes for #3701
- #3746 Improve test coverage for store#findRecord()
- #3722 Shape and cleanup
- #3739 store example should use findRecord()
- #3734 Revert "Explicitly set length after setting a new content property"
- #3783 Update changelog for 2.0.1 release
- #3771 update coalesceFindRequests doc for JSONAPIAdapter
- #3774 Fix embedded key serialization bug and refactor key serialization
- #3773 Break apart embedded serialize methods in EmbeddedRecordsMixin
- #3777 Remove unused test module
- #3788 Port pr #3725 to the release 2.0 branch
- #3795 Trigger an assertion when calling
findRecord
with falsy (except 0) id - #3808 Update internal-model.js
- #3814 [BUGFIX] Do not deserialize when a relationship named
type
exists - #3816 run optional feature tests on AppVeyor
- #3817 Update the changelog for Ember Data 2.1.0
- #3811 Format lists in JSONSerializer docs for rendering
- #3814 [BUGFIX] Do not deserialize when a relationship named
type
exists - #3781 [BUGFIX beta] Fix id property in DS.Model once and for all
- #3783 Update changelog for 2.0.1 release
- #3788 Port pr #3725 to the release 2.0 branch
- #3793 Map iteration has
value, key
params 'backwards' - #3794 [DOC release] Update documentation for store
- #3796 [DOC release] Update documentation for EmbeddedRecordsMixin.
- #3764 [BUGFIX beta] Support JSON API links object
- 15d4360c [BUGFIX release] Improve links vs. local data for relationships
- #3751 Remove normalizePayload, associated docs, and mention of functionality.
- #3749 [DOC beta] Update Object Root docs re: plurals
- #3763 [BUGFIX beta] JSONAPISerializer warns for unknown type
- #3767 [BUGFIX release] Do not export jsdoc information for store helper fun…
- #3771 update coalesceFindRequests doc for JSONAPIAdapter
- #3739 store example should use findRecord()
- #3747 [BUGFIX beta] JSONSerializer.extractRelationships() issue #3736
- #3779 [BUGFIX release] Remove store method deprecations
- #3778 [BUGFIX release] Remove deprecation on store.filter
- #3776 [BUGFIX release] Remove deprecation for old InvalidErrors format
- #3765 [BUGFIX beta] Fix JSONSerializer.serializeHasMany() issue #3760
- #3782 [DOC release] Remove private label for findAll, query, queryRecord
- #3762 [BUGFIX release] Improve links vs. local data for relationships
- #3701 [BUGFIX release] fix regression where dynamically set id is not serialized in a create…
- #3714 Update the location of the custom store in the API doc example
- #3717 Remove Fixture Adapter
- #3722 Shape and cleanup
- #3732 follow up fixes for #3701
- #3641 Improve InternalModel (2x - 3x faster)
- #3649 Empty object
- #3647 Adapter.query should be part of the public overrideable interface.
- #3751 Remove normalizePayload, associated docs, and mention of functionality.
- #3762 [BUGFIX release] Improve links vs. local data for relationships
- #3767 [BUGFIX release] Do not export jsdoc information for store helper fun…
- #3771 update coalesceFindRequests doc for JSONAPIAdapter
- #3776 [BUGFIX release] Remove deprecation for old InvalidErrors format
- #3778 [BUGFIX release] Remove deprecation on store.filter
- #3779 [BUGFIX release] Remove store method deprecations
- #3782 [DOC release] Remove private label for findAll, query, queryRecord
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.
- #3665 [BUGFIX beta] Fix usage of registry for 2.1.0+.
- #3577 Use the correct modelClass and serializer to extract a polymorphic ty…
- #3669 [DOC beta] Changed references to App.Person & App.Post in RESTAdapter API docs
- #3636 Add ember-cli-dependency-checker.
- #3670 [DOC beta] Change to decorator-style CPs in RESTAdapter API doc samples
- #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
- #3656 Update the changelog for 2.0.0-beta.2
- #3661 [DOC beta] Changed @default adapter from RESTAdapter to JSONAPIAdapter
- #3666 [BUGFIX beta] Initializer/Instance Initializer Deprecations.
- #3672 [DOC beta] Changed remaining CPs to decorator-style in RESTAdapter apidocs sample
- #3680 [BUGFIX beta] Prefer the new injection methods.
- #3681 [BUGFIX beta] Update required methods for the Serializer class
- #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
- #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 ofdetails
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
andEmber.warn
calls to include required information
- #4143 Update Ember Inflector and correct Ember Data's usage of it so that users' default custom inflections work.
- #3876 [BACKPORT] [BUGFIX beta] serialize type for embedded, polymorphic belongsTo
- #3891 Don't use Ember.create by default
- #3665 [BUGFIX beta] Fix usage of registry for 2.1.0+.
- #3825 [BUGFIX] Restore IE8 compatibility by using Ember.create
- #3837 [BUGFIX] Attribute/relationship named "type" of embedded record is considered before normalization
- #3840 Backport Fix usage of registry for 2.1.0+ from pr #3665
- #3846 [BUGFIX beta] Attribute/relationship named "type" of primary record i…
- #3847 [BUGFIX beta] JSONAPI serializer not respecting 'attrs' hash
- #3857 [BUGFIX beta] rollbackAttributes() works after multiple failed saves
- #3859 [BUGFIX beta] Correctly handle invalid errors without payload or pointer
- #3762 [BUGFIX release] Improve links vs. local data for relationships
- #3689 Backport empty-object performance improvements from 2.1.0-beta1
- #3690
[BUGFIX release-1-13] Ensure that
service:store
is cleared before regsitering. - #3725 [BUGFIX release-1-13] Disable polymorphic deserialization when a mode…
- #3753 Bumped the ember-inflector version to 1.9.2.
- #3754 Do not run tests with Ember 2.0 in the Ember Data 1.13 appveyor builds
- #3685 Fixing typo that causes Ember-Data v1.13.10 to crash with Ember v2.0.
- #3686 Fix broken rest-serializer test.
- #3577 Use the correct modelClass and serializer to extract a polymorphic
- #3667 Don’t crash \w Ember 2.0
The live updating filterBy
on RecordArrays and ManyArrays has been
reverted because it broke existing applications. See
#3263.
- #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.)
- #3608 [BUGFIX release] Validate JSON API docs returned by normalizeResponse
- #3591
DS.Store#findQuery
overridesDS.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
- #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
andEmber.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
- #3564 [BUGFIX release] backport ActiveModelAdapter changes @fivetanley
- #3569 [BUGFIX release] squash normalizePayload deprecations @fivetanley
- [BUGFIX release] fix some code for IE8 compat in ActiveModelSerializer
- #3544[BUGFIX release] Add error message in _pushInternalMessage when unknown type @serabe
- #3550[BUGFIX release] JSONSerializer pass through
payload.included
@tstirrat - #3534[DOC release] Rename
error
toadapterError
@tchak - #3550[BUGFIX release] JSONSerializer pass through
payload.included
@tstirrat
- #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 ofdetails
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
- #3398 [REGRESSION release] Make meta available with new Serializer API @wecc
- #3400 [BUGFIX release] Correctly serialize type for hasMany relationships @wecc
- #3408 Fix Typos in Documentation for DS.Adapter @heathharrelson
- #3409 [BUGFIX release] JSONAPISerializer missing pushPayload @wecc
- #3410 Fix minor typo in deprecation warning @Dhaulagiri
- #3413 [BUGFIX release] Sideloaded records are not pushed when saving @wecc
- #3397 [BUGFIX release] Use typeOf instead of isArray in
_normalizeSerializerPayload
@wecc - #3396 make sure deprecate error doesnt get swallowed when using store.push(type, data) @jcope2013
- #3411 Remove some usages of enumerable utils that made it into the release branch @bmac
- #3375 JSONAPISerializer only supports the new Serializer API @wecc
- #3379 store.push should support arrays in the JSONAPI data property @bmac
- #3384 Assert if the RESTSerializers when using the new format calls another @bmac
- #3388 Have looked up ActiveModelSerializer opt into the new Serializer API @wecc
- #3370 Allow overwrite for deprecated adapters @tricknotes
- #3369 Fix deprecation message for store.shouldReloadAll @pangratz
- #3374 fix jquery error handler @tchak
- #3143 Refactor the Serializer API @emberjs
- #2904 Implement basic JSON-API adapter @wecc
- #2584 Add queryOne method @thaume
- #3310 Allow the store to pass adapter options to the adapter @bmac
- #3194 Json api errors @tchak
- #3235 rename store.findQuery to store.query @csantero
- #3232 Add findByRecord and deprecate findById @HeroicEric
- #3167 store.all() is not treated as a filteredRecordArray anymore @pangratz
- #3218 Implement extractMeta for new Serializer API @wecc
- #3226 Warnings for incorrect options in belongsTo, resolves #3187 @zoeesilcock
- #3234 Make store.findAll(type) public @HeroicEric
- #3214 serialize:true takes priority over the OneToMany check for relationships @sly7-7
- #3216 Record property changes @bmac
- #3209 Rename and deprecate finders (store.all -> store.peekAll and store.getById -> store.peekRecord) @HeroicEric
- #3221 Metadata for hasmany @emberjs
- #3268 Fix for passing json api objects into push @emberjs
- #3241 Rename store.findByRecord to store.findRecord @HeroicEric
- #3253 Treat empty strings in ids the same as null or undefined @pangratz
- #3262 Pass _internalModel into a record when it is created @bmac
- #3340 Use 'findRecord' instead of 'find' in doc @emberjs
- #3289 Fix deprecation warning in tests @bmac
- #3270 Pass store to inverseFor in removeEmbeddedForeignKey @wecc
- #3279 Deprecation if id is Model in deserializeRecordId @joelalejandro
- #3286 Deprecate
store:application
andstore:main
in favor ofservice:store
@bmac - #3311 Set the currentState when a record is created, not only when the stat… @bmac
- #3290 Rename
all
topeekAll
in a test to fix a deprecation warning. @bmac - #3306 Rename adapter and serializer methods to match the new store methods @bmac
- #3312 Deprecate fetch and replace it with store.findRecord(type, id, { reload: true}) @bmac
- #3292 Allow for store.push(object) @emberjs
- #3305 Rename Model.rollback() to model.rollbackAttributes() @HeroicEric
- #3316 Support custom stores defined on the container as @bmac
- #3351 Deprecate isDirty in favor of Model#hasDirtyAttributes @bmac
- #3329 Refactor
Errors#errorsByAttributeName
to not use Ember.reduceComputed @pangratz - #3323 Allow ember-source 2.x @tricknotes
- #3324 Implement adapter reload hooks from RFC #61 @bmac
- #3326 Deprecate store.pushMany in favor of store.push @mikehollis
- #3334 deprecate ActiveModelAdapter being bundled with core @emberjs
- #3362 Improve deprecation for not using the new Serializer API @wecc
- #3350 Deprecate store.push(type, data) @bmac
- #3344 Disable beta and canary tests so we can ship Ember Data 1.13 that sti… @bmac
- #3349 Register service:store in an initializer instead of an instanceInitia… @bmac
- #3346 Remove the JSONAPI serializer refactor feature flag @bmac
- #3347 Implement modelNameFromPayloadKey in JSONSerializer @wecc
- #3361 Use MapWithDefault forEach instead of Array#forEach @bmac
- #3364 deprecate store.filter @emberjs
- #3365 Convert internal representation to JSONApi @bmac
- #3366 Log a deprecation warning if users do not specify
async
on a relationship @bmac
- Fix a regression with Ember CLI users who have defined a custom
store in
app/store.js
- emberjs#3316 - Fix a regression where
currentState
was not defined on a record until the record a state change occured. emberjs#3311
- Fix a regression where a
DS.Model
'sInternalModel
would not be set on init - @bmac emberjs#3262 - Pass store to inverseFor in removeEmbeddedForeignKey #3270 - @wecc emberjs#3270
In order to fix deprecations warning induced by Ember 1.12, the store service is now injected as an instanceInitializer. As a consequence, if you had initializers depending on the store, you should move them to an instance initializer as well, and mark it as after: 'ember-data'.
- Removed support for DS.FixtureAdapter. You can use it as an addon, or build it using Ember Giftwrap. https://github.com/emberjs/ember-data-fixture-adapter/tree/master
- Removed support for passing factories to store methods. An example
would be
store.find(App.Post, '1')
. Use the string form instead:post
instead ofApp.Post
. You can also use this Ember Watson command - #3074 remove passing factories to store methods @fivetanley
- #3083 A new record which is marked as invalid can be rollbacked @pangratz
- #3102 Updated copyright year @perlun
- #3091 deprecate support for DS.FixtureAdapter @emberjs
- #3097 fix bower publishing @emberjs
- #3094 Lazily materialize DS.Models for app code, use InternalModel inside ED otherwise @emberjs
- #3119 maxUrlLength -> maxURLLength @sly7-7
- #3110 Cleanup unused 'materialize' records in model @tonywok
- #3182 initialize lives on the application instance not the Ember namespace @bmac
- #3126 Guard for embedded unknown hasMany relationship @wecc
- #3133 Create snapshots on save not on flush @tchak
- #3136 Lookup the store using store:application instead of store:main @bmac
- #3139 Extend adapter instead of reopening it @BookingSync
- #3138 Custom primaryKey for embedded polymorphic relations work @pangratz
- #3174 Adjust code samples to ember-cli @Turbo87
- #3148 add Snapshot#serialize method @yratanov/feature
- #3170 Ensure snapshot.belongsTo() and hasMany() do not return deleted records @ianstarz
- #3156 Remove deprecated push record @sly7-7
- #3169 rename add/removeRecord to add/removeInternalModel in record array @sly7-7
- #3183 fix belongs-to when set with a resolved promise @sly7-7
- #3195 Update comment to make its intention clearer @bmac
- #3191 refactor store managed instances @fivetanley
- #3203 Use string model names in debug adapter @teddyzeenny
- #3208 DirtyState.invalid handle pushedData event @bmac
- #3211 lookup JSONSerializer instance through store instead of manual instan… @emberjs
- #3066 Doc typo: primaryTypeClasss -> primaryTypeClass @lolmaus
- #3058 Fix changelog script to point to emberjs/data @tonywok
- #3034 POTENTIALLY BREAKING CHANGE if you override typeForRoot currently introduce modelNameFromPayloadKey and deprecate typeForRoot @fivetanley
RESTSerializer#typeForRoot
has been deprecated. You can useRESTSerializeer#modelNameFromPayloadKey
instead.- Added
RESTSerializer#payloadKeyFromModelName
. This allows you to typeKey
on Snapshots and Model classes has been deprecated. UsemodelName
instead. specify the outgoing root key for a JSON payload.
- #3031 Added pushedData hook to root.deleted.uncommitted state. @aexmachina
- #3033 dasherize ALL the things: use dasherized model names everywhere @fivetanley
- #3060 Update changelog with correct-er links @tonywok
- #3065 [DOC] update typo on #changedAttributes @mateuspv
- #3068 Fix incorrect documentation for RecordArray @sberan
- #3073 [DOCS] Added missing param to docs for generateIdForRecord @joostdevries
- #3076 Rely on active model serializer to handle error logic @bdvholmes/bug
- #2898 Pass requestType to buildURL @amiel
- #2790 Embedded records mixin should use the correct serialization key when deserialize configuration is set, Fixes #2556 @agrobbin
- #2933 Extracts InvalidError into a separate file and makes it a subclass of Ember.Error @twokul
- #2936 Introduce relationship.hasData @wecc
- #2940 [DOC] Fix for DS.Store#findMany @hibariya
- #2939 Snapshots unknown relationships @wecc
- #2958 adapter.serialize receives a snapshot @rague
- #2946 Handle null/empty type paths in build url mixin @vinilios
- #2961 Use new getter/setter for computed if available @wecc
- #2956 Clear meta data when unloading all records for a type. Fixes #2772 @runspired
- #2953 Do not assert reserved properties for static properties. @bmac
- #2959 Remove value from retrieveFromCurrentState CP @wecc
- #2999 Make unloadAll() unload all records, deprecate unloadAll(type) in favor ... @svox1
- #2992 Feature detect Ember.Registry rather than relying on version numbers @emberjs
- #2983 Do not prepend a
/
if namespace is absolute. @rwjblue - #2966 Break buildURL into multiple requestType methods @thejameskyle
- #2980 [DOC] Use block params style {{#each}} @HeroicEric
- #2965 Make version check for ember-data strict @tricknotes
- #3035 Add method argument to key serialization docs @Dremora
- #3004 Fix serialization results in the documentation. @nathanhammond
- #3037 Reset Model#isReloading to false when request fails @pangratz
- #3022 Add missing urlForUpdateRecord to BuildURLMixin @wecc
- #3021 Remove unnecessary URL check in findHasMany @wecc
- #3036 Remove logic for camelCase-ing error keys in ActiveModelAdapter @pangratz
- #3030 ActiveModelAdapter camelizes keys for errors on 422 @bdvholmes
- #3026 [BUGFIX] AMS polymorphic type for namespaced models @artych
- #3032 use typeKey and typeClass instead of using
type
inconsistently @emberjs - #3040 JSONSerializer#extractErrors respects custom key mappings @pangratz
- #3043 Fix bug where record rejected via
find
stayed in loading state @pangratz - #3046 Documented the Model's
rolledBack
event @lolmaus - #3054 Fix for deleting from ManyArray @wagenet
- #3055 Merge
attrs
from superclasses into their subclasses. @omghax - #3056 Add more assertions for merged attributes from superclass @pangratz
- Use ember-inflector 1.5
- Fix doc for Snapshot.attributes()
- Special case "application" in the store.serializerFor method
- Allow the store to lookup the applicationAdapter using adapterFor
In 1.0.0-beta.15 serializers were updated to be passed snapshots instead of records to prevent side-effects like fetching data when inspecting relationships. This has now been extended to also include adapters methods.
The following adapter methods are now passed snapshots instead of records:
find(store, type, id, snapshot)
findMany(store, type, ids, snapshots)
findHasMany(store, snapshot, url, relationship)
findBelongsTo(store, snapshot, url, relationship)
createRecord(store, type, snapshot)
updateRecord(store, type, snapshot)
deleteRecord(store, type, snapshot)
The signature of buildURL(type, id, snapshot)
has also been updated to receive
snapshots instead of records.
This change removes the need for adapters to create snapshots manually using the
private API record._createSnapshot()
to be able to pass snapshots to
serializers.
Snapshots are backwards-compatible with records (with deprecation warnings) and it should be pretty straight forward to update current code to the public Snapshot API:
post.get('id') => postSnapshot.id
post.get('title') => postSnapshot.attr('title')
post.get('author') => postSnapshot.belongsTo('author')
post.get('comments') => postSnapshot.hasMany('comments')
post.constructor => postSnapshot.type;
post.constructor.typeKey => postSnapshot.typeKey
If you need to access the underlying record of a snapshot you can do so by
accessing snapshot.record
.
The full API reference of DS.Snapshot
can be found here.
- Do not re-add deleted records to a hasMany relationship
- Shorten the list of reserved attributes on the model
- Remove _createSnapshot() from DS.Snapshot documentation examples
- Pass snapshots to adapters instead of records
- Refactor the model assert so it will be correctly removed from the prod build.
- Adapters and Serializers are Store Managed
- Delete
Ember.required
(it is deprecated). - Adding clearer wording for calling super form extract messages
- Missing parameter for JSDoc
- Add examples of how to use model.errors in a template
- Add doc example for defaultValue as a function on DS.attr
- Update the InvalidError docs to make it more clear about where the server payload gets normalized.
- Assert if the user tries to redefine a reserved property name.
- Remove container deprecation warnings in Ember Data tests
- hasRecordForId should return false if the record is not loaded
- [BUGFIX] fetching an empty record runs find
- bump ember-cli to 2.0 & remove sourcemapping comments in production
- commit record-arrays.js separately so it doesn't clobber the rename
- Rename local files to use dashes instead of underscores
- Have snapshots respect the order of items in hasMany relationships
- remove ManyArray from record_arrays
- update docs about
store
in serializer - fetch() -> fetchById() in docs
- Run findHasMany inside an ED runloop
- Cleanup debug adapter test: Watching Records
- Fixed didDelete event/callback not fired in uncommited state
- Add main entry point for package.json.
- register the store as a service
- Warn when expected coalesced records are not found in the response
- Warn if calling attr, belongsTo or hasMany on model
- move Model to use default export instead of named export
- Move buildURL and related methods to a mixin
- Correct modelFor model not found errors
- Declare
store
property on DS.Model - improve error message for belongsTo
- Move _adapterRun onto the DS.Store object
- Move utility functions out of DS.Store, and into their own modules for reuse across ember-data
- CLean up implicit relationships on record unload
- Add assertion for
store
property on DS.Model subclasses - Adds support for using mixins in polymorphic relationships
- [DOC]: Clarify when didCreate is fired
- (Docs) ManyArray is no longer a RecordArray
- Fix: root.deleted.invalid state
A snapshot represents the frozen state of a record at a particular moment in time. Its initial purpose is to be passed to serializers instead of the real record. This allows the serializer to examine the current state of that record in the moment without triggering side-effects, like loading relationships.
The serializer has a different API from a record for accessing
properties so you will know you are working with a snapshot. Using
snapshot.get
is still supported for compatibility however it will
log a deprecated warning to encourage you to use the new apis.
To access attributes you should now use the attr
function.
// Ember Data 1.0.0-beta.14.1
post.get('title');
// Ember Data 1.0.0-beta.15
postSnapshot.attr('title');
To access a belongsTo relationship you should use .belongsTo()
method.
// Ember Data 1.0.0-beta.14.1
post.get('author');
// Ember Data 1.0.0-beta.15
postSnapshot.belongsTo('author');
To access a hasMany relationship you should use .hasMany()
method.
// Ember Data 1.0.0-beta.14.1
post.get('comments');
// Ember Data 1.0.0-beta.15
postSnapshot.hasMany('comments');
If you would like to add a new record to a RecordArray
or a
ManyArray
you should now use the addObject
and removeObject
methods.
- use package.json for ember addon
- Initial implementation of the Snapshot API
- Allow errors on arbitrary properties, not just defined attributes or relationships
- Fix bug preventing hasMany relationships from correctly tracking simultaneous adds and removes.
- remove unused code.
- Deprecate store.dematerializeRecord()
- Use store.unloadRecord() in favor of store.dematerializeRecord()
- Correctly trigger arrayContentDidChange when updating hasMany relationships
- Warn if the user specifies a reflexive relationship without explicitly defining the inverse
- bump ember-inflector dependency for HTMLBars compat
- Add adapter.hasMany unique IDs test
- Replace calls to
container
withregistry
- Dematerialize rejected _find() if record isEmpty
- Add a Serializer base class
- Make ManyArray.save() and RecordArray.save() return themselves
- Added save() to ManyArray
- idiomatic super usage.
- Created
store.fetchById
andstore.fetchAll
. - Update the generateIdForRecord docs to show it gets passed an Object not a record instance.
- Sort query params in ajax calls.
- Cleanup JSONSerializer#extract example
- Split Relationship Tests into Separate Files
- [DOCS]Update about defining application's store
- add documentation for the Store's find method
- Do not double include the host when it uses a protocol relative url.
- Deprecate RecordArray.pushRecord()
- Wrap the errorThrown in an Error object if it's a string.
- Use forEach instead of private api for accessing Map values
- Disable unknown keys warning by default
- remove type check for addCanonicalRecord in belongsto relationship
- Add support for embedded polymorphic belongsTo
- observers only fire for properties that changed
- Don't refilter .all() and .find() if only properties changed
- fixes to load beta 14/14.1 sourcemaps in ember-cli
- fix version for dropped <= Ember 1.7 support
- generateIdForRecord gets type & object properties passed to it
- Clarify store.find via findAll docs
- Deprecate addRecord/removeRecord for ManyArray
- Replace
<%= versionStamp %>
with actual version stamp. Thanks @tricknotes! - Fix sourcemap loading in Ember CLI and Rails.
Calling store.update()
has been deprecated in favor of store.push()
now
handling partial payloads:
var post = store.push('post', {
id: 1,
title: 'Ember.js is fantastic',
author: 'Tomster'
});
post.get('title'); // => 'Ember.js is fantastic'
post.get('author'); // => 'Tomster'
store.push('post', { id: 1, author: 'Tom Dale' });
post.get('title'); // => 'Ember.js is fantastic'
post.get('author'); // => 'Tom Dale'
This also mean that properties missing in the payload will no longer be reset, but stay the same.
If you need to reset values to null, you should have your server explicitly send back null values in the payload:
{
"person": {
"firstName": null,
"lastName": null
"role": "Computer Science Pioneer"
}
}
If you cannot change your API and you desire this behavior, you can create a serializer and do the logic yourself:
// app/serializers/person.js
// or App.PersonSerializer if you aren't using Ember CLI
export default DS.RESTSerializer.extend({
normalize: function(type, hash, prop) {
hash = this._super(type, hash, prop);
if (!hash.hasOwnProperty('firstName')){
hash.firstName = null;
}
if (!hash.hasOwnProperty('lastName')){
hash.lastName = null;
}
return hash;
}
});
Or if you want to restore the old behavior for all of your models:
// app/serializers/application.js
// or App.ApplicationSerializer
export default DS.RESTSerializer.extend({
normalize: function(type, hash, prop) {
hash = this._super(type, hash, prop);
type.eachAttribute(function(key) {
if (!hash.hasOwnProperty(key)) {
hash[key] = null;
}
}, this);
return hash;
}
});
store.metaForType()
has been deprecated because of it's ambiguous naming.
Please use store.metadataFor()
to get metadata and store.setMetadataFor()
to set metadata.
ManyArray,
the object Ember Data uses to represent DS.hasMany
relationships has
been changed so it no longer extends from RecordArray
. This means if
you were relying on the RecordArray's content
property to access the
underlying array you will now need to use the .toArray()
method.
// Ember Data 1.0.0-beta.12
record.get('myHasManyRelationship').get('content').map(...);
// Ember Data 1.0.0-beta.14
record.get('myHasManyRelationship').toArray().map(...);
Additionally if you were using the RecordArray
's .addRecord()
and
.removeRecord()
methods you will now need to use the .addObject()
/ .removeObject()
array methods.
- Fix references to buildURL in documentation
- fix canary build for recent Ember.Container refactors
- [DOC] Stop using deprecated
each
helper syntax - Work around type check issues with MODEL_FACTORY_INJECTIONS.
- [DOC] Add page for
DS.PromiseManyArray
- [DOC] Fix markup for AcriveModelAdapter
- Add Ember.ENV.DS_NO_WARN_ON_UNUSED_KEYS option
- Fixed model rollback in the case where an attribute is not assigned so that it rolls back to unassigned instead of cached value. Added a supporting unit test.
- Fix array change notification in many arrays
- Use Ember.create and Ember.EnumerableUtils for relationships
- Backport pushing non async relationship as a link
- Backport relationship.proto.clear bugfix
- Schedule relationship normalization and split paths for canonical/client relationship updates
- fix DS.Errors#errorsFor documentation
- add test about model's attributes dirtiness
- Include build instructions in the readme
- Clarify that
store.fetch
documentation. - Document and explicitely test specifying relationships type is optional
- Warn when pushing in a relationship as a link and its not an async relationship
- Removed unused notify on 'data' property
- fix Relationship.proto.clear bug
- Remove metaForType()/metadataFor() ambiguousness
- [Bugfix] promiseHasMany.reload() should return another promiseHasMany
- [Feature thrownError] tag errorThrown from jQuery onto the jqXHR like ic-ajax does.
- Cache relationships meta in production
- Deprecate store.update()
- hasMany relationships are no longer
RecordArray
, butManyArray
. To access the underlying array userelationship.toArray()
instead ofrelationship.get('content')
.
A bug in Ember 1.7's Ember.create
method (which is a polyfill for
Object.create
) combined with a bug in es5-shim's Object.create
prevent us
from giving Ember Data users a good alternative to use. Internally, Ember Data
uses Object.create
for efficient caches. Ember 1.8 ships a working
Object.create
polyfill on Ember.create
so if you are using Internet
Explorer 8 and Ember Data in production, you should upgrade to Ember 1.8 as
soon as you can.
If you are using browsers that provide Object.create
, you do not need to do
any additional work here. This includes mobile browsers, evergreen browsers
(Chrome, Opera, Firefox), Safari, and IE9+.
Ember Data relies heavily on JavaScript language-level shims (such as the
Object.create
issue mentioned above) and other useful internals that Ember
provides. Rather than creating our own detection algorithms and more polyfills
for broken code in Ember 1.7, we are deciding to drop 1.7 support in the next
release of Ember Data. We do so in order to not increase the final size of
Ember Data's build. You should upgrade to Ember 1.8 as soon as you can.
Although model.get('data')
has been private in Ember Data for a long time, we
have noticed users may subscribe to changes on data
for any change to the
model's attributes. This means that the following code:
var Post = DS.Model.extend({
doSomethingWhenDataChanges: function(){
// do the work
}.property('data')
});
no longer works. Instead, you should just watch each attribute like you
would with any Ember.Object
:
var Post = DS.Model.extend({
name: DS.attr(),
date: DS.attr(),
doSomethingWhenDataChanges: function(){
// do the work
}.property('name', 'date')
});
- Add Test Coverage for
ember-data/transforms
- prefer Ember.create to Object.create
- Update the store.all docs to make it clearer that it only returns in-memory records.
- Allow async belongsTo to return null
- Add test for repeated failed model saves state
- Improve store.filter() docs
- Add more info about the store.fetch method
- Add tests for store#fetch
- Use store to call the find method
- Add fetch method to the store
- fix error propogating up through RSVP handler in tests
- update Ember.assert calls to check type
- Remove attr() data dependency
- Expand the package configuration filename glob declaration in
Brocfile.js
into the affected filenames, as thebroccoli-string-replace
plugin doesn't support globbing - Clear inverseRecord for deleted belongsTo properly
- Warn when pushing unknown payload keys into the store
- RESTAdapter's buildURL from delete can ask for record's relations. closes #534
- Ensure production builds do not use require internally.
- [DOCS] InvalidError docs missing quote
- Use the model rollback and not state machine for created records rollback
- Relationship rollback from created state
- Don't allow empty strings as id in push/update
- Improve warns() test helper to better handle multiple calls
PromiseManyArray
proxiesEmber.Evented
methods to itscontent
- Extract function to proxy
PromiseManyArray
's method tocontent
- createRecord on PromiseManyArray returns the new record instead of a Promise
- Add
createRecord
to PromiseArray so it proxies to ManyArray - Nicer errors when pushing belongsTo/hasMany with invalid values
- Fixing an issue when grouping requests could result in URL longer than configured length.
- Refactored InvalidError handling into a serializer concern.
- [DOC] Fix usage of DS.Model.fields
- [DOC] Fix to apply js doc style to DS.ManyArray
- [DOC] Update usage of AMS
- [DOC] Fix typos in
ajaxSuccess
- Added assertion for updateLink
- Rollback after delete record failure
- warn instead of throw when resolving keys to model
- added note about coalescing and custom URLs
- pass ids through encodeURIComponent when turning them into urls
- Always remove the inverse record (if exists) from a belongsTo relationship fixes #2331
- polyfill Ember.Map behavior
- use new Em.Map function signatures
- Refactor relationships with links
- Implemented rollbacking of implicit relationships
- Add support for rollback of relationships from deleted state
- Unwrap promises when setting a belongsTo
- Update tests on filters returning reloaded objects
- Update recordArrays when record has reloaded
- Refactor inverseFor cache
- Makes it possible to custom define inverses on only one side
- HasMany relationships now reload correctly
- Add a test for calling reload directly on the promiseProxy
- Add a test for reload on sync hasMany relationships
- Added a reload to the ManyArray
- [DOC fix] Remove misleading {inverse: null}
- Added implicit relationships
- Improve comments for the inverseFor method
- Serialize belongsTo where id===null as null
- [DOCS] Cleanup "USING EMBEDDED RECORDS" API readability
- preload the belongsTo to be available synchronously
- Add a test for an async belongsTo with buildURL
- removed private unused properties in ManyArray
- Small typo in #normalize documentation
- Do not clear own relationships when deleting records
NOTE: A bug was introduced in this version where the saving of a model with async hasMany property will send an empty list to the server in the payload, so is discouraged to use this version if you have such relationships on your application. For more details emberjs#2339
- Bring back relationship parameter for findHasMany & findBelongsTo
- add es5-shim/sham requirement to README
- Add-on uses blueprint
addBowerPackageToProject()
hook to add ed as bower dep instead of including a pre-built version - ember add-on vendor tree is relative to this file, so needs to go back a dir
- tests and typo fix for ajaxSuccess/ajaxError
- Add ajaxSuccess hook to the RESTAdapter
- Added ember-addon support via npm
- Update recordArrays whenever there are changes to relationships
- Refactor relationship handling code
- Add support for embedded polymorphic hasMany
- improve error message for push
- [BUGFIX] fixture adapter copies defined fixtures
- remove unused variables and enforce in jshint
- Updated docs to warn against use of async:true with EmbeddedRecodsMixin
- Removed a duplicate explanation of preload
- small perf, this map was unfortunately adding 5ms -> 8ms overhead for pushMany of N=1000. Removing it removed the overhead entirely.
- modelFor was used constantly, the extra normalization and string splitting was causing measurable slowdown.
- Don't use the DOM in the store tests
- Added an example of how to use the preload arg
- Added documentation for preload parameter
- [Documentation] typo in
find
documentation
Important: IE8 and other environments which don't support Object.create
correctly will need a shim for Object.create.
- bring in ember-inflector 1.1.0
- [DOCS] Add ids to RESTAdapter JSON payload examples
- [Doc] Fix typo, your, not you in DS.Store#update method comments
- [DOC] Add plural example for REST adapter.
- Substitute serialize:no to serialize:false in EmbeddedRecordsMixin
- Add support for JSONSerializer.attrs.key.serialize for
hasMany
andbelongsTo
relationships - Refactor hasMany code for comments and clarity
- Batch hasMany requests with many id's to avoid max URL length issues
- Expose embedded options
- Changing an async belongsTo association does not load unfetched record.
- [Bugfix] relationship changes shouldn’t cause async fetches
- loosen constraint of adapter method return values
- Move EmbeddedRecordsMixin to core from activemodel
- Correct various yuidoc warnings to clean up some console noise when build the api docs
- factor out promise usage
- Do not serialize fixtures when deleting
- Refactor JSON serializer to use _getMappedKey
- Don't normalize the key if not present in the hash
- Add serializeIntoHash to the JSON Serializer
- prefer new EmptyObject() for typeMap backing stores. Cache misses are faster, and won’t collide with prototype pollution
- since the recordArrayManager already maintains the uniq index, we can use that to simply push the record onto the record array without needing the safety of addRecords dupe guard. This prevents another O(n) operation
- the string splitting in transitionTo is wasteful and for large payloads can be surprisingly costly. As they never actually change, we should simply cache and forget about them.
- Coalesce find requests, add support for preloading data
- allow attributes to be excluded via the attrs hash
- DS.DateTransform now serializes to ISO8601 format by default. Adds millisecond precision to serializing dates
- Added id and requestType back to extract* hooks
- Moved several normalize helper methods to the JSONSerializer - Move
normalizeAttributes
to theJSONSerializer
(mirrorsserializeAttributes
) - MovenormalizeRelationships
to theJSONSerializer
- MovenormalizePayload
to theJSONSerializer
- Throw an error if a user attempts to add a
data
property to a subclass of DS.Model - Add a store.normalize() method to make it easy to normalize record data for store.push()
- Add a test for embedded belongsTo with a custom primaryKey
- Refactored EmbeddedRecordsMixin to push records instead of sideload
- PERF: O(n) -> O(1) record within recordArray check
- Add guard before deleting partial[attribute]
- Fixes embedded hasMany primary key lookup.
- Allow
attr
mapping inbelongsTo
&hasMany
attributes; - Favour declared mapping over keyForAttribute, if defined;
- improve debug ergonomics (as I debug)
- rest_adapter: Remove unused
set
definition - Added documentation for ajaxError with DS.Errors.
- updated '_links' to just 'links'
- Better error for missing inverse on hasMany/belongsTo
- adapt usage example for TemperatureTransform
- [Bugfix] Decouple DS.EmbeddedRecordsMixin from DS.ActiveModelSerializer
- Each RecordArray gets a copy of the models's metada object instead of sharing the same meta object. Enables several paginated arrays to coexist without clobbering each other
- Drop the
type
argument fromnormalizePayload
calls. This argument was not consistently passed. Overridding theextract
functions on the serializer is a suggested alternative if you require the model type. - Introduce
DS._setupContainer()
for use in testing - Deprecate the 5 Ember initializers, use just one named "ember-data"
- DS.EmbeddedRecordsMixin methods for serializing relationships call super if needed
- moved normalizeId to JSONSerializer
- JSONSerializer should use the attrs hash when extracting records Also breaks the _super chain in normalize to preserve ordering in the RESTSerializer
- Remove unnessary loop in extracting single using DS.EmbeddedRecordsMixin
- Do not presume returned data arrays support .pushObjects
- [BUGFIX] store.fetchMany should always return a promise.
- Use keyForRelationship in JSONSerializer's serializeHasMany method
- Makes sure extractArray is normalizing each record in the array instead of trying to normalize the whole payload as an object.
- Do not cache model factories on meta, or on other model CPs
- Removed unused resolver from ManyArray.fetch
- normalizePayload only gets the payload
- [BUGFIX] Normalize typeKeys to always be camelCase
- Update the docs on pushPayload to clarify how model is used
- Put the initialization docs back with the initializers
- [DOC] Fix jsdoc for
Serializer#extractSingle
- filteredRecordArray derived from filterFn + query, should retain its query (just as adapterPopulated does)
- Setting a filter function on a filteredRecordArray should only cause 1 re-filter per run-loop
- [Bugfix] when a record which exists in an adapterPopulatedRecordArray is destroyed, it is also now removed from the array
- [BUGFIX] Add missing support for belongsTo in DS.EmbeddedRecordsMixin
- Add support for serializing hasMany as ids
- incase jQuery.ajax returns a null or undefined jqXHR
- Fixes a typo in the documentation of the serializeAttribute method of json_serializer.js
- [DOC]
bower install
is part ofnpm install
, removing it from README - [DOC] Fix docs for method signature of extractSingle, extractArray
- Import InvalidError instead of looking at global DS
- allow saving records from invalid state
- [DOC beta] Clarify adapter settings with ActiveModel::Serializers
- Add examples to the DS.Errors api docs.
- Extend from Controller for ApplicationController.
- Update error messages from push and update
- Bring back deprecated initializers
- Refactor Ember initializer to use DS._setupContainer
- Fix incorrect documentation for isError.
- Explicitly define a bower install directory
- Import 'defaultRules', fixes missing Inflector.defaultRules
- Add an example of sending cookie information in the header and updated confusing reopen example.
- Expands isDeleted documentation
- Clarify adapter header documentation
- Documents invalid use of
attr
for attribute ofid
- Store#pushPayload should use the type's serializer for normalizing
- Remove internal reliance on Ember.lookup.DS in favor of requireModule().
- Remove reliance on global DS
- Deprecate App.Store in favor of App.ApplicationStore.
- Remove
window
references in favor ofEmber.lookup
. - Document the difference between Store push() vs. createRecord() ect.
- Document the store#update method.
- Make sure data adapter tests pass for Ember <= 1.4
- Update data adapter test with new Ember version
- change documentation from hash to payload
- Use the ApplicationAdapter property instead of creating a custom Store just to create a custom adapter.
- Use string model lookup instead of class lookup
- Improve store docs to use container lookup not concrete class
- Do not call adapter.deleteRecord for a record that is already saved and deleted
- Remove DS.AttributeChange
- Fix rollback on invalid record after set
- Release 1.0.0-beta.7
- Document required structure for DS.InvalidError
- Update ember version to 1.4.0
- lock server while compiling assets
- [DOC] Fix extractArray
- Don't pass the resolver where it's not needed
- force jshint on failure
- explicitly set a handlebars dependency to a version known to work.
- Remove Dead Code from RESTAdapter's Test
- Ensure the SHA is included in the VERSION.
- Destroying the store now:
- Revert "remove unneeded and misleading "async" test helpers"
- Break Down JSONSerializer#serializeBelongsTo Test
- remove unneeded and misleading "async" test helpers
- Wait on all the findMany promises to resolve before resolving the store#fetchMany promise.
- A records initial currentState can be on the prototype. Not need in doing the extra set on each init
- create promise labels outside of already visually complex code-paths
- reduce reusing argument variables, as it reduces clarity and makes debugging harder.
- hasMany relationship property are essentially readOnly, lets mark them as such.
- Improved assertion if an non-ember-data model has snuck in this far.
- Update instructions for running tests.
- Maintain consistency of internal changed attributes hash.
- Remove 0.13 era architecture file.
- Remove Ruby remnants.
- Add
grunt docs
task. - Use local versions of grunt and bower for Travis.
- Do not generate a gzip report from uglify:dist.
- Add current revision back to build output.
- keep a local version of grunt-cli (dev only)
- Fix
grunt server
automated testing upon file change. - Ensure builds are generated before publishing.
- Add build publishing to builds.emberjs.com.
- Fix the links to DS.Model and DS.Transform in the DS Namespace method docs
- Enable multi-channel testing.
- Allow testing against multiple versions of Ember & jQuery.
- Remove restriction for jQuery version in bower.json
- Object.create does not exist in old IE.
- Fix bug where an undefined id would trigger a
findAll
- Avoid instance of aliasMethod due to problems with Chrome debugger
- Use latest stable Ember.js
- Cleanup. - Ember.computed takes the DK as a first argument, no need to all property on it again - misc formatting as I go.
- Upgrade QUnit to v1.13.0
- Use defeatureify to strip debug statements from output.
- Prefer Promise.cast over resolve.
- Use the new naming for active_model_adapter integration tests.
- Ensure that bower is installed.
- mark more model properties as readOnly
- allow connect port to be configurable
- misc cleanup
- once is already saved off at the top of the file
- add
grunt server
, and ensure the server(dev) version builds tests, so you can run tests - postinstall bower install
- lazy create errors object on models
- Remove incorrect return documentation on store#pushPayload
- Pass arguments to
options.defaultValue
if a function. - Revert "DateTransform serializes as a number instead of string. The deserializer was already considering this case. Adds millisecond precision to DateTransform"
- Should install grunt-cli globally.
- Now ember-data is built by
grunt buildPackages
- Fix ember-data version
- Add missing task
grunt test
- Export
Store
as default from ./system/store - Use
expectDeprecation
helper in lookup tests - Import
Store
instead of referencing it viaDS.Store
- Register already imported transforms instead of
DS.XXX
- Add
bower_components
to .gitignore - Remove ruby-land tasks from Travis.
- Remove remnants of Ruby-land.
- Post release version bump.
- add grunt and bower install to .travis.yml
- update README with grunt workflow
- readd ContainerProxy to DS namespace
- fix build, import more test helper definitions from ember-dev
- fix banner generation a bit
- Do not trigger didSetProperty if value is unchanged.
- add watch option, fix some test oddities
- move some requires around
- move grunt tasks into folders
- ES6!
- DateTransform serializes as a number instead of string. The deserializer was already considering this case. Adds millisecond precision to DateTransform
- Remove unused helper.
- Updates DS.Model.rollback documentation
- Fix a typo in DS.filter doc
- Prefix built-in serializers and adapters with a dash.
- Spelling corrections in docs.
- Fix spelling in JSONSerializer class docs.
- Don't assume typeKey is always camelized.
- Deprecate former underscored names.
- Fix documentation for DS.Model.isNew
- [BUGFIX] Possible undefined errors in response via ActiveModelAdapter
- [BUGFIX] missing return statement in RecordArray#update
- Fixes a small typo in DS.Store deleteRecord docs
- Setting a property to undefined on a new record should not transition the record to root.deleted.saved
- Don't assume that factory.typeKey is always camelized.
- Normalize typeNames when comparing against typeKey.
- Force underscore after decamelizing typeKey.
- Set default Rakefile task to :test
- Remove underscores and rename
- The store's adapter property requires a string
- Rename dataAdapter to data-adapter
- Calls rake test[all] using bundle exec since CI was failing
- fixed behaviour of store.all() in combination with store.unloadAll() which caused elements to stay in the RecordArray, even if they should have been removed. ref #1611
- another quick fix, which should reduce run-loop pressure.
- Don't bother with Ember.run.once, as we can detect an impending flush by inspecting the size of the local queue of _deferredTriggers
- Normalize key in modelFor when a factory is not given.
store.filter
should always return a FilteredRecordArray.- attrs with options should allow for key option.
- Fix windows builds.
- Add DS.Errors object
- Handle case of single object pushPayload.
- Create RecordArrays from recordArrayManager.
- Documentation
- Use the adapter host for host-relative URLs in
findHasMany
. - Fix
asyncBelongsTo
resolution. - Add
destroyRecord
to delete and save a record at once. - Make it easier to override just the Ajax options.
- Normalize hasMany polymorphic types for
DS.ActiveModelSerializer
. - Add basic embedded record support to
DS.ActiveModelSerializer
. DS.Store#modelFor
now assigns a store even when a factory supplied.- Fixes adding unsaved records to hasMany relationships after they are normalized from saved payload.
- Correctly define window/global
DS
namespace in IE7/8. - Test against all Ember channels.
- Allow
recordIsLoaded
to be called with a string for the type. - Removing deleted records from RecordArrays is now async.
- Normalize
links
inDS.RESTSerializer.normalize
. - Label promises.
- Many documentation fixes.
- Add
normalizePayload
toRESTAdapter
for payload normalization that is the same across all requests. - Add
record.toJSON()
- Normalize relationships on payloads returned from saves.
- Rename
rootForType
topathForType
inRESTAdapter
- Add
serializeIntoHash
inRESTAdapter
to enable alternate root keys - Print Ember Data version in the debug output when Ember boots
- Add
typeFromRoot
- Allow retries of records that were not found
- Add
pushPayload
for pushing out of band records that still go through the appropriate normalization logic. - Add an API for registering custom pluralization rules (see 4df69d14ef2677977f520986070a2fdc45664008)
- Add
unloadAll
on store - Infer the type of hasMany and belongsTo relationships by inflecting the key
- Polymorphic relationship improvements
- ActiveModel Adapter for working with Rails-like servers, not included by default in the Ember Data build but available separately.
store.metadataFor(type)
to get metadata provided byfindAll
.RecordArray#save
store.getById
returns null if a record isn't found- Fix a number of rollback-related cases
- Fix async belongsTo
- A number of
links
-related fixes - Ensure that
didLoad
fires when a record is created for the first time - Support primary and sideloaded data of the same type to be returned from array
lookups (via
posts
and_posts
). - IE8 fixes
- Add
record.changedAttributes()
- Properly handle absolute and relative links in the
RESTAdapter
- Records become clean again if their properties are set back to the original values
- Add support for
host
andnamespace
in the RESTAdapter - Always use shorthand (
post
, notApp.Post
) in models - Always use shorthand (
custom
notApp.CustomAdapter
) when looking up adapters - Support
store.all('post')
- Add back support for
record.rollback()
- Transforms should be registered via
App.DateTransform
(fordate
) - Add back support for
since
token for find all fetches - Add
keyForAttribute
andkeyForRelationship
hooks in the serializer - Support for serializing many-to-none and many-to-many relationships in RESTSerializer
- Several fixes for DS.hasMany async
- RESTAdapter
buildURL
takes a string, not type - RESTAdapter now has
rootForType
to convert a type into the root store.update
to update some, but not all attributes- Thanks to Paul Chavard, Toran Billups, Bradley Priest, Kasper Tidemann, Yann Mainier, Dali Zheng, Jeremy Green, Robert Jackson, Joe Bartels, Alexandre de Oliveria, Floren Jaby, Gordon Hempton, Ivan Vanderbyl, Johannes Würbach, Márcio Júnior, Nick Ragaz, Ricardo Mendes, Ryunosuke SATO, Sylvain Mina, and ssured
- Added
DS.DebugAdapter
which extendsEmber.DataAdapter
- Explain how to deal with embedded records
- Start on a transition guide
- Make willCommit while in flight a noop
- Update examples
- Move normalization and extraction to serializer
deleteRecord
when already deleted is a noop- Explain "originally passed as an Array of IDs"
- Shortens unnecessary verbiage
- Add Promise Proxies
- Add back serializers
- More consistency for serializerFor
- Rename
NewJSONSerializer
toJSONSerializer
- Don't invalidate
data
if there's no new data - Use the inflector instead of dumb pluralization
store.create({adapter:'name'})
uses the container- Remove
resolveOn
- Thread more promises through the adapter
- Fix invokeLifecycleCallbacks on still dirty record
- Initialize adapter in the store
- Support merging scenarios
- Start implementing merge semantics
- Remove references to references
- Remove unnecessary usage of references
- Remove leftover serializer code
- Add support for singular names in REST payloads
- Move extraction layers to adapter
- Added support for URL lookups
- Inject the default DS.Store if none is provided
- Add
findAll
,findMany
andfindQuery
to RESTAdapter - Add
findAll
plus request-type-specific extracts - Make serializer respect primaryKey/attrs
- REST Adapter payload stuff
- Ember.Inflector:
Ember.String#pluralize
andEmber.String#singularize
- Remove
handlePromise
indirection. - Queries are now using promises properly
- Share code between sync and async
hasMany
- Unload test passing
- Adapter Interop test passing (plus findByIds)
- Get reloading passing
- Got record persistence test passing
- Records are no longer thenables
- Require application.Store to be defined - Fixes #1084
- Relationship changes operate on records
- Don't assign DS to window unless window exists - Fixes #681
- Client ID generation passing
- Eagerly generate the jQuery expando on window
- Allowing inverse relationships to be nullable.
fetchRecord
replacedfindById
here- Eliminate lazy materialization from
belongsTo
- Start consolidating API around records
- Make the data materialized again
- Add
debugInfo
toDS.Model
- Add
store.push
andstore.recordFor
- Remove redundant
[]
fromEmber.A()
calls - Bump ember-source
- Flatten model's
data
structure into single hash - Fix deprecation warning
- Add serializerFor API to
DS.Store
- Removed duplicate method declaration
save
method is not private- Prevent resolution of jQuery's self fulfilling jqXHR thenable Since it resolves on another turn, it will cause needless and unwrappable auto-runs
- Rewrite the state machine to improve performance
- Add individual record to the buildURL signature.
- Update jQuery version for
rake test[all]
- Remove unnecessary inspector for
object
- Remove option to specify router
- Declared
ajaxHeaders
. - Specify additional headers for RESTAdapter.
- Update supported ruby version
- Use
Ember.EnumerableUtils.map
- Use
Ember.EnumerableUtils.indexOf
- Use
Ember.EnumerableUtils.forEach
- Modify code indent
- Bump ember-source to 1.0.0-rc.6
- Include the version number in the javascript.
- This expression makes my brain hurt, lets atleast expand this to two lines. (We need some sort of macro system to improve these assertions.
- Improve variable naming consistency
- Remove nested run loop.
- Allow metadata value to be zero
- Remove redundant serialized variable. :/
- Better serializeId implementation that takes empty strings into consideration and fixed a logic error in
isNaN(id)
check - Id serialization correctly returns null for null or undefined id values rather than 0
- Remove bundled jQuery
- First pass at uncatchable assertions
- English, do you speak it?
- Remove unused variables
- Remove unused helper
- Remove unnecessary comment
- Remove unused tasks
- Support
Ember::Data::VERSION
- Assert post is dirty
- Replace references to jQuery with Ember.$
- RESTAdapter: reject with xhr only
- Fix: record must be invalid on 422
- Add failing integration test to expose bug #1005
- Remove revision reference.
- Check against
null
andundefined
- Initial Release