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

Bump github.com/gdamore/tcell/v2 from 2.5.4 to 2.7.0 #3538

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2023

Bumps github.com/gdamore/tcell/v2 from 2.5.4 to 2.7.0.

Release notes

Sourced from github.com/gdamore/tcell/v2's releases.

Version 2.7.0 Feature Release

Significant changes in this release:

  • Introduced ColorNone which can be used in a style to avoid changing the existing foreground or background color.
  • Refactored the screen logic to provide better code reuse and facilitate extending the Screen API in future releases. (This changes internal APIs only)
  • Color grew some methods to report a String() (color name) or CSS() (color hex string in CSS style)
  • LockRegion() and Tty API changes from Tim Culverhouse tim@timculverhouse.com in support of Sixel coexistence. This does not itself provide support for Sixel graphics, but it allows tcell applications to be used with other sixel graphics libraries.
  • Mouse focus reporting (see EnableFocus(), DisableFocus(), and EventFocus) courtesy of stk stk@ableton.com (I also added support for focus reporting in the WASM terminal.) Windows console does not report this yet.

The refactoring in particular will enable some further improvements. Also, we added more test cases and coverage. While much of tcell remains uncovered by formal testing, every improvement here is welcome.

I expect to follow up with another release soon -- things I'm hoping for are gpm mouse support for the linux console (oft-requested), refactoring wide character support to fix some long standing bugs, and convenience methods to apply content or style changes to a rectangular region of the screen. In the meantime, I hope you enjoy this release!

Fixes (relative to 2.6.0)

  • mouse demo: fix crash when multiple buttons pressed together
  • Fix dynamic terminfo when an alias is used (#639) (courtesy of Tim Culverhouse tim@timculverhouse.com)
  • Screen.Clear — Flickering on Windows (#647)
  • Fix for broken Windows
  • Fixes for scrolling and button event handling (courtesy of Matthew Roseman mroseman95@gmail.com)
  • Add LookupTerminfo stub for wasm (#617) (courtesy of Remko Tronçon remko@bookwidgets.com)
  • Support Xterm modifier keys for dynamic terminfos (courtesy of delthas delthas@dille.cc)
  • Fix underlines in Windows console mode (courtesy of bjorndm bjorn.de.meyer@gmail.com)

Contributors

This release had more external contributors than has been usual, for which I'm very grateful. Thank you! (If I forgot to mention anyone, please accept my apologies!)

Version 2.6.0 Feature Release

The main feature introduced in this release is support for web based applications. You can now create applications that run in a browser, and display a simulated terminal emulator in the browser. The initial implementation of this capability was supplied by @​Ahoys123 -- thank you! (We made some follow up bug fixes and improvements.)

More detail about this mode can be found in the README-wasm.md file.

Additionally we added support for alacritty-direct, which was contributed by @​moson-mo.

This version is only tested on go 1.18 and newer. Older versions of go may work, but might also fail, as our dependencies have started using newer compilation flags.

Commits
  • 337e381 fixes #606 Want ColorNone to preserve existing color(s)
  • 8041b8e Refactor event polling code.
  • e3a99dd Add shebang
  • 26f328f simscreen: unbreak the API
  • fb3659d refactoring: use common LockRegion implementation
  • 92c4f48 mouse demo: fix crash when multiple buttons pressed together
  • d82c270 More refactoring, common cell buffer
  • 602a473 Update SimScreen with new refactoring
  • ef4f9cc Start of base screen refactoring.
  • fe52739 Bump github.com/mattn/go-runewidth from 0.0.14 to 0.0.15 (#632)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Dec 11, 2023
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/gdamore/tcell/v2-2.7.0 branch from 041b3fd to bf46cd8 Compare December 25, 2023 15:16
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/gdamore/tcell/v2-2.7.0 branch 2 times, most recently from 1ca13c6 to d1289f5 Compare January 7, 2024 06:10
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell) from 2.5.4 to 2.7.0.
- [Release notes](https://github.com/gdamore/tcell/releases)
- [Changelog](https://github.com/gdamore/tcell/blob/main/CHANGESv2.md)
- [Commits](gdamore/tcell@v2.5.4...v2.7.0)

---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/gdamore/tcell/v2-2.7.0 branch from d1289f5 to c781cec Compare January 9, 2024 03:31
@junegunn junegunn closed this Feb 2, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 2, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/github.com/gdamore/tcell/v2-2.7.0 branch February 2, 2024 08:14
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 go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant