Skip to content

Releases: wopian/kitsu

9.0.6 (2020-05-07)

07 May 20:30
Compare
Choose a tag to compare

Chores

  • release: update documentation (03fc40e)
  • remove rogue console.log (29d3ae3)

Documentation Changes

  • kitsu: add alias for delete to Quick Start in README (c9ba1b6)
  • kitsu: fix URL to more examples (d3d46ce)
  • kitsu: remove node 12 notice (6540e39)
  • kitsu: remove unused URL from README (bafbeeb)
  • kitsu: update Quick Start in README (f49064b)
  • kitsu-core: remove node 12 notice (45f20bb)

9.0.5 (2020-05-07)

07 May 12:43
Compare
Choose a tag to compare

Chores

  • release: update documentation (2df72e7)
  • trim CHANGELOG length (af7db19)

9.0.4 (2020-05-07)

07 May 12:30
Compare
Choose a tag to compare

Chores

  • release: update documentation (9561c63)

Documentation Changes

  • kitsu-core: add example for query (63c15f4)
  • kitsu-core: add examples for error (cb40de1)
  • kitsu-core: add examples for filterIncludes (66b5a6f)
  • kitsu-core: add examples for linkRelationships (ff05659)

9.0.3 (2020-05-07)

07 May 12:30
Compare
Choose a tag to compare

Chores

  • release: update documentation (95c3fbb)

Documentation Changes

  • kitsu: add JSON:API query parameters to Quick Start (a5c501a)

9.0.2 (2020-05-07)

07 May 12:29
Compare
Choose a tag to compare

Bug Fixes

  • kitsu-core: correctly parse attributes.attributes (closes #137) (b058e42)

Chores

  • release: update documentation (84d00c5)

Tests

  • kitsu-core: add test for ensuring all relationships exist in output (1fc81d9)

9.0.1 (2020-05-07)

07 May 12:29
Compare
Choose a tag to compare

Documentation Changes

  • kitsu: add migration guide link to README (e434df2)
  • kitsu-core: add migration guide link to README (bf282af)

9.0.0 (2020-05-07)

07 May 10:01
Compare
Choose a tag to compare

Migrating to kitsu-core v9
Migrating to kitsu v9

BREAKING CHANGES

  • kitsu: returned data now preserves link objects - see migration guide for details
  • kitsu-core: deserialise and linkRelationships preserve link objects
  • kitsu-core: serialise.apply[{ camel, resCase, plural}, [ model, data, method ]) is no longer neccessary. New syntax is serialise(model, data, method, { camelCaseTypes: camel, pluralTypes: plural}).

Chores

  • release: update documentation (08362a8)

New Features

  • kitsu: handle nested (relationship) routes using kitsu-core's splitModel (4f641b9)
  • kitsu-core: add splitModel (782d1b6)
  • kitsu-core: preserve links in relationships during deserialisation (cbf50df)

Refactors

  • kitsu-core: pass camelCase and pluralisation options as arguments to serialise (34b9cae)

8.3.1 (2020-05-02)

02 May 02:17
8fd78d5
Compare
Choose a tag to compare

Bug Fixes

  • kitsu-core: prevent undefined id for empty relationship data objects: (ee381a9)
relationships: {
  author: {
    data: {}
  }
}

Becomes:

author: {}

Instead of:

author: {
  id: undefined,
  type: undefined
}

8.3.0 (2020-05-02)

02 May 00:30
bdea71e
Compare
Choose a tag to compare

Chores

  • release: update documentation (5382aad)

New Features

  • kitsu-core: check ID exists before serialising objects/arrays as relationships (#402) (79287d0)
  • kitsu-core: serialise deletion of to-one and to-many relationships (#403) (5f868e7)

8.2.0 (2020-04-26)

26 Apr 01:27
7164fae
Compare
Choose a tag to compare

New Features

  • kitsu-core: optional pluralisation during serialisation (#395) (c2e6f02)