Skip to content

Conversation

@dcabib
Copy link
Contributor

@dcabib dcabib commented Sep 12, 2025

This PR deprecates .NET 6 support as requested in the original PR #987 feedback.

Changes Made

  • Remove .NET 6 from TargetFrameworks in all projects, targeting only .NET 8
  • Remove all #if NET6_0 conditional compilation blocks
  • Remove all #if NET8_0_OR_GREATER conditional compilation blocks
  • Delete .NET 6 specific utilities and components:
    • Kafka utilities (Avro, Json, Protobuf serializers)
    • Event Handler components (AppSync Events, Bedrock Agent Functions)
    • Batch Processing typed processors and related .NET 6 features
    • Logging buffering functionality
    • Metrics AspNetCore integration
    • Tracing subsegment functionality

Files Changed

  • 461 files changed with comprehensive .NET 6 removal
  • Updated Directory.Build.props from TargetFrameworks to TargetFramework (singular)
  • Removed conditional compilation throughout the codebase
  • Deleted entire feature sets that were .NET 6 specific

This is a clean recreation of the original PR #987 based on the updated develop branch, containing only .NET 6 deprecation changes without any unrelated modifications.

Closes #987

- Remove .NET 6 from TargetFrameworks in all projects
- Remove #if NET6_0 conditional compilation blocks
- Remove #if NET8_0_OR_GREATER conditional compilation blocks
- Delete .NET 6 specific utilities and components
@boring-cyborg boring-cyborg bot added documentation Improvements or additions to documentation github-actions Changes in GitHub workflows internal Maintenance changes labels Sep 12, 2025
@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots

See analysis details on SonarQube Cloud

@dcabib
Copy link
Contributor Author

dcabib commented Sep 12, 2025

Creating an even more minimal version with only the essential TargetFramework change.

@dcabib dcabib closed this Sep 12, 2025
@dcabib dcabib deleted the deprecate-dotnet6-clean branch September 12, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation github-actions Changes in GitHub workflows internal Maintenance changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants