@steffans steffans released this Jun 24, 2016 · 234 commits to develop since this release

Assets 2

Note this release has API changes, make sure to update your code when upgrading

New

  • Added Request and Response classes
  • Added Response methods text(), json() and blob()
  • Added credentials option for CORS requests
  • Added progress option to handle progress events of uploads

Changed

  • Renamed option data to body
  • Renamed option beforeSend to before
  • Renamed method Request.cancel() to Request.abort()
  • Changed property Response.headers to object
  • Changed arguments for Http.get(url, [data], [options]) to Http.get(url, [options])
  • Interceptors use Request.respondWith() method to return a Response

Removed

  • No chain break in Promise (#248)
  • Callbacks success, error and always
  • Removed property Response.request
  • Removed option xhr use progress or credentials options instead
  • Removed option upload use progress or credentials options instead