Skip to content

Commit a893d30

Browse files
authored
Migrated to .NET 10 (#548)
Co-authored-by: Andrii Chebukin <XperiAndri@Outlook.com>
1 parent 925adef commit a893d30

File tree

17 files changed

+134
-50
lines changed

17 files changed

+134
-50
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ jobs:
3333
with:
3434
global-json-file: global.json
3535
dotnet-version: |
36-
9.x
36+
10.x
3737
8.x

.github/workflows/publish-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
env:
99
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
1010
DOTNET_NOLOGO: true
11-
DOTNET_SDK_VERSION: 9.0.307
11+
DOTNET_SDK_VERSION: 10.0.202
1212

1313
jobs:
1414
publish:

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
1010
DOTNET_NOLOGO: true
1111
SLEEP_DURATION: 60
12-
DOTNET_SDK_VERSION: 9.0.307
12+
DOTNET_SDK_VERSION: 10.0.202
1313

1414
jobs:
1515
publish:

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [ubuntu-22.04, windows-latest, macOS-latest]
24-
dotnet: [9.0.307]
24+
dotnet: [10.0.202]
2525
runs-on: ${{ matrix.os }}
2626

2727
steps:

Directory.Build.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<Project>
22

33
<PropertyGroup>
4-
<DotNetVersion>net8.0</DotNetVersion>
5-
<LangVersion>9.0</LangVersion>
6-
<FSharpCoreVersion>9.0.*</FSharpCoreVersion>
4+
<DotNetVersion>net10.0</DotNetVersion>
5+
<LangVersion>10.0</LangVersion>
6+
<FSharpCoreVersion>10.0.*</FSharpCoreVersion>
77
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
88
<DisableImplicitFSharpCoreReference>true</DisableImplicitFSharpCoreReference>
99
<NoWarn>$(NoWarn);NU1504;NU1701</NoWarn>
1010
<TreatWarningsAsErrors Condition="'$(Configuration)' != 'Debug'">true</TreatWarningsAsErrors>
1111
</PropertyGroup>
1212

1313
<PropertyGroup Label="NuGet">
14-
<Version>3.1.1</Version>
14+
<Version>4.0.0</Version>
1515
</PropertyGroup>
1616

1717
</Project>

Packages.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
33
<PropertyGroup>
4-
<SystemVersion>8.0.*</SystemVersion>
5-
<MicrosoftExtensionsVersion>8.0.*</MicrosoftExtensionsVersion>
6-
<AspNetCoreVersion>8.0.*</AspNetCoreVersion>
7-
<FSharpCoreVersion>9.0.202</FSharpCoreVersion>
4+
<SystemVersion>10.0.*</SystemVersion>
5+
<MicrosoftExtensionsVersion>10.0.*</MicrosoftExtensionsVersion>
6+
<AspNetCoreVersion>10.0.*</AspNetCoreVersion>
7+
<FSharpCoreVersion>10.1.202</FSharpCoreVersion>
88
<FsToolkitVersion>4.17.*</FsToolkitVersion>
99
<XUnitVersion>2.9.3</XUnitVersion>
1010
<FAKEVersion>6.*</FAKEVersion>

RELEASE_NOTES.md

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
#### 0.0.1-beta - 2016-04-19
2+
23
* Initial release
34

45
#### 0.0.2-beta - 2016-09-01
6+
57
* Introduced intermediate representation of GraphQL operation execution.
68
* Introduced ability to convert GraphQL query to LINQ.
79
* Replaced current asynchronous API resolver internals.
810
* Ability to use records as complex input variables.
911
* Minor bugfixes and performance optimizations.
1012

1113
### 0.0.3-beta - 2018-03-22
14+
1215
* Introduced a sample for GraphQL over WebSocket Protocol
1316
* Introduced support for Stream and Defer directives
1417
* Minor bugfixes.
1518

1619
### 0.0.4-beta - 2018-05-31
20+
1721
* Introduced support for middlewares in the execution pipeline.
1822
* Introduced new package, named FSharp.Data.GraphQL.Server.Middleware, with generic, built-in middlewares.
1923
* Introduced QueryWeightMiddleware, a generic execution middleware to measure query complexity and optionally block query execution with a threshold.
@@ -26,96 +30,120 @@
2630
* Added support for nested deferred and streamed results (currently does have a maximum degree of two nested operations).
2731

2832
### 0.0.4-beta01 - 2018-05-31
33+
2934
* Fix package dependency versions
3035

3136
### 0.0.5-beta - 2018-08-10
37+
3238
* Upgraded dependencies on Newtonsoft.Json to the latest version.
3339
* Changing subscription field definitions to have a generic output type - the output is not required to be a GraphQL type anymore.
3440
* Implemented experimental support for @live directive, through a subscription system.
3541
* Fixed a bug that caused an exception when ToString function is called on an empty NameValueLookup.
3642
* Added support for asynchronous subscription field definitions.
3743

3844
### 0.0.6-beta - 2018-08-10
45+
3946
* Fixes for introspection query
4047
* Use string identifier to publish to subscription
4148

4249
### 0.0.7-beta - 2018-09-17
50+
4351
* **Breaking Change:** Async Pub/Sub methods for subscription and live directive handler interfaces
4452
* Add Long Scalar definition
4553

4654
### 0.0.8-beta - 2018-10-27
55+
4756
* Add subscription field to introspection schema
4857

4958
### 0.0.8-beta01 - 2018-10-28
59+
5060
* Add subscription field to introspection schema
5161

5262
### 0.0.9 - 2018-11-02
63+
5364
* Fixed a bug where output def of a subscription field was not reachable for introspection.
5465

5566
### 0.0.10-beta - 2018-11-13
67+
5668
* Deferred and Streamed results now return their fields in the direct result as well. The value of those fields will be an empty list or null.
5769
* Live results now send the immediate result in the direct result, instead of the deferred result.
5870

5971
### 0.0.11-beta - 2018-11-21
72+
6073
* Deferred and Streamed results fixes for GQL interfaces.
6174

6275
### 0.0.12-beta - 2018-11-21
76+
6377
* Deferred and Streamed results fixes for GQL interfaces when at the top-level of query.
6478

6579
### 0.0.16-beta - 2019-01-03
80+
6681
* **Breaking Change** The `ISubscriptionProvider` interface now has additional methods to publish to subscriptions by tag.
6782
* **Breaking Change** Renamed interface methods in `ISubscriptionProvider` from XxAsync to AsyncXx to reserve the former for TPL extensions.
6883
* Fixes for stream and defer execution.
6984

7085
### 0.0.17-beta - 2019-01-11
86+
7187
* Execute deferred results in parallel.
7288

7389
### 0.0.18-beta - 2019-01-16
90+
7491
* Fix dispose of deferred/stream responses.
7592

7693
### 1.0.0-beta - 2019-04-27
94+
7795
* **Breaking Change** New type provider API! see samples/client-provider for details.
7896
* Fixes for #216 enum as a variable.
7997
* Upgraded paket and dependencies.
8098

8199
### 1.0.0-beta2 - 2019-04-27
100+
82101
* **Breaking Change** GraphQLProvider now makes Nullable GraphQL inputs optional method arguments instead of options
83102
* **Breaking Change** GraphQLProvider uses the operation name as the generated operation type's names. if no operation name is specified it uses "Operation" + the query string's hash
84103
* Make the type provider cross-targeting
85104
* **Breaking Change** Add postcompile phase to middleware interface
86105

87106
### 1.0.0-beta3 - 2019-05-10
107+
88108
* **Breaking Change** GraphQLProvider record types constructors now receive option arguments as optional arguments
89109
* Revision on scalar types parsing - fixed some wrong behaviors such as parsing ints as floats
90110

91111
### 1.0.0-beta4 - 2019-05-13
112+
92113
* Fixing a bug when converting variable types to variables json in a query
93114

94115
### 1.0.0-beta5 - 2019-05-13
116+
95117
* Fixing a bug when parsing json objects with no fields in serialization
96118

97119
### 1.0.0-beta6 - 2019-05-17
120+
98121
* Changing constructors of provided types to have overloads instead of optional parameters (needed because of a limitation of the Type Provider SDK)
99122
* Adding support for field aliases
100123
* Operation result errors and custom data now are provided as their respective types instead of options (`Operation Error []` and `Map<string, obj>`)
101124

102125
### 1.0.0-beta7 - 2019-05-17
126+
103127
* Minor bug fixes
104128
* Fixing an error on overload constructor definition
105129

106130
### 1.0.0-beta8 - 2019-05-22
131+
107132
* Performance improvements
108133

109134
### 1.0.0-beta9 - 2019-05-22
135+
110136
* Fixing dependency issue on Server component
111137

112138
### 1.0.0-beta90 - 2019-05-29
139+
113140
* Fixing a wrong cast for System.Uri type
114141
* Adding support for file uploads through [GraphQL Multipart Request Spec](https://github.com/jaydenseric/graphql-multipart-request-spec)
115142
* Changing variable parameters of Run/AsyncRun methods to work as overloaded methods instead of one having optional parameters
116143
* Minor bug fixes
117144

118145
### 1.0.0 - 2019-07-04
146+
119147
* Changing the internal client of the Type provider (`System.Net.Http.HttpClient`)
120148
* Fixing several minor bugs of the file upload system in the client provider
121149
* Limiting the upload type of the client provider to be a scalar type (provider fails if it is not)
@@ -129,34 +157,40 @@
129157
* **Breaking Change** Renaming `FSharp.Data.GraphQL.Server.Middlewares` package to `FSharp.Data.GraphQL.Server.Middleware`
130158

131159
### 1.0.1 - 2019-07-05
160+
132161
* Adjusting package dependencies (`FParsec`, `System.Net.Http`, and `FSharp.Data.GraphQL.Server` are not locked anymore)
133162

134163
### 1.0.2 - 2019-08-19
164+
135165
* fixed false positive validation errors related to variable usage.
136166

137167
### 1.0.3 - 2020-03-03
168+
138169
* Correct printing of queries without names
139170
* Correct printing of ListValue and ObjectValue
140171
* Traverse list values in argument lists
141172
* Added test cases for object inputs for GraphQL functions
142173

143-
144174
### 1.0.4 - 2020-03-22
175+
145176
* TypeProvider now treats custom scalars as strings
146177
* The Guid scalar was mapped to a DateTime
147178

148-
149179
### 1.0.5 - 2020-03-23
180+
150181
* Support opening static classes
151182
* Add additional case in client to support failed requests that don't return a path.
152183

153184
### 1.0.6 - 2020-12-15
185+
154186
* TypeProvider accepts IHttpClientFactory as input
155187

156188
### 1.0.7 - 2020-12-30
189+
157190
* Add static TypeProvider parameter `explicitOptionalParameters`.
158191

159192
### 1.0.8 - 2021-04-18
193+
160194
* Remove Desktop build
161195
* Update documentation and build tools
162196
* Upgrade build scripts
@@ -166,6 +200,7 @@
166200
* Fix parser bug. Thanks to @njlr
167201

168202
### 2.0.0 - 2024-03-24
203+
169204
* **Breaking Change** Migrated to .NET 6/7 and F# 7
170205
* **Breaking Change** Implemented GraphQL error handling using `IGQLError` interface instead of exceptions
171206
* **Breaking Change** Implemented parsing variables as `JsonElement`
@@ -186,17 +221,21 @@
186221
* Fixed various introspection and default value encoding issues
187222

188223
### 2.1.0 - 2024-04-13
224+
189225
* Improved server exception logging by including exception in log message
190226
* Documentation and README improvements
191227

192228
### 2.2.0 - 2024-05-08
229+
193230
* Improved `AddGraphQLOptions`
194231
* Added Altair and GraphiQL to sample projects
195232

196233
### 2.2.1 - 2024-06-16
234+
197235
* Fixed `JsonSerializerOptions` read-only instance error
198236

199237
### 3.0.0 - 2025-11-30
238+
200239
* **Breaking Change** Migrated to .NET 8 and F# 9.0 with `FSharp.Core` 9.0.x
201240
* **Breaking Change** Updated scalar `CoerceOutput` signature to `objnull -> 'Primitive option`
202241
* **Breaking Change** Moved GraphQL error extensions to standard `extensions` field according to specification
@@ -244,3 +283,9 @@
244283

245284
* Fixed planning phase crash when inline fragments reference types not included in union or interface definitions
246285
* Fixed GraphQL client provider handling for schema types that reuse reserved scalar names such as `Date`, so introspection kind now takes precedence over built-in scalar mappings.
286+
287+
### 4.0.0 - Unreleased
288+
289+
* **Breaking Change** Migrated to .NET 10
290+
* **Breaking Change** Made Relay `Edge` a read-only struct
291+
* Improved Relay XML documentation comments

0 commit comments

Comments
 (0)