Releases: LastDragon-ru/lara-asp
Releases · LastDragon-ru/lara-asp
Context for Builder directives (`@searchBy`/`@sortBy`) 🧐
☣ | Breaking changes |
---|
There are should not be any breaking changes in the graphql
package if you are not adding custom Builder directive(s) nor extend @searchBy
/@sortBy
directives nor using SchemaPrinter
directly. If you are using the testing
helpers, you may need to convert dynamic calls to static.
Features
- Laravel v10 support (#58, 1815b63)
- Laravel/Scout v10 support (eb6c34c)
- PHPUnit v10 support (#60, e8e89ed)
- graphql:
TypeSource
instead of$type
+$nullable
(#57, b1f5744) ☣ - graphql-printer: New package (#56, 4e9bfed) ☣
Code Refactoring
Laravel v10 support 🐉
Bugfixes 🦠
Bugfixes 🦠
Bug Fixes
- queue:
#[AllowDynamicProperties]
forConfigurableQueueable
(daec41c)
Bugfixes 🦠
Bug Fixes
- graphql:
AstManipulator::getNodeDirectives()
instance of check (117a26a) - graphql:
AstManipulator::isList()
will detectListTypeNode
correctly (1af0503) - graphql:
GraphQLAssertions::printGraphQLSchema()
/GraphQLAssertions::printDefaultGraphQLSchema()
will use actual singletons while printing (#50, b1ea337) - graphql/
@builder
:InputObject
will check the convertibility before name conflict (9d7fd62)
PHP 8.2, Scout and Placeholders for `@searchBy` 🎄
☣ | Breaking changes |
---|---|
🔥 | Something cool |
Features
- PHP 8.2 support (#45, 7796b81)
- eloquent:
IteratorImpl
(= all iterators) will implementCountable
(f5a1373) - graphql:
@searchBy
/@sortBy
will exclude unions from placeholders by default (df48aac) - graphql:
@searchBy
/@sortBy
will support Interfaces while types transformation (AST only) (#15, e535a5f) - graphql: 🔥 Builder type detection (= different types for each builder) (#23, 639c3bb) ☣
- graphql/
@builder
: Fields description will be used forinput
types (= no placeholder) instead of default description (075a977) ☣ - graphql/
@searchBy
:@searchByIgnored
can be placed onOBJECT
,INPUT_OBJECT
,ENUM
,SCALAR
(6120f65) - graphql/
@searchBy
:Ignored
will not extendNuwave\Lighthouse\Support\Contracts\Directive
thus it can be used with anyType
(d1ce459) ☣ - graphql/
@searchBy
: 🔥 Placeholder support (#19, bbc8df8) ☣ - graphql/
@searchBy
: 🔥 Scout support (#24, e25b886) - graphql/
@sortBy
:@sortByIgnored
can be placed onOBJECT
,INPUT_OBJECT
,ENUM
,SCALAR
(51a2429) - graphql/
@sortBy
:Ignored
will not extendNuwave\Lighthouse\Support\Contracts\Directive
thus it can be used with anyType
(4fda12d) ☣ - graphql/
@sortBy
: Order byrandom()
support (#29, 99cdbb9) - graphql/SchemaPrinter: Removed support of directive in description (86d3547) ☣
- testing:
Override::override()
will acceptT&MockInterface
(380b7c2) ☣ - testing: Added
$suffix
forWithTempFile::getTempFile()
(32c5f9f) - testing: New assertion
assertScoutQueryEquals()
to compare Scout queries (684787f)
Bug Fixes
- formatter:
filesize(0)
will returnO B
instead of just0
(be65a41) - graphql:
AstManipulator::getScalarTypeDefinitionNode()
will return the existing node if it is exist (5afdf10) - graphql:
PropertyDirective::getName()
andClause::getName()
(f8572bb) - graphql: Enum serialization (396cb03)
- graphql: Test assertions should work event when
LIGHTHOUSE_CACHE_ENABLE=true
(#43, e5a2129) - graphql/
@searchBy
: Added table name prefix for Eloquent builder to avoid "SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'xxx' in where clause is ambiguous" error (d2668a9) - graphql/
@searchBy
: List ofLogical
operators can be empty (b352b1a) - graphql/
SchemaPrinter
: Directives location forenum
(581be04)
Performance Improvements
- eloquent:
IteratorImpl
will not load one more chunk if the current chunk is contain less item than the chunk size (7ff3ba0)
Miscellaneous Chores
- graphql: Minimal Scout version set to v9.2.1 (from 9.2.0) because
whereIn
support is required (8baf503) ☣ - graphql: Minimal version of "nuwave/lighthouse" set to "^5.68.0" (cc90945) ☣
Code Refactoring
- Rid of
\Illuminate\Contracts\Config\Repository
injection (related to #38) (#38, cd8db7d) ☣ - Rid of
\Illuminate\Contracts\Container\Container
injection (related to #38) (#38, dd49fe7) ☣ - Rid of
\Illuminate\Contracts\Foundation\Application
injection (related to #38) (#38, 1c1b718) ☣ - graphql:
ArgumentFactory::getArgument()
andArgumentFactory::getArgumentSet()
will acceptInputValueDefinitionNode|string
only (8601470) ☣ - graphql:
LastDragon_ru\LaraASP\GraphQL\SearchBy\Exceptions\NotImplemented
moved toLastDragon_ru\LaraASP\GraphQL\SearchBy\NotImplemented
(b0490a7) ☣ - graphql:
LastDragon_ru\LaraASP\GraphQL\SortBy\Builders\Scout\ColumnResolver
renamed toLastDragon_ru\LaraASP\GraphQL\Builder\Contracts\Scout\FieldResolver
(e4b733a) ☣ - graphql:
Scalars
renamed toOperators
and moved intoBuilder
(e1987fb) ☣ - graphql: Operators list/config type changed to
array<string|class-string<Operator>>
(fromarray<class-string<Operator>>|string
) (8596403) ☣ - graphql: Types providers rework - directives will use
TypeDefinition
s instead of extendingManipulator
class) (eb6075e) ☣ - graphql/
@searchBy
:Operators::Logical
renamed toOperators::Extra
(because the list may contain any operators) (4a30837) ☣
Release 1.1.2 🦠
Bug Fixes
- graphql:
search_by.scalars
regressions fix (e7345f2)
Release 1.1.1 🦠
Bug Fixes
Release 1.1.0 🧪
Features
- testing: Added
$suffix
forWithTempFile::getTempFile()
(6faf1b7)