Skip to content

Bump Spectre.Console from 0.54.0 to 0.55.2#19497

Merged
microsoft-github-policy-service[bot] merged 2 commits intomainfrom
dependabot/nuget/src/Spectre.Console-0.55.2
Apr 24, 2026
Merged

Bump Spectre.Console from 0.54.0 to 0.55.2#19497
microsoft-github-policy-service[bot] merged 2 commits intomainfrom
dependabot/nuget/src/Spectre.Console-0.55.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Updated Spectre.Console from 0.54.0 to 0.55.2.

Release notes

Sourced from Spectre.Console'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 compatibility score

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 commands and options

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)
###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com//pull/19497)

---
updated-dependencies:
- dependency-name: Spectre.Console
  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 added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Apr 20, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot enabled auto-merge (squash) April 20, 2026 00:28
Copy link
Copy Markdown
Contributor

@microsoft-github-policy-service microsoft-github-policy-service Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@microsoft-github-policy-service microsoft-github-policy-service Bot added the auto-merge Automatically merge this PR label Apr 20, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 20, 2026

Test this change out locally with the following install scripts (Action run 24908256724)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 24908256724
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 24908256724"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 24908256724
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 24908256724"

@brendandburns
Copy link
Copy Markdown
Member

@copilot please fix tests.

@brendandburns
Copy link
Copy Markdown
Member

@copilot please fix broken tests, looks like a function may have been removed.

…tre.Console version

Agent-Logs-Url: https://github.com/Azure/bicep/sessions/f4e7ea6b-f315-4125-891e-e69c270a336c

Co-authored-by: brendandburns <5751682+brendandburns@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 24, 2026

@copilot please fix broken tests, looks like a function may have been removed.

Fixed in commit 3aa5f32. The original bump only updated Spectre.Console to 0.55.2 but left Spectre.Console.Testing at 0.54.0. The 0.55.x release added a WriteAnsi method to IAnsiConsole, so TestConsole from the older testing package was missing the implementation, causing a TypeLoadException. Bumping Spectre.Console.Testing to 0.55.2 as well resolves the test failure.

@microsoft-github-policy-service microsoft-github-policy-service Bot merged commit 029153f into main Apr 24, 2026
41 checks passed
@microsoft-github-policy-service microsoft-github-policy-service Bot deleted the dependabot/nuget/src/Spectre.Console-0.55.2 branch April 24, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Automatically merge this PR dependencies Pull requests that update a dependency file .NET Pull requests that update .net code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants