Sha256: 5c86628ec445b7609faf9cf0f2083bc3f5f1a70bce53ed1372077b4ddbd5848a
Contents?: true
Size: 1.83 KB
Versions: 2
Compression:
Stored size: 1.83 KB
Contents
<a name="0.2.1"></a> # 0.2.1 ## Bug Fixes ## Features - Added context property to before response interceptors to have access to the calling resource instance in the case of create/update/delete. - Added after response interceptors to be able to define custom callbacks that execute on all resources after method completion. <a name="0.2.0"></a> # 0.2.0 ## Breaking Changes - Removed default transformers and interceptors - railsFieldRenamingTransformer and railsFieldRenamingInterceptor have been removed completely and replaced by the serializers - railsRootWrappingTransformer/Interceptor are no longer configured by the transformers/interceptors configuration option and is instead configured by the <code>enableRootWrapping</code> option. - Interceptors added using <code>beforeRequest</code> are run before any deserialization so the fields names have not been camelized. ## Bug Fixes ## Features - Added serializers to replace old field renaming logic and to give users a lot more flexibility in customizing the (de)serialization process - Added <code>enableRootWrapping</code> configuration option to be able to turn off root wrapping instead - Added path option to <code>$url</code> methods to make it easier to construct a nested url. <a name="0.1.7"></a> # 0.1.7 ## Bug Fixes ## Features - New <code>save</code> instance method added to resources <a name="0.1.6"></a> # 0.1.6 ## Bug Fixes ## Features - Added beforeRequest and beforeResponse methods that wrap a given function as a transformer/interceptor to more easily add customizations <a name="0.1.5"></a> # 0.1.5 ## Bug Fixes ## Features - Added setUrl method to allow reconfiguring a resource's url after creation - Added $url instance method to more easily reference the instance's URL - Added instance and class methods for generic HTTP operations of $get, $post, $put, $delete
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
angularjs-rails-resource-0.2.2 | CHANGELOG.md |
angularjs-rails-resource-0.2.1 | CHANGELOG.md |