Skip to content

Net 9 upgrade #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Mar 28, 2025
Merged

Net 9 upgrade #41

merged 6 commits into from
Mar 28, 2025

Conversation

Blind-Striker
Copy link
Contributor

@Blind-Striker Blind-Striker commented Mar 28, 2025

  • Framework Support Updates:

    • .NET 9 support added.
    • Deprecated support for .NET 6.
    • Continued support for .NET Standard 2.0 to maintain compatibility with older .NET versions.
  • Functional Tests Enhancements:

    • Removed tests for legacy LocalStack versions and versions v1.3.1 and v2.3.2.
      • Note: LocalStack.NET no longer guarantees compatibility with v1 and v2 series.
    • Added functional test support for LocalStack versions:
      • v3.7.1
      • v4.3.0
  • Package Updates:

    • AWSSDK.Core minimum version set to 3.7.402.
  • Testing Compatibility:

    • Successfully tested against LocalStack versions:
      • v3.7.1
      • v4.3.0

@Blind-Striker Blind-Striker requested a review from Copilot March 28, 2025 09:32
@Blind-Striker Blind-Striker self-assigned this Mar 28, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the project to include support for .NET 9 alongside .NET 8, while deprecating earlier framework support where applicable and updating build warnings.

  • Updated supported platform listings in README files for LocalStack.Client, LocalStack.Client.Extensions, and the root project.
  • Added pragma warning disable directives (CA1515) in several build-related files.
  • Updated CI workflows to install and test using .NET 8 and .NET 9.

Reviewed Changes

Copilot reviewed 35 out of 43 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tests/LocalStack.Client.Extensions.Tests/Extensions/ObjectExtensions.cs Added pragma warning disable for CA1515 to adjust accessibility.
src/LocalStack.Client/README.md Updated supported platforms to include .NET 8 and .NET 9.
src/LocalStack.Client.Extensions/README.md Updated supported platforms to include .NET 8 and .NET 9.
build/LocalStack.Build/Program.cs, Models/ProjMetadata.cs, BuildContext.cs Added pragma warning disable for CA1515.
README.md Updated supported platforms to include .NET 8 and .NET 9.
CHANGELOG.md Documented the changes for v1.6.0 including .NET 9 support and .NET 6 deprecation.
.github/workflows/publish-nuget.yml, build-windows.yml, build-ubuntu.yml, build-macos.yml Updated CI workflows to use .NET 8 and .NET 9 for installation and builds.
Files not reviewed (8)
  • Directory.Build.props: Language not supported
  • Directory.Packages.props: Language not supported
  • LICENSE: Language not supported
  • build/LocalStack.Build/LocalStack.Build.csproj: Language not supported
  • global.json: Language not supported
  • src/LocalStack.Client.Extensions/LocalStack.Client.Extensions.csproj: Language not supported
  • src/LocalStack.Client/LocalStack.Client.csproj: Language not supported
  • tests/LocalStack.Client.Extensions.Tests/LocalStack.Client.Extensions.Tests.csproj: Language not supported
Comments suppressed due to low confidence (2)

.github/workflows/publish-nuget.yml:40

  • Ensure that replacing .NET 6 with .NET 8 in the publish workflow is intentional and that all dependencies and configurations are aligned with this change.
      - name: Install .NET 8

.github/workflows/build-macos.yml:41

  • Double-check that updating the .NET installation from .NET 7 to .NET 9 in this workflow is expected and that any platform-specific concerns are addressed.
      - name: Install .NET 9

@Blind-Striker Blind-Striker merged commit 6f3dc2a into master Mar 28, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant