Skip to content

1.3.0

Compare
Choose a tag to compare
@mgonto mgonto released this 29 Jan 04:33
· 321 commits to master since this release
  • Added the ability to add multiple requestInterceptors, fullRequestInterceptors and
    responseInterceptors. You can add as many as you want and they'll be called FIFO.
  • Added support for Jsonp.
  • When received 304, response is resolved with object on memory instead of sending it to the error handler.
  • stripRestangular method finally strips everything :).
  • errorInterceptor now receives a promise as well as the response.
  • fullRequestInterceptor doesn't need to return all of the 4 fields on each interceptor. You can just return the ones you change.
  • Common errors that people make now throw errors on JS so that it's clearer to the user
  • getRequestedUrl takes the suffix into account
  • Property setTransformOnlyServerElements added so that you can set transformers to be called on local objects, servers or both.
  • From this release one, each new feature/bug has a test asociated :).