All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Support for Doctrine common v3
- CI now uses the Symfony binary for
security:check
instead of the deprecated composer package - CI "latest" build now runs on PHP 7.4
- Compliance with newer version of php cs fixer
- Support for multi-level filters
- CI removes created images & volumes when finished
- Support for Doctrine bundle v2
- Specified includes now get properly included on create requests
- Headers argument being unintentionally cleared in when creating response
- Support for empty data attribute to
ResponseBodyDecoder
- Form validation errors now generate pointers from cause instead of origin
- Form validation errors pointers now correctly target deep properties
- Failing tests in newer PHPUnit bridge version
- Added CI checks for symfony 4.3
- Show routes with additional parameters now generate properly
- CI checks for Symfony 3.4 now uses same version router component
- Show route calculations no longer use route collection but instead use convention naming
- Self url calculation no longer uses route collection but instead uses current route parameters
- Support for relationship editing trait, see
src/Resources/doc/flow/write_actions.md#updaterelationship
- dropped support for symfony versions 3.1, 3.2, 3.3
- default content type in responses changed to
application/vnd.api+json
- Create trait uses property accessor to get ID instead of expecting getId method
- JsonApi controller check to allow for callable
- Form errors now provide correct code from violation
- The
\Trikoder\JsonApiBundle\Listener\KernelListener
listener priorities for thekernel.view
andkernel.exception
events can now be configured via the extension'skernel_listener_on_kernel_view_priority
andkernel_listener_on_kernel_exception_priority
keys respectively. Trikoder\JsonApiBundle\Schema\Builtin\GenericSchema
to be used for exposing 1:1 any resourceTrikoder\JsonApiBundle\Services\Client\ResponseBodyDecoder
to be used as client for jsonapi response
GenericFormModelInputHandler
can now auto-magicaly handle PHP objects using return typehints, seeGenericModelMetaData
Trikoder\JsonApiBundle\Contracts\RepositoryInterface::save
can now return a object that is saved- InputHandlers will now throw
UnhandleableModelInputException
exceptions when input cannot be properly handled onto model
- Added support for automatically mapped schema files, see schema automapping docs
- Implemented support for required roles config directive, see config reference
\Trikoder\JsonApiBundle\Controller\AbstractController
is now auto-tagged with thecontroller.service_arguments
tag.
- Changed route annotation use to symfony/routing, previously was sensio/framework-extra-bundle
- Added symfony/routing as dependency on 3.4
- Added "doctrine/common": "<2.9" as dependency to cover deprecation notices
- Removed second argument (ServiceContainer) of schema as closure definition. see Manual
- Deprecated RepositoryFactoryInterface (
\Trikoder\JsonApiBundle\Repository\RepositoryFactoryInterface
) in favour of using DIC factory options
First tag of internal release.