|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## v4.1.22 |
| 4 | + |
| 5 | +### Bug fixes |
| 6 | + |
| 7 | +* [11bba62c2](https://github.com/api-platform/core/commit/11bba62c2aa0f60b09955f7cf55d7135938c0e48) fix(laravel): serialization issue with camelCase relation (#7356) |
| 8 | + |
3 | 9 | ## v4.1.21 |
4 | 10 |
|
5 | 11 | ### Bug fixes |
|
77 | 83 | * [b2131645d](https://github.com/api-platform/core/commit/b2131645dec11a5dbf8bbe507f578720a84a686e) fix(laravel): route where uses requirements (#7199) |
78 | 84 | * [b2b5f99c6](https://github.com/api-platform/core/commit/b2b5f99c64ced9f3580fdaee099d0e34e75d2697) refactor(state): merge parameter and link security (#7200) |
79 | 85 |
|
80 | | -Notes: |
| 86 | +Notes: |
81 | 87 |
|
82 | | -Two providers are now available on parameters (query parameters, header and uri variables `Link`): |
| 88 | +Two providers are now available on parameters (query parameters, header and uri variables `Link`): |
83 | 89 |
|
84 | 90 | - `ReadLinkParameterProvider` previously used for link security (renamed from `Symfony\Security\State\LinkedReadProvider`) |
85 | 91 | - `IriConverterParameterProvider` this allows you to read a resource from an IRI usefull for filters (eg `?author=/authors/1`) |
@@ -260,12 +266,12 @@ Also contains [v4.0.20 changes](#v4020). |
260 | 266 | ## Notes |
261 | 267 |
|
262 | 268 | This version as the 4.0.19 is compatible with Laravel 12. |
263 | | -The [hydra patch](#6748) changes default `hydra:title` and uses the resource `shortname`. Previously the `hydra:title` information was duplicating the `hydra:description`. |
| 269 | +The [hydra patch](#6748) changes default `hydra:title` and uses the resource `shortname`. Previously the `hydra:title` information was duplicating the `hydra:description`. |
264 | 270 | The `rdfs:label` got removed from the `hydra:Class` as it was used instead of the `hydra:title`. |
265 | | -On `hydra:property` `rdfs:label` got renamed to `label` as the `rdfs` namespace is available in the context. |
| 271 | +On `hydra:property` `rdfs:label` got renamed to `label` as the `rdfs` namespace is available in the context. |
266 | 272 | The `ApiPlatform\Metadata\ErrorResource` and the `ConstraintViolation` (`ValidationException` class) are now generated directly from your PHP classes, only our `ConstraintViolationList` is hard-written and documents the `ConstraintViolation::violation` property. Therefore, your [own error resources](https://api-platform.com/docs/guides/error-resource/) are also documented. On top of that, we now set the `rdfs:subClassOf` to `hydra:Error`. |
267 | 273 | `#[ApiProperty(hydra: false)]` allows you to skip a documented `hydra:supportedProperty` on a class. |
268 | | -On write operations, we added the [expectsHeader](https://www.hydra-cg.com/spec/latest/core/#hydra:expectsHeader) field. |
| 274 | +On write operations, we added the [expectsHeader](https://www.hydra-cg.com/spec/latest/core/#hydra:expectsHeader) field. |
269 | 275 |
|
270 | 276 | ## v4.1.0-beta.2 |
271 | 277 |
|
@@ -302,12 +308,12 @@ On write operations, we added the [expectsHeader](https://www.hydra-cg.com/spec/ |
302 | 308 |
|
303 | 309 | ### Notes |
304 | 310 |
|
305 | | -The [hydra patch](#6748) changes default `hydra:title` and uses the resource `shortname`. Previously the `hydra:title` information was duplicating the `hydra:description`. |
| 311 | +The [hydra patch](#6748) changes default `hydra:title` and uses the resource `shortname`. Previously the `hydra:title` information was duplicating the `hydra:description`. |
306 | 312 | The `rdfs:label` got removed from the `hydra:Class` as it was used instead of the `hydra:title`. |
307 | | -On `hydra:property` `rdfs:label` got renamed to `label` as the `rdfs` namespace is available in the context. |
| 313 | +On `hydra:property` `rdfs:label` got renamed to `label` as the `rdfs` namespace is available in the context. |
308 | 314 | The `ApiPlatform\Metadata\ErrorResource` and the `ConstraintViolation` (`ValidationException` class) are now generated directly from your PHP classes, only our `ConstraintViolationList` is hard-written and documents the `ConstraintViolation::violation` property. Therefore, your [own error resources](https://api-platform.com/docs/guides/error-resource/) are also documented. On top of that, we now set the `rdfs:subClassOf` to `hydra:Error`. |
309 | 315 | `#[ApiProperty(hydra: false)]` allows you to skip a documented `hydra:supportedProperty` on a class. |
310 | | -On write operations, we added the [expectsHeader](https://www.hydra-cg.com/spec/latest/core/#hydra:expectsHeader) field. |
| 316 | +On write operations, we added the [expectsHeader](https://www.hydra-cg.com/spec/latest/core/#hydra:expectsHeader) field. |
311 | 317 |
|
312 | 318 |
|
313 | 319 | ## v4.1.0-alpha.1 |
@@ -927,7 +933,7 @@ You should now install `api-platform/symfony` instead of `api-platform/core`. |
927 | 933 |
|
928 | 934 | ### Bug fixes |
929 | 935 |
|
930 | | -* [dc4fc84ba](https://github.com/api-platform/core/commit/dc4fc84ba93e22b4f44a37e90a93c6d079c1c620) fix(graphql): securityAfterResolver not called |
| 936 | +* [dc4fc84ba](https://github.com/api-platform/core/commit/dc4fc84ba93e22b4f44a37e90a93c6d079c1c620) fix(graphql): securityAfterResolver not called |
931 | 937 | * [9eb5c4e94](https://github.com/api-platform/core/commit/9eb5c4e941d0ebf59bc8ef5777b144db9b4a0899) fix(symfony): suggest `DocumentationAction` as replacement for deprecated `SwaggerUiAction` (#6894) |
932 | 938 |
|
933 | 939 | ## v3.3.14 |
|
0 commit comments