From 024e318194b874573710d5b7a9006d9395fbb2bf Mon Sep 17 00:00:00 2001 From: Kevin Carroll Date: Tue, 21 Jan 2025 18:17:01 -0700 Subject: [PATCH 1/2] updates .NET moniker pills --- docs/development/unit-testing.md | 4 ++-- docs/quick/overview.md | 2 +- docs/server-extensions/multipart-requests.md | 4 ++-- docs/types/scalars.md | 2 +- src/pages/index.js | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/development/unit-testing.md b/docs/development/unit-testing.md index ffa2e84..de1d1ab 100644 --- a/docs/development/unit-testing.md +++ b/docs/development/unit-testing.md @@ -5,12 +5,12 @@ sidebar_label: Unit Testing sidebar_position: 1 --- -.NET 6+ +.NET 8+

:::info -Your test projects must target .NET 6 or greater to use the test framework +Your test projects must target .NET 8 or greater to use the test framework ::: GraphQL ASP.NET has more than `3500 unit tests and 91% code coverage`. All the internal integration tests are powered by a framework designed to quickly build a configurable, fully mocked server instance to perform a query against the runtime. It may be helpful to use and extend the framework to test your own controllers. diff --git a/docs/quick/overview.md b/docs/quick/overview.md index 69c9c11..b3bb6af 100644 --- a/docs/quick/overview.md +++ b/docs/quick/overview.md @@ -10,7 +10,7 @@ Use the menus on the left to navigate through the documentation. You do not need ## Nuget & Installation -.NET Standard 2.0 .NET 6 .NET 7 .NET 8

+.NET Standard 2.0 .NET 8 .NET 9

The library is available on [nuget](https://www.nuget.org/packages/GraphQL.AspNet/) and can be added to your project via the conventional means. diff --git a/docs/server-extensions/multipart-requests.md b/docs/server-extensions/multipart-requests.md index 508259b..9262df6 100644 --- a/docs/server-extensions/multipart-requests.md +++ b/docs/server-extensions/multipart-requests.md @@ -5,12 +5,12 @@ sidebar_label: File Uploads & Batching sidebar_position: 0 --- -.NET 6+ +.NET 8+ ## Multipart Request Specification GraphQL ASP.NET provides built in support for batch query processing and file uploads via an implementation of the [GraphQL Multipart Request Specification](https://github.com/jaydenseric/graphql-multipart-request-spec). -This extension requires a minimum version of `v1.2.0` of the main library and you must target .NET 6 or later. This extension will not work with the .NET standard implementation. +This extension requires a minimum version of `v1.2.0` of the main library and you must target .NET 8 or later. This extension will not work with the .NET standard implementation. :::info This document covers how to submit a batch query and upload files that conform to the above specification. It provides sample curl requests that would be accepted for the given sample code but does not explain in detail the various form fields required to complete a request. It is highly recommended to use a [supported client](https://github.com/jaydenseric/graphql-multipart-request-spec#client) when enabling this server extension. diff --git a/docs/types/scalars.md b/docs/types/scalars.md index 4c32471..2b735ec 100644 --- a/docs/types/scalars.md +++ b/docs/types/scalars.md @@ -33,7 +33,7 @@ GraphQL ASP.NET has 20 built in scalar types. | UShort | System.UInt16 | Number | :::info - You must target .NET 6.0 or later to use `DateOnly` and `TimeOnly` + You must target .NET 8.0 or later to use `DateOnly` and `TimeOnly` ::: ## Input Value Resolution diff --git a/src/pages/index.js b/src/pages/index.js index 638a73f..535134a 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -13,7 +13,7 @@ function HomepageHeader() { return (
-

{siteConfig.title} .NET 6+

+

{siteConfig.title} .NET 8+

From 1d6a72be62bb567db8fbc54246482592d98663db Mon Sep 17 00:00:00 2001 From: Kevin Carroll Date: Fri, 25 Apr 2025 09:06:51 -0700 Subject: [PATCH 2/2] WIP, updated build actions to latest versions --- .github/workflows/deploy-website.yml | 6 +++--- .github/workflows/pr-build.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 323ca63..f498b55 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -10,8 +10,8 @@ jobs: name: Deploy to GitHub Pages runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v4 with: node-version: 18 cache: yarn @@ -22,7 +22,7 @@ jobs: run: yarn build - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.BOT_DEPLOYMENT_TOKEN }} publish_dir: ./build diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 37d2435..c3c0dd8 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -12,8 +12,8 @@ jobs: name: Test deployment runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v4 with: node-version: 18 cache: yarn