Skip to content

Commit 8edbb25

Browse files
committed
docs: changelog 4.1.22
1 parent 11bba62 commit 8edbb25

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

CHANGELOG.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

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+
39
## v4.1.21
410

511
### Bug fixes
@@ -77,9 +83,9 @@
7783
* [b2131645d](https://github.com/api-platform/core/commit/b2131645dec11a5dbf8bbe507f578720a84a686e) fix(laravel): route where uses requirements (#7199)
7884
* [b2b5f99c6](https://github.com/api-platform/core/commit/b2b5f99c64ced9f3580fdaee099d0e34e75d2697) refactor(state): merge parameter and link security (#7200)
7985

80-
Notes:
86+
Notes:
8187

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`):
8389

8490
- `ReadLinkParameterProvider` previously used for link security (renamed from `Symfony\Security\State\LinkedReadProvider`)
8591
- `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).
260266
## Notes
261267

262268
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`.
264270
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.
266272
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`.
267273
`#[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.
269275

270276
## v4.1.0-beta.2
271277

@@ -302,12 +308,12 @@ On write operations, we added the [expectsHeader](https://www.hydra-cg.com/spec/
302308

303309
### Notes
304310

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`.
306312
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.
308314
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`.
309315
`#[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.
311317

312318

313319
## v4.1.0-alpha.1
@@ -927,7 +933,7 @@ You should now install `api-platform/symfony` instead of `api-platform/core`.
927933

928934
### Bug fixes
929935

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
931937
* [9eb5c4e94](https://github.com/api-platform/core/commit/9eb5c4e941d0ebf59bc8ef5777b144db9b4a0899) fix(symfony): suggest `DocumentationAction` as replacement for deprecated `SwaggerUiAction` (#6894)
932938

933939
## v3.3.14

0 commit comments

Comments
 (0)