Added
- Add optional
columnsEnum
argument to the@whereConditions
,@whereHasConditions
and@orderBy
directives #1150 - Exclude or include trashed models in
@can
when@forceDelete
or@restore
are used
so the client does not have to filter explicitly #1157 - Add test trait
\Nuwave\Lighthouse\Testing\MakesGraphQLRequestsLumen
for usage
with Lumen #1100 - Add test trait
\Nuwave\Lighthouse\Testing\UsesTestSchema
to enable using
a dummy schema for testing custom Lighthouse extensions #1171 - Simplify mocking resolvers that just return static data #1177
- Add utility
\Nuwave\Lighthouse\ClientDirectives\ClientDirective
to correctly
get the arguments passed through a client directive #1184 - Add
streamGraphQL()
helper method to\Nuwave\Lighthouse\Testing\MakesGraphQLRequests
for
simple testing of streamed responses, such as@defer
#1184
Fixed
- Fix eager-loading relations where the parent type is an
interface
orunion
and
may correspond to multiple different models #1035 - Fix renaming input fields that are nested within lists using
@rename
#1166 - Fix handling of nested mutation operations that receive
null
#1174 - Fix nested mutation
upsert
across two levels of BelongsTo relations #1169 - Apply query filters using an
ArgBuilderDirective
such as@eq
when the argument
is nested deeply within the input #1176 - Fix
\Nuwave\Lighthouse\Testing\MakesGraphQLRequestsLumen
test helper #1186 - Handle multiple instances of client directives with
@defer
correctly #1184
Deprecated
- Deprecate
\Nuwave\Lighthouse\Schema\Source\SchemaSourceProvider#setRootPath()
, this function
is never called or used anywhere within Lighthouse. It will be removed from the interface.