lighthouse

A framework for serving GraphQL from Laravel

MIT License

Downloads
6.9M
Stars
3.3K
Committers
195

Bot releases are hidden (Show)

lighthouse - v6.2.0

Published by spawnia over 1 year ago

Changed

  • Automatically set up test traits RefreshSchemaCache and TestsSubscriptions
lighthouse - v6.1.0

Published by spawnia over 1 year ago

Added

lighthouse - v6.0.0

Published by spawnia over 1 year ago

Changed

Fixed

Added

Removed

  • Remove mixin TestResponse::assertGraphQLErrorCategory()
  • Remove class Nuwave\Lighthouse\Exceptions\GenericException
  • Remove error extension field category
  • Remove interface Nuwave\Lighthouse\Exceptions\RendersErrorsExtensions
  • Remove Nuwave\Lighthouse\Execution\ExtensionErrorHandler
  • Remove support for PHP 7.2, 7.3, 7.4
  • Remove support for Laravel 5, 6, 7, 8
  • Remove Serializable implementation
  • Remove trait ClearsSchemaCache
  • Remove config option lighthouse.unbox_bensampo_enum_enum_instances
  • Remove ArgumentSet::enhanceBuilder(), use ResolveInfo::enhanceBuilder()
  • Remove the globalId argument from @delete, @forceDelete and @restore https://github.com/nuwave/lighthouse/pull/2289
  • Remove MockResolver
  • Remove deprecated BatchLoader::forgetInstances() in GraphQL
  • Remove method check for Illuminate\Foundation\Exceptions\Handler::renderable
  • Remove setting non_null_pagination_results and always behave as if it were true
  • Remove Nuwave\Lighthouse\Subscriptions\Contracts\StoresSubscriptions::subscriberByRequest()
  • Remove deprecated methods from FieldValue
  • Remove deprecated GraphQL::executeQuery() and GraphQL::prepSchema()
  • Remove @field directive argument args https://github.com/nuwave/lighthouse/pull/1706
  • Remove schema caching v1 https://github.com/nuwave/lighthouse/pull/2321
  • Do not register ScoutServiceProvider by default
  • Remove alias/Facade graphql
  • Remove subscriptions version 1
  • Remove MiddlewareAdapter https://github.com/nuwave/lighthouse/pull/2358
lighthouse - v6.0.0-beta.4

Published by spawnia over 1 year ago

Changed

Fixed

Added

Removed

  • Remove mixin TestResponse::assertGraphQLErrorCategory()
  • Remove class Nuwave\Lighthouse\Exceptions\GenericException
  • Remove error extension field category
  • Remove interface Nuwave\Lighthouse\Exceptions\RendersErrorsExtensions
  • Remove Nuwave\Lighthouse\Execution\ExtensionErrorHandler
  • Remove support for PHP 7.2, 7.3, 7.4
  • Remove support for Laravel 5, 6, 7, 8
  • Remove Serializable implementation
  • Remove trait ClearsSchemaCache
  • Remove config option lighthouse.unbox_bensampo_enum_enum_instances
  • Remove ArgumentSet::enhanceBuilder(), use ResolveInfo::enhanceBuilder()
  • Remove the globalId argument from @delete, @forceDelete and @restore https://github.com/nuwave/lighthouse/pull/2289
  • Remove MockResolver
  • Remove deprecated BatchLoader::forgetInstances() in GraphQL
  • Remove method check for Illuminate\Foundation\Exceptions\Handler::renderable
  • Remove setting non_null_pagination_results and always behave as if it were true
  • Remove Nuwave\Lighthouse\Subscriptions\Contracts\StoresSubscriptions::subscriberByRequest()
  • Remove deprecated methods from FieldValue
  • Remove deprecated GraphQL::executeQuery() and GraphQL::prepSchema()
  • Remove @field directive argument args https://github.com/nuwave/lighthouse/pull/1706
  • Remove schema caching v1 https://github.com/nuwave/lighthouse/pull/2321
  • Do not register ScoutServiceProvider by default
  • Remove alias/Facade graphql
lighthouse - v6.0.0-beta.3

Published by spawnia over 1 year ago

Changed

Fixed

Added

Removed

  • Remove mixin TestResponse::assertGraphQLErrorCategory()
  • Remove class Nuwave\Lighthouse\Exceptions\GenericException
  • Remove error extension field category
  • Remove interface Nuwave\Lighthouse\Exceptions\RendersErrorsExtensions
  • Remove Nuwave\Lighthouse\Execution\ExtensionErrorHandler
  • Remove support for PHP 7.2, 7.3, 7.4
  • Remove support for Laravel 5, 6, 7, 8
  • Remove Serializable implementation
  • Remove trait ClearsSchemaCache
  • Remove config option lighthouse.unbox_bensampo_enum_enum_instances
  • Remove ArgumentSet::enhanceBuilder(), use ResolveInfo::enhanceBuilder()
  • Remove the globalId argument from @delete, @forceDelete and @restore https://github.com/nuwave/lighthouse/pull/2289
  • Remove MockResolver
  • Remove deprecated BatchLoader::forgetInstances() in GraphQL
  • Remove method check for Illuminate\Foundation\Exceptions\Handler::renderable
  • Remove setting non_null_pagination_results and always behave as if it were true
  • Remove Nuwave\Lighthouse\Subscriptions\Contracts\StoresSubscriptions::subscriberByRequest()
  • Remove deprecated methods from FieldValue
  • Remove deprecated GraphQL::executeQuery() and GraphQL::prepSchema()
  • Remove @field directive argument args https://github.com/nuwave/lighthouse/pull/1706
  • Remove schema caching v1 https://github.com/nuwave/lighthouse/pull/2321
  • Do not register ScoutServiceProvider by default
  • Removed alias/Facade graphql
lighthouse - v6.0.0-beta.2

Published by spawnia over 1 year ago

Changed

Fixed

Added

Removed

  • Remove mixin TestResponse::assertGraphQLErrorCategory()
  • Remove class Nuwave\Lighthouse\Exceptions\GenericException
  • Remove error extension field category
  • Remove interface Nuwave\Lighthouse\Exceptions\RendersErrorsExtensions
  • Remove Nuwave\Lighthouse\Execution\ExtensionErrorHandler
  • Remove support for PHP 7.2, 7.3, 7.4
  • Remove support for Laravel 5, 6, 7, 8
  • Remove Serializable implementation
  • Remove trait ClearsSchemaCache
  • Remove config option lighthouse.unbox_bensampo_enum_enum_instances
  • Remove ArgumentSet::enhanceBuilder(), use ResolveInfo::enhanceBuilder()
  • Remove the globalId argument from @delete, @forceDelete and @restore https://github.com/nuwave/lighthouse/pull/2289
  • Remove MockResolver
  • Remove deprecated BatchLoader::forgetInstances() in GraphQL
  • Remove method check for Illuminate\Foundation\Exceptions\Handler::renderable
  • Remove setting non_null_pagination_results and always behave as if it were true
  • Remove Nuwave\Lighthouse\Subscriptions\Contracts\StoresSubscriptions::subscriberByRequest()
  • Remove deprecated methods from FieldValue
  • Remove deprecated GraphQL::executeQuery() and GraphQL::prepSchema()
  • Remove @field directive argument args https://github.com/nuwave/lighthouse/pull/1706
  • Remove schema caching v1 https://github.com/nuwave/lighthouse/pull/2321
  • Do not register ScoutServiceProvider by default
lighthouse - v6.0.0-beta.1

Published by spawnia over 1 year ago

