File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,24 @@ Breaking change:
11
11
There is one breaking change introduced in the minor version (this was important to allow PHP 8 compatibility).
12
12
13
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 ` .
14
+ If you are using GraphQL file uploads, you need to add ` ecodev/graphql-upload ` to your ` composer.json ` .
15
15
16
16
New features:
17
17
18
18
- All annotations can now be accessed as PHP 8 attributes
19
+ - The ` @deprecated ` annotation in your PHP code translates into deprecated fields in your GraphQL schema
20
+ - You can now specify the GraphQL name of the Enum types you define
21
+ - Added the possibility to inject pure Webonyx objects in GraphQLite schema
19
22
23
+ Minor changes:
24
+
25
+ - Migrated from ` zend/diactoros ` to ` laminas/diactoros `
26
+ - Making the annotation cache directory configurable
27
+
28
+ Miscellaneous:
29
+
30
+ - Migrated from Travis to Github actions
31
+
20
32
21
33
## 4.0
22
34
Original file line number Diff line number Diff line change @@ -79,6 +79,9 @@ $factory->prodMode();
79
79
// Enables dev-mode (this is the default mode: cache settings optimized for best developer experience).
80
80
// This is a shortcut for `$schemaFactory->setGlobTtl(2)`
81
81
$factory->devMode();
82
+ // If APCu is not available, Doctrine annotations are stored in files.
83
+ // This setter can configure the cache directory for Doctrine annotations.
84
+ $factory->setAnnotationCacheDir($directory);
82
85
```
83
86
84
87
### GraphQLite context
You can’t perform that action at this time.
0 commit comments