Skip to content

build(deps): pin Microsoft.CodeAnalysis to v5.0.0 to fix interception bug#83

Merged
ncipollina merged 1 commit intomainfrom
build/deps-pin-codeanalysis-5-0-0
Mar 23, 2026
Merged

build(deps): pin Microsoft.CodeAnalysis to v5.0.0 to fix interception bug#83
ncipollina merged 1 commit intomainfrom
build/deps-pin-codeanalysis-5-0-0

Conversation

@ncipollina
Copy link
Copy Markdown
Contributor

Summary

Downgrades Microsoft.CodeAnalysis.Common and Microsoft.CodeAnalysis.CSharp from 5.3.0 to 5.0.0 to work around a bug in the newer release that breaks source generator interception. The remaining dependency updates (AWSSDK.DynamoDBv2, Scriban) were already in the working tree and are included here. VersionPrefix is bumped to 1.0.6 to reflect this patch-level change.

Changes

  • Microsoft.CodeAnalysis.Common + Microsoft.CodeAnalysis.CSharp: 5.3.05.0.0 (pinned to avoid interception regression)
  • AWSSDK.DynamoDBv2: 4.0.154.0.17
  • Scriban: 6.6.07.0.0
  • VersionPrefix: 1.0.51.0.6

Validation

  • dotnet build passes with the pinned versions
  • Interception-dependent code generation is unaffected at 5.0.0

Release Notes

Patch release 1.0.6 — pins Microsoft.CodeAnalysis to 5.0.0 to restore correct source generator interception behaviour broken in 5.3.0.

Notes for Reviewers

The Microsoft.CodeAnalysis.Analyzers package remains at 5.3.0 as it is a build-time-only analyzer with no runtime impact and is unaffected by the interception bug. The pin on Common and CSharp should be revisited once a fixed upstream release is available.

Downgrades Microsoft.CodeAnalysis.Common and Microsoft.CodeAnalysis.CSharp
from 5.3.0 to 5.0.0 to work around a bug in the newer version that breaks
source generator interception. Also updates AWSSDK.DynamoDBv2 (4.0.15 →
4.0.17), Scriban (6.6.0 → 7.0.0), and bumps VersionPrefix to 1.0.6.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ncipollina ncipollina requested a review from j-d-ha March 23, 2026 14:53
Copy link
Copy Markdown
Collaborator

@j-d-ha j-d-ha left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@ncipollina ncipollina merged commit 6819c7b into main Mar 23, 2026
1 check passed
@ncipollina ncipollina deleted the build/deps-pin-codeanalysis-5-0-0 branch March 23, 2026 15:04
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.

2 participants