8.0.0
版本发布时间: 2024-08-20 12:37:36
graphql-dotnet/graphql-dotnet最新发布版本:8.1.0(2024-09-18 21:37:16)
What's Changed
- Move argument parsing to document validator by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3424
- Parse all directives by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3499
- Require query type on schemas by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3543
- Bump to parser v9 by @sungam3r in https://github.com/graphql-dotnet/graphql-dotnet/pull/3598
- Remove old options from SchemaPrinter by @sungam3r in https://github.com/graphql-dotnet/graphql-dotnet/pull/3614
- Scoped lifetime support for AddValidationRule by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3606
- Simplify metadata builder methods by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3609
- Remove relay types from SchemaTypes by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3620
- Better error messages for invalid literals by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3493
- SchemaTypes cleanup by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3638
- Prevent double registration of configuration types by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3628
- Fix ParseInt for large integers by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3647
- ConnectionBuilder.Resolve* return builder instance by @gao-artur in https://github.com/graphql-dotnet/graphql-dotnet/pull/3748
- ObjectExtensions.ToObject requires mappedType by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3769
- ToObject uses public default constructor when available; and only public constructors by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3771
- Add GraphQLConstructor attribute for ToObject by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3773
- Verify input source type constructors by @gao-artur in https://github.com/graphql-dotnet/graphql-dotnet/pull/3779
- AutoRegisteringInputObjectGraphType includes certain read-only properties by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3782
- Ensure only public properties are registered in AutoRegisteringObjectGraphType by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3789
- Merge NotAGraphTypeAnalyzer to develop branch by @gao-artur in https://github.com/graphql-dotnet/graphql-dotnet/pull/3798
- InputGraphTypeAnalyzer choose constructor by the same rules used in runtime by @gao-artur in https://github.com/graphql-dotnet/graphql-dotnet/pull/3799
- Make IDataLoaderContextAccessor.Context non-null by @ccurrens in https://github.com/graphql-dotnet/graphql-dotnet/pull/3792
- Add ComplexScalarGraphType by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3257
- Add ObjectExtensions.GetReflectionInformation by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3804
- ToObject compilation by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3761
- Set new default type naming by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3842
- Add input value coercion and validation (v2) by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3857
- Use markup key to indicate expected diagnostics location (develop) by @gao-artur in https://github.com/graphql-dotnet/graphql-dotnet/pull/3862
- Remove null-forgiving operators on data loader tests by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3863
- Extend GQL010 rule for
AutoRegisteringInputObjectGraphType
by @gao-artur in https://github.com/graphql-dotnet/graphql-dotnet/pull/3865 - Change DataLoader extensions' namespace to GraphQL by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3869
- Remove IComplexityAnalyzer by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3872
- Add argument tests for directives by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3874
- Mix errors from validation and listener by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3871
- Better error handling of requests with invalid operation names by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3870
- Deprecate SchemaPrinter in favor of SchemaExporter by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3877
- AllowedOnAttribute to force correct FieldBuilder methods usage by @gao-artur in https://github.com/graphql-dotnet/graphql-dotnet/pull/3878
- Add PatternMatchingDirective and PatternMatchingVisitor sample by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3885
- GetArgument improvements by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3890
- Remove some deprecated methods by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3907
- Nullable Validator and Parser delegates by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3906
- Refactor validation rules by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3905
- Support throwing ValidationError from validation delegates, bug fixes by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3909
- Change solution to use file-scoped namespaces by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3864
- Federation prep: Refactor TypeExtensions.GetListType by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3926
- Federation prep: Remove union check by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3927
- Federation prep: Add IMetadataWriter interface to ISchema by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3929
- Federation prep: Refactor FindMember by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3928
- Add IListConverterFactory by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3931
- AOT compatibility for IListConverter; add migration notes by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3932
- Add IsPrivate and SkipTypeCheck properties to IGraphType / IFieldType by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3949
- Update schema exporter tests by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3950
- Add ISchemaNodeVisitor.PostVisitSchema by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3951
- Add IFieldMetadataWriter by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3959
- Add GraphQL Federation v2 required types by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3957
- Add federation metadata extension methods and attributes by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3958
- Fix RemoveFederationTypesVisitor by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3961
- Add OneOf Input Object support by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3953
- Revamp federation resolvers by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3960
- Refactor IFederationResolver; add FederationResolverAttribute by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3963
- Applied directives can contain metadata by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3965
- OneOf analyzer by @gao-artur in https://github.com/graphql-dotnet/graphql-dotnet/pull/3967
- Add native support for @link by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3972
- Allow applied directives to be imported from another schema by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3975
- Add federation builder extension and related schema configuration code by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3964
- Code-First & Type-First Federation 2 Support by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3921
- Infer nullability from NRT by default by @gao-artur in https://github.com/graphql-dotnet/graphql-dotnet/pull/3977
- Use ThreadStatic for cached fields by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3982
- Update GetRecursivelyReferencedFragments to allow retrieving only used fragments by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3981
- Rename ComplexityAnalyzer to LegacyComplexityAnalyzer and mark as obsolete by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3991
- Add persisted document support by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3993
- Unhandled exception processing enhancements by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3996
- Add timeout support to GraphQL executions by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3998
- Rewrite complexity analyzer by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/3989
- Add complexity attribute by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/4000
- Optimize scalar lists by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/4001
- GQL016: Require parameterless constructor by @gao-artur in https://github.com/graphql-dotnet/graphql-dotnet/pull/4002
- GQL016 Remove generic argument analysis by @gao-artur in https://github.com/graphql-dotnet/graphql-dotnet/pull/4005
- Move new attributes to correct namespace by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/4009
- Allow interfaces to implement other interfaces by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/4008
- Aggregate schema initialization errors by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/4016
- Remove/review obsolete methods by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/4017
- Immutable optimization for directives without arguments by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/4027
- Add IResolveFieldContext.ExecutionContext by @Shane32 in https://github.com/graphql-dotnet/graphql-dotnet/pull/4025
New Contributors
- @ccurrens made their first contribution in https://github.com/graphql-dotnet/graphql-dotnet/pull/3792
Full Changelog: https://github.com/graphql-dotnet/graphql-dotnet/compare/7.9.0...8.0.0
1、 Documentation.zip 1.33MB
2、 GraphQL.8.0.0.nupkg 2.27MB
3、 GraphQL.Analyzers.8.0.0.nupkg 178.47KB
4、 GraphQL.DataLoader.8.0.0.nupkg 96.72KB
5、 GraphQL.MemoryCache.8.0.0.nupkg 127.09KB
6、 GraphQL.MicrosoftDI.8.0.0.nupkg 163.59KB
7、 GraphQL.NewtonsoftJson.8.0.0.nupkg 91.33KB
8、 GraphQL.SystemTextJson.8.0.0.nupkg 304.08KB