Releases: thecodingmachine/graphqlite
v8.1.1
What's Changed
- Allow callable() as field deferring mechanism by @oprypkhantc in #739
- 📦 Use WeakMap instead of SplObjectStorage to simplify GC work by @andrew-demb in #745
- Fix callable type mapping to be Closure mapping by @oprypkhantc in #753
- don't purge the results from buffer by @januszmk in #752
New Contributors
Full Changelog: v8.1.0...v8.1.1
v8.1.0
While there shouldn't be any BC issues in this release, I've bumped to 8.1 since there is improved/full PHP 8.4 support included in this release.
What's Changed
- Fixed Adapter class for compatibility with base ObjectType by @oojacoboo in #721
- PHP 8.4 Support by @oojacoboo in #722
- Fixed incorrect assertions by @oojacoboo in #723
- Houskeeping by @oojacoboo in #736
- Fix issue with kept deprecation reason by @jaapio in #735
New Contributors
Full Changelog: v8.0.0...v8.1.0
v8.0.0
Breaking Changes
Improvements
- #668 Adds working examples to docs @shish
- #698 Performance optimizations and caching in development environments (
devMode()
) @oprypkhantc]
Bug Fixes
Minor Changes
- #695 Removes dependecy to unmaintained thecodingmachine/cache-utils dependency @xyng
- #712 Caching improvements with use of multiple ClassFinders @andrew-demb
New Contributors
- @sudevva made their first contribution in #702
- @DocentBF made their first contribution in #705
- @docmg made their first contribution in #715
Full Changelog: v7.0.0...v8.0.0
v7.0.0
Breaking Changes
- #664 Replaces thecodingmachine/class-explorer with kcs/class-finder resulting in the
SchemaFactory::setClassNameMapper
being renamed toSchemaFactory::setFinder
. This now expects an instance ofKcs\ClassFinder\Finder\FinderInterface
instead ofMouf\Composer\ClassNameMapper
. @fogrye
New Features
- #649 Adds support for
subscription
operations. @oojacoboo - #612 Automatic query complexity analysis. @oprypkhantc
- #611 Automatic persisted queries. @oprypkhantc
Improvements
- #658 Improves on prefetching for nested fields. @grynchuk
- #646 Improves exception handling during schema parsing. @fogrye
- #636 Allows the use of middleware on construtor params/fields. @oprypkhantc
- #623 Improves support for description arguments on types/fields. @downace
- #628 Properly handles
@param
annotations for generics support on field annotated constructor arguments. @oojacoboo - #584 Immutability improvements across the codebase. @oprypkhantc
- #588 Prefetch improvements. @oprpkhantc
- #606 Adds support for phpdoc descriptions and deprecation annotations on native enums. @mdoelker
- Thanks to @shish, @cvergne and @mshapovalov for updating the docs!
Minor Changes
v6.2.3
v6.2.2
v6.2.1
v6.2.0
Lots of little nuggets in this release! We're now targeting PHP ^8.1 and have testing on 8.2.
- Better support for union types and enums: #530, #535, #561, #570
- Various bug and interface fixes: #532, #575, #564
- GraphQL v15 required: #542
- Lots of codebase improvements, more strict typing: #548
A special thanks to @rusted-love and @oprypkhantc for their contributions.
v6.1.0
A shoutout to @bladl for his work on this release, improving the code for better typing and PHP 8.0 syntax updates!
Breaking Change:
#518 PSR-11 support now requires version 2
#508 Due to some of the code improvements, additional typing has been added to some interfaces/classes. For instance, RootTypeMapperInterface::toGraphQLOutputType
and RootTypeMapperInterface::toGraphQLInputType
now have the following signatures:
/**
* @param (OutputType&GraphQLType)|null $subType
*
* @return OutputType&GraphQLType
*/
public function toGraphQLOutputType(
Type $type,
OutputType|null $subType,
ReflectionMethod|ReflectionProperty $reflector,
DocBlock $docBlockObj
): OutputType;
/**
* @param (InputType&GraphQLType)|null $subType
*
* @return InputType&GraphQLType
*/
public function toGraphQLInputType(
Type $type,
InputType|null $subType,
string $argumentName,
ReflectionMethod|ReflectionProperty $reflector,
DocBlock $docBlockObj
): InputType;