Skip to content

Commit d3fed6b

Browse files
committed
Adding changelog for GraphQLite 4.1
1 parent de04aba commit d3fed6b

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

docs/CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,24 @@ Breaking change:
1111
There is one breaking change introduced in the minor version (this was important to allow PHP 8 compatibility).
1212

1313
- 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`.
1515

1616
New features:
1717

1818
- 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
1922

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+
2032

2133
## 4.0
2234

docs/other_frameworks.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ $factory->prodMode();
7979
// Enables dev-mode (this is the default mode: cache settings optimized for best developer experience).
8080
// This is a shortcut for `$schemaFactory->setGlobTtl(2)`
8181
$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);
8285
```
8386

8487
### GraphQLite context

0 commit comments

Comments
 (0)