Skip to content

Commit 4a85f30

Browse files
committed
docs: v4.1.0-alpha.2 changelog
1 parent 9f4c4a5 commit 4a85f30

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# Changelog
22

3+
## v4.1.0-alpha.2
4+
5+
### Bug fixes
6+
7+
* [01fd74268](https://github.com/api-platform/core/commit/01fd74268cf0e4a289b31ea74bea7f4e089b8361) fix(laravel): restore accidentally removed BooleanFilter
8+
* [db40a63e7](https://github.com/api-platform/core/commit/db40a63e729fe03be84111dac2b0774fea4ab343) fix(hydra): rdfs:label should not duplicate title (#6748)
9+
* [deb2ed265](https://github.com/api-platform/core/commit/deb2ed265dfee7b8a73fd3b542aef3e29eca3412) fix(laravel): fix use laravel fillable for writable props (#6898)
10+
11+
### Features
12+
13+
* [c97db6bb2](https://github.com/api-platform/core/commit/c97db6bb2f6b2db9a6a17141bdb56bd51e9fc50d) feat: swagger ui persist authorization option (#6877)
14+
15+
### Notes
16+
17+
The [hydra patch](#6748) changes default `hydra:title` and uses the resource `shortname`. Previously the `hydra:title` information was duplicating the `hydra:description`.
18+
The `rdfs:label` got removed from the `hydra:Class` as it was used instead of the `hydra:title`.
19+
On `hydra:property` `rdfs:label` got renamed to `label` as the `rdfs` namespace is available in the context.
20+
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`.
21+
`#[ApiProperty(hydra: false)]` allows you to skip a documented `hydra:supportedProperty` on a class.
22+
On write operations, we added the [expectsHeader](https://www.hydra-cg.com/spec/latest/core/#hydra:expectsHeader) field.
23+
24+
325
## v4.1.0-alpha.1
426

527
### Bug fixes

0 commit comments

Comments
 (0)