GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(deps): bump github.com/mattn/go-colorable from 0.1.14 to 0.1.15 by dependabot[bot] · Pull Request #13572 · cli/cli

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 2, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/mattn/go-colorable from 0.1.14 to 0.1.15.

Commits
  • 8bf39a2 Merge pull request #78 from mattn/windows-write-fastpath
  • d7a88e0 Bump checkout to v4 and setup-go to v5
  • 4dd1c6d Update CI matrix to Go 1.24-1.26
  • 09158f8 Fast path for plaintext writes and cache text attribute on Windows
  • 171d5b4 Add Windows writer benchmarks
  • 74f8ed1 Merge pull request #72 from alexandear/fix-test-typo
  • 50c5b53 Fix typo in TestNonColorableNil
  • See full diff 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)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dependabot
chore(deps): bump github.com/mattn/go-colorable from 0.1.14 to 0.1.15
76576d2
Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable) from 0.1.14 to 0.1.15.
- [Commits](mattn/go-colorable@v0.1.14...v0.1.15)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-colorable
  dependency-version: 0.1.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 2, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner June 2, 2026 17:52
@dependabot
dependabot Bot requested a review from BagToad June 2, 2026 17:52
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jun 2, 2026
BagToad
BagToad approved these changes Jun 5, 2026
View reviewed changes

@BagToad BagToad left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Audit summary (generated)

Reviewed how we use github.com/mattn/go-colorable and the actual v0.1.14 → v0.1.15 source diff.

Our usage:

  • Direct import in pkg/iostreams/iostreams.go: colorable.NewColorable(os.Stdout) and colorable.NewColorable(os.Stderr), used for Windows ANSI translation when VT processing isn't available.
  • Indirect consumers in our module graph: cli/go-gh, fatih/color, survey, spinner, certificate-transparency-go.

What changed v0.1.14 → v0.1.15:

  • colorable_windows.go is the only file with real logic changes:
    • Adds a curattr field cached on the writer to avoid re-querying console state on every attribute change.
    • Plaintext fast path: if there's no pending state and no 0x1b escape byte in the input, write straight through and skip ANSI parsing entirely.
    • Uses cached w.curattr instead of refetching csbi.attributes; only calls procSetConsoleTextAttribute when the attribute actually changes.
  • Other diffs: typo fix in a test, new benchmarks, CI workflow tweak.
  • go.sum diff is limited to go-colorable itself; no transitive bumps.

Impact on us:

  • Non-Windows: no runtime change.
  • Modern Windows with VT enabled: NewColorable returns the original file unchanged, so no effect.
  • Legacy Windows console: this is our path via IOStreams.System(), but the changes are strict perf improvements. Two tiny theoretical risks worth naming: the plaintext fast path ignores partial-write errors on w.out.Write (negligible for interactive stdout/stderr), and cached curattr could go stale if an external writer mutates console attributes (not a concern for normal gh output).

LGTM.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@BagToad
BagToad merged commit ea72240 into trunk Jun 5, 2026
42 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@BagToad
BagToad deleted the dependabot/go_modules/github.com/mattn/go-colorable-0.1.15 branch June 5, 2026 15:55
@BrewTestBot BrewTestBot mentioned this pull request Jun 10, 2026
gh 2.94.0 Homebrew/homebrew-core#287368
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@BagToad BagToad BagToad approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@BagToad
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.