|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## 2.4.0 beta 2 |
| 4 | + |
| 5 | +* Fix version constraints for Doctrine MongoDB ODM |
| 6 | +* Respect `_api_respond` request attribute in the SerializeListener |
| 7 | +* Change the normalizer's priorities (`< 0`). If you have custom normalizer we recommend to use positive priorities. |
| 8 | + |
| 9 | +| Service name | Priority | Class | |
| 10 | +|------------------------------------------------------------|------|---------------------------------------------------------| |
| 11 | +| api_platform.hydra.normalizer.constraint_violation_list | -780 | ApiPlatform\Core\Hydra\Serializer\ConstraintViolationListNormalizer |
| 12 | +| api_platform.jsonapi.normalizer.constraint_violation_list | -780 | ApiPlatform\Core\JsonApi\Serializer\ConstraintViolationListNormalizer |
| 13 | +| api_platform.problem.normalizer.constraint_violation_list | -780 | ApiPlatform\Core\Problem\Serializer\ConstraintViolationListNormalizer |
| 14 | +| api_platform.swagger.normalizer.api_gateway | -780 | ApiPlatform\Core\Swagger\Serializer\ApiGatewayNormalizer |
| 15 | +| api_platform.hal.normalizer.collection | -790 | ApiPlatform\Core\Hal\Serializer\CollectionNormalizer |
| 16 | +| api_platform.hydra.normalizer.collection_filters | -790 | ApiPlatform\Core\Hydra\Serializer\CollectionFiltersNormalizer |
| 17 | +| api_platform.jsonapi.normalizer.collection | -790 | ApiPlatform\Core\JsonApi\Serializer\CollectionNormalizer |
| 18 | +| api_platform.jsonapi.normalizer.error | -790 | ApiPlatform\Core\JsonApi\Serializer\ErrorNormalizer |
| 19 | +| api_platform.hal.normalizer.entrypoint | -800 | ApiPlatform\Core\Hal\Serializer\EntrypointNormalizer |
| 20 | +| api_platform.hydra.normalizer.documentation | -800 | ApiPlatform\Core\Hydra\Serializer\DocumentationNormalizer |
| 21 | +| api_platform.hydra.normalizer.entrypoint | -800 | ApiPlatform\Core\Hydra\Serializer\EntrypointNormalizer |
| 22 | +| api_platform.hydra.normalizer.error | -800 | ApiPlatform\Core\Hydra\Serializer\ErrorNormalizer |
| 23 | +| api_platform.jsonapi.normalizer.entrypoint | -800 | ApiPlatform\Core\JsonApi\Serializer\EntrypointNormalizer |
| 24 | +| api_platform.problem.normalizer.error | -810 | ApiPlatform\Core\Problem\Serializer\ErrorNormalizer |
| 25 | +| serializer.normalizer.json_serializable | -900 | Symfony\Component\Serializer\Normalizer\JsonSerializableNormalizer |
| 26 | +| serializer.normalizer.datetime | -910 | Symfony\Component\Serializer\Normalizer\DateTimeNormalizer |
| 27 | +| serializer.normalizer.constraint_violation_list | -915 | Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer |
| 28 | +| serializer.normalizer.dateinterval | -915 | Symfony\Component\Serializer\Normalizer\DateIntervalNormalizer |
| 29 | +| serializer.normalizer.data_uri | -920 | Symfony\Component\Serializer\Normalizer\DataUriNormalizer |
| 30 | +| api_platform.graphql.normalizer.item | -922 | ApiPlatform\Core\GraphQl\Serializer\ItemNormalizer |
| 31 | +| api_platform.hal.normalizer.item | -922 | ApiPlatform\Core\Hal\Serializer\ItemNormalizer |
| 32 | +| api_platform.jsonapi.normalizer.item | -922 | ApiPlatform\Core\JsonApi\Serializer\ItemNormalizer |
| 33 | +| api_platform.jsonld.normalizer.item | -922 | ApiPlatform\Core\JsonLd\Serializer\ItemNormalizer |
| 34 | +| api_platform.serializer.normalizer.item | -923 | ApiPlatform\Core\Serializer\ItemNormalizer |
| 35 | +| serializer.normalizer.object | -1000 | Symfony\Component\Serializer\Normalizer\ObjectNormalizer |
| 36 | + |
| 37 | +* Allow custom stylesheets to be appended or replaced in the swagger UI |
| 38 | +* Load messenger only if available |
| 39 | +* Fix missing metadata cache pool for Elasticsearch |
| 40 | +* Make use of the new AdvancedNameConverterInterface interface for name converters |
| 41 | +* Refactor input/output attributes, where these attributes now take: |
| 42 | + - an array specifying a class and some specific attributes (`name` and `iri` if needed) |
| 43 | + - a string representing the class |
| 44 | + - a `falsy` boolean to disable the input/output |
| 45 | +* Introduce the DataTransformer concept to transform an input/output from/to a resource |
| 46 | +* Api Platform normalizer is not limited to Resources anymore (you can use DTO as relations and more...) |
| 47 | +* MongoDB: allow a `0` limit in the pagination |
| 48 | +* Fix support of a discriminator mapping in an entity |
| 49 | + |
3 | 50 | ## 2.4.0 beta 1
|
4 | 51 |
|
5 | 52 | * MongoDB: full support
|
|
203 | 250 |
|
204 | 251 | ## 2.2.2
|
205 | 252 |
|
206 |
| -* Autoregister classes implementing `SubresourceDataProviderInterface` |
| 253 | +* Autoregister classes implementing `SubresourceDataProviderInterface` |
207 | 254 | * Fix the `DateTimeImmutable` support in the date filter
|
208 | 255 | * Fix a BC break in `DocumentationAction` impacting NelmioApiDoc
|
209 | 256 | * Fix the context passed to data providers (improve the eager loading)
|
|
233 | 280 | * Remove the `api_platform.doctrine.listener.view.write` event listener service.
|
234 | 281 | * Add a data persistence layer with a new `ApiPlatform\Core\DataPersister\DataPersisterInterface` interface.
|
235 | 282 | * Add the a new configuration to disable the API entrypoint and the documentation
|
236 |
| -* Allow to set maximum items per page at operation/resource level |
| 283 | +* Allow to set maximum items per page at operation/resource level |
237 | 284 | * Add the ability to customize the message when configuring an access control rule trough the `access_control_message` attribute
|
238 |
| -* Allow empty operations in XML configs |
| 285 | +* Allow empty operations in XML configs |
239 | 286 |
|
240 | 287 | ## 2.1.6
|
241 | 288 |
|
|
262 | 309 | ## 2.1.4
|
263 | 310 |
|
264 | 311 | * Symfony 3.4 and 4.0 compatibility
|
265 |
| -* Autowiring strict mode compatibility |
| 312 | +* Autowiring strict mode compatibility |
266 | 313 | * Fix a bug preventing to create resource classes in the global namespace
|
267 | 314 | * Fix Doctrine type conversion in filter's WHERE clauses
|
268 | 315 | * Fix filters when using eager loading and non-association composite identifier
|
269 |
| -* Fix Doctrine type resolution for identifiers (for custom DBALType) |
| 316 | +* Fix Doctrine type resolution for identifiers (for custom DBALType) |
270 | 317 | * Add missing Symfony Routing options to operations configuration
|
271 | 318 | * Add SubresourceOperations to metadata
|
272 |
| -* Fix disabling of cache pools with the dev environment |
| 319 | +* Fix disabling of cache pools with the dev environment |
273 | 320 |
|
274 | 321 | ## 2.1.3
|
275 | 322 |
|
|
0 commit comments