You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(deps): update dependency imposter to 0.2.24 - #7043
Type parameters named await, file, required, scoped or extension (#378, closes #369). A target or method type parameter with one of these names made the imposter fail to compile:
file and required from C# 11, read as modifiers;
extension from C# 14, read as an extension block;
scoped from C# 11;
await in async methods.
A type parameter named like any contextual keyword your compiler knows now takes another name in generated code, as var, _, record and partial already did. That covers keywords later compilers add, such as the C# 15 preview's closed and union. You still write the imposter and its setups with your own type arguments, and dedicated namespaces keep the original names.
Method type parameters named like members of their generated types (#373, closes #349). A generic method whose type parameter was named Invoke, Returns, Matches, As, Callback, Then, Result or another member of the types generated for it failed with CS0102. Such a type parameter now takes another name in generated code; your setups don't change.
Maintenance
Regression tests for inherited generic methods whose type parameter is named like the target's (#368, closes #350); the fix itself shipped in 0.2.23 with #362. The generator also lost an unused helper (#375, closes #372). The generated imposters behave the same.
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
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: 3c56729e-5a5b-4440-8908-5adf9b032141
📥 Commits
Reviewing files that changed from the base of the PR and between 8d282d4 and d086157.
📒 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
The centrally managed Imposter package version changed from 0.2.23 to 0.2.24.
Changes: Imposter package update
Layer / File(s)
Summary
Update Imposter version Directory.Packages.props
The centrally managed Imposter package version changes from 0.2.23 to 0.2.24.
This PR makes a localized Imposter version update, with no additional changes or actionable merge risk identified in the reviewed diff.
Pre-merge checks · 5
Passed checks (5 passed)
Check name
Status
Explanation
Docstring Coverage
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
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title clearly and concisely describes the dependency update from Imposter to version 0.2.24.
✨ 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.
A rabbit checks the package line, And finds the version changed in time. From twenty-three to twenty-four, A tidy hop across the floor. Then tucks its notes beside the door.
Comment @coderabbitai help to get the list of available commands.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.23→0.2.24Release Notes
themidnightgospel/Imposter (Imposter)
v0.2.24: Keyword and generated-member type parameter namesCompare Source
Fixes
Type parameters named
await,file,required,scopedorextension(#378, closes #369). A target or method type parameter with one of these names made the imposter fail to compile:fileandrequiredfrom C# 11, read as modifiers;extensionfrom C# 14, read as an extension block;scopedfrom C# 11;awaitin async methods.A type parameter named like any contextual keyword your compiler knows now takes another name in generated code, as
var,_,recordandpartialalready did. That covers keywords later compilers add, such as the C# 15 preview'sclosedandunion. You still write the imposter and its setups with your own type arguments, and dedicated namespaces keep the original names.Method type parameters named like members of their generated types (#373, closes #349). A generic method whose type parameter was named
Invoke,Returns,Matches,As,Callback,Then,Resultor another member of the types generated for it failed with CS0102. Such a type parameter now takes another name in generated code; your setups don't change.Maintenance
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate CLI.