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 nu-ansi-term from 0.47.0 to 0.49.0 #1359

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 1, 2023

Bumps nu-ansi-term from 0.47.0 to 0.49.0.

Release notes

Sourced from nu-ansi-term's releases.

v0.49.0

This release attempts to fix API limitations of the previous 0.48.0 release. You can now again construct Style directly through its fields.

Breaking changes

coming from 0.47.0

  • Style has now a prefix_with_reset field to enable additional reset sequences that are introduced before setting a style.

coming from 0.48.0

  • Style.with_reset has been renamed to Style.prefix_with_reset
  • AnsiGenericString::hyperlink() changed in signature from ...(&mut self, ...) to ...(self, ...) -> Self
  • AnsiGenericString::icon() and ::cwd() have been removed for now.

What's Changed

Full Changelog: nushell/nu-ansi-term@v0.48.0...v0.49.0

v0.48.0

Warning This release introduces an unintended breaking change for users that want to construct Style directly. (see #46 for tracking)

New features

This release introduces support to express several OSC control codes by calling methods on AnsiGenericString. Primarily you can now mark particular text with a hyperlink by calling .hyperlink() on it.

use nu_ansi_term::AnsiString;
let link_string = AnsiString::from("Learn more about this crate!").hyperlink("https://docs.rs/nu-ansi-term");

Additional OSC codes:

Note If these features are usable depends on the terminal emulator.

  • AnsiString::title() to set the title bar of the terminal emulator.
  • AnsiString::cwd() to inform the terminal about changes to the working directory.
  • AnsiString::icon() to supply an icon that the terminal may use for the application.

GNU legacy compatible output

The new crate feature gnu_legacy will output CSI sequences which include leading zeros to be compatible with the GNU coreutils test suite

Ability to force a reset of the style

nu-ansi-term strives to only output the ANSI sequences necessary to express the desired style. In some situation it may be beneficial to force the terminal emulator to reset its internal style before applying a new style. To do so you can now use Style.reset_before_style().

... (truncated)

Changelog

Sourced from nu-ansi-term's changelog.

Changelog

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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 1, 2023
@dependabot dependabot bot force-pushed the dependabot/cargo/nu-ansi-term-0.49.0 branch from 8a7a151 to f3abc81 Compare August 2, 2023 01:10
Bumps [nu-ansi-term](https://github.com/nushell/nu-ansi-term) from 0.47.0 to 0.49.0.
- [Release notes](https://github.com/nushell/nu-ansi-term/releases)
- [Changelog](https://github.com/nushell/nu-ansi-term/blob/main/CHANGELOG.md)
- [Commits](nushell/nu-ansi-term@v0.47.0...v0.49.0)

---
updated-dependencies:
- dependency-name: nu-ansi-term
  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/cargo/nu-ansi-term-0.49.0 branch from f3abc81 to 1feed88 Compare August 2, 2023 01:49
@tmccombs tmccombs merged commit 7d357a6 into master Aug 9, 2023
15 checks passed
@tmccombs tmccombs deleted the dependabot/cargo/nu-ansi-term-0.49.0 branch August 9, 2023 06:20
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant