Install
Works with Drupal: 8.xUsing Composer to manage Drupal site dependencies
Alternative installation files
Release notes
If you're updating from a 1.x version of JSON:API, we recommend you first read the 2.0 release notes: https://www.drupal.org/project/jsonapi/releases/8.x-2.0
Two major new features: reading individual revisions (enabling previews!) and uploading files. One small bugfix, which was a regression compared to the 1.x branch that had been around for months but was only noticed recently.
Summary: 8.x-2.1
See the change records.
Contributors: (15) Wim Leers, killes@www.drop.org, gabesullice, e0ipso, malik.kotob, pfrilling, Grimreaper, andriansyahnc, blainelang, btully, ebeyrent, garphy, justageek, ndobromirov, amateescu
Issues: 8 issues resolved.
Changes since 8.x-2.0:
Bug
- #3026030 by Wim Leers, killes@www.drop.org: [regression] Includes are no longer respected when POSTing/PATCHing
- #3024799 by gabesullice: Spec Compliance: `resource_version` should be `resourceVersion`
Feature
- #2958554 by Wim Leers, gabesullice, malik.kotob, pfrilling, Grimreaper, andriansyahnc, blainelang, e0ipso, btully, ebeyrent: Allow creation of file entities from binary data via JSON API requests
- #2995960 by gabesullice, Wim Leers, e0ipso: Add a Link and LinkCollection class to support RFC8288 web linking
- #2992833 by gabesullice, e0ipso, Wim Leers, garphy, justageek, ndobromirov, amateescu: Add a version negotiation to revisionable resource types
Task
- #3022584 by gabesullice, Wim Leers, e0ipso: Consolidate and simplify NormalizerValue objects: introduce CacheableNormalization
- #3010389 by gabesullice: CS violation: Language constructs must be followed by a single space; expected 1 space but found "\n"