The change log documents features and breaking changes for each version.
While RESTless reaches a 1.0 release and more feedback and testing continues, the API is subject to change.
To keep the library small, API deprecation warnings will not be added.
- Fix deprecations and errors to support ember 2.0
- The RESTless library and its individual modules can now be imported in ember-cli apps
- Removed fixture and local storage adapters from main repo.
- Fix errors & deprecation warnings when using with ember 1.12.0+
- Can now be easily included in apps as an ember-cli addon
- Allow the RESTAdapter's ajax method to be overridden. Allows you to manually modify params or swap in something other than jQuery ajax.
- NOTE: the private
currentRequest
property on models is now a pointer to a promise instead of the jQuery.ajax call.
- Bug fix: remove usage of private Ember method that was removed in canary.
- Using esperanto for ES6 module transpiler
- Converted code to ES6 modules
- Gulp for task runner instead of Grunt
host
property in RESTAdapter now respects protocol-less assignments- Update date serialization to toISOString
- Removing old, long deprecated properties/methods
- Using Pretender in tests for XHRs
- Bug fix to support Ember 1.8.0 which changed method signiture of Ember.Map.forEach
- Now using bower to install testing libs instead of packaging with project
- Support usage with ES6 modules / ember-cli
- Deprecated namespaces in relationship attrs & configurations. Should now reference models e.g.
'post'
instead of'App.Post'
- No longer distributing 'extras' builds, but still able to build it yourself.
- Bug fixes
- Abstracted transforms & changed API for registering transforms (backwards compatible)
- Renamed
Client
initializer. - Code cleanups
- Bug fixes
- Attribute types are now optional
- Relationship attributes can now be defined with object references as well as strings
- Deprecate
url
forhost
in RESTAdapter (matches ember-data) - Added
headers
anddefaultData
properties to RESTAdapter - Added LocalStorage Adapter in extras
- YUIDoc documentation
- Bug fixes
- Register via
Ember.libraries
- Using
Ember.exports
instead ofwindow
to expose library - Bower support
- Bug fixes
- FixtureAdapter
- Expose serializeProperty/deserializeProperty to Model
- reloadRecord should modify original record
- Add state event hooks for models
- RecordArray no longer requires strict model type
- Add ability to set adapter for each model
- Added
fetch()
to find records returning Promises - Added
reloadRecord()
method - Added more robust error messages from remote requests
- Cleaned up State mixin
- Added
useContentTypeExtension
option to RESTAdapter
- Support for custom Grunt builds
- Use RSVP promises instead of jQuery's promise implementation
- Remove depreciation warnings, revision tracking
- Add option to force content type extention on requests
- Refactored attributes as computed properties with metadata
- let findByKey method support adding extra params
- Update 'find' method names
- Add external date parsing lib
- Add load and loadMany methods on Model
- Multi-word model support
- Refactored to abstract Adapter and Serializer
- BREAKING: Renamed classes, to support further abstraction:
- RESTClient --> Client
- RESTArray --> RecordArray
- Add map method to adapter for configurable properties and primary key
- Add ReadOnlyModel
- Add testing framework and basic tests
- Updated json transforms package
- Add readonly properties
- All attribute types support options
- Initial release