Skip to content

0.18.0 - Warning: BC Break

Compare
Choose a tag to compare
@mweibel mweibel released this 06 Mar 15:34
· 273 commits to master since this release

Version 0.18.0 breaks backwards compatibility with previous versions because the API requests will return now the headers etc. too. Previously only the body has been returned.

How to update your code

// before
rokka.organizations.get('myorg').then(function(result) {
  console.log(result);
}).catch(function(err) { console.error(err) });

// after
rokka.organizations.get('myorg').then(function(result) {
  console.log(result.body);
}).catch(function(err) { console.error(err) });