Skip to content

Move to Stunts 1.0.0-beta.6 with built-in compiled mocks - #1744

Merged
kzu merged 1 commit into
mainfrom
dev/compiled-proxy
Dec 1, 2026
Merged

kzu merged 1 commit into
mainfrom
dev/compiled-proxy

Conversation

@kzu

@kzu kzu commented Dec 1, 2026

Copy link
Copy Markdown
Member
  • Renames Moq.StaticProxy to Moq.CompiledProxy and migrates MockGenerator to IIncrementalGenerator. It is built into Moq (no package of its own) and on by default.
  • Moq.DynamicProxy is now a standalone package and the explicit opt-out of compile-time mocks, like Stunts.DynamicProxy. MOQ011 warns when compile-time mocks are unavailable and it is not installed.
  • Pins Stunts to 1.0.0-beta.6; loads under the .NET Framework compiler.
  • Renames the Static acceptance projects to Compiled and adds Compiled.Stunts.

Verified: 676 unit tests, acceptance on net10.0 and net48 (.NET and Framework compilers, C# and VB), dotnet format.

🤖 Generated with Claude Code

- Rename Moq.StaticProxy to Moq.CompiledProxy and migrate MockGenerator to
  IIncrementalGenerator (IStuntCandidatesProvider). It is built into the Moq
  package, with no package of its own, and on by default.
- Moq.DynamicProxy becomes a standalone package and the explicit opt-out of
  compile-time mocks, like Stunts.DynamicProxy. MOQ011 warns when compile-time
  mocks are unavailable and it is not installed.
- Pin Stunts to 1.0.0-beta.6, with a local 42.42.42 build override.
- Rename the Static acceptance projects to Compiled and add Compiled.Stunts.
- Add AGENTS.md design notes.

Co-authored-by: CodeAlta <noreply@codealta.io>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@kzu kzu added the enhancement label Dec 1, 2026
@kzu
kzu enabled auto-merge (rebase) December 1, 2026 05:34
@kzu

kzu commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

338 passed 338 passed

🧪 Details on Ubuntu 26.04.1 LTS

from retest v1.1.0 on .NET 11.0.0 with 💜 by @devlooped

@kzu
kzu merged commit cf61348 into main Dec 1, 2026
4 checks passed
@kzu
kzu deleted the dev/compiled-proxy branch December 1, 2026 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant