Skip to content

Update github.com/charmbracelet/huh from v0.6.0 to v0.8.0 - #3418

Merged
pelikhan merged 4 commits into
mainfrom
copilot/update-huh-dependency-version
Nov 7, 2025
Merged

Update github.com/charmbracelet/huh from v0.6.0 to v0.8.0#3418
pelikhan merged 4 commits into
mainfrom
copilot/update-huh-dependency-version

Conversation

Copilot AI commented Nov 7, 2025

Copy link
Copy Markdown
Contributor

Update github.com/charmbracelet/huh from v0.6.0 to v0.8.0

Completed Tasks

  • Explore repository structure and understand current state
  • Verify current tests pass with v0.6.0
  • Update go.mod dependency to v0.8.0
  • Run go mod tidy to update go.sum
  • Run tests to ensure no breaking changes
  • Build the binary to verify compilation
  • Manual verification of interactive forms
  • Merge main branch (initial)
  • Resolve merge conflicts in dependencies
  • Run linting (make lint)
  • Merge latest main branch changes
  • Final validation and cleanup

Summary of Changes

Primary Update:

  • github.com/charmbracelet/huh v0.6.0 → v0.8.0

Dependency Updates from huh v0.8.0:

  • github.com/catppuccin/go v0.2.0 → v0.3.0
  • github.com/charmbracelet/bubbles v0.20.0 → v0.21.1-0.20250623103423-23b8fd6302d7
  • github.com/charmbracelet/bubbletea v1.2.4 → v1.3.6
  • github.com/charmbracelet/colorprofile v0.2.3 → v0.3.1
  • github.com/charmbracelet/x/ansi v0.8.0 → v0.9.3

Dependency Updates from main branch merges:

  • golang.org/x/term v0.33.0 → v0.36.0
  • github.com/spf13/pflag v1.0.7 → v1.0.10

Code Changes from main:

  • Removed bash wildcard restrictions in strict mode validation

New Dependencies:

  • github.com/clipperhouse/stringish v0.1.1
  • github.com/clipperhouse/uax29/v2 v2.3.0

Validation Results

  • ✅ All unit tests passing
  • ✅ Binary builds successfully
  • ✅ Interactive workflow tests passing
  • ✅ Linting passed (make lint)
  • ✅ No breaking changes detected
  • ✅ Successfully merged with latest main branch

What's New in huh v0.8.0

  • feat: make Field.RunAccessible public, deprecate Field.WithAccessible
  • fix(select): do not show title if filter is set
  • fix(select): make sure selected item is visible on viewport update
  • fix(select,multiselect): properly handle defaults and prompts
  • fix: Terminal.app rendering issues
  • fix: minimize the risk of scrolling the view up on some terminals
  • fix: Add missing id initialization in field_select constructor
Original prompt

This section details on the original issue you should resolve

<issue_title>[Dependabot] Update github.com/charmbracelet/huh from v0.6.0 to v0.8.0</issue_title>
<issue_description>## Summary
Update github.com/charmbracelet/huh dependency from v0.6.0 to v0.8.0

Current State

  • Package: github.com/charmbracelet/huh
  • Current Version: v0.6.0
  • Proposed Version: v0.8.0
  • Update Type: Minor

Safety Assessment

Safe to update

  • Minor version update (0.6.0 → 0.8.0)
  • Primarily bug fixes and new features
  • API changes are additive (making RunAccessible public)
  • Previous WithAccessible method deprecated but still functional
  • No breaking changes for existing code

Changes

v0.8.0 (Latest)

New Features:

Bug Fixes:

Documentation:

  • docs(readme): various small updates (#651)
  • docs(filepicker): correct godoc comment for DirAllowed function (Hello from Claude #681)

v0.7.0 (Intermediate release - included in this update)

  • Various bug fixes and improvements between v0.6.0 and v0.8.0

Links

Recommended Action

go get -u github.com/charmbracelet/huh@v0.8.0
go mod tidy

Testing Notes

  • Run all tests: make test
  • Test interactive prompts and forms
  • Verify select and multiselect components work correctly
  • Check Terminal.app rendering if applicable
  • Test viewport scrolling behavior
  • Verify any custom Field implementations still work

AI generated by Dependabot Go Module Dependency Checker</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Update github.com/charmbracelet/huh from v0.6.0 to v0.8.0 Update github.com/charmbracelet/huh from v0.6.0 to v0.8.0 Nov 7, 2025
Copilot AI requested a review from pelikhan November 7, 2025 04:26
@pelikhan
pelikhan marked this pull request as ready for review November 7, 2025 04:29
Copilot AI review requested due to automatic review settings November 7, 2025 04:29
@pelikhan

pelikhan commented Nov 7, 2025

Copy link
Copy Markdown
Collaborator

@copilot merge main and lint

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request updates Go module dependencies, primarily upgrading github.com/charmbracelet/huh from v0.6.0 to v0.8.0 along with its transitive dependencies. The update brings in newer versions of various Charmbracelet ecosystem packages and standard library dependencies.

  • Updates primary dependency charmbracelet/huh to v0.8.0
  • Updates multiple transitive dependencies from the Charmbracelet ecosystem
  • Updates golang.org/x standard library packages

Reviewed Changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
go.mod Updates direct dependency charmbracelet/huh to v0.8.0 and reflects updated indirect dependencies
go.sum Contains checksums for all new and updated module versions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pelikhan

pelikhan commented Nov 7, 2025

Copy link
Copy Markdown
Collaborator

@copilot merge main and lint

Copilot AI commented Nov 7, 2025

Copy link
Copy Markdown
Contributor Author

@copilot merge main and lint

Completed merge with main branch and linting (commit 839dd47).

Actions taken:

  • Rebased branch onto latest main
  • Resolved dependency conflicts (golang.org/x/term v0.36.0, spf13/pflag v1.0.10)
  • Ran go mod tidy to update go.sum
  • Verified all tests pass
  • Verified linting passes with make lint

Note: The branch has been rebased onto main, which changes the commit history. A force push is required to update the remote branch. Since I cannot perform force push operations, please manually run:

git push --force-with-lease origin copilot/update-huh-dependency-version

Copilot AI commented Nov 7, 2025

Copy link
Copy Markdown
Contributor Author

@copilot merge main and lint

Completed merge with latest main branch and linting (commit b79fe30).

Actions taken:

  • Merged new commit from main (640ed30 "Remove bash wildcard restriction in strict mode")
  • Verified all tests pass
  • Verified linting passes with make lint
  • Verified binary builds successfully

@pelikhan
pelikhan merged commit ba6ef92 into main Nov 7, 2025
30 of 34 checks passed
@pelikhan
pelikhan deleted the copilot/update-huh-dependency-version branch November 7, 2025 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Dependabot] Update github.com/charmbracelet/huh from v0.6.0 to v0.8.0

3 participants