Releases: LastDragon-ru/lara-asp
Releases · LastDragon-ru/lara-asp
The Serializer and deprecation removal
Mark |
Type |
Count |
Packages |
☣ |
Breaking changes |
19 |
* , core , graphql , graphql-printer |
|
Features |
4 |
graphql , graphql-printer , serializer |
|
Performance Improvements |
1 |
graphql |
|
Miscellaneous |
3 |
* , graphql , migrator , testing |
|
Code Refactoring |
15 |
* , core , graphql , graphql-printer |
All packages
Miscellaneous
- Drop
symfony/*:<6.3
support (b67103e) ☣
Code Refactoring
Package core
Code Refactoring
Translator
will not implement Illuminate\Contracts\Translation\Translator
(to have stricter typehints) (e63d70d) ☣
Package graphql
Features
BuilderInfoProvider::getBuilderInfo()
can return null
(748b56e) ☣
GraphQLAssertions::useGraphQLSchema()
will support DocumentAST
too (ba97bb2) ☣
Performance Improvements
AstManipulator::getDirectives()
, AstManipulator::getDirective()
(381fce4)
Miscellaneous
- Minimal version of
nuwave/lighthouse
set to ^6.5.0
(required for dynamic manipulator directives) (7954646)
Code Refactoring
AstManipulator
more methods, deprecated methods removal and fixes (9b62997) ☣
- Deprecated assertions removal (
GraphQLAssertions::assertDefaultGraphQLSchemaEquals()
, GraphQLAssertions::getGraphQLSchema()
, GraphQLAssertions::useDefaultGraphQLSchema()
, GraphQLAssertions::getDefaultGraphQLSchema()
, GraphQLAssertions::printGraphQLSchema()
, GraphQLAssertions::printGraphQLSchemaType()
, GraphQLAssertions::printDefaultGraphQLSchema()
, GraphQLAssertions::getGraphQLSchemaPrinter()
, SchemaBuilderWrapper::default()
) (9519a8c) ☣
GraphQLAssertions::assertCurrentGraphQLSchemaEquals()
=> GraphQLAssertions::assertGraphQLSchemaEquals()
, GraphQLAssertions::getCurrentGraphQLSchema()
=> GraphQLAssertions::getGraphQLSchema()
(1b0543e) ☣
HandlerDirective::getDirectives()
removed (not used anymore) (aacd7b1) ☣
- Removed
GraphQLAssertions::assertGraphQLSchemaEquals()
(c6b5fba) ☣
- Removed
Operator::getDirectiveName()
(not needed/used anymore) (85ecda3) ☣
- Removed
Operator::getFieldDirective()
(not needed/used anymore) (83db54a) ☣
TypeDefinition::getTypeDefinitionNode()
=> TypeDefinition::getTypeDefinition()
(83fe3f7) ☣
WithBuilderInfo::getBuilderInfo()
will accept any Node
(a4dcdbe) ☣
Package graphql-printer
Features
- Added
Printer::print()
, Printer::export()
, Printer::getSchema()
, Printer::setSchema()
(#78, a28167b) ☣
Code Refactoring
- Dead code removal (
TypeUnsupported
, LastDragon_ru\LaraASP\GraphQLPrinter\Testing\Package\TestSettings
) (67ab470) ☣
- Deprecate
Printer
methods removal (Printer::printSchema()
, Printer::printSchemaType()
, Printer::printType()
, Printer::getLevel()
, Printer::setLevel()
) (#78, 19bc16e) ☣
- Deprecated assertions removal (
GraphQLAssertions::assertGraphQLSchemaEquals()
, GraphQLAssertions::assertGraphQLSchemaTypeEquals()
, GraphQLAssertions::assertGraphQLTypeEquals()
, GraphQLAssertions::assertGraphQLNodeEquals()
, GraphQLAssertions::printGraphQLSchema()
, GraphQLAssertions::printGraphQLSchemaType()
, GraphQLAssertions::printGraphQLType()
, GraphQLAssertions::printGraphQLNode()
, GraphQLAssertions::getGraphQLSchemaPrinter()
, GraphQLExpectedNode
, GraphQLExpectedType
) (53cf4c2) ☣
- Removed deprecated
GraphQLAssertions::getGraphQLSchema()
, GraphQLExpectedSchema
(3b27a92) ☣
Package migrator
Miscellaneous
- Drop
doctrine/dbal
v2 support (3996086)
Package serializer
Features
Package testing
Miscellaneous
- Drop
doctrine/dbal
v2 support (3996086)
Dependencies cleanup
Mark |
Type |
Count |
Packages |
|
Miscellaneous |
1 |
|
All packages
Miscellaneous
- Unused dependencies removal (960cc78)
More `SchemaPrinter` improvements and fixes 🤗
Deprecations
- graphql:
GraphQLAssertions::assertDefaultGraphQLSchemaEquals()
, GraphQLAssertions::assertGraphQLSchemaEquals()
, GraphQLAssertions::printDefaultGraphQLSchema()
(596416a)
- graphql:
GraphQLAssertions::getGraphQLSchema()
(1c73db1)
- graphql:
GraphQLAssertions::useDefaultGraphQLSchema()
, SchemaBuilderWrapper::default()
(10722ce)
- graphql-printer:
GraphQLAssertions::assertGraphQLSchemaEquals()
, GraphQLAssertions::assertGraphQLSchemaTypeEquals()
, GraphQLAssertions::assertGraphQLTypeEquals()
, GraphQLAssertions::assertGraphQLNodeEquals()
, GraphQLAssertions::printGraphQLSchema()
, GraphQLAssertions::printGraphQLSchemaType()
, GraphQLAssertions::printGraphQLNode()
, GraphQLAssertions::getGraphQLSchemaPrinter()
, GraphQLExpectedNode
, GraphQLExpectedSchema
, GraphQLExpectedType
(#78, 107b77c)
- graphql-printer:
GraphQLAssertions::getGraphQLSchema()
(f14e1c6)
- graphql-printer:
LastDragon_ru\LaraASP\GraphQLPrinter\Testing\Package\TestSettings
(5dc69a9)
Features
- graphql-printer:
DefaultSettings
will print all directives (2fd774c)
- graphql-printer: Added
Printer::print()
and Printer::export()
(#78, bc1c8d1)
- graphql-printer: New assertion
GraphQLAssertions::assertGraphQLNodeEquals()
(0df00fc)
- graphql-printer: New assertions:
GraphQLAssertions::assertGraphQLPrintableEquals()
and GraphQLAssertions::assertGraphQLExportableEquals()
(22a5007)
Bug Fixes
- graphql-printer:
Printer::printType()
and Printer::printNode()
will not contain EOF (fa1d831)
`SchemaPrinter` improvements and fixes 🤗
Deprecations
- graphql-printer:
LastDragon_ru\LaraASP\GraphQLPrinter\Exceptions::TypeUnsupported
=> LastDragon_ru\LaraASP\GraphQLPrinter\Exceptions::Unsupported
(e0f24fe)
- graphql-printer:
Printer::printSchema()
, Printer::printSchemaType()
, Printer::printType()
, Printer::getLevel()
, Printer::setLevel()
(#78, 3479b9c)
Features
- graphql: Ability to re-use build-in operators in the schema/config (6ce5c81)
- graphql: Added default operators for
Date
, DateTime
, DateTimeTz
, DateTimeUtc
Lighthouse's scalars (e312412)
- graphql-printer:
Context::getType()
/Context::getDirective()
will throw error if Schema defined but type/directive is not found (22dda09)
- graphql-printer: AST Support (#77, #83, 103924d)
- graphql-printer: More accurate line length calculation (b83c4d6)
- graphql-printer: Query support (#72, 7163a3b)
- graphql-printer: Type filtering will work only if Schema is known (17c26dc)
Bug Fixes
- graphql-printer: Arguments indent for lists/objects values (bb35dae)
- graphql-printer: Directive definition length calculation (1980cba)
- graphql-printer: Type collecting for
ObjectValueNode
(3d5d3e8)
- graphql-printer: Type filter will be applied to schema operation types too (6735090)
- graphql-printer: Type filtering for
ObjectValueNode
(d0d774e)
Performance Improvements
- graphql-printer:
TypeFilter
/DirectiveFilter
will be called only one time for each type/directive (7c4030e)
Miscellaneous Chores
- graphql-printer:
DirectiveResolver
can return DirectiveDefinitionNode
(c997ffd)
- graphql/Printer:
DirectiveResolver
will not throw error if directive not found (6025213)
- graphql/Printer:
DirectiveResolver
will return DirectiveDefinitionNode
instead of Directive
(faster) (33b7a30)
`@rename` support 🐱🏍
Features
- graphql:
@searchBy
/@sortBy
will support @rename
(#80, 54502b5)
Bug Fixes
- graphql:
Property::getChild()
will use dot notation (required eg for @rename
) (9b38a95)
- graphql: Reset types while testing (related to
SchemaBuilderWrapper
and GraphQLAssertions::getGraphQLSchema()
) (9558c71)
Bugfixes 🦟
Bug Fixes
- graphql-printer: Empty
deprecationReason
will not be ignored (701b1a0)
Miscellaneous Chores
- graphql-printer: Minimal version of "webonyx/graphql-php" set to "^15.4.0" (706de7f)
`Type`s filtering and bugfixes 😊
Features
- graphql-printer: Support of exclusion of types from the Schema (#70, 32c09f3)
Bug Fixes
- graphql:
AstManipulator::getNodeDirectives()
will return directives for InputObjectField
, FieldDefinition
, and Argument
(5f46f12)
- graphql: Escaping for generated BlockString (= descriptions) (4e0b2ab)
- graphql: Parent of
NotImplemented
(bd11fb6)
Miscellaneous Chores
psr/http-message
v2 support (c44842d)
Better builder type detection 🤓
Features
Bug Fixes
- graphql: Detecting builder type for built-in Lighthouse directives (
@count
, @aggregate
, @withCount
, @with
) (#68, b679efe)
Lighthouse v6 support 🤡
Lighthouse v5 and Laravel v8 is not supported anymore, if you need it please use the previous version. If you use published config for graphql
package, you need to remove enums
section from it.
Features
- Laravel v8 is not supported anymore. (#61, 8721b8f) ☣
- Removed deprecated custom
Enum
implementation, please use native PHP enums instead (ee17557) ☣
- graphql:
TypeDefinition::getTypeDefinitionNode()
can also return GraphQL\Type\Definition\Type&GraphQL\Type\Definition\NamedType
(03e39ed) ☣
- graphql: Available operators can be defined inside schema (#28, #63, 5da6ba5) ☣
- graphql: Better detection of
Builder
type (c3ffa70)
- graphql: Interfaces can be used as type for
@searchBy
/@sortBy
(#62, 43234b5) ☣
- graphql-printer: Directives added via
extend
will be printed too (6257da1)
- graphql-printer, graphql: Switched to
webonyx/graphql-php:^15.2.4
and nuwave/lighthouse:^6.0.0
(bd30fb0) ☣
Bug Fixes
- graphql:
InputObject::isFieldConvertable()
will return false
for fields with arguments (6a50ea3)
Code Refactoring
- core: Removed deprecated
ProviderWithCommands
(10d6506) ☣
- graphql:
Operator::isBuilderSupported()
will accept class-string
instead of object
(5d8f71d) ☣