File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ sidebar_label: Changelog
66
77## 4.1
88
9+ Breaking change:
10+
11+ There is one breaking change introduced in the minor version (this was important to allow PHP 8 compatibility).
12+
13+ - The ** ecodev/graphql-upload** package (used to get support for file uploads in GraphQL input types) is now a "recommended" dependency only.
14+ If you are using GraphQL file uploads, you need to add this package to your ` composer.json ` .
15+
916New features:
1017
1118- All annotations can now be accessed as PHP 8 attributes
Original file line number Diff line number Diff line change @@ -7,8 +7,16 @@ sidebar_label: File uploads
77GraphQL does not support natively the notion of file uploads, but an extension to the GraphQL protocol was proposed
88to add support for [ multipart requests] ( https://github.com/jaydenseric/graphql-multipart-request-spec ) .
99
10+ ## Installation
11+
1012GraphQLite supports this extension through the use of the [ Ecodev/graphql-upload] ( https://github.com/Ecodev/graphql-upload ) library.
1113
14+ You must start by installing this package:
15+
16+ ``` console
17+ $ composer require ecodev/graphql-upload
18+ ```
19+
1220## If you are using the Symfony bundle
1321
1422If you are using our Symfony bundle, the file upload middleware is managed by the bundle. You have nothing to do
You can’t perform that action at this time.
0 commit comments