Skip to content

Update to .NET 9#833

Merged
martincostello merged 32 commits into
devfrom
dev-v9
Nov 12, 2024
Merged

Update to .NET 9#833
martincostello merged 32 commits into
devfrom
dev-v9

Conversation

@martincostello

@martincostello martincostello commented Feb 29, 2024

Copy link
Copy Markdown
Member

Update the providers to target net9.0 with the .NET 9 SDK.

Also includes the following changes:

  • Use xunit's TheoryData<T>.
  • Fix new code analysis warnings and suggestions.
  • Disable noisy new CA1515 warning.
  • Update Arcade for .NET 9.

This PR is intended to be long-lived and in draft until .NET 9 is released in November 2024.

- Update to preview 1 of ASP.NET Core 9.
- Use xunit's `TheoryData<T>`.
- Fix new code analysis warnings and suggestions.
- Disable noisy new CA1515 warning.
- Update various dependencies to their latest versions.
@martincostello martincostello added enhancement dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Feb 29, 2024
@martincostello martincostello added this to the 9.0.0 milestone Feb 29, 2024
aspnet-contrib-service-account Bot and others added 24 commits March 12, 2024 15:10
Update for preview.2.
Ensure that overrides of `BuildChallengeUrl()` that do not call the base implementation add the values from the new `AdditionalAuthorizationParameters` property.
See https://github.com/dotnet/aspnetcore/blob/ec293ee75c0c022370951a459b188fa81ec8b7c3/src/Security/Authentication/OAuth/src/OAuthHandler.cs#L331-L334.
* Update .NET SDK

Update .NET SDK to version 9.0.100-preview.3.24204.13.

---
updated-dependencies:
- dependency-name: Microsoft.NET.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: aspnet-contrib-service-account[bot] <161750942+aspnet-contrib-service-account[bot]@users.noreply.github.com>

* Bump .NET NuGet packages

Bumps .NET dependencies to their latest versions for the .NET 9.0.100-preview.3.24204.13 SDK.

Bumps Microsoft.AspNetCore.Authentication.Google from 9.0.0-preview.2.24128.4 to 9.0.0-preview.3.24172.13.
Bumps Microsoft.AspNetCore.Mvc.Testing from 9.0.0-preview.2.24128.4 to 9.0.0-preview.3.24172.13.
Bumps Microsoft.AspNetCore.TestHost from 9.0.0-preview.2.24128.4 to 9.0.0-preview.3.24172.13.

---
updated-dependencies:
- dependency-name: Microsoft.AspNetCore.Authentication.Google
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.AspNetCore.Mvc.Testing
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: Microsoft.AspNetCore.TestHost
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: aspnet-contrib-service-account[bot] <161750942+aspnet-contrib-service-account[bot]@users.noreply.github.com>

* Update prerelease iteration

Update to preview 3.

---------

