Install

Works with Drupal: 8.x

Using Composer to manage Drupal site dependencies

Alternative installation files

Download jsonapi-8.x-1.0-beta1.tar.gztar.gz 77.66 KB
MD5: 63d13e136c1670fd44b97cc44975d2e1
SHA-1: 0be61fed6bacdb8ecbdc92ce7f891d0e61779a99
SHA-256: 45bd5e18bd15b659e1c922a57c4a8251cf9c912dc80169fcf6f891c1fea281ed
Download jsonapi-8.x-1.0-beta1.zipzip 140.59 KB
MD5: 5ff1208b63d41042b11c6c04edfabcd8
SHA-1: 4db4aa79ab46c7a1342ee9423e33c272949a6f91
SHA-256: 5bd1a4ad65f5e120572b02eefaa8f7e572e71d11a8ea5e42df212bb4a638c777

Release notes

fix(Serialization): Type cast supported JSON format (#2858023 by Wim Leers, dawehner, skyredwang)

8df3e73 by skyred (G)

:100644 100644 477aa57... 00b0b58... M src/Normalizer/FieldItemNormalizer.php

fix(DX): Remove the need for ?_format: assume the format for routes managed by JSON API (#2831137 by e0ipso, Wim Leers, dawehner)

84c0ba0 by e0ipso (G)

:100644 100644 9ab02e0... c5d7681... M README.md
:100644 100644 0b10a97... 09e21d3... M jsonapi.services.yml
:100644 100644 9233ef4... c5a322f... M src/Controller/EntryPoint.php
:100644 100644 42d9319... fcd85fe... M src/Controller/RequestHandler.php
:100644 100644 ea87b35... cb85137... M src/EventSubscriber/DefaultExceptionSubscriber.php
:100644 100644 672d801... 802e535... M src/LinkManager/LinkManager.php
:100644 100644 aaeb28e... 00b49b7... M src/Routing/Routes.php
:000000 100644 0000000... bd7a9aa... A src/StackMiddleware/FormatSetter.php
:100644 100644 869d3f1... 6ccfb78... M tests/src/Functional/JsonApiFunctionalTest.php
:100644 100644 18a0acd... 1a648f3... M tests/src/Functional/JsonApiFunctionalTestBase.php
:100644 000000 645f779... 0000000... D tests/src/Functional/RestJsonApiFormatUnsupported.php
:100644 100644 6e026f6... c8ac3e3... M tests/src/Functional/RestJsonApiUnsupported.php

fix(Maintainability): Remove \Drupal\jsonapi\Controller\RequestHandler::renderJsonApiResponse(), add \Drupal\jsonapi\EventSubscriber\ResourceResponseSubscriber (#2855693 by Wim Leers, dawehner)

aeeaefe by wimleers (G)

:100644 100644 3a97096... 0b10a97... M jsonapi.services.yml
:100644 100644 43d767f... 42d9319... M src/Controller/RequestHandler.php
:000000 100644 0000000... b7d543d... A src/EventSubscriber/ResourceResponseSubscriber.php
:100644 100644 6cd61a2... 942d065... M src/ResourceResponse.php
:100644 100644 1c7d783... 645f779... M tests/src/Functional/RestJsonApiFormatUnsupported.php
:100644 100644 18e0878... 6e026f6... M tests/src/Functional/RestJsonApiUnsupported.php
:100644 100644 fca04e3... fd372e0... R057 tests/src/Kernel/Controller/RequestHandlerTest.php tests/src/Unit/EventSubscriber/ResourceResponseSubscriberTest.php

fix(Maintainability): Type hint parmeter types with array (#2851897 by martin107)

740cde3 by martin107 (G)

:100644 100644 2ea7bd1... 672d801... M src/LinkManager/LinkManager.php
:100644 100644 e942072... edc002e... M src/Normalizer/ConfigEntityNormalizer.php
:100644 100644 de76f47... 43a3d55... M src/Normalizer/EntityNormalizer.php
:100644 100644 024cf6c... 247e82c... M src/Normalizer/EntityReferenceFieldNormalizer.php
:100644 100644 5d4ab5b... acb24ee... M src/Normalizer/FieldNormalizer.php
:100644 100644 3c301c6... 6d29747... M src/Normalizer/RelationshipItemNormalizer.php
:100644 100644 dc5aadd... 560f3b7... M src/Normalizer/RelationshipNormalizer.php
:100644 100644 72f102d... 7875dd7... M src/Normalizer/Value/FieldNormalizerValueInterface.php

fix(Maintainability): SerializableHttpException and Drupal\jsonapi\Error\* are not necessary (#2829977 by Wim Leers, dagmar, e0ipso, dawehner)

cdbd063 by wimleers (G)

:100644 100644 ab01a11... 9ab02e0... M README.md
:100644 100644 c111a8e... 3a97096... M jsonapi.services.yml
:100644 100644 9eab90d... b0e386c... M src/Context/FieldResolver.php
:100644 100644 363a622... dfd7fee... M src/Controller/EntityResource.php
:100644 100644 4c4fb5a... 43d767f... M src/Controller/RequestHandler.php
:100644 000000 a51f646... 0000000... D src/Error/ErrorHandler.php
:100644 100644 1d2f71a... ea87b35... M src/EventSubscriber/DefaultExceptionSubscriber.php
:100644 100644 4db9698... c37d0c6... M src/Exception/EntityAccessDeniedHttpException.php
:100644 000000 3aaa117... 0000000... D src/Exception/SerializableHttpException.php
:100644 100644 7730f5f... e0953c8... M src/Exception/UnprocessableHttpEntityException.php
:100644 100644 b3f6d03... 2ea7bd1... M src/LinkManager/LinkManager.php
:100644 100644 7958248... de76f47... M src/Normalizer/EntityNormalizer.php
:100644 100644 2b21527... 024cf6c... M src/Normalizer/EntityReferenceFieldNormalizer.php
:100644 100644 529f862... 2468c1c... M src/Normalizer/HttpExceptionNormalizer.php
:100644 100644 0e84c03... 252cbd2... M src/Query/QueryBuilder.php
:100644 100644 942d065... 6cd61a2... M src/ResourceResponse.php
:100644 100644 2033473... 4a789d5... M src/Routing/Param/Filter.php
:100644 100644 e2b3feb... 238d5fd... M src/Routing/Param/OffsetPage.php
:100644 100644 e0aac10... eee57d9... M src/Routing/Param/Sort.php
:100644 100644 9ee019d... 2539602... M src/Routing/RouteEnhancer.php
:100644 100644 d37dfd3... 3fe1876... M tests/src/Kernel/Controller/EntityResourceTest.php
:100644 100644 0fe7e6c... 488ecea... M tests/src/Unit/Context/FieldResolverTest.php
:100644 100644 996e59c... eef33fa... M tests/src/Unit/LinkManager/LinkManagerTest.php
:100644 100644 2f27c5d... 4bf2490... M tests/src/Unit/Normalizer/EntityReferenceFieldNormalizerTest.php
:100644 100644 15b1928... 1763711... M tests/src/Unit/Routing/Param/FilterTest.php
:100644 100644 c23e5e0... c4afea5... M tests/src/Unit/Routing/Param/OffsetPageTest.php
:100644 100644 a407ea5... 171f62c... M tests/src/Unit/Routing/Param/SortTest.php

test(Query Builder) Add comprehensive unit test coverage for \Drupal\jsonapi\Context\FieldResolver (#2842145 by dawehner)

1819338 by dereine (G)

:000000 100644 0000000... c513be8... A tests/src/Kernel/Context/FieldResolverTest.php
:100644 100644 96a1100... c22a16a... M tests/src/Kernel/JsonapiKernelTestBase.php

fix(Maintainability) Get rid of ResourceResponseInterface (#2857658 by dawehner)

7d1fe32 by dereine (G)

:100644 100644 b421df8... 942d065... M src/ResourceResponse.php
:100644 000000 3ad91e6... 0000000... D src/ResourceResponseInterface.php

Created by: e0ipso
Created on: 12 Mar 2017 at 10:55 UTC
Last updated: 7 Mar 2018 at 20:53 UTC
Bug fixes
New features
Insecure

Other releases