Skip to content

Releases: wopian/kitsu

4.5.1 (2018-01-27)

27 Jan 06:02
1019bf1
Compare
Choose a tag to compare
Build System / Dependencies
  • add TypeError and addUncountableRule to dictionary (118a430a)
  • run doc tasks before tests (cdde056f)

4.5.0 (2018-01-27)

27 Jan 05:52
0ca5140
Compare
Choose a tag to compare
Breaking Changes
  • remove ES module format (2d484e02)
    • reverted in 4.5.1
  • fix: rethrow JSON:API errors (fixes #104) (4a3c6078)
  • rollup: use commonjs format instead of UMD for lib files (204ab3e3)
Build System / Dependencies
  • lint docs during doc generation (95c44478)
Chores
Documentation Changes
  • readme: update package size in support table (978d0430)
  • isAuth: add deprecation notice (c583889b)
  • error: add documentation (97a35564)
  • query: add documentation (216a20d2)
  • update dictionary (27a3c341)
  • add cdn usage and demo services (node & browser) (671f7d34)
  • tag linkArray/Object as private functions (601612c9)
Refactors
  • remove authentication requirements for post/patch/delete (#107) (b91057e5)
  • don't check query param type is a string (a4486b3d)
  • cleanup linkRelationships (c0e1aae8)
  • inject JSON:API error array into top level of axios error (d4019919)
  • simplify required jsonapi headers inclusion (6f018c71)
Tests
  • error: update test cases (5ea1f130)
  • ignore axios paramSerializer function line (1a8dd927)
  • test uncovered throw in serialise (0b055d36)
  • update test cases (f974a2a0)

4.4.3 (2018-01-22)

22 Jan 23:17
22962a8
Compare
Choose a tag to compare
Chores
  • simplify baseURL logical or operation (0d2f8c55)
Tests
  • add tests for baseURL constructor (b3ecd672)

4.4.2 (2018-01-22)

22 Jan 22:53
0447370
Compare
Choose a tag to compare
Documentation Changes
  • add navigatable links to JSON:API spec references (9ba8db6b)

4.4.1 (2018-01-22)

22 Jan 22:41
db6153b
Compare
Choose a tag to compare
Chores
Continuous Integration
  • codeclimate: increase cognitive complexity limit by 1 (010290c0)
Bug Fixes
  • correct name for exported module (fixes #103) (f945e566)
  • rollup: transpile node package for node 6 support (b84a8253)

4.4.0 (2018-01-19)

19 Jan 15:05
bf45b23
Compare
Choose a tag to compare
Build System / Dependencies
Chores
  • deps: update axios-mock-adapter to ~1.11.0 (#98) (2d36968b)
Documentation Changes
  • remove comma in example (33a11083)
  • fix changelog and contributing links pointing to wrong repo (89ac6547)
  • update dictionary (62e6adec)
  • include api documentation inside readme instead of docs.md (61ec6837)
  • link to latest version's documentation (eac1bd44)
New Features
Bug Fixes

4.3.0 (2018-01-18)

18 Jan 17:40
557d75e
Compare
Choose a tag to compare
Chores
  • deps: update eslint-plugin-jest to ~21.7.0 (#97) (784cca45)
Reverts
  • use instance of axios instead of global axios (#96) (a589ba01)

4.2.1 (2018-01-18)

18 Jan 14:42
Compare
Choose a tag to compare
Chores
Bug Fixes
  • convert CamelCase into lowercase for kebab and snake conversions (#95) (ad948322)

4.2.0 (2018-01-16)

16 Jan 05:47
4417f12
Compare
Choose a tag to compare
Chores
Documentation Changes
  • readme: fix tagline grammar (b77c13f6)
New Features
  • use last 2/10 years for default/legacy browser support + add node-only package (55e74d58)
Bug Fixes
  • forward get request errors through self function (29fc2fa0)
  • send serialised object instead of its data object (delete method) (f1bb10b6)
  • serialised ID MUST return a string (64c6df68)
  • send serialised object instead of its data object (74435db3)
  • prevent adding types into serialised attributes (d8c11da7)
  • resolve headers not being applied for patch and post requests (ff2d0d07)
Tests
  • add test for filterIncludes branch (8522a964)
  • add tests for error function (0e27e8c8)
  • remove console log (9ba1a00a)
  • add tests to check requests' data contents (5ca470d3)
  • test headers are sent in request (32435ce8)

4.1.0 (2018-01-05)

05 Jan 17:05
580ecdb
Compare
Choose a tag to compare
Build System / Dependencies
  • cleanup path to legacy package - still kitsu/lib/legacy for end users (d4a658e3)
  • don't mangle variables in releases - removes need for sourcemap bloat (b766c167)
  • ignore src and dictionary in releases (7d13695d)
  • run jest without coverage report in pre-commit hook (32ff71d9)
  • add pre-commit hook for tests (fde20010)
  • update package scripts (656137f6)
Continuous Integration
Documentation Changes
  • document camel, kebab and snake functions (24d27aab)
Bug Fixes
  • deattribute: check data is an object/array instead of undefined, prevent throwing an error if data is defined but an invalid type (d490ff27)
Refactors
  • cleanup serialisation validation (#85) (f99286eb)
  • make deattribute function 54% faster (8cac0f04)
Tests
  • self: remove unused case import (b8e7411e)
  • split Kitsu class tests into seperate files for each method (757acab2)
  • properly capture thrown error by filterIncludes (8f7fbebd)
  • properly handle async failures for deserialise (19fd5587)
  • cleanup deattribute tests (47a7fbaf)