Signed-off-by: aspnet-contrib-service-account[bot] <161750942+aspnet-contrib-service-account[bot]@users.noreply.github.com>
Co-authored-by: aspnet-contrib-service-account[bot] <161750942+aspnet-contrib-service-account[bot]@users.noreply.github.com>
Co-authored-by: Martin Costello <martin@martincostello.com>
Update to preview 4 of ASP.NET Core 9.
Update to preview 5 of ASP.NET Core 9.
Fix up package validation baselines.
Update Docusign baseline for .NET 9.
Update to preview 6 of ASP.NET Core 9.
Update to preview 7 of ASP.NET Core 9.
- Annual update of .NET Arcade for .NET 9.
- Fix new analysis warnings.
Update to release candidate 1 of ASP.NET Core 9.
Bump transient package reference to fix build.
Update to release candidate 2 of .NET 9.
@martincostello
martincostello marked this pull request as ready for review November 12, 2024 19:32
@martincostello
martincostello merged commit 59230a7 into dev Nov 12, 2024
@martincostello
martincostello deleted the dev-v9 branch November 12, 2024 19:32
intellitect-bot pushed a commit to IntelliTect/EssentialCSharp.Web that referenced this pull request Feb 6, 2026
Updated
[AspNet.Security.OAuth.GitHub](git://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers)
from 8.3.0 to 9.4.1.

<details>
<summary>Release notes</summary>

_Sourced from [AspNet.Security.OAuth.GitHub's
releases](git://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers/releases)._

## 9.4.1

## What's Changed

* Perf optimization for Bilibili provider by @​LeaFrock in
aspnet-contrib/AspNet.Security.OAuth.Providers#1071
* Bilibili refactor by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#1072
* Add CodeQL for GitHub Actions by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#1095
* Use NuGet Trusted Publishing by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#1110
* feat(Keycloak): add "family_name" mapping to ClaimTypes.Surname by
@​XB-RS in
aspnet-contrib/AspNet.Security.OAuth.Providers#1112

## New Contributors

* @​XB-RS made their first contribution in
aspnet-contrib/AspNet.Security.OAuth.Providers#1112

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@9.4.0...9.4.1


## 9.4.0

## What's Changed

* Add Bilibili provider by @​Loongle in
aspnet-contrib/AspNet.Security.OAuth.Providers#1044

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@9.3.0...9.4.0


## 9.3.0

## What's Changed

* Add Contentful provider by @​jerriep in
aspnet-contrib/AspNet.Security.OAuth.Providers#1063

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@9.2.0...9.3.0


## 9.2.0

## What's Changed

* Use `Convert.ToHexStringLower` by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#1048
* Add Linear provider by @​jerriep in
aspnet-contrib/AspNet.Security.OAuth.Providers#1045
* Add Miro provider by @​jerriep in
aspnet-contrib/AspNet.Security.OAuth.Providers#1046
* Add Webflow provider by @​jerriep in
aspnet-contrib/AspNet.Security.OAuth.Providers#1047

## New Contributors

* @​jerriep made their first contribution in
aspnet-contrib/AspNet.Security.OAuth.Providers#1045

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@9.1.0...9.2.0


## 9.1.0

## What's Changed

* Allow roll-forward for dotnet-validate by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#989
* Update bundle data in KOOK provider test by @​gehongyan in
aspnet-contrib/AspNet.Security.OAuth.Providers#1021
* Fix Alipay user_id upgrade open_id issue by @​Loongle in
aspnet-contrib/AspNet.Security.OAuth.Providers#1015
* Add GitCode Provider by @​gehongyan in
aspnet-contrib/AspNet.Security.OAuth.Providers#1020
* Enable package validation by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#1031
* Add Atlassian provider #​839 by @​smnsht in
aspnet-contrib/AspNet.Security.OAuth.Providers#1037

## New Contributors

* @​Loongle made their first contribution in
aspnet-contrib/AspNet.Security.OAuth.Providers#1015
* @​smnsht made their first contribution in
aspnet-contrib/AspNet.Security.OAuth.Providers#1037

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@9.0.0...9.1.0


## 9.0.0

## What's Changed

* Update to .NET 9 by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#833

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@8.3.0...9.0.0


Commits viewable in [compare
view](git://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers/compare/8.3.0...9.4.1).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=AspNet.Security.OAuth.GitHub&package-manager=nuget&previous-version=8.3.0&new-version=9.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
BenjaminMichaelis pushed a commit to IntelliTect/EssentialCSharp.Web that referenced this pull request Apr 25, 2026
Updated
[AspNet.Security.OAuth.GitHub](git://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers)
from 8.3.0 to 9.4.1.

<details>
<summary>Release notes</summary>

_Sourced from [AspNet.Security.OAuth.GitHub's
releases](git://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers/releases)._

## 9.4.1

## What's Changed

* Perf optimization for Bilibili provider by @​LeaFrock in
aspnet-contrib/AspNet.Security.OAuth.Providers#1071
* Bilibili refactor by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#1072
* Add CodeQL for GitHub Actions by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#1095
* Use NuGet Trusted Publishing by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#1110
* feat(Keycloak): add "family_name" mapping to ClaimTypes.Surname by
@​XB-RS in
aspnet-contrib/AspNet.Security.OAuth.Providers#1112

## New Contributors

* @​XB-RS made their first contribution in
aspnet-contrib/AspNet.Security.OAuth.Providers#1112

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@9.4.0...9.4.1


## 9.4.0

## What's Changed

* Add Bilibili provider by @​Loongle in
aspnet-contrib/AspNet.Security.OAuth.Providers#1044

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@9.3.0...9.4.0


## 9.3.0

## What's Changed

* Add Contentful provider by @​jerriep in
aspnet-contrib/AspNet.Security.OAuth.Providers#1063

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@9.2.0...9.3.0


## 9.2.0

## What's Changed

* Use `Convert.ToHexStringLower` by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#1048
* Add Linear provider by @​jerriep in
aspnet-contrib/AspNet.Security.OAuth.Providers#1045
* Add Miro provider by @​jerriep in
aspnet-contrib/AspNet.Security.OAuth.Providers#1046
* Add Webflow provider by @​jerriep in
aspnet-contrib/AspNet.Security.OAuth.Providers#1047

## New Contributors

* @​jerriep made their first contribution in
aspnet-contrib/AspNet.Security.OAuth.Providers#1045

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@9.1.0...9.2.0


## 9.1.0

## What's Changed

* Allow roll-forward for dotnet-validate by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#989
* Update bundle data in KOOK provider test by @​gehongyan in
aspnet-contrib/AspNet.Security.OAuth.Providers#1021
* Fix Alipay user_id upgrade open_id issue by @​Loongle in
aspnet-contrib/AspNet.Security.OAuth.Providers#1015
* Add GitCode Provider by @​gehongyan in
aspnet-contrib/AspNet.Security.OAuth.Providers#1020
* Enable package validation by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#1031
* Add Atlassian provider #​839 by @​smnsht in
aspnet-contrib/AspNet.Security.OAuth.Providers#1037

## New Contributors

* @​Loongle made their first contribution in
aspnet-contrib/AspNet.Security.OAuth.Providers#1015
* @​smnsht made their first contribution in
aspnet-contrib/AspNet.Security.OAuth.Providers#1037

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@9.0.0...9.1.0


## 9.0.0

## What's Changed

* Update to .NET 9 by @​martincostello in
aspnet-contrib/AspNet.Security.OAuth.Providers#833

**Full Changelog**:
aspnet-contrib/AspNet.Security.OAuth.Providers@8.3.0...9.0.0


Commits viewable in [compare
view](git://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers/compare/8.3.0...9.4.1).
</details>

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=AspNet.Security.OAuth.GitHub&package-manager=nuget&previous-version=8.3.0&new-version=9.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement .NET Pull requests that update .NET code

Development

Successfully merging this pull request may close these issues.

1 participant