Skip to content

Releases: wopian/kitsu

3.0.2 (2017-10-13)

13 Oct 00:49
Compare
Choose a tag to compare
Documentation Changes

3.0.1 (2017-10-09)

13 Oct 00:49
Compare
Choose a tag to compare
Chores
  • remove unused globals from rollup config (f0e002ba)

3.0.0 (2017-10-09)

13 Oct 00:49
Compare
Choose a tag to compare
BREAKING CHANGES
  • Built in oAuth2 authentication has been removed. Use client-oauth2 directly (example in auth.js)

  • Option variable for the API URL and version on creating a new instance has changed

    • apiUrl is now baseURL
    • apiVer is now version
  • Removed the compact option in the whoAmI function

  • Removed the network failure retry ability (was a built-in feature of got not included with axios)

Chores
Documentation Changes
  • update documentation and examples (a43bc4fa)
  • add destructuring example to readme (28585a34)
New Features
Bug Fixes

2.0.4 (2017-08-10)

20 Aug 17:39
Compare
Choose a tag to compare
Documentation Changes

2.0.3 (2017-07-23)

23 Jul 01:59
Compare
Choose a tag to compare
Build System / Dependencies
  • codeclimate ignore spec files (eacdfea5)
Documentation Changes
  • fix link to repo LICENSE (dccdb9ea)
  • add resource relationship example (794bf978)
  • update apiUrl override example (8ce83d27)
Bug Fixes
  • bind methods outside of constructor (fixes aliases) (9d3f74fd)

2.0.2 (2017-07-19)

19 Jul 04:03
Compare
Choose a tag to compare
Build System / Dependencies
  • codeclimate ignore spec files (eacdfea5)
Bug Fixes
  • bind methods outside of constructor (fixes aliases) (ed319d9c)

2.0.1 (2017-07-18)

19 Jul 04:03
Compare
Choose a tag to compare
Documentation Changes

2.0.0 (2017-07-18)

19 Jul 04:03
Compare
Choose a tag to compare
BREAKING CHANGES
  • Attributes have been moved to the parent object

    • data.attributes.canonicalTitle becomes data.canonicalTitle
  • The relationship name is now used in the GET output instead of the relationship type, i.e:

    • In 1.x, the waifu relationship erroneously became characters: {}
    • In 2.x it remains waifu: {}
  • Removing resources has been simplified

    • kitsu.remove('model', { id: 1 }) becomes kitsu.remove('model', 1)
  • header (previously setHeader) has been removed. Identical implementation was already provided
    by headers

    • kitsu.header('key', 'value') becomes kitsu.headers['key'] = 'value'
    • kitsu.headers['key'] returns the header's value (1.x)
Build System / Dependencies
  • update path to test coverage (a167daa4)
Chores
Documentation Changes
  • split contributing into seperate file (494f15a4)
  • mention existing functionality of kitsu.headers (4ea1c848)
  • add 2.0 migration guide (db148b3c)
  • add a more complex example (dbc700fb)
  • update auth example (b03fcff9)
New Features
Bug Fixes
  • link relationship arrays without discarding everything after first (0d76f02e)
  • prevent linking relationships twice (71cc4e86)
  • correct deserialise implementation for arrays (17965b38)
  • properly pass request errors (93c89f67)
  • handle relationship arrays (faf2884c)
  • move attributes into parent object (80785480)
  • use relationship name instead of type for deserialised relationships key (9640f318)
Reverts
  • json parse before throwing errors (6fd7962d)
Tests
  • add assertions to ensure async failures (f2f262bf)
  • update deattribute test name (a2b07be1)
  • add tests for util functions (11443d70)

1.3.0 (2017-07-16)

16 Jul 04:08
Compare
Choose a tag to compare
Build System / Dependencies
Performance Improvements
  • bind methods instead of assigning (d14599b9)
Refactors
Reverts
  • change options back to opts (c55b0ecc)

1.2.2 (2017-07-16)

16 Jul 03:36
Compare
Choose a tag to compare
Build System / Dependencies
  • use rollup-cleanup over uglify-es (2eb60f3c)
Documentation Changes
Refactors
  • split class into multiple files (8cf599e0)