Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump github.com/charmbracelet/wish from 1.2.0 to 1.3.0 #35

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 1, 2024

Bumps github.com/charmbracelet/wish from 1.2.0 to 1.3.0.

Release notes

Sourced from github.com/charmbracelet/wish's releases.

v1.3.0

PTYs, Subsystems, and More

This release is loaded with improvements and new features like support for exec, server banners, subsystems, and client color profiles. Read on for more!

Exec and PTYs

At last, now you can get real a PTY for reach SSH connection. This allows you to exec.Command on the remote. This also means bubbletea.Exec will now work as expected[^windows]!

// Open a file in Vim in Bubble Tea (on the server)
c := wish.Command(m.sess, "vim", "file.txt")
cmd := tea.Exec(c, func(err error) tea.Msg {
  if err != nil {
    log.Error("vim finished", "error", err)
  }
  return cmdFinishedMsg{err: err}
})

Example

Lip Gloss Renderers

You can now use MakeRenderer to create a Lip Gloss renderer for the each user's session. This will suss out the user's terminal and render colors using the best available color profile as well as detect whether the background is dark or light. You can then use that renderer to init your app's styles.

Before this update, it would use the server's environment variables to figure this out, which could cause wrong results, especially when running via Docker/Systemd.

The behavior of MiddlewareWithColorProfile has also changed: now, the provided color profile will be used as "the minimal color profile supported".

Example

Server Banners

Time to fire up figlet: server banners are here! Enjoy! 🫶

Example

Subsystems

You can now use the WithSubsystem option to add handlers for specific subsystems (for instance, SFTP).

Example

Git Improvements

If you ever wanted to use Wish's private ensureRepo function, you'll be happy to know it is now public (i.e. EnsureRepo). Ensure repo creates Git repos on demand.

Go 1.19

... (truncated)

Commits

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [github.com/charmbracelet/wish](https://github.com/charmbracelet/wish) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/charmbracelet/wish/releases)
- [Changelog](https://github.com/charmbracelet/wish/blob/main/.goreleaser.yml)
- [Commits](charmbracelet/wish@v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/wish
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 1, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 7, 2024

Superseded by #36.

@dependabot dependabot bot closed this Feb 7, 2024
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/charmbracelet/wish-1.3.0 branch February 7, 2024 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants