Skip to content

chore(deps): update dependency imposter to 0.2.11 - #7023

Merged
thomhurst merged 1 commit into
mainfrom
renovate/imposter-0.x
Oct 10, 2026
Merged

thomhurst merged 1 commit into
mainfrom
renovate/imposter-0.x

Conversation

@thomhurst

@thomhurst thomhurst commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

This PR contains the following updates:

Package Type Update Change
Imposter nuget patch 0.2.10 → 0.2.11

Release Notes

themidnightgospel/Imposter (Imposter)

v0.2.11: Type parameters that allow ref structs, and generic overloads

Compare Source

Features

  • Methods whose type parameter allows ref structs (#​299, closes #​201). A method with where T : allows ref struct (C# 13) no longer reports IMP009. A value of T may be a ref struct, so the imposter passes it through, whatever the type argument:
    • Setups and verification take matchers for the other parameters only, as in imposter.Measure<Gauge>(Arg<int>.Any()).Returns((value, scale) => value.Level * scale).
    • The delegates passed to Returns, Callback and Throws, and the base implementation, get the value. A result of type T comes only from a Returns delegate or the base implementation.
    • A setup applies to calls with the same type arguments only.
    • This needs the Roslyn 4.14 compiler or later (.NET SDK 9.0.300, Visual Studio 17.14). Older compilers still report IMP009 for such a method.

This completes #​201. Still IMP009, and documented in Limitations:

  • a ref struct indexer key taken by in;
  • a class indexer of a ref struct type with an in or ref readonly key and a base getter;
  • a ref struct argument of an async event;
  • a span returned by reference (IMP011 covers ref returns).

Fixes

  • Interface overloads that differ only in their type parameter count (#​300, closes #​298). void Use() next to void Use<T>() got numbered setups, so imposter.Use<int>() didn't compile; it had to be imposter.Use_1<int>(). Such overloads now keep their names.
  • Generic methods that name their type parameters differently (#​300, closes #​298). Two interfaces' Use<T>(T) and Use<U>(U), or a method hiding an inherited one under another type parameter name, failed with CS0111. They're now set up apart, through their interfaces' setup views.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

Summary by CodeRabbit

  • Chores
    • Updated the centrally managed Imposter package to version 0.2.11.

@thomhurst thomhurst added dependencies Pull requests that update a dependency file PATCH renovate-bot labels Oct 10, 2026
@thomhurst
thomhurst enabled auto-merge (squash) October 10, 2026 16:41
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T16:42:13.098626Z b80a841 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1f0fb78f-107f-42a4-b9f7-1f780a8c20ca

📥 Commits

Reviewing files that changed from the base of the PR and between eccfa82 and b80a841.


📒 Files selected for processing (1)
  • Directory.Packages.props

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.



📝 Walkthrough

Walkthrough

The centrally managed Imposter package version changes from 0.2.10 to 0.2.11.

Changes

Imposter package version

Layer / File(s) Summary
Update package version
Directory.Packages.props
The central package declaration changes the Imposter version from 0.2.10 to 0.2.11.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: quattordici


Merge Risk: ⚪ Minimal · up to b80a8

The updated package is available to CI, and no concrete build or runtime regression from this version change is established.

Pre-merge checks | Passed 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: updating the Imposter dependency from 0.2.10 to 0.2.11.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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 unit tests (beta)
  • Commit to this branch
  • Create a new PR

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit checks the package pin,
One small version hops ahead.
The props file marks the change,
No other numbers shift instead.
The rabbit bounds away to bed.

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

@greptile-apps

greptile-apps Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[High impact] The dependency update appears safe to merge; no actionable issues were found.

Summary

Updates Imposter from 0.2.10 to 0.2.11 in Directory.Packages.props.

  • TUnit's shared package list now selects Imposter 0.2.11.

Reviews (1) · Last reviewed commit: "chore(deps): update dependency imposter ..." · Reviewed by Greptile

@thomhurst
thomhurst merged commit 990a291 into main Oct 10, 2026
23 of 24 checks passed
@thomhurst
thomhurst deleted the renovate/imposter-0.x branch October 10, 2026 17:09
This was referenced Oct 28, 2026

This branch had an error being deployed

1 failed deployment
Pull Requests — b80a8411 Deployed Oct 10, 2026 by thomhurst via modularpipeline (windows-latest) #19818
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file PATCH renovate-bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants