- Use the adapter host for host-relative URLs in
findHasMany. - Fix
asyncBelongsToresolution. - Add
destroyRecordto 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#modelFornow 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
DSnamespace in IE7/8. - Test against all Ember channels.
- Allow
recordIsLoadedto be called with a string for the type. - Removing deleted records from RecordArrays is now async.
- Normalize
linksinDS.RESTSerializer.normalize. - Label promises.
- Many documentation fixes.
- Add
normalizePayloadtoRESTAdapterfor payload normalization that is the same across all requests. - Add
record.toJSON() - Normalize relationships on payloads returned from saves.
- Rename
rootForTypetopathForTypeinRESTAdapter - Add
serializeIntoHashinRESTAdapterto 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
pushPayloadfor pushing out of band records that still go through the appropriate normalization logic. - Add an API for registering custom pluralization rules (see 4df69d14ef2677977f520986070a2fdc45664008)
- Add
unloadAllon 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#savestore.getByIdreturns 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
didLoadfires 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
postsand_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
hostandnamespacein the RESTAdapter - Always use shorthand (
post, notApp.Post) in models - Always use shorthand (
customnotApp.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
sincetoken for find all fetches - Add
keyForAttributeandkeyForRelationshiphooks in the serializer - Support for serializing many-to-none and many-to-many relationships in RESTSerializer
- Several fixes for DS.hasMany async
- RESTAdapter
buildURLtakes a string, not type - RESTAdapter now has
rootForTypeto convert a type into the root store.updateto 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.DebugAdapterwhich 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
deleteRecordwhen 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
NewJSONSerializertoJSONSerializer - Don't invalidate
dataif 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,findManyandfindQueryto RESTAdapter - Add
findAllplus request-type-specific extracts - Make serializer respect primaryKey/attrs
- REST Adapter payload stuff
- Ember.Inflector:
Ember.String#pluralizeandEmber.String#singularize - Remove
handlePromiseindirection. - 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.
fetchRecordreplacedfindByIdhere- Eliminate lazy materialization from
belongsTo - Start consolidating API around records
- Make the data materialized again
- Add
debugInfotoDS.Model - Add
store.pushandstore.recordFor - Remove redundant
[]fromEmber.A()calls - Bump ember-source
- Flatten model's
datastructure into single hash - Fix deprecation warning
- Add serializerFor API to
DS.Store - Removed duplicate method declaration
savemethod 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
nullandundefined
- Initial Release