Skip to content

Update dependencies - #59

Merged
viceroypenguin merged 1 commit into
mainfrom
dependencies
Jul 26, 2026
Merged

Update dependencies#59
viceroypenguin merged 1 commit into
mainfrom
dependencies

Conversation

@viceroypenguin

@viceroypenguin viceroypenguin commented Jul 26, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features

    • Added generated dependency-injection extensions for registering handlers and behaviors, including lifetime and tag options.
    • Generated service-registration output is now included consistently across supported .NET frameworks.
  • Bug Fixes

    • Improved source-generation compatibility for generic registration scenarios.
    • Updated generated output validation to reflect handler registration support.
  • Chores

    • Updated supported .NET tooling, reference assemblies, and package versions.
    • Adjusted analyzer settings to reduce unnecessary equality-comparer diagnostics.

@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 23645b91-5863-4d76-ab46-1a9ef66f738f

📥 Commits

Reviewing files that changed from the base of the PR and between 1fef124 and be3048e.

📒 Files selected for processing (26)
  • .editorconfig
  • .github/workflows/build.yml
  • .github/workflows/release.yml
  • Directory.Packages.props
  • src/Immediate.Injections.Analyzers/RegisterTypeAnalyzer.cs
  • src/Immediate.Injections.Generators/ImmediateInjectionsGenerator.Transform.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/AddServicesTests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/GeneratorTestHelper.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/ImmediateAssemblyIdentifierTests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterClass.ImplementedInterfaces.Generic.Tests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterClass.ImplementedInterfaces.Tests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterClass.None.Generic.Tests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterClass.None.Tests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterClass.Self.Generic.Tests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterClass.Self.Tests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterClass.SelfAndImplementedInterfaces.Generic.Tests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterClass.SelfAndImplementedInterfaces.Tests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterClass{TService,TImplementation}Tests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterClass{TService}.Generic.Tests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterClass{TService}Tests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/RegisterServicesTests.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/Snapshots/AddServicesTests.ValidAddServicesMethod_framework=net10.0#IH.ServiceCollectionExtensions.g.verified.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/Snapshots/AddServicesTests.ValidAddServicesMethod_framework=net11.0#IH.ServiceCollectionExtensions.g.verified.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/Snapshots/AddServicesTests.ValidAddServicesMethod_framework=net8.0#IH.ServiceCollectionExtensions.g.verified.cs
  • tests/Immediate.Injections.Tests/GeneratorTests/Snapshots/AddServicesTests.ValidAddServicesMethod_framework=net9.0#IH.ServiceCollectionExtensions.g.verified.cs
  • tests/Immediate.Injections.Tests/Utility.cs

📝 Walkthrough

Walkthrough

The change updates .NET workflow actions and package pins, adjusts generator pattern formatting, and refreshes generator tests and snapshots to account for the handlers service-collection extension output.

Changes

Generator maintenance

Layer / File(s) Summary
Tooling and package pins
.editorconfig, .github/workflows/*, Directory.Packages.props, tests/Immediate.Injections.Tests/Utility.cs
Disables diagnostic MA0002, upgrades .NET setup actions and package versions, and updates the .NET 11 reference assembly version.
Generator source adjustments
src/Immediate.Injections.Analyzers/RegisterTypeAnalyzer.cs, src/Immediate.Injections.Generators/ImmediateInjectionsGenerator.Transform.cs
Reformats an analyzer description and adds trailing commas to generator type-argument patterns without changing matching logic.
Generated output test updates
tests/Immediate.Injections.Tests/GeneratorTests/*, tests/Immediate.Injections.Tests/GeneratorTests/Snapshots/*, tests/Immediate.Injections.Tests/Utility.cs
Updates generated-file expectations, adds handlers generator snapshots for .NET 8–11, and ignores the additional common generated file.
Estimated code review effort: 3 (Moderate) ~20 minutes
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 1.77% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: dependency and toolchain updates across the repository.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependencies

Comment @coderabbitai help to get the list of available commands.

@viceroypenguin
viceroypenguin merged commit 30fe9cc into main Jul 26, 2026
3 checks passed
@viceroypenguin
viceroypenguin deleted the dependencies branch July 26, 2026 20:21
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