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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,24 @@
1
1
# Changelog
2
2
3
+
## v4.1.7
4
+
5
+
### Bug fixes
6
+
7
+
*[40c09d1c0](https://github.com/api-platform/core/commit/40c09d1c0560ec5c2a96391faf9fbe328f6f2f97) fix(metadata): yaml link security (#7066)
8
+
*[545eb69b8](https://github.com/api-platform/core/commit/545eb69b86797f436b8c494912513e1ef9064550) fix(symfony): internal resources should not inherit global defaults (#7073)
9
+
*[615bdd6b1](https://github.com/api-platform/core/commit/615bdd6b1c372f6438c6460dfcce69ef6c746e08) fix(hydra): use correctly enable_docs (#7062)
10
+
*[694681f4b](https://github.com/api-platform/core/commit/694681f4b187688dd41de1912637003a2fb313a2) fix(symfony): do not ignore Test files on symfony (#7077)
*[dddd3eee4](https://github.com/api-platform/core/commit/dddd3eee40af2e8126476ce3fe4c69f33ec15ac0) fix(metadata): parameter provider within filter (#7081)
13
+
*[dfca9bf60](https://github.com/api-platform/core/commit/dfca9bf6023c5535ce7ee9b3829a8efd7f1f9398) Revert "fix(jsonld): duplicate error fields when prefix is enabled (#7021)" (#7074)
14
+
*[d696a8e42](https://github.com/api-platform/core/commit/d696a8e4284b0e5b5c56300852bab70283386a99) fix(metadata): use template typehint in parameters (#7078)
Copy file name to clipboardExpand all lines: features/main/attribute_resource.feature
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ Feature: Resource attributes
100
100
And the response should be in JSON
101
101
And the header "Content-Type" should be equal to "application/problem+json; charset=utf-8"
102
102
And the header "Link" should contain '<http://www.w3.org/ns/hydra/error>; rel="http://www.w3.org/ns/json-ld#error"'
103
-
And the JSON node "detail" should be equal to 'Unable to generate an IRI for the item of type "ApiPlatform\Tests\Fixtures\TestBundle\Entity\IncompleteUriVariableConfigured"'
103
+
And the JSON node "description" should be equal to 'Unable to generate an IRI for the item of type "ApiPlatform\Tests\Fixtures\TestBundle\Entity\IncompleteUriVariableConfigured"'
104
104
105
105
Scenario: Uri variables with Post operation
106
106
When I add "Content-Type" header equal to "application/ld+json"
Copy file name to clipboardExpand all lines: features/main/relation.feature
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -472,7 +472,7 @@ Feature: Relations support
472
472
Then the response status code should be 400
473
473
And the response should be in JSON
474
474
And the header "Content-Type" should be equal to "application/problem+json; charset=utf-8"
475
-
And the JSON node "detail" should contain 'Invalid IRI "certainly not an IRI".'
475
+
And the JSON node "description" should contain 'Invalid IRI "certainly not an IRI".'
476
476
477
477
Scenario: Passing an invalid type to a relation
478
478
When I add "Content-Type" header equal to "application/ld+json"
@@ -495,18 +495,18 @@ Feature: Relations support
495
495
"type": "string",
496
496
"pattern": "^hydra:Error$"
497
497
},
498
-
"hydra:title": {
498
+
"title": {
499
499
"type": "string",
500
500
"pattern": "^An error occurred$"
501
501
},
502
-
"detail": {
502
+
"description": {
503
503
"pattern": "^The type of the \"ApiPlatform\\\\Tests\\\\Fixtures\\\\TestBundle\\\\(Document|Entity)\\\\RelatedDummy\" resource must be \"array\" \\(nested document\\) or \"string\" \\(IRI\\), \"integer\" given.$"
0 commit comments