You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[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)
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
+
3
25
## v4.1.0-alpha.1
4
26
5
27
### Bug fixes
@@ -17,14 +39,35 @@
17
39
*[d0a442786](https://github.com/api-platform/core/commit/d0a44278630d201b91cbba0774a09f4eeaac88f7) feat(doctrine): enhance getLinksHandler with method validation and typo suggestions (#6874)
18
40
*[f67f6f1ac](https://github.com/api-platform/core/commit/f67f6f1acb6476182c18a3503f2a8bc80ae89a0b) feat(doctrine): doctrine filters like laravel eloquent filters (#6775)
19
41
42
+
## v4.0.16
43
+
44
+
### Bug fixes
45
+
46
+
*[dc4fc84ba](https://github.com/api-platform/core/commit/dc4fc84ba93e22b4f44a37e90a93c6d079c1c620) fix(graphql): securityAfterResolver not called
47
+
48
+
### Features
49
+
50
+
## v4.0.15
51
+
52
+
### Bug fixes
53
+
54
+
*[36cee399c](https://github.com/api-platform/core/commit/36cee399cfd519355b03d0406921066a22ab474c) fix(state): skip Content-Location header for GET requests (#6901)
55
+
*[dba9de197](https://github.com/api-platform/core/commit/dba9de197001e91094e594f0e4dc638007cce7a6) fix(symfony): fix property restrictions for root resource with dynamic validation groups (#6908)
56
+
57
+
### Features
58
+
59
+
*[421d97ecf](https://github.com/api-platform/core/commit/421d97ecfdbc7d699a3d017d1e3ae3827a38b216) feat(laravel): add support for backed enum normalizers (#6911)
60
+
61
+
Also contains [v3.4.15 changes](#v3415).
62
+
20
63
## v4.0.14
21
64
22
65
### Bug fixes
23
66
24
67
*[97cdb6b3f](https://github.com/api-platform/core/commit/97cdb6b3f43471789e096c9dc3a0c3c7b6d4e43c) fix(state): remove ProcessorInterface laravel specific type
25
68
*[b12a0d005](https://github.com/api-platform/core/commit/b12a0d005fda58a162b82a3574e6ee877838a55b) fix(graphql): register types for parameter args (#6895)
26
69
27
-
### Features
70
+
Also contains [v3.4.14 changes](#v3414).
28
71
29
72
## v4.0.13
30
73
@@ -36,8 +79,6 @@
36
79
37
80
Also contains [v3.4.10 changes](#v3410).
38
81
39
-
### Features
40
-
41
82
## v4.0.12
42
83
43
84
### Bug fixes
@@ -49,16 +90,12 @@ Also contains [v3.4.10 changes](#v3410).
49
90
50
91
Also contains [v3.4.9 changes](#v349).
51
92
52
-
### Features
53
-
54
93
## v4.0.11
55
94
56
95
### Bug fixes
57
96
58
97
*[af66075fd](https://github.com/api-platform/core/commit/af66075fdd6b83bdebc1c4ca33cc0ab7e1a7f8af) fix(laravel): fix foregin keys (relations) beeing in attributes (#6843)
59
98
60
-
### Features
61
-
62
99
*[2d59c6369](https://github.com/api-platform/core/commit/2d59c63699b4602cfe4d62504896c6d4121c1be4) feat(laravel): belongs to many relations (#6818)
63
100
64
101
Also contains [v3.4.8 changes](#v348).
@@ -73,8 +110,6 @@ Also contains [v3.4.8 changes](#v348).
73
110
74
111
Also contains [v3.4.7 changes](#v347).
75
112
76
-
### Features
77
-
78
113
## v4.0.9
79
114
80
115
### Bug fixes
@@ -85,16 +120,12 @@ Also contains [v3.4.7 changes](#v347).
85
120
86
121
Also contains [v3.4.6 changes](#v346).
87
122
88
-
### Features
89
-
90
123
## v4.0.8
91
124
92
125
### Bug fixes
93
126
94
127
*[dddb97075](https://github.com/api-platform/core/commit/dddb97075af9c6e2517e1881b803c9d31a1913cf) fix(symfony): default formats order (#6780)
95
128
96
-
### Features
97
-
98
129
## v4.0.7
99
130
100
131
### Bug fixes
@@ -106,8 +137,6 @@ Also contains [v3.4.6 changes](#v346).
106
137
*[736ca045e](https://github.com/api-platform/core/commit/736ca045e6832f04aaa002ddd7b85c55df4696bb) fix(validator): allow to pass both a ConstraintViolationList and a previous exception (#6762)
107
138
*[9ac3661b6](https://github.com/api-platform/core/commit/9ac3661b6a75255832203b87a9ba7994add64061) fix(hydra): store and use hydra context in a local variable (#6765)
108
139
109
-
### Features
110
-
111
140
## v4.0.6
112
141
113
142
### Bug fixes
@@ -118,8 +147,6 @@ Also contains [v3.4.6 changes](#v346).
*[ac6f667f3](https://github.com/api-platform/core/commit/ac6f667f301f6c4c399a707faf00567239bd98d8) fix(laravel): collection relations other than HasMany (#6737)
120
149
121
-
### Features
122
-
123
150
*[cecd77149](https://github.com/api-platform/core/commit/cecd77149795c1a455ac72bc3ed0606413e69900) feat(laravel): use laravel cache setting (#6751)
124
151
125
152
## v4.0.5
@@ -129,8 +156,6 @@ Also contains [v3.4.6 changes](#v346).
129
156
*[4171d5f9c](https://github.com/api-platform/core/commit/4171d5f9cd41731b857c53a186270ba0626baedf) fix(graphql): register query parameter arguments with filters (#6726)
130
157
*[48ab53816](https://github.com/api-platform/core/commit/48ab53816c55e6116aa64ac81f522f4b7b9bb9f6) fix(laravel): make command writes to app instead of src (#6723)
131
158
132
-
### Features
133
-
134
159
## v4.0.4
135
160
136
161
### Bug fixes
@@ -175,7 +200,7 @@ Also contains [v3.4.6 changes](#v346).
175
200
*[c47e2996e](https://github.com/api-platform/core/commit/c47e2996e51c587c998fde88903703bd6ac9a43c) fix: default format and standard_put values
176
201
*[e327f5f69](https://github.com/api-platform/core/commit/e327f5f69c823c1ed674eefc0eb2551e30fb36bd) fix(symfony): namespace of path segment name generator services (#6642)
177
202
178
-
Notes:
203
+
Notes:
179
204
180
205
`standard_put=true` is now the default, you can set it to `false` using `extra_properties.defaults`
*[dc4fc84ba](https://github.com/api-platform/core/commit/dc4fc84ba93e22b4f44a37e90a93c6d079c1c620) fix(graphql): securityAfterResolver not called
307
+
*[9eb5c4e94](https://github.com/api-platform/core/commit/9eb5c4e941d0ebf59bc8ef5777b144db9b4a0899) fix(symfony): suggest `DocumentationAction` as replacement for deprecated `SwaggerUiAction` (#6894)
308
+
309
+
## v3.4.15
310
+
311
+
### Bug fixes
312
+
313
+
*[ab03b5544](https://github.com/api-platform/core/commit/ab03b5544f742b98a39cc23fc157f1be7a2e0c63) fix(openapi): typing issue with `openapiContext` in `#[ApiProperty]` (#6910)
314
+
277
315
## v3.4.14
278
316
279
317
### Bug fixes
@@ -533,6 +571,13 @@ You should now install `api-platform/symfony` instead of `api-platform/core`.
533
571
*[74986cb55](https://github.com/api-platform/core/commit/74986cb552182dc645bd1fc967faa0954dd59e0a) feat: inflector as service (#6447)
534
572
*[b47edb2a4](https://github.com/api-platform/core/commit/b47edb2a499c34e79c167f963e3a626a3e9d040a) feat(serializer): context IRI in HAL or JsonApi format (#6215)
535
573
574
+
## v3.3.15
575
+
576
+
### Bug fixes
577
+
578
+
*[dc4fc84ba](https://github.com/api-platform/core/commit/dc4fc84ba93e22b4f44a37e90a93c6d079c1c620) fix(graphql): securityAfterResolver not called
579
+
*[9eb5c4e94](https://github.com/api-platform/core/commit/9eb5c4e941d0ebf59bc8ef5777b144db9b4a0899) fix(symfony): suggest `DocumentationAction` as replacement for deprecated `SwaggerUiAction` (#6894)
Copy file name to clipboardExpand all lines: features/hydra/docs.feature
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@ Feature: Documentation support
33
33
And the JSON node "hydra:description" should contain "Made with love"
34
34
And the JSON node "hydra:entrypoint" should be equal to "/"
35
35
# Supported classes
36
-
And the Hydra class "The API entrypoint" exists
37
-
And the Hydra class "A constraint violation" exists
38
-
And the Hydra class "A constraint violation list" exists
36
+
And the Hydra class "Entrypoint" exists
37
+
And the Hydra class "ConstraintViolation" exists
38
+
And the Hydra class "ConstraintViolationList" exists
39
39
And the Hydra class "CircularReference" exists
40
40
And the Hydra class "CustomIdentifierDummy" exists
41
41
And the Hydra class "CustomNormalizedDummy" exists
@@ -49,7 +49,6 @@ Feature: Documentation support
49
49
# Doc
50
50
And the value of the node "@id" of the Hydra class "Dummy" is "#Dummy"
51
51
And the value of the node "@type" of the Hydra class "Dummy" is "hydra:Class"
52
-
And the value of the node "rdfs:label" of the Hydra class "Dummy" is "Dummy"
53
52
And the value of the node "hydra:title" of the Hydra class "Dummy" is "Dummy"
54
53
And the value of the node "hydra:description" of the Hydra class "Dummy" is "Dummy."
55
54
# Properties
@@ -62,7 +61,7 @@ Feature: Documentation support
62
61
And the value of the node "@type" of the property "name" of the Hydra class "Dummy" is "hydra:SupportedProperty"
63
62
And the value of the node "hydra:property.@id" of the property "name" of the Hydra class "Dummy" is "https://schema.org/name"
64
63
And the value of the node "hydra:property.@type" of the property "name" of the Hydra class "Dummy" is "rdf:Property"
65
-
And the value of the node "hydra:property.rdfs:label" of the property "name" of the Hydra class "Dummy" is "name"
64
+
And the value of the node "hydra:property.label" of the property "name" of the Hydra class "Dummy" is "name"
66
65
And the value of the node "hydra:property.domain" of the property "name" of the Hydra class "Dummy" is "#Dummy"
67
66
And the value of the node "hydra:property.range" of the property "name" of the Hydra class "Dummy" is "xmls:string"
68
67
And the value of the node "hydra:property.range" of the property "relatedDummy" of the Hydra class "Dummy" is "https://schema.org/Product"
@@ -74,14 +73,16 @@ Feature: Documentation support
74
73
And the value of the node "@type" of the operation "GET" of the Hydra class "Dummy" contains "hydra:Operation"
75
74
And the value of the node "@type" of the operation "GET" of the Hydra class "Dummy" contains "schema:FindAction"
76
75
And the value of the node "hydra:method" of the operation "GET" of the Hydra class "Dummy" is "GET"
77
-
And the value of the node "hydra:title" of the operation "GET" of the Hydra class "Dummy" is "Retrieves a Dummy resource."
78
-
And the value of the node "rdfs:label" of the operation "GET" of the Hydra class "Dummy" is "Retrieves a Dummy resource."
76
+
And the value of the node "hydra:title" of the operation "GET" of the Hydra class "Dummy" is "getDummy"
77
+
And the value of the node "hydra:description" of the operation "GET" of the Hydra class "Dummy" is "Retrieves a Dummy resource."
79
78
And the value of the node "returns" of the operation "GET" of the Hydra class "Dummy" is "Dummy"
80
-
And the value of the node "hydra:title" of the operation "PUT" of the Hydra class "Dummy" is "Replaces the Dummy resource."
81
-
And the value of the node "hydra:title" of the operation "DELETE" of the Hydra class "Dummy" is "Deletes the Dummy resource."
79
+
And the value of the node "hydra:title" of the operation "PUT" of the Hydra class "Dummy" is "putDummy"
80
+
And the value of the node "hydra:description" of the operation "PUT" of the Hydra class "Dummy" is "Replaces the Dummy resource."
81
+
And the value of the node "hydra:description" of the operation "DELETE" of the Hydra class "Dummy" is "Deletes the Dummy resource."
82
+
And the value of the node "hydra:title" of the operation "DELETE" of the Hydra class "Dummy" is "deleteDummy"
82
83
And the value of the node "returns" of the operation "DELETE" of the Hydra class "Dummy" is "owl:Nothing"
83
84
# Deprecations
84
85
And the boolean value of the node "owl:deprecated" of the Hydra class "DeprecatedResource" is true
85
86
And the boolean value of the node "hydra:property.owl:deprecated" of the property "deprecatedField" of the Hydra class "DeprecatedResource" is true
86
-
And the boolean value of the node "owl:deprecated" of the property "The collection of DeprecatedResource resources" of the Hydra class "The API entrypoint" is true
87
+
And the boolean value of the node "owl:deprecated" of the property "getDeprecatedResourceCollection" of the Hydra class "Entrypoint" is true
87
88
And the boolean value of the node "owl:deprecated" of the operation "GET" of the Hydra class "DeprecatedResource" is true
0 commit comments