Changed

  • Use the strongest possible native types over PHPDocs
  • Use declare(strict_types=1)
  • Add validation support to Paginator with resolver mode
  • Pass resolver arguments to FieldBuilderDirective::handleFieldBuilder() https://github.com/nuwave/lighthouse/pull/2234
  • Expected resolver arguments in ResolveInfo::enhanceBuilder()
  • Pass the path array to CacheKeyAndTags::key() https://github.com/nuwave/lighthouse/pull/2176
  • Require implementations of BatchedEntityResolver to maintain the keys given in array $representations https://github.com/nuwave/lighthouse/pull/2286
  • Require filter directives such as @whereKey in @delete, @forceDelete and @restore https://github.com/nuwave/lighthouse/pull/2289
  • Subscriptions can now be filtered via $subscriber->socket_id and request()->header('X-Socket-ID') https://github.com/nuwave/lighthouse/pull/2298
  • Make pagination argument first non-nullable
  • Calculate complexity for @paginate according to the number of items requested
  • Require argument resolver in directive @complexity
  • Move interface Nuwave\Lighthouse\Support\Contracts\GlobalId to Nuwave\Lighthouse\GlobalId\GlobalId
  • Use union type for $id argument in NodeDirective
  • Replace Arr::first(array_keys()) with array_key_first() in OrderByDirective
  • Limit constructor argument $paginationType in PaginationType to literal constant values
  • Change visibility of BaseDirective::directiveHasArgument from public to protected
  • Replace Illuminate\Database\DatabaseManager with Illuminate\Database\ConnectionResolverInterface in RelationDirective
  • Replace DirectiveLocator::beforeLast with Str::beforeLast
  • Default subscriptions.exclude_empty to true
  • Allow FieldManipulator and ArgManipulator directives on interfaces https://github.com/nuwave/lighthouse/pull/1955
  • Apply argument transformation only once per field https://github.com/nuwave/lighthouse/pull/1706
  • Expect FieldResolver::resolveField() to return resolver function directly https://github.com/nuwave/lighthouse/pull/1706
  • Simplify FieldMiddleware directive interface https://github.com/nuwave/lighthouse/pull/1706
  • Rename configuration option schema.register to schema_path
  • Restructure cache related configuration options

Fixed

Added

Removed

  • Remove mixin TestResponse::assertGraphQLErrorCategory()
  • Remove class Nuwave\Lighthouse\Exceptions\GenericException
  • Remove error extension field category
  • Remove interface Nuwave\Lighthouse\Exceptions\RendersErrorsExtensions
  • Remove Nuwave\Lighthouse\Execution\ExtensionErrorHandler
  • Remove support for PHP 7.2, 7.3, 7.4
  • Remove support for Laravel 5, 6, 7, 8
  • Remove Serializable implementation
  • Remove trait ClearsSchemaCache
  • Remove config option lighthouse.unbox_bensampo_enum_enum_instances
  • Remove ArgumentSet::enhanceBuilder(), use ResolveInfo::enhanceBuilder()
  • Remove the globalId argument from @delete, @forceDelete and @restore https://github.com/nuwave/lighthouse/pull/2289
  • Remove MockResolver
  • Remove deprecated BatchLoader::forgetInstances() in GraphQL
  • Remove method check for Illuminate\Foundation\Exceptions\Handler::renderable
  • Remove setting non_null_pagination_results and always behave as if it were true
  • Remove Nuwave\Lighthouse\Subscriptions\Contracts\StoresSubscriptions::subscriberByRequest()
  • Remove deprecated methods from FieldValue
  • Remove deprecated GraphQL::executeQuery() and GraphQL::prepSchema()
  • Remove @field directive argument args https://github.com/nuwave/lighthouse/pull/1706
  • Remove schema caching v1 https://github.com/nuwave/lighthouse/pull/2321
lighthouse - v6.0.0-alpha.2

Published by spawnia over 1 year ago

