From e064c84b7aeb97e6b780c84e0c1df2e4fa8e32b4 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 1 Nov 2024 08:31:52 -0700 Subject: [PATCH 1/7] Update CleanRepo workflows (#43272) --- .../{clean-repo.yml => orphaned-articles.yml} | 23 +++------- .github/workflows/orphaned-images.yml | 43 +++++++++++++++++++ .github/workflows/orphaned-includes.yml | 43 +++++++++++++++++++ .github/workflows/orphaned-snippets.yml | 43 +++++++++++++++++++ .github/workflows/redirect-hops.yml | 43 +++++++++++++++++++ .github/workflows/relative-links.yml | 43 +++++++++++++++++++ .github/workflows/replace-redirects.yml | 43 +++++++++++++++++++ 7 files changed, 264 insertions(+), 17 deletions(-) rename .github/workflows/{clean-repo.yml => orphaned-articles.yml} (52%) create mode 100644 .github/workflows/orphaned-images.yml create mode 100644 .github/workflows/orphaned-includes.yml create mode 100644 .github/workflows/orphaned-snippets.yml create mode 100644 .github/workflows/redirect-hops.yml create mode 100644 .github/workflows/relative-links.yml create mode 100644 .github/workflows/replace-redirects.yml diff --git a/.github/workflows/clean-repo.yml b/.github/workflows/orphaned-articles.yml similarity index 52% rename from .github/workflows/clean-repo.yml rename to .github/workflows/orphaned-articles.yml index cc92e8b3ca06c..ed1cb26e36cc3 100644 --- a/.github/workflows/clean-repo.yml +++ b/.github/workflows/orphaned-articles.yml @@ -1,4 +1,4 @@ -name: "clean repo" +name: "clean repo - articles" on: schedule: @@ -26,29 +26,18 @@ jobs: # Call clean repo - name: Clean repo id: clean-repo-step - uses: dotnet/docs-tools/cleanrepo@2a815a6c0976e888a49264f513dc230008b4a1f2 + uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 with: + function: 'FindOrphanedArticles' docfx_directory: '.' - articles_directory: 'docs' - media_directory: 'docs' - snippets_directory: '.' # This includes the ./samples and ./docs directories, which both contain snippets. - includes_directory: 'includes' + target_directory: 'docs' url_base_path: '/dotnet' - delete: true - orphaned_articles: true - orphaned_images: true - catalog_images: false - orphaned_snippets: true - orphaned_includes: true - replace_redirects: true - relative_links: true - remove_hops: true # Create the PR for the work done by the "clean repo" tool - name: create-pull-request uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f with: branch: create-cleanrepo-pull-request/patch - title: "Monthly chores: Automated repo cleanup" + title: "Monthly chores: Delete orphaned articles" commit-message: 'Bot 🤖 generated CleanRepo tool run' - body: "Find and delete orphaned articles, images, snippets, and include files. Remove redirection hops, update redirected links in articles, and replace site-relative links with file-relative links. Contributes to #..." + body: "Find and delete orphaned articles. Contributes to #..." diff --git a/.github/workflows/orphaned-images.yml b/.github/workflows/orphaned-images.yml new file mode 100644 index 0000000000000..59353755b9db5 --- /dev/null +++ b/.github/workflows/orphaned-images.yml @@ -0,0 +1,43 @@ +name: "clean repo - images" + +on: + schedule: + - cron: "0 1 1 * *" # Runs at 01:00, on day 1 of the month + workflow_dispatch: + +permissions: + contents: read + +jobs: + clean-repo: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + + steps: + - name: Harden Runner + uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + with: + egress-policy: audit + + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + # Call clean repo + - name: Clean repo + id: clean-repo-step + uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + with: + function: 'FindOrphanedImages' + docfx_directory: '.' + target_directory: 'docs' + url_base_path: '/dotnet' + + # Create the PR for the work done by the "clean repo" tool + - name: create-pull-request + uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f + with: + branch: create-cleanrepo-pull-request/patch + title: "Monthly chores: Delete orphaned images" + commit-message: 'Bot 🤖 generated CleanRepo tool run' + body: "Find and delete orphaned images. Contributes to #..." diff --git a/.github/workflows/orphaned-includes.yml b/.github/workflows/orphaned-includes.yml new file mode 100644 index 0000000000000..16b066f7a79ff --- /dev/null +++ b/.github/workflows/orphaned-includes.yml @@ -0,0 +1,43 @@ +name: "clean repo - includes" + +on: + schedule: + - cron: "0 1 1 * *" # Runs at 01:00, on day 1 of the month + workflow_dispatch: + +permissions: + contents: read + +jobs: + clean-repo: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + + steps: + - name: Harden Runner + uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + with: + egress-policy: audit + + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + # Call clean repo + - name: Clean repo + id: clean-repo-step + uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + with: + function: 'FindOrphanedIncludes' + docfx_directory: '.' + target_directory: '.' + url_base_path: '/dotnet' + + # Create the PR for the work done by the "clean repo" tool + - name: create-pull-request + uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f + with: + branch: create-cleanrepo-pull-request/patch + title: "Monthly chores: Delete orphaned include files" + commit-message: 'Bot 🤖 generated CleanRepo tool run' + body: "Find and delete orphaned include files. Contributes to #..." diff --git a/.github/workflows/orphaned-snippets.yml b/.github/workflows/orphaned-snippets.yml new file mode 100644 index 0000000000000..c80b83ce94812 --- /dev/null +++ b/.github/workflows/orphaned-snippets.yml @@ -0,0 +1,43 @@ +name: "clean repo - snippets" + +on: + schedule: + - cron: "0 1 1 * *" # Runs at 01:00, on day 1 of the month + workflow_dispatch: + +permissions: + contents: read + +jobs: + clean-repo: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + + steps: + - name: Harden Runner + uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + with: + egress-policy: audit + + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + # Call clean repo + - name: Clean repo + id: clean-repo-step + uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + with: + function: 'FindOrphanedSnippets' + docfx_directory: '.' + target_directory: 'docs' + url_base_path: '/dotnet' + + # Create the PR for the work done by the "clean repo" tool + - name: create-pull-request + uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f + with: + branch: create-cleanrepo-pull-request/patch + title: "Monthly chores: Delete orphaned snippets" + commit-message: 'Bot 🤖 generated CleanRepo tool run' + body: "Find and delete orphaned snippets. Contributes to #..." diff --git a/.github/workflows/redirect-hops.yml b/.github/workflows/redirect-hops.yml new file mode 100644 index 0000000000000..aee7211af46ed --- /dev/null +++ b/.github/workflows/redirect-hops.yml @@ -0,0 +1,43 @@ +name: "clean repo - redirect hops" + +on: + schedule: + - cron: "0 1 1 * *" # Runs at 01:00, on day 1 of the month + workflow_dispatch: + +permissions: + contents: read + +jobs: + clean-repo: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + + steps: + - name: Harden Runner + uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + with: + egress-policy: audit + + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + # Call clean repo + - name: Clean repo + id: clean-repo-step + uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + with: + function: 'RemoveRedirectHops' + docfx_directory: '.' + target_directory: 'docs' + url_base_path: '/dotnet' + + # Create the PR for the work done by the "clean repo" tool + - name: create-pull-request + uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f + with: + branch: create-cleanrepo-pull-request/patch + title: "Monthly chores: Remove redirect hops" + commit-message: 'Bot 🤖 generated CleanRepo tool run' + body: "Remove redirect hops, for example, if a -> b and b -> c, replace a -> b with a -> c. Contributes to #..." diff --git a/.github/workflows/relative-links.yml b/.github/workflows/relative-links.yml new file mode 100644 index 0000000000000..4d5c4905a057d --- /dev/null +++ b/.github/workflows/relative-links.yml @@ -0,0 +1,43 @@ +name: "clean repo - relative links" + +on: + schedule: + - cron: "0 1 1 * *" # Runs at 01:00, on day 1 of the month + workflow_dispatch: + +permissions: + contents: read + +jobs: + clean-repo: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + + steps: + - name: Harden Runner + uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + with: + egress-policy: audit + + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + # Call clean repo + - name: Clean repo + id: clean-repo-step + uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + with: + function: 'ReplaceWithRelativeLinks' + docfx_directory: '.' + target_directory: 'docs' + url_base_path: '/dotnet' + + # Create the PR for the work done by the "clean repo" tool + - name: create-pull-request + uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f + with: + branch: create-cleanrepo-pull-request/patch + title: "Monthly chores: Use relative links" + commit-message: 'Bot 🤖 generated CleanRepo tool run' + body: "Find and replace absolute links with relative links. Contributes to #..." diff --git a/.github/workflows/replace-redirects.yml b/.github/workflows/replace-redirects.yml new file mode 100644 index 0000000000000..4825b3d85beca --- /dev/null +++ b/.github/workflows/replace-redirects.yml @@ -0,0 +1,43 @@ +name: "clean repo - replace redirects" + +on: + schedule: + - cron: "0 1 1 * *" # Runs at 01:00, on day 1 of the month + workflow_dispatch: + +permissions: + contents: read + +jobs: + clean-repo: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + + steps: + - name: Harden Runner + uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 + with: + egress-policy: audit + + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + + # Call clean repo + - name: Clean repo + id: clean-repo-step + uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + with: + function: 'ReplaceRedirectTargets' + docfx_directory: '.' + target_directory: 'docs' + url_base_path: '/dotnet' + + # Create the PR for the work done by the "clean repo" tool + - name: create-pull-request + uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f + with: + branch: create-cleanrepo-pull-request/patch + title: "Monthly chores: Replace redirect targets" + commit-message: 'Bot 🤖 generated CleanRepo tool run' + body: "Replace redirected links with target URL. Contributes to #..." From dc3f03f99efff92dc348991b14b011289d94681a Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 1 Nov 2024 08:34:21 -0700 Subject: [PATCH 2/7] Update auto-merge.yml (#43268) --- .github/policies/auto-merge.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/policies/auto-merge.yml b/.github/policies/auto-merge.yml index 76c4db6968e27..e8801d9bfcb5c 100644 --- a/.github/policies/auto-merge.yml +++ b/.github/policies/auto-merge.yml @@ -16,9 +16,8 @@ configuration: label: ':octocat: auto-merge' - targetsBranch: branch: main - - or: - - isActivitySender: - user: dotnet-policy-service[bot] + - isActivitySender: + user: dotnet-policy-service[bot] then: - enableAutoMerge: mergeMethod: Squash From 8cd454b3df86a67cdc23c4360c121f7de845a9f5 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 1 Nov 2024 09:42:58 -0700 Subject: [PATCH 3/7] Update package index with latest published versions (#43279) --- docs/azure/includes/dotnet-all.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/azure/includes/dotnet-all.md b/docs/azure/includes/dotnet-all.md index 6fc556f2e0cf9..1ff9aaebc15a6 100644 --- a/docs/azure/includes/dotnet-all.md +++ b/docs/azure/includes/dotnet-all.md @@ -354,7 +354,7 @@ | App Configuration Extension | NuGet [8.0.0](https://www.nuget.org/packages/Microsoft.Azure.AppConfiguration.Functions.Worker/8.0.0)
NuGet [8.1.0-preview](https://www.nuget.org/packages/Microsoft.Azure.AppConfiguration.Functions.Worker/8.1.0-preview) | | | | App Configuration Provider | NuGet [8.0.0](https://www.nuget.org/packages/Microsoft.Azure.AppConfiguration.AspNetCore/8.0.0)
NuGet [8.1.0-preview](https://www.nuget.org/packages/Microsoft.Azure.AppConfiguration.AspNetCore/8.1.0-preview) | | | | Azure.Communication.Administration | NuGet [1.0.0-beta.3](https://www.nuget.org/packages/Azure.Communication.Administration/1.0.0-beta.3) | | | -| Communication Calling Windows Client | NuGet [1.9.0](https://www.nuget.org/packages/Azure.Communication.Calling.WindowsClient/1.9.0)
NuGet [1.10.0-beta.1](https://www.nuget.org/packages/Azure.Communication.Calling.WindowsClient/1.10.0-beta.1) | | | +| Communication Calling Windows Client | NuGet [1.9.0](https://www.nuget.org/packages/Azure.Communication.Calling.WindowsClient/1.9.0)
NuGet [1.10.0-beta.2](https://www.nuget.org/packages/Azure.Communication.Calling.WindowsClient/1.10.0-beta.2) | | | | DotNetty | NuGet [0.7.6](https://www.nuget.org/packages/DotNetty.Common/0.7.6) | | | | HTTP ASPNETCore Analyzers | NuGet [1.0.3](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore.Analyzers/1.0.3) | | | | Item Templates NetCore | NuGet [4.0.5049](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.ItemTemplates.NetCore/4.0.5049) | | | From c660492ecedb5dd55fc29c9c0b2d2408554e9479 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 1 Nov 2024 11:18:13 -0700 Subject: [PATCH 4/7] Update package index with latest published versions (#43283) --- docs/azure/includes/dotnet-all.md | 2 +- docs/azure/includes/dotnet-new.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/azure/includes/dotnet-all.md b/docs/azure/includes/dotnet-all.md index 1ff9aaebc15a6..8759350e0f762 100644 --- a/docs/azure/includes/dotnet-all.md +++ b/docs/azure/includes/dotnet-all.md @@ -198,7 +198,7 @@ | Resource Management - Container Service Fleet | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.ContainerServiceFleet/1.0.0)
NuGet [1.1.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.ContainerServiceFleet/1.1.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.ContainerServiceFleet-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerServiceFleet_1.0.0/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/)
GitHub [1.1.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerServiceFleet_1.1.0-beta.1/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/) | | Resource Management - Containerorchestratorruntime | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.ContainerOrchestratorRuntime/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.ContainerOrchestratorRuntime-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerOrchestratorRuntime_1.0.0-beta.1/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/) | | Resource Management - Content Delivery Network | NuGet [1.3.0](https://www.nuget.org/packages/Azure.ResourceManager.Cdn/1.3.0) | [docs](/dotnet/api/overview/azure/ResourceManager.Cdn-readme) | GitHub [1.3.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Cdn_1.3.0/sdk/cdn/Azure.ResourceManager.Cdn/) | -| Resource Management - Cosmos DB | NuGet [1.3.2](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDB/1.3.2)
NuGet [1.4.0-beta.10](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDB/1.4.0-beta.10) | [docs](/dotnet/api/overview/azure/ResourceManager.CosmosDB-readme) | GitHub [1.3.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDB_1.3.2/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/)
GitHub [1.4.0-beta.10](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDB_1.4.0-beta.10/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/) | +| Resource Management - Cosmos DB | NuGet [1.3.2](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDB/1.3.2)
NuGet [1.4.0-beta.11](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDB/1.4.0-beta.11) | [docs](/dotnet/api/overview/azure/ResourceManager.CosmosDB-readme) | GitHub [1.3.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDB_1.3.2/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/)
GitHub [1.4.0-beta.11](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDB_1.4.0-beta.11/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/) | | Resource Management - Cosmos DB for PostgreSQL | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDBForPostgreSql/1.0.0)
NuGet [1.1.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDBForPostgreSql/1.1.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.CosmosDBForPostgreSql-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDBForPostgreSql_1.0.0/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/)
GitHub [1.1.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDBForPostgreSql_1.1.0-beta.1/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/) | | Resource Management - Costmanagement | NuGet [1.0.1](https://www.nuget.org/packages/Azure.ResourceManager.CostManagement/1.0.1) | [docs](/dotnet/api/overview/azure/ResourceManager.CostManagement-readme) | GitHub [1.0.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CostManagement_1.0.1/sdk/costmanagement/Azure.ResourceManager.CostManagement/) | | Resource Management - Customer Insights | NuGet [1.0.0-beta.4](https://www.nuget.org/packages/Azure.ResourceManager.CustomerInsights/1.0.0-beta.4) | [docs](/dotnet/api/overview/azure/ResourceManager.CustomerInsights-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.4](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CustomerInsights_1.0.0-beta.4/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/) | diff --git a/docs/azure/includes/dotnet-new.md b/docs/azure/includes/dotnet-new.md index 195f3f7ff0ca5..59bb742cfeb57 100644 --- a/docs/azure/includes/dotnet-new.md +++ b/docs/azure/includes/dotnet-new.md @@ -204,7 +204,7 @@ | Resource Management - Container Service Fleet | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.ContainerServiceFleet/1.0.0)
NuGet [1.1.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.ContainerServiceFleet/1.1.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.ContainerServiceFleet-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerServiceFleet_1.0.0/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/)
GitHub [1.1.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerServiceFleet_1.1.0-beta.1/sdk/fleet/Azure.ResourceManager.ContainerServiceFleet/) | | Resource Management - Containerorchestratorruntime | NuGet [1.0.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.ContainerOrchestratorRuntime/1.0.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.ContainerOrchestratorRuntime-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.ContainerOrchestratorRuntime_1.0.0-beta.1/sdk/containerorchestratorruntime/Azure.ResourceManager.ContainerOrchestratorRuntime/) | | Resource Management - Content Delivery Network | NuGet [1.3.0](https://www.nuget.org/packages/Azure.ResourceManager.Cdn/1.3.0) | [docs](/dotnet/api/overview/azure/ResourceManager.Cdn-readme) | GitHub [1.3.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.Cdn_1.3.0/sdk/cdn/Azure.ResourceManager.Cdn/) | -| Resource Management - Cosmos DB | NuGet [1.3.2](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDB/1.3.2)
NuGet [1.4.0-beta.10](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDB/1.4.0-beta.10) | [docs](/dotnet/api/overview/azure/ResourceManager.CosmosDB-readme) | GitHub [1.3.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDB_1.3.2/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/)
GitHub [1.4.0-beta.10](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDB_1.4.0-beta.10/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/) | +| Resource Management - Cosmos DB | NuGet [1.3.2](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDB/1.3.2)
NuGet [1.4.0-beta.11](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDB/1.4.0-beta.11) | [docs](/dotnet/api/overview/azure/ResourceManager.CosmosDB-readme) | GitHub [1.3.2](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDB_1.3.2/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/)
GitHub [1.4.0-beta.11](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDB_1.4.0-beta.11/sdk/cosmosdb/Azure.ResourceManager.CosmosDB/) | | Resource Management - Cosmos DB for PostgreSQL | NuGet [1.0.0](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDBForPostgreSql/1.0.0)
NuGet [1.1.0-beta.1](https://www.nuget.org/packages/Azure.ResourceManager.CosmosDBForPostgreSql/1.1.0-beta.1) | [docs](/dotnet/api/overview/azure/ResourceManager.CosmosDBForPostgreSql-readme) | GitHub [1.0.0](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDBForPostgreSql_1.0.0/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/)
GitHub [1.1.0-beta.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CosmosDBForPostgreSql_1.1.0-beta.1/sdk/cosmosdbforpostgresql/Azure.ResourceManager.CosmosDBForPostgreSql/) | | Resource Management - Costmanagement | NuGet [1.0.1](https://www.nuget.org/packages/Azure.ResourceManager.CostManagement/1.0.1) | [docs](/dotnet/api/overview/azure/ResourceManager.CostManagement-readme) | GitHub [1.0.1](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CostManagement_1.0.1/sdk/costmanagement/Azure.ResourceManager.CostManagement/) | | Resource Management - Customer Insights | NuGet [1.0.0-beta.4](https://www.nuget.org/packages/Azure.ResourceManager.CustomerInsights/1.0.0-beta.4) | [docs](/dotnet/api/overview/azure/ResourceManager.CustomerInsights-readme?view=azure-dotnet-preview&preserve-view=true) | GitHub [1.0.0-beta.4](https://github.com/Azure/azure-sdk-for-net/tree/Azure.ResourceManager.CustomerInsights_1.0.0-beta.4/sdk/customer-insights/Azure.ResourceManager.CustomerInsights/) | From 5000c1a10b784634df648136faf0e005acd451c3 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Fri, 1 Nov 2024 11:31:36 -0700 Subject: [PATCH 5/7] Update SHA (#43280) --- ...icles.yml => cleanrepo-orphaned-articles.yml} | 16 ++++++++-------- ...-images.yml => cleanrepo-orphaned-images.yml} | 16 ++++++++-------- ...ludes.yml => cleanrepo-orphaned-includes.yml} | 16 ++++++++-------- ...ppets.yml => cleanrepo-orphaned-snippets.yml} | 16 ++++++++-------- ...rect-hops.yml => cleanrepo-redirect-hops.yml} | 16 ++++++++-------- ...ve-links.yml => cleanrepo-relative-links.yml} | 16 ++++++++-------- ...rects.yml => cleanrepo-replace-redirects.yml} | 16 ++++++++-------- .openpublishing.redirection.fsharp.json | 2 +- 8 files changed, 57 insertions(+), 57 deletions(-) rename .github/workflows/{orphaned-articles.yml => cleanrepo-orphaned-articles.yml} (72%) rename .github/workflows/{orphaned-images.yml => cleanrepo-orphaned-images.yml} (72%) rename .github/workflows/{orphaned-includes.yml => cleanrepo-orphaned-includes.yml} (73%) rename .github/workflows/{orphaned-snippets.yml => cleanrepo-orphaned-snippets.yml} (72%) rename .github/workflows/{redirect-hops.yml => cleanrepo-redirect-hops.yml} (74%) rename .github/workflows/{relative-links.yml => cleanrepo-relative-links.yml} (73%) rename .github/workflows/{replace-redirects.yml => cleanrepo-replace-redirects.yml} (73%) diff --git a/.github/workflows/orphaned-articles.yml b/.github/workflows/cleanrepo-orphaned-articles.yml similarity index 72% rename from .github/workflows/orphaned-articles.yml rename to .github/workflows/cleanrepo-orphaned-articles.yml index ed1cb26e36cc3..96ed7eaac15f0 100644 --- a/.github/workflows/orphaned-articles.yml +++ b/.github/workflows/cleanrepo-orphaned-articles.yml @@ -26,18 +26,18 @@ jobs: # Call clean repo - name: Clean repo id: clean-repo-step - uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + uses: dotnet/docs-tools/cleanrepo@b1ebc174a5bbd18e6904a12069a8fae2c5cc3b6f with: - function: 'FindOrphanedArticles' - docfx_directory: '.' - target_directory: 'docs' - url_base_path: '/dotnet' - + function: "FindOrphanedArticles" + docfx_directory: "." + target_directory: "docs" + url_base_path: "/dotnet" + # Create the PR for the work done by the "clean repo" tool - name: create-pull-request uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f with: - branch: create-cleanrepo-pull-request/patch + branch: cleanrepo-orphaned-articles title: "Monthly chores: Delete orphaned articles" - commit-message: 'Bot 🤖 generated CleanRepo tool run' + commit-message: "Bot 🤖 generated CleanRepo tool run" body: "Find and delete orphaned articles. Contributes to #..." diff --git a/.github/workflows/orphaned-images.yml b/.github/workflows/cleanrepo-orphaned-images.yml similarity index 72% rename from .github/workflows/orphaned-images.yml rename to .github/workflows/cleanrepo-orphaned-images.yml index 59353755b9db5..b5c4a60c379e2 100644 --- a/.github/workflows/orphaned-images.yml +++ b/.github/workflows/cleanrepo-orphaned-images.yml @@ -26,18 +26,18 @@ jobs: # Call clean repo - name: Clean repo id: clean-repo-step - uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + uses: dotnet/docs-tools/cleanrepo@b1ebc174a5bbd18e6904a12069a8fae2c5cc3b6f with: - function: 'FindOrphanedImages' - docfx_directory: '.' - target_directory: 'docs' - url_base_path: '/dotnet' - + function: "FindOrphanedImages" + docfx_directory: "." + target_directory: "docs" + url_base_path: "/dotnet" + # Create the PR for the work done by the "clean repo" tool - name: create-pull-request uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f with: - branch: create-cleanrepo-pull-request/patch + branch: cleanrepo-orphaned-images title: "Monthly chores: Delete orphaned images" - commit-message: 'Bot 🤖 generated CleanRepo tool run' + commit-message: "Bot 🤖 generated CleanRepo tool run" body: "Find and delete orphaned images. Contributes to #..." diff --git a/.github/workflows/orphaned-includes.yml b/.github/workflows/cleanrepo-orphaned-includes.yml similarity index 73% rename from .github/workflows/orphaned-includes.yml rename to .github/workflows/cleanrepo-orphaned-includes.yml index 16b066f7a79ff..b075446464f5c 100644 --- a/.github/workflows/orphaned-includes.yml +++ b/.github/workflows/cleanrepo-orphaned-includes.yml @@ -26,18 +26,18 @@ jobs: # Call clean repo - name: Clean repo id: clean-repo-step - uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + uses: dotnet/docs-tools/cleanrepo@b1ebc174a5bbd18e6904a12069a8fae2c5cc3b6f with: - function: 'FindOrphanedIncludes' - docfx_directory: '.' - target_directory: '.' - url_base_path: '/dotnet' - + function: "FindOrphanedIncludes" + docfx_directory: "." + target_directory: "." + url_base_path: "/dotnet" + # Create the PR for the work done by the "clean repo" tool - name: create-pull-request uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f with: - branch: create-cleanrepo-pull-request/patch + branch: cleanrepo-orphaned-includes title: "Monthly chores: Delete orphaned include files" - commit-message: 'Bot 🤖 generated CleanRepo tool run' + commit-message: "Bot 🤖 generated CleanRepo tool run" body: "Find and delete orphaned include files. Contributes to #..." diff --git a/.github/workflows/orphaned-snippets.yml b/.github/workflows/cleanrepo-orphaned-snippets.yml similarity index 72% rename from .github/workflows/orphaned-snippets.yml rename to .github/workflows/cleanrepo-orphaned-snippets.yml index c80b83ce94812..38ef8eb314524 100644 --- a/.github/workflows/orphaned-snippets.yml +++ b/.github/workflows/cleanrepo-orphaned-snippets.yml @@ -26,18 +26,18 @@ jobs: # Call clean repo - name: Clean repo id: clean-repo-step - uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + uses: dotnet/docs-tools/cleanrepo@b1ebc174a5bbd18e6904a12069a8fae2c5cc3b6f with: - function: 'FindOrphanedSnippets' - docfx_directory: '.' - target_directory: 'docs' - url_base_path: '/dotnet' - + function: "FindOrphanedSnippets" + docfx_directory: "." + target_directory: "docs" + url_base_path: "/dotnet" + # Create the PR for the work done by the "clean repo" tool - name: create-pull-request uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f with: - branch: create-cleanrepo-pull-request/patch + branch: cleanrepo-orphaned-snippets title: "Monthly chores: Delete orphaned snippets" - commit-message: 'Bot 🤖 generated CleanRepo tool run' + commit-message: "Bot 🤖 generated CleanRepo tool run" body: "Find and delete orphaned snippets. Contributes to #..." diff --git a/.github/workflows/redirect-hops.yml b/.github/workflows/cleanrepo-redirect-hops.yml similarity index 74% rename from .github/workflows/redirect-hops.yml rename to .github/workflows/cleanrepo-redirect-hops.yml index aee7211af46ed..494489de9ca61 100644 --- a/.github/workflows/redirect-hops.yml +++ b/.github/workflows/cleanrepo-redirect-hops.yml @@ -26,18 +26,18 @@ jobs: # Call clean repo - name: Clean repo id: clean-repo-step - uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + uses: dotnet/docs-tools/cleanrepo@b1ebc174a5bbd18e6904a12069a8fae2c5cc3b6f with: - function: 'RemoveRedirectHops' - docfx_directory: '.' - target_directory: 'docs' - url_base_path: '/dotnet' - + function: "RemoveRedirectHops" + docfx_directory: "." + target_directory: "docs" + url_base_path: "/dotnet" + # Create the PR for the work done by the "clean repo" tool - name: create-pull-request uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f with: - branch: create-cleanrepo-pull-request/patch + branch: cleanrepo-remove-hops title: "Monthly chores: Remove redirect hops" - commit-message: 'Bot 🤖 generated CleanRepo tool run' + commit-message: "Bot 🤖 generated CleanRepo tool run" body: "Remove redirect hops, for example, if a -> b and b -> c, replace a -> b with a -> c. Contributes to #..." diff --git a/.github/workflows/relative-links.yml b/.github/workflows/cleanrepo-relative-links.yml similarity index 73% rename from .github/workflows/relative-links.yml rename to .github/workflows/cleanrepo-relative-links.yml index 4d5c4905a057d..745853fc749f3 100644 --- a/.github/workflows/relative-links.yml +++ b/.github/workflows/cleanrepo-relative-links.yml @@ -26,18 +26,18 @@ jobs: # Call clean repo - name: Clean repo id: clean-repo-step - uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + uses: dotnet/docs-tools/cleanrepo@b1ebc174a5bbd18e6904a12069a8fae2c5cc3b6f with: - function: 'ReplaceWithRelativeLinks' - docfx_directory: '.' - target_directory: 'docs' - url_base_path: '/dotnet' - + function: "ReplaceWithRelativeLinks" + docfx_directory: "." + target_directory: "docs" + url_base_path: "/dotnet" + # Create the PR for the work done by the "clean repo" tool - name: create-pull-request uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f with: - branch: create-cleanrepo-pull-request/patch + branch: cleanrepo-relative-links title: "Monthly chores: Use relative links" - commit-message: 'Bot 🤖 generated CleanRepo tool run' + commit-message: "Bot 🤖 generated CleanRepo tool run" body: "Find and replace absolute links with relative links. Contributes to #..." diff --git a/.github/workflows/replace-redirects.yml b/.github/workflows/cleanrepo-replace-redirects.yml similarity index 73% rename from .github/workflows/replace-redirects.yml rename to .github/workflows/cleanrepo-replace-redirects.yml index 4825b3d85beca..44b9b74e9abd6 100644 --- a/.github/workflows/replace-redirects.yml +++ b/.github/workflows/cleanrepo-replace-redirects.yml @@ -26,18 +26,18 @@ jobs: # Call clean repo - name: Clean repo id: clean-repo-step - uses: dotnet/docs-tools/cleanrepo@1c13adc87741beab84bb6e286d17b3b95ce687d8 + uses: dotnet/docs-tools/cleanrepo@b1ebc174a5bbd18e6904a12069a8fae2c5cc3b6f with: - function: 'ReplaceRedirectTargets' - docfx_directory: '.' - target_directory: 'docs' - url_base_path: '/dotnet' - + function: "ReplaceRedirectTargets" + docfx_directory: "." + target_directory: "docs" + url_base_path: "/dotnet" + # Create the PR for the work done by the "clean repo" tool - name: create-pull-request uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f with: - branch: create-cleanrepo-pull-request/patch + branch: cleanrepo-replace-redirects title: "Monthly chores: Replace redirect targets" - commit-message: 'Bot 🤖 generated CleanRepo tool run' + commit-message: "Bot 🤖 generated CleanRepo tool run" body: "Replace redirected links with target URL. Contributes to #..." diff --git a/.openpublishing.redirection.fsharp.json b/.openpublishing.redirection.fsharp.json index fbb09f5d5e684..ab1954fd6cfe6 100644 --- a/.openpublishing.redirection.fsharp.json +++ b/.openpublishing.redirection.fsharp.json @@ -76,7 +76,7 @@ }, { "source_path_from_root": "/docs/fsharp/tutorials/getting-started/getting-started-visual-studio-for-mac.md", - "redirect_url": "/dotnet/fsharp/get-started/get-started-vscode", + "redirect_url": "/dotnet/fsharp/get-started/get-started-vscode" }, { "source_path_from_root": "/docs/fsharp/tutorials/getting-started/getting-started-visual-studio.md", From 02ec6b946ffb05e0a31d34377ce6b09d7c00c427 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 17:24:50 -0400 Subject: [PATCH 6/7] What's new article (#43271) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Bot 🤖 generated "What's new article" * Apply suggestions from code review Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com> --------- Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com> Co-authored-by: Bill Wagner Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com> --- docs/whats-new/dotnet-docs-mod1.md | 140 +++++++++++++++-------------- docs/whats-new/index.yml | 6 +- docs/whats-new/toc.yml | 4 +- 3 files changed, 80 insertions(+), 70 deletions(-) diff --git a/docs/whats-new/dotnet-docs-mod1.md b/docs/whats-new/dotnet-docs-mod1.md index 1ba973bc3255d..9aa05785b14e3 100644 --- a/docs/whats-new/dotnet-docs-mod1.md +++ b/docs/whats-new/dotnet-docs-mod1.md @@ -1,98 +1,108 @@ --- -title: ".NET docs: What's new for July 2024" -description: "What's new in the .NET docs for July 2024." -ms.custom: July-2024 -ms.date: 08/01/2024 +title: ".NET docs: What's new for October 2024" +description: "What's new in the .NET docs for October 2024." +ms.custom: October-2024 +ms.date: 11/01/2024 --- -# .NET docs: What's new for July 2024 +# .NET docs: What's new for October 2024 -Welcome to what's new in the .NET docs for July 2024. This article lists some of the major changes to docs during this period. +Welcome to what's new in the .NET docs for October 2024. This article lists some of the major changes to docs during this period. ## .NET breaking changes ### New articles -- [`installer` repo version no longer included in `productcommits` files](../core/compatibility/sdk/9.0/productcommits-versions.md) -- [Altered UnsafeAccessor support for closed generics](../core/compatibility/core-libraries/9.0/unsafeaccessor-generics.md) -- [Default `Equals()` and `GetHashCode()` throw for types marked with `InlineArrayAttribute`](../core/compatibility/core-libraries/9.0/inlinearrayattribute.md) -- [PictureBox raises HttpClient exceptions](../core/compatibility/windows-forms/9.0/httpclient-exceptions.md) -- [Setting DebugSymbols to false disables PDB generation](../core/compatibility/sdk/8.0/debugsymbols.md) -- [Support for empty environment variables](../core/compatibility/core-libraries/9.0/empty-env-variable.md) -- [Warning emitted for .NET Standard 1.x targets](../core/compatibility/sdk/9.0/netstandard-warning.md) +- [BinaryReader.GetString() returns \uFFFD on malformed sequences](../core/compatibility/core-libraries/9.0/binaryreader.md) +- [CET supported by default](../core/compatibility/interop/9.0/cet-support.md) +- [EnumConverter validates registered types to be enum](../core/compatibility/core-libraries/9.0/enumconverter.md) +- [New security analyzers](../core/compatibility/windows-forms/9.0/security-analyzers.md) +- [New TimeSpan.From*() overloads that take integers](../core/compatibility/core-libraries/9.0/timespan-from-overloads.md) +- [Some SVE APIs removed](../core/compatibility/jit/9.0/sve-apis.md) +- [User info in `mailto:` URIs is compared](../core/compatibility/networking/8.0/uri-comparison.md) +- [Windows private key lifetime simplified](../core/compatibility/cryptography/9.0/private-key-lifetime.md) ## .NET fundamentals ### New articles -- [BC0101](../core/tools/buildcheck-rules/bc0101.md) -- [BC0102](../core/tools/buildcheck-rules/bc0102.md) -- [BuildCheck rule list](../core/tools/buildcheck-rules/index.md) -- [Get started with MSTest](../core/testing/unit-testing-mstest-getting-started.md) -- [Microsoft.Testing.Platform FAQ](../core/testing/unit-testing-platform-faq.md) -- [MSTest assertions](../core/testing/unit-testing-mstest-writing-tests-assertions.md) -- [MSTest attributes](../core/testing/unit-testing-mstest-writing-tests-attributes.md) -- [MSTEST0030: Type containing `[TestMethod]` should be marked with `[TestClass]`](../core/testing/mstest-analyzers/mstest0030.md) -- [MSTEST0031: `System.ComponentModel.DescriptionAttribute` has no effect on test methods.](../core/testing/mstest-analyzers/mstest0031.md) -- [MSTEST0032: Review or remove the assertion as its condition is known to be always true.](../core/testing/mstest-analyzers/mstest0032.md) -- [Run tests with MSTest](../core/testing/unit-testing-mstest-running-tests.md) -- [Understand dependency injection basics in .NET](../core/extensions/dependency-injection-basics.md) -- [Write tests with MSTest](../core/testing/unit-testing-mstest-writing-tests.md) +- [Analyze projects with .NET Upgrade Assistant](../core/porting/upgrade-assistant-how-to-analyze.md) +- [CA2022: Avoid inexact read with Stream.Read](../fundamentals/code-analysis/quality-rules/ca2022.md) +- [CA2265: Do not compare `Span` to `null` or `default`](../fundamentals/code-analysis/quality-rules/ca2265.md) +- [Configuration source generator](../core/extensions/configuration-generator.md) +- [Experimental features in .NET 9+](../fundamentals/syslib-diagnostics/experimental-overview.md) +- [Intrinsic APIs marked RequiresUnreferencedCode](../core/deploying/trimming/intrinsic-requiresunreferencedcode-apis.md) +- [Microsoft.Testing.Platform architecture](../core/testing/unit-testing-platform-architecture.md) +- [Microsoft.Testing.Platform capabilities](../core/testing/unit-testing-platform-architecture-capabilities.md) +- [Microsoft.Testing.Platform extensibility](../core/testing/unit-testing-platform-architecture-extensions.md) +- [Microsoft.Testing.Platform Services](../core/testing/unit-testing-platform-architecture-services.md) +- [Native interoperability ABI support](../standard/native-interop/abi-support.md) +- [Respect nullable annotations](../standard/serialization/system-text-json/nullable-annotations.md) +- [SYSLIB1230: Deriving from a `GeneratedComInterface`-attributed interface defined in another assembly is not supported](../fundamentals/syslib-diagnostics/syslib1230.md) +- [Upgrade projects with .NET Upgrade Assistant](../core/porting/upgrade-assistant-how-to-upgrade.md) +- [What is code analysis with .NET Upgrade Assistant?](../core/porting/upgrade-assistant-analyze-overview.md) +- [Extract schema](../standard/serialization/system-text-json/extract-schema.md) ### Updated articles -- [What's new in .NET libraries for .NET 9](../core/whats-new/dotnet-9/libraries.md) - What's new for .NET 9 Preview 6 -- [What's new in the .NET 9 runtime](../core/whats-new/dotnet-9/runtime.md) - What's new for .NET 9 Preview 6 - -## C# language - -### New articles - -- [Errors and warnings associated with `ref struct` types](../csharp/language-reference/compiler-messages/ref-struct-errors.md) -- [Errors and warnings related to the `yield return` statement and iterator methods](../csharp/language-reference/compiler-messages/iterator-yield.md) - -## AI in .NET - -### New articles - -- [Azure AI services authentication and authorization using .NET](../ai/azure-ai-services-authentication.md) -- [Build an AI chat app with .NET](../ai/quickstarts/get-started-openai.md) - -### Updated articles - -- [Extend OpenAI using Tools and execute a local Function with .NET](../ai/quickstarts/quickstart-azure-openai-tool.md) - Updating AI quickstarts to reflect new sample separation of OpenAI and Azure OpenAI -- [Generate images using AI with .NET](../ai/quickstarts/quickstart-openai-generate-images.md) - Updating AI quickstarts to reflect new sample separation of OpenAI and Azure OpenAI -- [Get insight about your data from a .NET AI chat app](../ai/quickstarts/quickstart-ai-chat-with-data.md) - Updating AI quickstarts to reflect new sample separation of OpenAI and Azure OpenAI -- [Summarize text using AI chat app with .NET](../ai/quickstarts/quickstart-openai-summarize-text.md) - Updating AI quickstarts to reflect new sample separation of OpenAI and Azure OpenAI +- [HttpWebRequest to HttpClient migration guide](../fundamentals/networking/http/httpclient-migrate-from-httpwebrequest.md) - Fix build suggestions +- [Install .NET on macOS](../core/install/macos.md) - Rewrite install on macOS article ## Azure SDK for .NET ### New articles -- [Azure SDK for .NET protocol and convenience methods overview](../azure/sdk/protocol-convenience-methods.md) +- [Use Copilot Conversational Assessment with the Azure Migrate application and code assessment tool.](../azure/migration/appcat/visual-studio-copilot.md) ## .NET Framework ### New articles -- [July 2024 security and quality rollup](../framework/release-notes/2024/07-09-july-security-and-quality-rollup.md) -- [June 2024 cumulative update preview](../framework/release-notes/2024/06-25-june-preview-cumulative-update.md) +- [February 2024 security and quality rollup](../framework/release-notes/2024/02-14-february-security-and-quality-rollup.md) +- [January 2024 cumulative update preview](../framework/release-notes/2024/01-23-january-preview-cumulative-update.md) +- [January 2024 security and quality rollup](../framework/release-notes/2024/01-09-january-security-and-quality-rollup.md) +- [March 2024 cumulative update preview](../framework/release-notes/2024/03-26-march-preview-cumulative-update.md) +- [October 2024 cumulative update preview](../framework/release-notes/2024/10-22-october-preview-cumulative-update.md) +- [October 2024 security and quality rollup](../framework/release-notes/2024/10-08-october-security-and-quality-rollup.md) ## Community contributors The following people contributed to the .NET docs during this period. Thank you! Learn how to contribute by following the links under "Get involved" in the [what's new landing page](index.yml). -- [samwherever](https://github.com/samwherever) - Sam Allen ![10 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-10-green) -- [azarboon](https://github.com/azarboon) - Mahdi Azarboon ![2 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-2-green) +- [shethaadit](https://github.com/shethaadit) - Adit Sheth ![3 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-3-green) - [BartoszKlonowski](https://github.com/BartoszKlonowski) - Bartosz Klonowski ![2 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-2-green) -- [sammychinedu2ky](https://github.com/sammychinedu2ky) - Samson Amaugo ![2 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-2-green) -- [bigboybamo](https://github.com/bigboybamo) - Olabamiji Oyetubo ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) -- [jnyrup](https://github.com/jnyrup) - Jonas Nyrup ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) -- [joprice](https://github.com/joprice) - Joseph Price ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) -- [KisaragiEffective](https://github.com/KisaragiEffective) - Kisaragi ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) -- [krishchvn](https://github.com/krishchvn) - Krishnakumar Chavan ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) -- [m-rinaldi](https://github.com/m-rinaldi) - J. Rinaldi ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) -- [SteveDunn](https://github.com/SteveDunn) - Steve Dunn ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) -- [tmds](https://github.com/tmds) - Tom Deseyn ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) -- [vernou](https://github.com/vernou) - VERNOU Cédric ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) -- [victoravt](https://github.com/victoravt) - Victor ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [bigboybamo](https://github.com/bigboybamo) - Olabamiji Oyetubo ![2 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-2-green) +- [juner](https://github.com/juner) - juner ![2 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-2-green) +- [Marusyk](https://github.com/Marusyk) - Roman Marusyk ![2 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-2-green) +- [timdeschryver](https://github.com/timdeschryver) - Tim Deschryver ![2 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-2-green) +- [aarijimam](https://github.com/aarijimam) - Nawab Aarij Imam ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [alexravenna](https://github.com/alexravenna) - Alex Ravenna ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [am11](https://github.com/am11) - Adeel Mujahid ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [ardalis](https://github.com/ardalis) - Steve Smith ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [azarboon](https://github.com/azarboon) - Mahdi Azarboon ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [batkaevruslan](https://github.com/batkaevruslan) - Ruslan Batkaev ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [BigT-88](https://github.com/BigT-88) - ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [colejohnson66](https://github.com/colejohnson66) - Cole Tobin ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [fabrizziocht](https://github.com/fabrizziocht) - Fabrizzio Chavez ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [gbamqzkdyg](https://github.com/gbamqzkdyg) - Luca Ma ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [glen-84](https://github.com/glen-84) - Glen ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [hakenr](https://github.com/hakenr) - Robert Haken ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [HugoRoss](https://github.com/HugoRoss) - Christoph Hafner ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [ichensky](https://github.com/ichensky) - Ivan Chensky ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [janus-toendering](https://github.com/janus-toendering) - Janus Tøndering ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [jochenkirstaetter](https://github.com/jochenkirstaetter) - Jochen Kirstätter ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [jsedlak](https://github.com/jsedlak) - John Sedlak ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [magiudev](https://github.com/magiudev) - Miguel Angel Echeverri Quiroz ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [MarGraz](https://github.com/MarGraz) - ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [Navis304](https://github.com/Navis304) - Robert ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [omajid](https://github.com/omajid) - Omair Majid ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [PawelAdamczuk](https://github.com/PawelAdamczuk) - Paweł Adamczuk ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [pragnya17](https://github.com/pragnya17) - Pragnya ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [Rageking8](https://github.com/Rageking8) - ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [samwherever](https://github.com/samwherever) - Sam Allen ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [Swimburger](https://github.com/Swimburger) - Niels Swimberghe ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [vcrobe](https://github.com/vcrobe) - ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [WeihanLi](https://github.com/WeihanLi) - Weihan Li ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [xakep139](https://github.com/xakep139) - Nikita Balabaev ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [xtqqczze](https://github.com/xtqqczze) - ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) +- [Youssef1313](https://github.com/Youssef1313) - Youssef Victor ![1 pull requests.](https://img.shields.io/badge/Merged%20Pull%20Requests-1-green) diff --git a/docs/whats-new/index.yml b/docs/whats-new/index.yml index 87bf01b73c14e..5f73dfa553c55 100644 --- a/docs/whats-new/index.yml +++ b/docs/whats-new/index.yml @@ -5,7 +5,7 @@ summary: Welcome to what's new in .NET and .NET docs. Use this page to navigate metadata: title: .NET what's new? description: Learn about new .NET features and new and updated content in .NET docs. - ms.date: 10/01/2024 + ms.date: 11/01/2024 ms.topic: landing-page landingContent: - title: .NET 9 release updates @@ -40,12 +40,12 @@ landingContent: linkLists: - linkListType: whats-new links: + - text: October 2024 + url: dotnet-docs-mod1.md - text: September 2024 url: dotnet-docs-mod0.md - text: August 2024 url: dotnet-docs-mod2.md - - text: July 2024 - url: dotnet-docs-mod1.md - title: Language updates linkLists: - linkListType: whats-new diff --git a/docs/whats-new/toc.yml b/docs/whats-new/toc.yml index 905d3f67c81be..f72ca90461870 100644 --- a/docs/whats-new/toc.yml +++ b/docs/whats-new/toc.yml @@ -6,12 +6,12 @@ items: - name: Latest documentation updates expanded: true items: + - name: October 2024 + href: dotnet-docs-mod1.md - name: September 2024 href: dotnet-docs-mod0.md - name: August 2024 href: dotnet-docs-mod2.md - - name: July 2024 - href: dotnet-docs-mod1.md - name: Product updates items: - name: .NET 9 From 09bfdc7455aeb54dbff77dd7ecfbaa55a89cabee Mon Sep 17 00:00:00 2001 From: Noah Falk Date: Fri, 1 Nov 2024 15:26:10 -0700 Subject: [PATCH 7/7] Add System.Diagnostics.DiagnosticSource netstandard guidance (#43269) * Add System.Diagnostics.DiagnosticSource netstandard guidance --- .../distributed-tracing-instrumentation-walkthroughs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/core/diagnostics/distributed-tracing-instrumentation-walkthroughs.md b/docs/core/diagnostics/distributed-tracing-instrumentation-walkthroughs.md index 6351d5e1b3f3d..6a0f350db2407 100644 --- a/docs/core/diagnostics/distributed-tracing-instrumentation-walkthroughs.md +++ b/docs/core/diagnostics/distributed-tracing-instrumentation-walkthroughs.md @@ -29,7 +29,7 @@ dotnet new console Applications that target .NET 5 and later already have the necessary distributed tracing APIs included. For apps targeting older .NET versions, add the [System.Diagnostics.DiagnosticSource NuGet package](https://www.nuget.org/packages/System.Diagnostics.DiagnosticSource/) -version 5 or greater. +version 5 or greater. For libraries targeting netstandard, we recommend referencing the oldest version of the package which is still supported and contains the APIs your library needs. ```dotnetcli dotnet add package System.Diagnostics.DiagnosticSource