[Meta] JSON:API 1.1 spec compliance/support

Created on 22 August 2022, almost 2 years ago
Updated 16 October 2023, 8 months ago

Problem/Motivation

This issue tracks child issues relating to JSON:API 1.1 spec compliance. The announced tag date for 1.1 is September 30, 2022.

Reference: Changelist

Remaining tasks

Areas where Drupal is not 1.0 compliant but we were ahead of 1.1; ensure tagged spec compliance.

Areas where Drupal is incompatible and there is no existing PP on JSON:API 1.1; that is, we're just plain out of spec.

New features/options in 1.1 that Drupal can support

Overview of all changes in spec and their releated issues:

Spec changelist

  1. ✨ JSON:API 1.1: "@-Members" Active
  2. error object type links.
    1. πŸ“Œ [PP-1] JSON:API 1.1 Implement `error.source.missing.key` data to compliment `error.source.pointer` Active
  3. Recommending camelCased
  4. Extensions πŸ“Œ Spec Compliance: JSON API's profile/extention (Fancy Filters, Drupal sorting, Drupal pagination, relationship arity) needs to be explicitly communicated Active
  5. Profiles πŸ“Œ Spec Compliance: JSON API's profile/extention (Fancy Filters, Drupal sorting, Drupal pagination, relationship arity) needs to be explicitly communicated Active
  6. Links can be represented as RFC 8288-style web links.
  7. describedby links member was added ✨ JSON:API 1.1: Add descibeBy API to add link to top level, resource and relationship objects Active
  8. Local IDs were introduced so that a client can create a relationship to a resource yet-to-be created by the same request. I don't think we need to do this, we dont really allow creating multple resource in one request.
  9. Clarified details regarding expected and allowed responses, query parameters, and more.

Changelog for releases after 1.0

RC 1

RC 2

RC 3

  • Refined links objects. The link object params member was removed to better align with other JSON link serializations. The anchor target attribute was also removed. It may be restored in a future minor release.

RC 4

  • Formalized the definition of specification and implementation semantics.
  • Refined the definitions of extensions and profiles.
  • Clarified details regarding expected and allowed responses, query parameters, and more.
🌱 Plan
Status

Active

Version

11.0 πŸ”₯

Component
JSON APIΒ  β†’

Last updated 2 days ago

Created by

πŸ‡ΊπŸ‡ΈUnited States bradjones1 Digital Nomad Life

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024