Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2025

Bumps rat-text from 1.0.5 to 2.5.0.

Release notes

Sourced from rat-text's releases.

2.0.0

Rat-Salsa

move render/event timing into the framework. accessible as SalsaContext::last_event() and SalsaContext::last_render(). move main templates to "/templates" use StatusLineStacked as standard status-line.

upgrade rat-text to 2.0. only for examples.

feature: give access to Terminal via the SalsaContext.

perf: Filter out double Control::Change. No need to render twice.

update examples

break: extend Terminal trait to mirror ratatui::Terminal.

feature: add SalsaContext::clear_terminal() and SalsaContext::insert_before(). feature: add RunConfig::manual_mode() to do custom init/shutdown of the terminal.

Remove AppWidget and AppState and replace it with plain functions. Prime example for traits rooted in old habits and too much object-oriented thinking.

break: remove the difference between AppContext and RenderContext.

break: remove AppContext as a separate unit and make it part of the Global struct of the application. This removes the obnoxious '.g' when accessing global data and brings AppContext and Global to the same level. Renamed to SalsaAppContext and add a trait SalsaContext that can do everything the current AppContext can. Easy to plug it to the Global struct this way. And less lifetime annotations this way.

break: simplify spawn() and add spawn_ext() with the full functionality.

break: rename focus_event() to handle_focus()

book: there is a new one.

feature: add a Liveness flag that can track a background task. Not very useful for short-lived task, but if you want to run a permanent background worker it might be useful.

feature: add mock::init() and mock::error() to use with run_tui() if you don't need init or error handling.

feature: add PollQuit that will send a message immediately before quitting. If you return anything but Quit it will cancel the quit.

feature: remove the Send bound where it is not absolutely necessary. Now your Event and Error type don't need to be Send if you don't use thread-tasks or future-tasks.

feature: really minimize down the minimal.rs example. And add a nominal.rs that shows some internal structuring.

feature: make ultra.rs nicer. and still <= 100loc

fix: don't use all of rat-widget, just rat-event and rat-focus are needed.

Rat-Widget

Rat-Text

break: change offset/scroll type from usize to upos_type.

... (truncated)

Commits

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.

Bumps [rat-text](https://github.com/thscharler/rat-salsa) from 1.0.5 to 2.5.0.
- [Release notes](https://github.com/thscharler/rat-salsa/releases)
- [Commits](https://github.com/thscharler/rat-salsa/commits)

---
updated-dependencies:
- dependency-name: rat-text
  dependency-version: 2.5.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Dec 2, 2025
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.

1 participant