v4.0-alpha.3
Pre-release
Pre-release
Added
- Add the
@namespacedirective as a replacement for the removed@groupdirective #768
Fixed
- Avoid growing the memory extensively when doing complex AST manipulation #768
- Make nested mutations work with subclassed relationship types #825
- Allow empty arrays and other falsy values as input for nested mutation operations like "sync" #830
- Use
Illuminate\Contracts\Config\Repositoryinstead ofIlluminate\Config\Repository#832 - Allow checking the abilities with
@canwhen issuing mass updates on multiple models #838
Changed
- Bumped the requirement on
webonyx/graphql-phpto^0.13.2#768 - Rename directive interfaces dealing with types from
Node*toType*#768 - Change the signature of the AST manipulating directive interfaces:
TypeManipulator,FieldManipulatorandArgManipulator#768 - Change the API of the
DocumentASTclass to enable a more performant implementation #768 - Enable the schema caching option
lighthouse.cache.enableby default #768 - Lazily load types from the schema. Directives defined on parts of the schema that are not used within the current
query are no longer run on every request #768 - Simplify the default route configuration #820
- Move
SubscriptionExceptionHandlerinto namespaceNuwave\Lighthouse\Subscriptions\Contracts#819
Removed
- Remove
@groupdirective in favour of@middlewareand@namespace#768 - Remove the
ArgFilterDirectiveinterface in favour of theArgBuilderDirectiveinterface #821 - Remove the old style
@whereBetweenand@whereNotBetweendirectives #821 - Use the
@spreaddirective instead of theflattenargument of@create/@update#822 - Remove
dispatchaliasesfireandclassfor dispatching through@event#823 - Remove the
GraphQLfacade and the container aliasgraphql#824 - Remove the alias
iffor specifying theabilitythat has to be met in@can#838