Skip to content

chore: Bump Spectre.Console.Cli and 2 others#172

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/src/NetPace.Console.Tests/multi-2429c3da89
Closed

chore: Bump Spectre.Console.Cli and 2 others#172
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/src/NetPace.Console.Tests/multi-2429c3da89

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 25, 2026

Copy link
Copy Markdown
Contributor

Updated Spectre.Console.Cli from 1.0.0-alpha.0.11 to 1.0.0-alpha.0.16.

Release notes

Sourced from Spectre.Console.Cli's releases.

No release notes found for this version range.

Commits viewable in compare view.

Updated Spectre.Console.Cli.Testing from 1.0.0-alpha.0.11 to 1.0.0-alpha.0.16.

Release notes

Sourced from Spectre.Console.Cli.Testing's releases.

No release notes found for this version range.

Commits viewable in compare view.

Updated Spectre.Console.Testing from 0.54.0 to 0.55.0.

Release notes

Sourced from Spectre.Console.Testing's releases.

0.55.0

This release brings new features, performance improvements, bug fixes, and some important architectural changes.

[!CAUTION]
There are breaking changes in this release, so make sure you review the release notes and try things out before upgrading in production.

New Spectre.Console.Ansi Library

One of the biggest changes in this release is the introduction of
Spectre.Console.Ansi,
a new standalone library for writing ANSI escape
sequences to the terminal without taking a full dependency on Spectre.Console.

This makes it easy to add ANSI support to lightweight tools and libraries where
pulling in the full Spectre.Console package would be overkill. Spectre.Console
itself now depends on this library internally.

We've also added some nice convenience methods for the .NET Console class:

using Spectre.Console.Ansi;

Console.Markup("[yellow]Hello[/] ");
Console.MarkupLine("[blue]World[/]");
  
Console.Ansi(writer => writer
    .BeginLink("https://spectreconsole.net", linkId: 123)
    .Decoration(Decoration.Bold | Decoration.Italic)
    .Foreground(Color.Yellow)
    .Write("Spectre Console")
    .ResetStyle()
    .EndLink());

Style Is Now a Struct

Style has been converted from a class to a struct, and link/URL information
has been extracted into a separate Link type. This improves allocation
performance, especially in rendering-heavy scenarios, but is a breaking change
for code that relies on reference semantics.

Progress Improvements

The Progress widget received a lot of love in this release. It now uses
TimeProvider instead of the wall clock, making it significantly easier to
write deterministic tests. ProgressTask has a new Tag property for attaching
arbitrary metadata, and you can now override the global hide-when-completed
behavior on individual tasks. Tasks can also be removed from the progress
context entirely.

Speed calculations have been improved with configurable max sampling age and
... (truncated)

Commits viewable in compare view.

Updated Spectre.Console.Testing from 0.54.0 to 0.55.2.

Release notes

Sourced from Spectre.Console.Testing's releases.

0.55.2

What's Changed

New Contributors

Full Changelog: spectreconsole/spectre.console@0.55.1...0.55.2

0.55.1

What's Changed

New Contributors

Full Changelog: spectreconsole/spectre.console@0.55.0...0.55.1

0.55.0

This release brings new features, performance improvements, bug fixes, and some important architectural changes.

[!CAUTION]
There are breaking changes in this release, so make sure you review the release notes and try things out before upgrading in production.

New Spectre.Console.Ansi Library

One of the biggest changes in this release is the introduction of
Spectre.Console.Ansi,
a new standalone library for writing ANSI escape
sequences to the terminal without taking a full dependency on Spectre.Console.

This makes it easy to add ANSI support to lightweight tools and libraries where
pulling in the full Spectre.Console package would be overkill. Spectre.Console
itself now depends on this library internally.

We've also added some nice convenience methods for the .NET Console class:

using Spectre.Console.Ansi;

Console.Markup("[yellow]Hello[/] ");
Console.MarkupLine("[blue]World[/]");
  
Console.Ansi(writer => writer
    .BeginLink("https://spectreconsole.net", linkId: 123)
    .Decoration(Decoration.Bold | Decoration.Italic)
    .Foreground(Color.Yellow)
    .Write("Spectre Console")
    .ResetStyle()
    .EndLink());

Style Is Now a Struct

Style has been converted from a class to a struct, and link/URL information
has been extracted into a separate Link type. This improves allocation
performance, especially in rendering-heavy scenarios, but is a breaking change
for code that relies on reference semantics.

Progress Improvements

The Progress widget received a lot of love in this release. It now uses
TimeProvider instead of the wall clock, making it significantly easier to
write deterministic tests. ProgressTask has a new Tag property for attaching
arbitrary metadata, and you can now override the global hide-when-completed
behavior on individual tasks. Tasks can also be removed from the progress
context entirely.

Speed calculations have been improved with configurable max sampling age and
... (truncated)

Commits viewable in compare view.

@dependabot dependabot Bot force-pushed the dependabot/nuget/src/NetPace.Console.Tests/multi-2429c3da89 branch 4 times, most recently from 0359e6f to 66c0ff3 Compare May 12, 2026 18:53
Bumps Spectre.Console.Cli from 1.0.0-alpha.0.11 to 1.0.0-alpha.0.16
Bumps Spectre.Console.Cli.Testing from 1.0.0-alpha.0.11 to 1.0.0-alpha.0.16
Bumps Spectre.Console.Testing to 0.55.0, 0.55.2

---
updated-dependencies:
- dependency-name: Spectre.Console.Cli
  dependency-version: 1.0.0-alpha.0.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Spectre.Console.Cli.Testing
  dependency-version: 1.0.0-alpha.0.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: Spectre.Console.Testing
  dependency-version: 0.55.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: Spectre.Console.Testing
  dependency-version: 0.55.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/nuget/src/NetPace.Console.Tests/multi-2429c3da89 branch from 66c0ff3 to 3278867 Compare May 13, 2026 09:08
FrankRay78 added a commit that referenced this pull request May 19, 2026
* chore: update .claude/settings.json

* chore: bump dependencies (consolidates #78 #123 #144 #156 #172 #180 #181)

- Spectre.Console 0.54.0 -> 0.55.2 (#181)
- Spectre.Console.Cli/Cli.Testing 1.0.0-alpha.0.11 -> 0.16 (#172)
- Spectre.Console.Testing 0.54.0 -> 0.55.2 (#172)
- Microsoft.NET.Test.Sdk -> 18.5.1 (#180)
- Verify / Verify.Xunit -> 31.12.5 (#156)
- Roslynator.Analyzers 4.14.1 -> 4.15.0 (#144)
- BenchmarkDotNet 0.15.5 -> 0.15.8 (#123)
- xunit.runner.visualstudio 3.1.4 -> 3.1.5 (#78)

Implement new IAnsiConsole.WriteAnsi(Action<AnsiWriter>) member added in
Spectre.Console 0.55 on FileConsole (no-op, file output is plain text)
and CompositeAnsiConsole (forwards to inner consoles).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* test: cover WriteAnsi; drop unused Spectre.Console.Cli packages

- Add FileConsoleTests.WriteAnsi_DoesNotThrow (no-op contract).
- Add CompositeAnsiConsoleTests covering Write + WriteAnsi fan-out
  to all inner consoles via a SpyConsole.
- Remove Spectre.Console.Cli and Spectre.Console.Cli.Testing from
  NetPace.Console.Tests — neither is referenced in any .cs file
  (CLAUDE.md already notes Spectre.Console.Cli was replaced).

Closes the TDD gap flagged in the PR #201 review.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: guard FileConsole.Write against post-disposal ProgressRefreshThread

Spectre.Console's ProgressRefreshThread fires on a background thread and
can call Write after FileConsole has been disposed at the end of a test,
crashing the test host on Linux CI with ObjectDisposedException.

Add a _writeLock + _disposed guard so background writes after disposal are
silently ignored. Also adds Write_AfterDispose_DoesNotThrow test to pin
the behaviour.

Co-authored-by: Frank Ray <FrankRay78@users.noreply.github.com>

---------

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Frank Ray <FrankRay78@users.noreply.github.com>
@dependabot @github

dependabot Bot commented on behalf of github May 19, 2026

Copy link
Copy Markdown
Contributor Author

Looks like these dependencies are no longer a dependency, so this is no longer needed.

@dependabot dependabot Bot closed this May 19, 2026
@dependabot dependabot Bot deleted the dependabot/nuget/src/NetPace.Console.Tests/multi-2429c3da89 branch May 19, 2026 19:38
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