Skip to content

chore(deps): update dependency imposter to 0.2.5 - #7010

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

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

Conversation

@thomhurst

@thomhurst thomhurst commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

This PR contains the following updates:

Package Type Update Change
Imposter nuget patch 0.2.4 → 0.2.5

Release Notes

themidnightgospel/Imposter (Imposter)

v0.2.5: Incremental caching, IMP007 to IMP009, .NET Framework support and naming fixes

Compare Source

Performance

  • Unchanged imposters are reused across incremental runs (#​178, closes #​115; groundwork in #​152, #​175, #​176, #​177). The generator now builds each imposter from value models instead of Roslyn symbols, so an edit that doesn't change a target reuses its imposter. For 20 small imposters, a rerun after an unrelated edit went from 103 ms and 39.6 MB to 5.3 ms and 0.64 MB.

Diagnostics

  • IMP007: two registered targets that would generate the same imposter type, such as same-named interfaces nested in different classes, now report IMP007 instead of over 200 compile errors (#​164, closes #​128).
  • IMP008: a class target with abstract members your project can't override (internal or private protected members of another assembly) now reports IMP008 instead of generating an imposter that can't compile (#​173, closes #​148).
  • IMP009: a target whose impersonated members use Span<T>, ReadOnlySpan<T> or another ref struct in their signature now reports IMP009, naming the member and the type, instead of generating code with compile errors. The limitation is documented on the Limitations page (#​202, closes #​132).
  • IMP003 now stops generation for projects older than C# 9, the help links of all diagnostics point to the new Diagnostics page, and the unreachable IMP001 was retired (#​142, closes #​114).

Fixes

  • .NET Standard 2.0 and .NET Framework projects (#​166, closes #​131). Generated imposters compile for projects targeting .NET Standard 2.0 and later and .NET Framework 4.7.2 and later.
  • Virtual calls during construction (#​156, closes #​126). A target constructor calling a virtual member threw NullReferenceException inside the imposter. Such calls now run the base implementation or return defaults (see Limitations).
  • Init-only properties (#​155, closes #​130). Properties with init accessors generated ordinary setters that didn't compile.
  • Concurrent first calls (#​157, closes #​117). Concurrent callers could miss a configured outcome or see sequenced outcomes out of order, for methods, property getters and indexer getters.
  • Generic class methods:
    • base methods whose type parameters appear only in the return type, or not at all, are called with explicit type arguments (#​158, closes #​123);
    • overrides restate only the constraints C# allows (#​159, closes #​125).
  • Restricted accessors (#​162, closes #​122). Properties and indexers with a protected or otherwise restricted accessor are overridden legally, and accessors the project can't override are left alone.
  • Colliding inherited indexers (#​163, closes #​127). Indexers from different interfaces with the same parameter types are implemented explicitly.
  • Event handler order (#​165, closes #​129). Raising an event calls handlers in the order a C# event does, also after a handler is removed and added again.
  • Parameter modifiers:
  • Nullable annotations (#​174, closes #​161). Generated helpers keep T?, string? and nullable constraint annotations, so Returns((string?)null) compiles with nullable warnings as errors.
  • Name collisions in generated code. A target member, parameter or type parameter whose name matched something the generator declares broke the imposter. These names are now chosen around the target's names:
    • the instance's imposter field and the imposter builder fields (#​182, closes #​181; #​185, closes #​183);
    • constructor parameters named invocationBehavior or imposter (#​188, closes #​184);
    • event delegate parameters named like the raise methods' locals (callback, handler, task, pendingTasks) or the event builder's members (#​187, closes #​186; #​191, closes #​189);
    • event delegate parameters named Handler, Item1, Rest and other names C# reserves for tuple elements (#​199, closes #​190);
    • method parameters named like the method imposter's members, such as _callbacks or DefaultResultGenerator (#​194, closes #​192);
    • indexer parameters named like the indexer imposters' members (#​196, closes #​193), other or hash (#​197, closes #​195);
    • parameters named like the arguments classes or their members, such as Equals on an indexer or As on a generic method (#​200, closes #​198).

Internal

  • CI fails when the committed generated-file snapshots are out of date (#​154, closes #​153), and pull requests must be up to date with master before merging (#​203, closes #​160).
  • Code scanning ignores source-generator output, so it reports only checked-in code (#​204, closes #​171).
  • The property builder field is described by the builder type (#​180, closes #​179).

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.

@thomhurst thomhurst added dependencies Pull requests that update a dependency file PATCH renovate-bot labels Oct 9, 2026
@thomhurst
thomhurst enabled auto-merge (squash) October 9, 2026 08:21
@thomhurst
thomhurst deployed to Pull Requests October 9, 2026 08:21 — with GitHub Actions Active
@thomhurst
thomhurst deployed to Pull Requests October 9, 2026 08:21 — with GitHub Actions Active
@thomhurst
thomhurst deployed to Pull Requests October 9, 2026 08:21 — with GitHub Actions Active
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 9, 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-09T08:22:33.483786Z 4b6853f 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 9, 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: 39f97b55-fb7f-4cd0-ba9a-ec6c4a46ff60

📥 Commits

Reviewing files that changed from the base of the PR and between 5f322b1 and 4b6853f.


📒 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.4 to 0.2.5.

Changes

Imposter package update

Layer / File(s) Summary
Update package version
Directory.Packages.props
The centrally managed Imposter package version changes from 0.2.4 to 0.2.5.

Priority: ⬇️ Low

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

Change: Other

Suggested reviewers: quattordici


Merge Risk: ⚪ Minimal · up to 4b685

No specific behavior or operational risk is identified in the summarized version update; the change appears ready for normal checks.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
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.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the dependency update from Imposter to version 0.2.5.


✨ 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 line
The version hops ahead in time
One small change, neatly in place
No carrot lost along the chase
The rabbit rests with ears held high

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

@greptile-apps

greptile-apps Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

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

Summary

Updates Imposter from 0.2.4 to 0.2.5 in Directory.Packages.props.

  • Projects now use Imposter version 0.2.5.

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

@thomhurst
thomhurst merged commit 8b7b0f3 into main Oct 9, 2026
24 checks passed
@thomhurst
thomhurst deleted the renovate/imposter-0.x branch October 9, 2026 08:53
intellitect-bot pushed a commit to IntelliTect/EssentialCSharp.Web that referenced this pull request Oct 13, 2026
Updated [TUnit](https://github.com/thomhurst/TUnit) from 1.73.19 to
1.74.0.

<details>
<summary>Release notes</summary>

_Sourced from [TUnit's
releases](https://github.com/thomhurst/TUnit/releases)._

## 1.74.0

<!-- Release notes generated using configuration in .github/release.yml
at v1.74.0 -->

## What's Changed
### Other Changes
* fix(mocks): eliminate trim/AOT warnings on Native AOT publish by
@​thomhurst in thomhurst/TUnit#7029
* feat(engine): raise thread pool minimum when blocking tests starve the
pool by @​thomhurst in thomhurst/TUnit#7030
* feat(mocks): add ClearCalls, PassThrough toggle and
string/type/reference matchers by @​Quattordici in
thomhurst/TUnit#7018
### Dependencies
* chore(deps): update tunit to 1.73.19 by @​thomhurst in
thomhurst/TUnit#7008
* chore(deps): update dependency imposter to 0.2.5 by @​thomhurst in
thomhurst/TUnit#7010
* chore(deps): update dependency mockolate to 3.6.0 by @​thomhurst in
thomhurst/TUnit#7011
* chore(deps): update dependency imposter to 0.2.6 by @​thomhurst in
thomhurst/TUnit#7012
* chore(deps): update dependency stackexchange.redis to 3.4.0 by
@​thomhurst in thomhurst/TUnit#7013
* chore(deps): update xunit by @​thomhurst in
thomhurst/TUnit#7014
* chore(deps): update dependency imposter to 0.2.7 by @​thomhurst in
thomhurst/TUnit#7016
* chore(deps): update dependency nunit3testadapter to 6.3.1 by
@​thomhurst in thomhurst/TUnit#7015
* chore(deps): update verify to 33.3.3 by @​thomhurst in
thomhurst/TUnit#7019
* chore(deps): update dependency imposter to 0.2.8 by @​thomhurst in
thomhurst/TUnit#7020
* chore(deps): update dependency imposter to 0.2.10 by @​thomhurst in
thomhurst/TUnit#7021
* chore(deps): update dependency
fluentvalidation.dependencyinjectionextensions to 12.2.0 by @​thomhurst
in thomhurst/TUnit#7022
* chore(deps): update dependency imposter to 0.2.11 by @​thomhurst in
thomhurst/TUnit#7023
* chore(deps): update dependency imposter to 0.2.12 by @​thomhurst in
thomhurst/TUnit#7024
* chore(deps): update dependency imposter to 0.2.14 by @​thomhurst in
thomhurst/TUnit#7025
* chore(deps): update dependency imposter to 0.2.17 by @​thomhurst in
thomhurst/TUnit#7031


**Full Changelog**:
thomhurst/TUnit@v1.73.19...v1.74.0

Commits viewable in [compare
view](thomhurst/TUnit@v1.73.19...v1.74.0).
</details>

Updated [TUnit.AspNetCore](https://github.com/thomhurst/TUnit) from
1.73.19 to 1.74.0.

<details>
<summary>Release notes</summary>

_Sourced from [TUnit.AspNetCore's
releases](https://github.com/thomhurst/TUnit/releases)._

## 1.74.0

<!-- Release notes generated using configuration in .github/release.yml
at v1.74.0 -->

## What's Changed
### Other Changes
* fix(mocks): eliminate trim/AOT warnings on Native AOT publish by
@​thomhurst in thomhurst/TUnit#7029
* feat(engine): raise thread pool minimum when blocking tests starve the
pool by @​thomhurst in thomhurst/TUnit#7030
* feat(mocks): add ClearCalls, PassThrough toggle and
string/type/reference matchers by @​Quattordici in
thomhurst/TUnit#7018
### Dependencies
* chore(deps): update tunit to 1.73.19 by @​thomhurst in
thomhurst/TUnit#7008
* chore(deps): update dependency imposter to 0.2.5 by @​thomhurst in
thomhurst/TUnit#7010
* chore(deps): update dependency mockolate to 3.6.0 by @​thomhurst in
thomhurst/TUnit#7011
* chore(deps): update dependency imposter to 0.2.6 by @​thomhurst in
thomhurst/TUnit#7012
* chore(deps): update dependency stackexchange.redis to 3.4.0 by
@​thomhurst in thomhurst/TUnit#7013
* chore(deps): update xunit by @​thomhurst in
thomhurst/TUnit#7014
* chore(deps): update dependency imposter to 0.2.7 by @​thomhurst in
thomhurst/TUnit#7016
* chore(deps): update dependency nunit3testadapter to 6.3.1 by
@​thomhurst in thomhurst/TUnit#7015
* chore(deps): update verify to 33.3.3 by @​thomhurst in
thomhurst/TUnit#7019
* chore(deps): update dependency imposter to 0.2.8 by @​thomhurst in
thomhurst/TUnit#7020
* chore(deps): update dependency imposter to 0.2.10 by @​thomhurst in
thomhurst/TUnit#7021
* chore(deps): update dependency
fluentvalidation.dependencyinjectionextensions to 12.2.0 by @​thomhurst
in thomhurst/TUnit#7022
* chore(deps): update dependency imposter to 0.2.11 by @​thomhurst in
thomhurst/TUnit#7023
* chore(deps): update dependency imposter to 0.2.12 by @​thomhurst in
thomhurst/TUnit#7024
* chore(deps): update dependency imposter to 0.2.14 by @​thomhurst in
thomhurst/TUnit#7025
* chore(deps): update dependency imposter to 0.2.17 by @​thomhurst in
thomhurst/TUnit#7031


**Full Changelog**:
thomhurst/TUnit@v1.73.19...v1.74.0

Commits viewable in [compare
view](thomhurst/TUnit@v1.73.19...v1.74.0).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Oct 13, 2026

This branch was successfully deployed

1 active deployment
Pull Requests — 4b6853f5 Deployed Oct 9, 2026 by thomhurst via modularpipeline (ubuntu-latest) #19785
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