Releases: as-yakovenko/laravel-lighthouse-graphql-multi-schema
Releases · as-yakovenko/laravel-lighthouse-graphql-multi-schema
v1.5.0
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
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
Changes:
- Updated
lighthouse-multi-schema.php
configuration to include amiddleware
array for each schema. - Allows adding custom middleware to individual GraphQL schemas.
For more details, see the updated configuration file example.
v1.2.0
- 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
- Added Laravel 11 support
- Compatibility tested to ensure full functionality with Laravel 11
v1.0.0
Initial commit of Lighthouse GraphQL multi-schema package