Releases: wopian/kitsu
Releases · wopian/kitsu
9.0.6 (2020-05-07)
Chores
Documentation Changes
9.0.5 (2020-05-07)
9.0.4 (2020-05-07)
9.0.3 (2020-05-07)
9.0.2 (2020-05-07)
9.0.1 (2020-05-07)
9.0.0 (2020-05-07)
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)
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
}