Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 178.63 KB
MD5: 290d7388c93889b715adf47fe94ece8a
SHA-1: 3ac3ad49ea353661a1f7d79a63143ee5bd07b130
SHA-256: 51ab9af3359f12d29e2b1098a0f4824a201b3be21cb2c47cf1f2735e35b48d1c
Download zip 307.29 KB
MD5: 070263a3bd827fc45f28059b046ca9c1
SHA-1: 43cb58d42f2f6400830ab2be70e81e11a447b444
SHA-256: d5ab3ef17a154c8fb4c144785856f2cd8359d7998775288a96a0a6b4d0f8e993

Release notes

This is the first release of JSON API 2.x πŸŽ‰

Unlike many module major version bumps, 2.x does not mean that we rewrote the module! In fact, we've increased the stability of this module πŸ’―πŸ€˜πŸ’₯

So, why has the major version been bumped? While making the module more specification compliant, and while adding more tests, and while covering more edge cases, we ran into a few things that we couldn't make better without breaking some things...

What did we break? Well, we've tried very hard to document each and every change. 90% of JSON API clients won't need to change anything, BC was only broken in edge cases. We think you'll be okay with them πŸ™ and we're pretty confident that the most disruptive changes have a relatively simple upgrade path. BUT, we could be wrong 😱 and that's what this beta is for! The most disruptive change is probably that Drupal's UNIX timestamps are now exposed as ISO timestamps via JSON API.

We know what you're thinking, "alright, you've convinced me!" So, when and if you do find breaking changes that aren't documented in the change records, please let us know by filing an issue. If you're having trouble figuring out how to upgrade, please file a "support request" so that we can improve the change record with more thorough instructions. We're happy to help you, if you'll help us find those cases 😘

We've also documented the two new features that are already in this beta:

  1. Entities that you are not allowed to view, but you are allowed to view the label of are no longer omitted; instead you can only see their label!
  2. the new meta.links.me entry provided by /jsonapi which links to the current user

And for those of you thinking, "oh man, I just can't upgrade right now", we've tried to think of you too πŸ€—. JSON API 1.22 marked the beginning of a "critical support" phase for the 1.x branch. We'll do our best to backport any security fixes and/or critical bugs affecting all users to the 1.x branch for a while yet.

We hope you love JSON API as much as we do. Please consider filing an "experience report" in the issue queue to tell us how you're using it or what you've built with it, especially your successes! Believe it or not, we seem to only see your problems! Β―\_(ツ)_/Β―

❀️❀️❀️

- The JSON API Maintainers πŸ‘š


Summary: 8.x-2.0-beta1

Contributors: (21) Wim Leers, e0ipso, gabesullice, hampercm, clemens.tolboom, dawehner, gargsuchi, justafish, sonnykt, alexpott, jlscott, DavidSpiessens, BR0kEN, danielnv18, drpal, martin107, effulgentsia, webchick, balsama, nileshlohar, garphy

Issues: 49 issues resolved.

Changes since 8.x-1.22:

Bug

Feature

Task

Created by: gabesullice
Created on: 23 Aug 2018 at 13:56 UTC
Last updated: 19 Dec 2018 at 18:24 UTC
Bug fixes
New features
Insecure
Unsupported

Other releases