Repository navigation
chore(deps): update dependency imposter to 0.2.7 - #7016
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe centrally managed ChangesImposter Package Version
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~2 minutes Change: Other Suggested reviewers: Merge Risk: ⚪ Minimal · up to No actionable issue is established for this dependency update. It is mergeable after normal checks. Pre-merge checks |
|
|
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 PR contains the following updates:
0.2.6→0.2.7Release Notes
themidnightgospel/Imposter (Imposter)
v0.2.7: Span properties, indexers and events, IMP011 and IMP012, and generator fixesCompare Source
Features
Spans in properties, indexers and events (part of #201). These no longer report IMP009:
Span<T>orReadOnlySpan<T>(#224). The imposter keeps the value as the array of its elements, andReturnstakes that array.SpanArg<T>/ReadOnlySpanArg<T>.Raisedmatches them withSpanArg<T>/ReadOnlySpanArg<T>.Still IMP009 (see Limitations):
ref structs;reforout;scopedcases;New diagnostics
Each of these targets used to get an imposter that didn't compile, with no diagnostic. Now it reports an error and gets no imposter:
reforref readonly(#244, closes #216).allows ref structanti-constraint (#222, closes #218).Fixes
requiredmembers (#219, closes #215). Their imposters now compile and leave the required members at their defaults.Raisedkeep the delegate's nullable annotations (#265, closes #258). For anEventHandler,Raise(null, EventArgs.Empty)no longer warns CS8625.it(#245, closes #241). Its arguments criteria no longer fail with CS1061.IFooandIFoo<T>(#246, closes #242). TheirImposter()extension classes no longer collide.TException(#268, closes #264). The builders'Throws<TException>()no longer shadows it (CS0693).Changes to be aware of
Arg<object>for anobject?event parameter now warns. With nullable reference types enabled, passingArg<object>where the delegate's parameter isobject?(anEventHandler's sender, for example) warns CS8620, as it already did for methods. UseArg<object?>. The same applies to handler criteria for delegates such asFunc<object?, EventArgs, Task>.Internal
The generator's code was reorganised without changing what it generates. The snapshot tests confirm the output is byte-identical:
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.