You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
graphql/SchemaPrinter:GraphQLAssertions::assertGraphQLSchemaEquals() will not interpret empty used/unused types/directives lists as "skip assert" (assertion will be skipped only if null). (b722c1c) ☣
graphql/SchemaPrinter:GraphQLAssertions::assertGraphQLSchemaEquals() will not print expected schema when not necessary. (1cffe6a)
testing: registration of StrictAssertEquals. (d6e7b50)
Performance Improvements
graphql/SchemaPrinter:DirectiveResolver will not load all lighthouse's directives (because they are not needed + it is very slow) and will cache definitions/instances. (b61a248) ☣
Code Refactoring
graphql: Minimal version of "nuwave/lighthouse" set to ^5.8.0. (25816cc) ☣
migrator: Removed DirectorySeeder and RootSeeder. (1be3a4e) ☣
queue, testing:CronableRegistrator will add disabled Cronable into Schedule it is needed to be able to test registration. (cf050e2) ☣
spa:Request::validated() updated to be compatible with Laravel 9 and support $key and $default. (3eb876f)
Bug Fixes
graphql: "LogicException : Override for Nuwave\Lighthouse\Schema\Source\SchemaSourceProvider already defined." while testing schemas. (0623c36)
graphql/SchemaPrinter: Fixed missing LF in directive locations when the definition is multiline. (e4d69bf)
graphql/SchemaPrinter: Printer will parse all definitions from Directive:definition() to avoid "DefinitionException : Lighthouse failed while trying to load a type XXX" error. (5c20332)
queue:ConsoleKernelWithSchedule will not use booted() because there are no reasons to use it here (also, in some cases the previous approach may lead to Cronable was registered twice). (64482a6)
queue:ProviderWithSchedule will use afterResolving() callback to register Cronable. (bf84e0d) ☣
eloquent: Result of ModelHelper::isRelation() will be cached (cache can be reset by ModelHelper::resetCache()) (a63f272)
graphql: Added GraphQLExpectedSchema that can be used with assertGraphQLSchemaEquals() to check used/unused types and directives. (72fd9a9)
graphql: 🔥 Awesome SchemaPrinter with directives, filtering, advanced formatting, and more. The assertGraphQLSchemaEquals() also updated to use it. (f9e0b35) ☣
graphql: Minimal version of "nuwave/lighthouse" set to "^5.6.1" (required to print repeatable directives). (e694b7d) ☣
Bug Fixes
formatter:Formatter::forLocale()/Formatter::forTimezone() will not lose timezone/locale. (940ed7b)
testing:Override will check usages in assertPostConditions() instead of beforeApplicationDestroyed() ("Lock wait timeout exceeded" fix). (95649d9)
Code Refactoring
core:Subject methods will return self instead of void. (7d80539) ☣
core: Class Subject converted into interface, all methods moved into new class Dispatcher. (e7bef00) ☣
eloquent,graphql:ModelHelper moved into eloquent package. (34d99ed) ☣
eloquent:EloquentBuilder::orderByKey() mixin will use qualified key name. (155dacb)
eloquent:ModelHelper::getRelation() will throw PropertyIsNotRelation instead of LogicException. (7f350a9)
graphql:@searchBy will support types from TypeRegistry. (1a92006) ☣
graphql:@searchBy: new operators for String: contains, startsWith, endsWith. (f2f44b7)
graphql:@sortBy support input type auto-generation by existing type. (06da4a7)
graphql:@sortBy will use dependent subqueries instead of joins. (a1e4608) ☣
graphql: New directive sortByUnsortable that allow exclude fields from sort. (10a39ab)
queue:CronableRegistrator will use PendingDispatch (so ShouldBeUnique should work now). (6c4cbd0)
queue:Dispatchable::run() will use dispatchSync() instead of dispatchNow(). (50ecb56) ☣
queue: Injection of QueueableConfigurator into __construct() not needed anymore, Container::afterResolving() will be used instead. (aebffad)
testing: New assertion: assertDatabaseQueryEquals(). (64fa090)
Bug Fixes
eloquent: Fixed "Integrity constraint violation: 1052 Column 'id' in order clause is ambiguous" for ChunkedChangeSafeIterator (it will use qualified column name for default). (5695af5)
Code Refactoring
graphql:LastDragon_ru\LaraASP\GraphQL\SortBy\Contracts\ScoutColumnResolver renamed to \LastDragon_ru\LaraASP\GraphQL\SortBy\Builders\Scout\ColumnResolver (339cf58) ☣
core: Package Translator allows to specify default translation (will be used if the translation string doesn't exist). (c9e1e5d)
eloquent: New trait WithDateSerialization that will serialize dates that implements JsonSerializable by JsonSerializable::jsonSerialize() instead of hardcoded Carbon::toJSON(). (085fc47) ☣
graphql:Enum properties will be converted into studly case (to be compatible with PHP Enums). (3a9e15a) ☣
queue:CronableRegistrator will use job name as description (= description will not contain settings anymore) and will not add context to log messages. (04fc1ea) ☣
queue: Added timezone setting for Cronable. (8810c7f)
testing: Added WithTranslations helper that allows replacing translation while tests. (5e0d4e4)
Bug Fixes
formatter: Filesize units (MB => MiB, etc). (5fc4ba7)
queue: TypeError : LastDragon_ru\LaraASP\Queue\Queueables\Job::LastDragon_ru\LaraASP\Queue\Concerns\{closure}: Return value must be of type Illuminate\Foundation\Bus\PendingDispatch, null returned. (58e2f20)
queue:CronableRegistrator removed incorrect realization to check the locked status of the job. (033de61)
testing:JsonSchemaValue will not evaluate schema in constructor (regression). (3c51269)
testing: Added a new WithQueryLog trait that can work with any connection (the old one marked as deprecated). (1f7a8c3)
testing: Removed TestResponse::getContentType() macro (not needed for testing). (ebf2f6d) ☣
testing: Removed TestResponse::toPsrResponse() macro, LastDragon_ru\\LaraASP\\Testing\\Constraints\\Response\\Factory::make() should be used instead. (7e000da) ☣
Bug Fixes
eloquent:Iterator::onBeforeChunk()/Iterator::onAfterChunk() will be called only for non-empty chunks. (140825c)
graphql: Enums registration moved to afterResolving callback. (2a6288b)
migrator: Added missed semicolon to migration-anonymous.stub. (64118fa)