Skip to content

Releases: as-yakovenko/laravel-lighthouse-graphql-multi-schema

v1.5.0

15 Nov 14:29
Compare
Choose a tag to compare

Refactor multi-schema structure: introduced new classes for schema config, caching, and route registration. Removed deprecated service classes

Changes:

  • Introduced GraphQLSchemaConfig for schema management based on request path.
  • Added SchemaASTCache extending ASTCache for schema caching.
  • Implemented GraphQLRouteRegister for dynamic route registration.
  • Updated LighthouseMultiSchemaServiceProvider to use new classes and commands.
  • Enhanced lighthouse:clear-cache to handle multi-schema cache clearing.

v1.4.0

12 Nov 20:23
ea572f2
Compare
Choose a tag to compare

Changes:

  • Using the request object at request time for the boot singletons rather than at initialization time

  • using the same methods that lighthouse used to register routes

v1.3.0

11 Sep 11:44
Compare
Choose a tag to compare

Changes:

  • Updated lighthouse-multi-schema.php configuration to include a middleware array for each schema.
  • Allows adding custom middleware to individual GraphQL schemas.

For more details, see the updated configuration file example.

v1.2.0

09 Sep 19:33
Compare
Choose a tag to compare
  • Updated route configuration for GraphQL multi-schemas.
  • Changed to Route::match(['get', 'post', 'head']) to avoid duplicate route names.
  • Fixes LogicException during route caching.
  • Fixed php artisan route:cache issue.

v1.1.0

26 Aug 20:59
Compare
Choose a tag to compare
  • Added Laravel 11 support
  • Compatibility tested to ensure full functionality with Laravel 11

v1.0.0

11 Aug 10:06
Compare
Choose a tag to compare
Initial commit of Lighthouse GraphQL multi-schema package