Changed

  • Add validation support to Paginator with resolver mode
  • Pass resolver arguments to FieldBuilderDirective::handleFieldBuilder() https://github.com/nuwave/lighthouse/pull/2234
  • Expected resolver arguments in ResolveInfo::enhanceBuilder()
  • Pass the path array to CacheKeyAndTags::key() https://github.com/nuwave/lighthouse/pull/2176
  • Require implementations of BatchedEntityResolver to maintain the keys given in array $representations https://github.com/nuwave/lighthouse/pull/2286
  • Use the strongest possible native types over PHPDocs
  • Require filter directives such as @whereKey in @delete, @forceDelete and @restore https://github.com/nuwave/lighthouse/pull/2289
  • Subscriptions can now be filtered via $subscriber->socket_id and request()->header('X-Socket-ID') https://github.com/nuwave/lighthouse/pull/2298
  • Make pagination argument first non-nullable
  • Calculate complexity for @paginate according to the number of items requested
  • Require argument resolver in directive @complexity
  • Move interface Nuwave\Lighthouse\Support\Contracts\GlobalId to Nuwave\Lighthouse\GlobalId\GlobalId
  • Use union type for $id argument in NodeDirective
  • Replace Arr::first(array_keys()) with array_key_first() in OrderByDirective
  • Limit constructor argument $paginationType in PaginationType to literal constant values
  • Change visibility of BaseDirective::directiveHasArgument from public to protected
  • Replace Illuminate\Database\DatabaseManager with Illuminate\Database\ConnectionResolverInterface in RelationDirective
  • Replace DirectiveLocator::beforeLast with Str::beforeLast
  • Default subscriptions.exclude_empty to true
  • Allow FieldManipulator and ArgManipulator directives on interfaces https://github.com/nuwave/lighthouse/pull/1955
  • Apply argument transformation only once per field https://github.com/nuwave/lighthouse/pull/1706
  • Expect FieldResolver::resolveField() to return resolver function directly https://github.com/nuwave/lighthouse/pull/1706
  • Simplify FieldMiddleware directive interface https://github.com/nuwave/lighthouse/pull/1706
  • Rename configuration option schema.register to schema_path
  • Restructure cache related configuration options

Fixed

Added

Removed

  • Remove mixin TestResponse::assertGraphQLErrorCategory()
  • Remove class Nuwave\Lighthouse\Exceptions\GenericException
  • Remove error extension field category
  • Remove interface Nuwave\Lighthouse\Exceptions\RendersErrorsExtensions
  • Remove Nuwave\Lighthouse\Execution\ExtensionErrorHandler
  • Remove support for PHP 7.2, 7.3, 7.4
  • Remove support for Laravel 5, 6, 7, 8
  • Remove Serializable implementation
  • Remove trait ClearsSchemaCache
  • Remove config option lighthouse.unbox_bensampo_enum_enum_instances
  • Remove ArgumentSet::enhanceBuilder(), use ResolveInfo::enhanceBuilder()
  • Remove the globalId argument from @delete, @forceDelete and @restore https://github.com/nuwave/lighthouse/pull/2289
  • Remove MockResolver
  • Remove deprecated BatchLoader::forgetInstances() in GraphQL
  • Remove method check for Illuminate\Foundation\Exceptions\Handler::renderable
  • Remove setting non_null_pagination_results and always behave as if it were true
  • Remove Nuwave\Lighthouse\Subscriptions\Contracts\StoresSubscriptions::subscriberByRequest()
  • Remove deprecated methods from FieldValue
  • Remove deprecated GraphQL::executeQuery() and GraphQL::prepSchema()
  • Remove @field directive argument args https://github.com/nuwave/lighthouse/pull/1706
lighthouse - v5.71.0

Published by spawnia over 1 year ago

Added

  • Support Laravel 10
lighthouse - v6.0.0-alpha.1

Published by spawnia over 1 year ago

