Skip to content

Commit 91e4fb8

Browse files
committed
Add changelog for v2.5.6
1 parent ad0d2b1 commit 91e4fb8

File tree

1 file changed

+55
-52
lines changed

1 file changed

+55
-52
lines changed

CHANGELOG.md

Lines changed: 55 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,36 @@
22

33
## 2.5.6
44

5-
* JSON Schema: Missing JSON-LD context from Data Transformers #3479
6-
* GraphQl: Resource with no operation should be available through relations #3532
7-
* Fix ramsey uuid denormalization #3473
8-
* Revert #3331 as it breaks backwards compatibility
5+
* Add support for Mercure 0.10 (#3584)
6+
* Allow objects without properties (#3544)
7+
* Fix Ramsey uuid denormalization (#3473)
8+
* Revert #3331 as it breaks backwards compatibility
9+
* Handle deprecations from Doctrine Inflector (#3564)
10+
* JSON Schema: Missing JSON-LD context from Data Transformers (#3479)
11+
* GraphQL: Resource with no operations should be available through relations (#3532)
912

1013
## 2.5.5
1114

12-
* Filter: Improve the RangeFilter query in case the values are equals using the between operator #3488
13-
* Pagination: Fix bug with large values #3451
14-
* Doctrine: use the correct type within `setParameter` of the SearchFilter #3331
15-
* Allow `\Traversable` resources #3463
16-
* Hydra: `hydra:writable` => `hydra:writeable` #3481
17-
* Hydra: Show `hydra:next` only when it's available #3457
18-
* Swagger UI: Missing default context argument #3443
19-
* Swagger UI: Fix API docs path in swagger ui #3475
20-
* OpenAPI: Export with unescaped slashes #3368
21-
* OpenAPI: OAuth flows fix #3333
22-
* JSON Schema: Fix metadata options #3425
23-
* JSON Schema: Allow decoration #3417
24-
* JSON Schema: Add DateInterval type #3351
25-
* JSON Schema: Correct schema generation for many types #3402
26-
* Validation: Use API Platform's `ValidationException` instead of Symfony's #3414
27-
* Validation: Fix a bug preventing to serialize validator's payload #3375
28-
* Subresources: Improve queries when there's only one level #3396
29-
* HTTP: Location header is only set on POST with a 201 or between 300 and 400 #3497
30-
* GraphQL: Do not allow empty cursor values on `before` or `after` #3360
31-
* Bump versions of Swagger UI, GraphiQL and GraphQL Playground #3510
15+
* Filter: Improve the RangeFilter query in case the values are equals using the between operator (#3488)
16+
* Pagination: Fix bug with large values (#3451)
17+
* Doctrine: use the correct type within `setParameter` of the SearchFilter (#3331)
18+
* Allow `\Traversable` resources (#3463)
19+
* Hydra: `hydra:writable` => `hydra:writeable` (#3481)
20+
* Hydra: Show `hydra:next` only when it's available (#3457)
21+
* Swagger UI: Missing default context argument (#3443)
22+
* Swagger UI: Fix API docs path in swagger ui (#3475)
23+
* OpenAPI: Export with unescaped slashes (#3368)
24+
* OpenAPI: OAuth flows fix (#3333)
25+
* JSON Schema: Fix metadata options (#3425)
26+
* JSON Schema: Allow decoration (#3417)
27+
* JSON Schema: Add DateInterval type (#3351)
28+
* JSON Schema: Correct schema generation for many types (#3402)
29+
* Validation: Use API Platform's `ValidationException` instead of Symfony's (#3414)
30+
* Validation: Fix a bug preventing to serialize validator's payload (#3375)
31+
* Subresources: Improve queries when there's only one level (#3396)
32+
* HTTP: Location header is only set on POST with a 201 or between 300 and 400 (#3497)
33+
* GraphQL: Do not allow empty cursor values on `before` or `after` (#3360)
34+
* Bump versions of Swagger UI, GraphiQL and GraphQL Playground (#3510)
3235

3336
## 2.5.4
3437

@@ -54,7 +57,7 @@
5457
* Compatibility with Symfony 5 beta
5558
* Fix a notice in `SerializerContextBuilder`
5659
* Fix dashed path segment generation
57-
* Fix support for custom filters without constructor in the `@ApiFilter` annotation
60+
* Fix support for custom filters without constructors in the `@ApiFilter` annotation
5861
* Fix a bug that was preventing to disable Swagger/OpenAPI
5962
* Return a `404` HTTP status code instead of `500` whe the identifier is invalid (e.g.: invalid UUID)
6063
* Add links to the documentation in `@ApiResource` annotation's attributes to improve DX
@@ -82,9 +85,9 @@
8285

8386
* Allow to not declare GET item operation
8487
* Add support for the Accept-Patch header
85-
* Make the the `maximum_items_per_page` attribute consistent with other attributes controlling pagination
88+
* Make the `maximum_items_per_page` attribute consistent with other attributes controlling pagination
8689
* Allow to use a string instead of an array for serializer groups
87-
* Test: Add an helper method to find the IRI of a resource
90+
* Test: Add a helper method to find the IRI of a resource
8891
* Test: Add assertions for testing response against JSON Schema from API resource
8992
* GraphQL: Add support for multipart request so user can create custom file upload mutations (#3041)
9093
* GraphQL: Add support for name converter (#2765)
@@ -97,7 +100,7 @@
97100
* Add infrastructure to generate a JSON Schema from a Resource `ApiPlatform\Core\JsonSchema\SchemaFactoryInterface` (#2983)
98101
* Replaces `access_control` by `security` and adds a `security_post_denormalize` attribute (#2992)
99102
* Add basic infrastructure for cursor-based pagination (#2532)
100-
* Change ExistsFilter syntax to `exists[property]`, old syntax still supported see #2243, fixes it's behavior on GraphQL (also related #2640).
103+
* Change ExistsFilter syntax to `exists[property]`, old syntax still supported see #2243, fixes its behavior on GraphQL (also related #2640).
101104
* Pagination with subresources (#2698)
102105
* Improve search filter id's management (#1844)
103106
* Add support of name converter in filters (#2751, #2897), filter signature in abstract methods has changed see b42dfd198b1644904fd6a684ab2cedaf530254e3
@@ -141,10 +144,10 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
141144
* Varnish: Prevent cache miss by generating IRI for child related resources
142145
* Messenger: Unwrap exception thrown in handler for Symfony Messenger 4.3
143146
* Fix remaining Symfony 4.3 deprecation notices
144-
* Prevent cloning non clonable objects in `previous_data`
147+
* Prevent cloning non cloneable objects in `previous_data`
145148
* Return a 415 HTTP status code instead of a 406 one when a faulty `Content-Type` is sent
146149
* Fix `WriteListener` trying to generate IRI for non-resources
147-
* Allow to extract blank values from composite identifier
150+
* Allow extracting blank values from composite identifier
148151

149152
## 2.4.5
150153

@@ -312,18 +315,18 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
312315
* OpenAPI: support generating documentation using [ReDoc](https://github.com/Rebilly/ReDoc)
313316
* OpenAPI: basic hypermedia hints using OpenAPI v3 links
314317
* OpenAPI: expose the pagination controls
315-
* Allow to use custom classes for input and output (DTO) with the `input_class` and `output_class` attributes
316-
* Allow to disable the input or the output by setting `input_class` and `output_class` to false
318+
* Allow using custom classes for input and output (DTO) with the `input_class` and `output_class` attributes
319+
* Allow disabling the input or the output by setting `input_class` and `output_class` to false
317320
* Guess and automatically set the appropriate Schema.org IRIs for common validation constraints
318-
* Allow to set custom cache HTTP headers using the `cache_headers` attribute
319-
* Allow to set the HTTP status code to send to the client through the `status` attribute
321+
* Allow setting custom cache HTTP headers using the `cache_headers` attribute
322+
* Allow setting the HTTP status code to send to the client through the `status` attribute
320323
* Add support for the `Sunset` HTTP header using the `sunset` attribute
321324
* Set the `Content-Location` and `Location` headers when appropriate for better RFC7231 conformance
322325
* Display the matching data provider and data persister in the debug panel
323326
* GraphQL: improve performance by lazy loading types
324327
* Add the `api_persist` request attribute to enable or disable the `WriteListener`
325-
* Allow to set a default context in all normalizers
326-
* Permit to use a string instead of an array when there is only one serialization group
328+
* Allow setting a default context in all normalizers
329+
* Permit using a string instead of an array when there is only one serialization group
327330
* Add support for setting relations using the constructor of the resource classes
328331
* Automatically set a [409 Conflict](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409) HTTP status code when an `OptimisticLockException` is thrown
329332
* Resolve Dependency Injection Container parameters in the XML and YAML files for the resource class configuration
@@ -348,7 +351,7 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
348351
* OpenAPI/Swagger: add a description for the `properties[]` filter
349352
* OpenAPI/Swagger: Leverage advanced name converters
350353
* JSON-LD: Prevent an error in `ItemNormalizer` when `$context['resource_class']` is not defined
351-
* Allow to pass a the serialization group to use a string instead of as an array of one element
354+
* Allow to pass the serialization group to use a string instead of as an array of one element
352355
* Modernize the code base to use PHP 7.1 features when possible
353356
* Bump minimal dependencies of the used Symfony components
354357
* Improve the Packagist description
@@ -367,7 +370,7 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
367370
* Throw an `InvalidArgumentException` when trying to get an item from a collection route
368371
* Improve the debug bar panel visibility
369372
* Take into account the `route_prefix` attribute in subresources
370-
* Allow to use multiple values with `NumericFilter`
373+
* Allow using multiple values with `NumericFilter`
371374
* Improve exception handling in `ReadListener` by adding the previous exception
372375
373376
## 2.3.3
@@ -406,7 +409,7 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
406409
* Add support for deprecating resources, operations and fields in GraphQL, Hydra and Swagger
407410
* Add API Platform panels in the Symfony profiler and in the web debug toolbar
408411
* Make resource class's constructor parameters writable
409-
* Add support for interface as a resource
412+
* Add support for interfaces as resources
410413
* Add a shortcut syntax to define attributes at the root of `@ApiResource` and `@ApiProperty` annotations
411414
* Throw an exception if a required filter isn't set
412415
* Allow to specify the message when access is denied using the `access_control_message` attribute
@@ -481,7 +484,7 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
481484

482485
## 2.2.5
483486

484-
* Fix a various issues preventing the metadata cache to work properly (performance fix)
487+
* Fix various issues preventing the metadata cache to work properly (performance fix)
485488
* Fix a cache corruption issue when using subresources
486489
* Fix non-standard outputs when using the HAL format
487490
* Persist data in Doctrine DataPersister only if needed
@@ -499,7 +502,7 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
499502
## 2.2.3
500503
501504
* Fix object state inconsistency after persistence
502-
* Allow to use multiple `@ApiFilter` annotations on the same class
505+
* Allow using multiple `@ApiFilter` annotations on the same class
503506
* Fix a BC break when the serialization context builder depends of the retrieved data
504507
* Fix a bug regarding collections handling in the GraphQL endpoint
505508
@@ -534,8 +537,8 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
534537
* Deprecate the `ApiPlatform\Core\Bridge\Doctrine\EventListener\WriteListener` class in favor of the new `ApiPlatform\Core\EventListener\WriteListener` class.
535538
* Remove the `api_platform.doctrine.listener.view.write` event listener service.
536539
* Add a data persistence layer with a new `ApiPlatform\Core\DataPersister\DataPersisterInterface` interface.
537-
* Add the a new configuration to disable the API entrypoint and the documentation
538-
* Allow to set maximum items per page at operation/resource level
540+
* Add a new configuration to disable the API entrypoint and the documentation
541+
* Allow setting maximum items per page at operation/resource level
539542
* Add the ability to customize the message when configuring an access control rule trough the `access_control_message` attribute
540543
* Allow empty operations in XML configs
541544
@@ -554,9 +557,9 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
554557
* Add support for the immutable date and time types introduced in Doctrine
555558
* Fix the Doctrine query generated to retrieve nested subresources
556559
* Fix several bugs in the automatic eager loading support
557-
* Fix a bug occurring when passing neither an IRI nor an array in an embedded relation
558-
* Allow to request `0` items per page in collections
559-
* Also copy the `Host` from the Symfony Router
560+
* Fix a bug occurring when passing neither an IRI, nor an array in an embedded relation
561+
* Allow requesting `0` items per page in collections
562+
* Copy the `Host` from the Symfony Router
560563
* `Paginator::getLastPage()` now always returns a `float`
561564
* Minor performance improvements
562565
* Minor quality fixes
@@ -566,7 +569,7 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
566569
* Symfony 3.4 and 4.0 compatibility
567570
* Autowiring strict mode compatibility
568571
* Fix a bug preventing to create resource classes in the global namespace
569-
* Fix Doctrine type conversion in filter's WHERE clauses
572+
* Fix Doctrine type conversion in filters WHERE clauses
570573
* Fix filters when using eager loading and non-association composite identifier
571574
* Fix Doctrine type resolution for identifiers (for custom DBALType)
572575
* Add missing Symfony Routing options to operations configuration
@@ -621,9 +624,9 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
621624
* Add a flag to disable all request listeners
622625
* Add a default order option in the configuration
623626
* Allow to disable all operations using the XML configuration format and deprecate the previous format
624-
* Allow upper cased property names
627+
* Allow upper-cased property names
625628
* Improve the overall performance by optimizing `RequestAttributesExtractor`
626-
* Improve the performance of the filters subsystem by using a PSR-11 service locator and deprecate the `FilterCollection` class
629+
* Improve the performance of the filter subsystem by using a PSR-11 service locator and deprecate the `FilterCollection` class
627630
* Add compatibility with Symfony Flex and Symfony 4
628631
* Allow the Symfony Dependency Injection component to autoconfigure data providers and query extensions
629632
* Allow to use service for dynamic validation groups
@@ -721,7 +724,7 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
721724
* Fix the support of the Symfony's serializer @MaxDepth annotation
722725
* Fix property range of relations in the Hydra doc when an IRI is used
723726
* Fix an error "api:swagger:export" command when decorating the Swagger normalizer
724-
* Fix an an error in the Swagger documentation generator when a property has several serialization groups
727+
* Fix an error in the Swagger documentation generator when a property has several serialization groups
725728

726729
## 2.0.1
727730

@@ -759,7 +762,7 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
759762
* Add a range filter
760763
* Search filter: add a case sensitivity setting
761764
* Search filter: fix the behavior of the search filter when 0 is provided as value
762-
* Search filter: allow to use identifiers different than id
765+
* Search filter: allow using identifiers different from id
763766
* Exclude tests from classmap
764767
* Fix some deprecations and tests
765768

@@ -805,4 +808,4 @@ Please read #2825 if you have issues with the behavior of Readable/Writable Link
805808
## 1.0.0 beta 2
806809

807810
* Preserve indexes when normalizing and denormalizing associative arrays
808-
* Allow to set default order for property when registering a `Doctrine\Orm\Filter\OrderFilter` instance
811+
* Allow setting default order for property when registering a `Doctrine\Orm\Filter\OrderFilter` instance

0 commit comments

Comments
 (0)