github nuwave/lighthouse v4.0-alpha.2

latest releases: v6.45.0, v6.44.2, v6.44.1...
pre-release5 years ago

Added

  • Add the @namespace directive as a replacement for the removed @group directive #768

Fixed

  • Avoid growing the memory extensively when doing complex AST manipulation #768
  • Make nested mutations work with subclassed relationship types #825

Changed

  • Bumped the requirement on webonyx/graphql-php to ^0.13.2 #768
  • Rename directive interfaces dealing with types from Node* to Type* #768
  • Change the signature of the AST manipulating directive interfaces: TypeManipulator, FieldManipulator and ArgManipulator #768
  • Change the API of the DocumentAST class to enable a more performant implementation #768
  • Enable the schema caching option lighthouse.cache.enable by 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 SubscriptionExceptionHandler into namespace Nuwave\Lighthouse\Subscriptions\Contracts #819

Removed

  • Remove @group directive in favour of @middleware and @namespace #768
  • Remove the ArgFilterDirective interface in favour of the ArgBuilderDirective interface #821
  • Remove the old style @whereBetween and @whereNotBetween directives #821
  • Use the @spread directive instead of the flatten argument of @create/@update #822
  • Remove dispatch aliases fire and class for dispatching through @event #823
  • Remove the GraphQL facade and the container alias graphql #824

Don't miss a new lighthouse release

NewReleases is sending notifications on new releases.