Changed

  • Add validation support to Paginator with resolver mode
  • Pass resolver arguments to FieldBuilderDirective::handleFieldBuilder() https://github.com/nuwave/lighthouse/pull/2234
  • Expected resolver arguments in ResolveInfo::enhanceBuilder()
  • Pass the path array to CacheKeyAndTags::key() https://github.com/nuwave/lighthouse/pull/2176
  • Require implementations of BatchedEntityResolver to maintain the keys given in array $representations https://github.com/nuwave/lighthouse/pull/2286
  • Use the strongest possible native types over PHPDocs
  • Require filter directives such as @whereKey in @delete, @forceDelete and @restore https://github.com/nuwave/lighthouse/pull/2289
  • Subscriptions can now be filtered via $subscriber->socket_id and request()->header('X-Socket-ID') https://github.com/nuwave/lighthouse/pull/2298
  • Make pagination argument first non-nullable
  • Calculate complexity for @paginate according to the number of items requested
  • Require argument resolver in directive @complexity
  • Move interface Nuwave\Lighthouse\Support\Contracts\GlobalId to Nuwave\Lighthouse\GlobalId\GlobalId
  • Use union type for $id argument in NodeDirective
  • Replace Arr::first(array_keys()) with array_key_first() in OrderByDirective
  • Limit constructor argument $paginationType in PaginationType to literal constant values
  • Change visibility of BaseDirective::directiveHasArgument from public to protected
  • Replace Illuminate\Database\DatabaseManager with Illuminate\Database\ConnectionResolverInterface in RelationDirective
  • Replace DirectiveLocator::beforeLast with Str::beforeLast
  • Default subscriptions.exclude_empty to true
  • Allow FieldManipulator and ArgManipulator directives on interfaces https://github.com/nuwave/lighthouse/pull/1955
  • Apply argument transformation only once per field https://github.com/nuwave/lighthouse/pull/1706
  • Expect FieldResolver::resolveField() to return resolver function directly https://github.com/nuwave/lighthouse/pull/1706
  • Simplify FieldMiddleware directive interface https://github.com/nuwave/lighthouse/pull/1706
  • Rename configuration option schema.register to schema_path
  • Restructure cache related configuration options

Fixed

Added

Removed

  • Remove mixin TestResponse::assertGraphQLErrorCategory()
  • Remove class Nuwave\Lighthouse\Exceptions\GenericException
  • Remove error extension field category
  • Remove interface Nuwave\Lighthouse\Exceptions\RendersErrorsExtensions
  • Remove Nuwave\Lighthouse\Execution\ExtensionErrorHandler
  • Remove support for PHP 7.2, 7.3, 7.4
  • Remove support for Laravel 5, 6, 7, 8
  • Remove Serializable implementation
  • Remove trait ClearsSchemaCache
  • Remove config option lighthouse.unbox_bensampo_enum_enum_instances
  • Remove ArgumentSet::enhanceBuilder(), use ResolveInfo::enhanceBuilder()
  • Remove the globalId argument from @delete, @forceDelete and @restore https://github.com/nuwave/lighthouse/pull/2289
  • Remove MockResolver
  • Remove deprecated BatchLoader::forgetInstances() in GraphQL
  • Remove method check for Illuminate\Foundation\Exceptions\Handler::renderable
  • Remove setting non_null_pagination_results and always behave as if it were true
  • Remove Nuwave\Lighthouse\Subscriptions\Contracts\StoresSubscriptions::subscriberByRequest()
  • Remove deprecated methods from FieldValue
  • Remove deprecated GraphQL::executeQuery() and GraphQL::prepSchema()
  • Remove @field directive argument args https://github.com/nuwave/lighthouse/pull/1706
lighthouse - v5.70.3

Published by spawnia over 1 year ago

Fixed

  • Allow \Illuminate\Http\UploadedFile in test helper multipartGraphQL() argument array $files
lighthouse - v5.70.2

Published by spawnia over 1 year ago

Fixed

lighthouse - v5.70.1

Published by spawnia almost 2 years ago

Fixed

lighthouse - v5.70.0

Published by spawnia almost 2 years ago

Added

  • Allow configuring regular expression constraints for the registered route with lighthouse.route.where
lighthouse - v5.69.1

Published by spawnia almost 2 years ago

Fixed

  • Wrap base ResolveInfo class and extend it with public ArgumentSet $argumentSet in response to PHP 8.2 deprecating dynamic properties
lighthouse - v5.69.0

Published by spawnia almost 2 years ago

Added

lighthouse - v5.68.1

Published by spawnia almost 2 years ago

Fixed

lighthouse - v5.68.0

Published by spawnia almost 2 years ago

Added

Fixed

lighthouse - v5.67.0

Published by spawnia almost 2 years ago

Added

lighthouse - v5.66.0

Published by spawnia almost 2 years ago

Added