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)