Skip to content

Releases: wopian/kitsu

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)

1.2.1 (2017-07-08)

16 Jul 02:45
Compare
Choose a tag to compare
Build System / Dependencies
  • cause release script to fail on test failures (b10dc982)
Bug Fixes
  • ensure isAuth returns true when header set (1f3ee195)

1.2.0 (2017-07-06)

16 Jul 02:45
Compare
Choose a tag to compare
Bug Fixes

1.1.0 (2017-07-06)

16 Jul 02:44
Compare
Choose a tag to compare
Chores
Bug Fixes

1.0.3 (2017-07-06)

16 Jul 02:44
Compare
Choose a tag to compare
Chores
Continuous Integration
  • disable email notifications (e2baf0f8)

1.0.2 (2017-07-06)

06 Jul 17:26
Compare
Choose a tag to compare
Chores
  • add npm publish to release command (d23c4fa0)
  • improve release commit message (d06e5ff3)
New Features
  • check if console exists before logging (046f3ab6)

1.0.1 (2017-07-06)

06 Jul 17:26
Compare
Choose a tag to compare
Build System / Dependencies
Chores