Releases: graphql-dotnet/graphql-dotnet
Releases · graphql-dotnet/graphql-dotnet
7.8.0
What's Changed
- Change default type naming by @Shane32 in #3839
- Updates to new GraphQLName function by @Shane32 in #3843
- Introduce StartActivity and deprecate StartActivityAsync by @gao-artur in #3849
- Allowed derived telemetry providers by @Shane32 in #3848
- Update the
GraphQLTelemetryOptions.Filter
delegate to not create any downstream traces whenfalse
by @gao-artur in #3850 - Add GraphQLTelemetryOptions.RecordException configuration by @gao-artur in #3853
- Add transport docs page, update sitemap by @Mrczarny in #3858
- Use markup key to indicate expected diagnostics location by @gao-artur in #3861
- Schema builder fixes; add schema validation of subscription fields by @Shane32 in #3867
- Support subscriptions of value types by @Shane32 in #3876
- Add data loader overloads to MicrosoftDI resolver builders by @Shane32 in #3868
- Add 'AddUnhandledExceptionHandler' builder extension method by @Shane32 in #3882
- Fix docs relative links by @gao-artur in #3884
- Add an introduction version to analyzers documentation by @gao-artur in #3883
- Add DirectiveAttribute by @Shane32 in #3886
- Add 'AddSchemaVisitor' builder extension method by @Shane32 in #3891
- Clean up subscription sample by @Shane32 in #3893
- Introduce optional IGraphTypeFactory by @PSanetra in #3913
New Contributors
Full Changelog: 7.7.2...7.8.0
7.7.2
What's Changed
- Deprecated fields are returned when feature is disabled by @Shane32 in #3827
- Fix GQL009 code fix formatting by @gao-artur in #3824
- Fix FieldBuilderCodeFixProvider formatting and try preserve code comments by @gao-artur in #3836
- Downgrade Microsoft.CodeAnalysis packages to v3.11.0 to support older compilers by @gao-artur in #3831
Full Changelog: 7.7.1...7.7.2
7.7.1
7.7.0
What's New
Big shoutout to @gao-artur for his incredible work adding .NET analyzers into GraphQL.NET 7.7.0, a game-changer for developers upgrading from older versions! 👏 We also welcome @gao-artur as a new maintainer of GraphQL.NET, and his thoughts and contributions are already making a significant impact for the community. 🥇
What's Changed
- Add custom validation rule for denying introspection queries by @Shane32 in #3695
- Add GraphQL.Analyzers by @gao-artur in #3697
- Deprecate Name method by @gao-artur in #3713
- InputGraphTypeAnalyzer by @gao-artur in #3720
- Fix leading trivia when rewriting field builder by @gao-artur in #3729
- Add reflection caching to AutoRegisteringObjectGraphType by @Shane32 in #3728
- Allow nullable variables for non-null arguments that have defaults; allow scalar variable to list types by @Shane32 in #3662
- Fix formatting when the line before Field invocation contains whitespaces by @gao-artur in #3740
- Change Analyzers Verifiers and upgrade xUnit to 2.5.2 by @gao-artur in #3741
- Misc cleanup by @Shane32 in #3743
- Rewrite the obsolete Name method on ConnectionBuilder by @gao-artur in #3747
- Fix xml docs by @gao-artur in #3752
- FieldArgumentAnalyzer by @gao-artur in #3755
- Record data-loader execution time within Apollo Tracing results by @Shane32 in #3691
- Analyzers/awaitable resolver analyzer by @gao-artur in #3763
- Ignore InputObjectGraphType analysis if type overrides ParseDictionary by @gao-artur in #3776
- Analyzers code and docs reorganization by @gao-artur in #3778
- Configure trim analyzer only for .NET 6+ projects by @Shane32 in #3788
- Add .NET 8 testing by @Shane32 in #3790
- NotAGraphTypeAttribute analyzer by @gao-artur in #3795
- Fix document caching and add tests by @Shane32 in #3810
New Contributors
- @jcabezasp2 made their first contribution in #3703, fixing some broken links in the documentation
Full Changelog: 7.6.1...7.7.0
7.6.1
7.6.0
What's Changed
- Add support for asynchonous delegates to MatchingNodeVisitor by @Shane32 in #3657
- Add GraphQL schema-first federation sample and tests by @Shane32 in #3660
- Fix schema builder so it reads schema descriptions by @Shane32 in #3666
- Fix SchemaBuilder so it reads directives from extension types by @Shane32 in #3667
- Add SchemaExporter, schema.ToAST(), and schema.Print() by @Shane32 in #3649
Full Changelog: 7.5.0...7.6.0
7.5.0
What's Changed
- add missing
async
modifier to method in dataloader code example by @dprcoles in #3601 - Catch exceptions during Subscribe and pass to the unhandled exception delegate by @Shane32 in #3607
- Add GetInputExtension method by @sungam3r in #3615
- Make SchemaPrinter more flexible by @clangelov in #3618
- Include license in package by @Shane32 in #3621
- Better error message for ThrowSerializationError by @sungam3r in #3630
- Support OpenTelemetry auto instrumentation by @Shane32 in #3631
- Better error message for ThrowASTConversionError and ThrowValueConversionError by @sungam3r in #3633
- Don't use ConfigureAwait in docs by @EmmanuelPonnudurai in #3642
New Contributors
- @dprcoles made their first contribution in #3601
- @clangelov made their first contribution in #3618
Full Changelog: 7.4.1...7.5.0
7.4.1
What's Changed
- Root types must all be different types if provided by @sungam3r in #3590
- The root field of a subscription operation must not be an introspection field by @sungam3r in #3591
- Use query-filters for CodeQL by @sungam3r in #3594
- Make GraphQL.NET to be binary compatible with parser v9 by @sungam3r in #3599
Full Changelog: 7.4.0...7.4.1
7.4.0
What's Changed
- Allow deprecation of input values by @sungam3r in #3571
- Add migration notes about deprecation of input values by @sungam3r in #3577
- Only root fields of subscriptions should set StreamResolver; only object output types should set Resolver by @sungam3r in #3574
- Bump PolySharp from 1.12.1 to 1.13.1 by @dependabot in #3581
- Revert to version 3 of setup-dotnet by @sungam3r in #3588
- chore(upgrade): upgrade multiple packages by @ThakurKarthik in #3585
- Remove package json from root folder by @Shane32 in #3589
New Contributors
- @ThakurKarthik made their first contribution in #3585
Full Changelog: 7.3.1...7.4.0
7.3.1
What's Changed
- Bump Newtonsoft.Json from 13.0.2 to 13.0.3 by @dependabot in #3563
- Set FieldType.Resolver properly when calling a field builder's ResolveStream methods by @Shane32 in #3569
- Fix UnhandledError when resolving top-level subscription field by @sungam3r in #3568
Full Changelog: 7.3.0...7.3.1