Skip to content

fix(deps): update module github.com/mattn/go-sixel to v0.0.9#267

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-mattn-go-sixel-0.x
Open

fix(deps): update module github.com/mattn/go-sixel to v0.0.9#267
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-mattn-go-sixel-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 30, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/mattn/go-sixel v0.0.8v0.0.9 age confidence

Release Notes

mattn/go-sixel (github.com/mattn/go-sixel)

v0.0.9

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@github-actions
Copy link
Copy Markdown
Contributor

Renovate PR Review Results

⚖️ Safety Assessment: ✅ Safe

🔍 Release Content Analysis

Version Change: github.com/mattn/go-sixel v0.0.8 → v0.0.9

Key Changes in v0.0.9:

  • Performance Optimizations: Multiple commits optimize the sixel encoder hot path, including a new RGBA fast path that bypasses dithering for direct RGBA encoding
  • Terminal Compatibility: Replaced raw ioctl syscalls with the go-tty library for terminal size detection, improving cross-platform compatibility
  • Bug Fixes:
    • Fixed decoder image growth issue with repeated sixel runs
    • Fixed frame delay accounting in GIF handling (gosgif)
    • Added validation for resize dimensions (gosr)
  • New Features (in CLI tools, not core library):
    • Added gosvideo player for video playback
    • New -colors and -dither command-line flags
    • Switched ffmpeg output format from rgb24 to rgba
  • Dependency Updates: Updated go-tty to v0.0.8

Breaking Changes: None identified. The public API remains fully compatible.

Security Fixes: No security-related fixes mentioned in release notes.

🎯 Impact Scope Investigation

Usage Locations in Codebase:

  • internal/gat/gat.go:239 - sixel.NewEncoder(w).Encode(img) for image display without resize
  • internal/gat/gat.go:253 - sixel.NewEncoder(w).Encode(dst) for resized image display

API Compatibility Analysis:

  • The Encoder type structure is identical between v0.0.8 and v0.0.9
  • NewEncoder(w io.Writer) *Encoder signature unchanged
  • Encode(img image.Image) error method signature unchanged
  • All public fields (Dither, Width, Height, Colors) remain the same

Dependency Impact:

  • No transitive dependency changes that affect gat
  • The update adds github.com/mattn/go-tty v0.0.8 as a dependency of go-sixel, but this is internal to go-sixel

Test Results:

  • ✅ All existing tests pass: go test ./... completed successfully
  • ✅ Build succeeds without errors: go build completed successfully
  • ✅ No compilation warnings or errors

💡 Recommended Actions

Immediate Actions:

  1. Safe to merge - This is a minor version update with no breaking changes
  2. The performance optimizations in the encoder may provide faster image rendering in terminals
  3. Improved terminal compatibility through go-tty integration reduces platform-specific issues

No Migration Required:

  • No code changes needed in gat
  • No configuration changes required
  • All existing functionality preserved with backward compatibility

Testing Recommendation:

  • Standard CI/CD pipeline testing is sufficient
  • Optional: Manual testing of image display functionality to verify performance improvements

🔗 Reference Links

Generated by koki-develop/claude-renovate-review

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.

0 participants