Skip to content

chore(deps): bump ratatui-image from 3.0.0 to 11.0.3 - #72

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/ratatui-image-11.0.3
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/ratatui-image-11.0.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 3, 2026

Copy link
Copy Markdown
Contributor

Bumps ratatui-image from 3.0.0 to 11.0.3.

Release notes

Sourced from ratatui-image's releases.

v11.0.3

Other

  • add SlicedProtocol::new_with_resize

v11.0.2

Other

  • add option to query background color with OSC

v11.0.1

Fixed

  • fix SlicedProtocol::Sixel trailing empty bands
  • fix changelog

v11.0.0

Added

  • feature kitty-offset to skip unicode-placeholders in kitty

v11.0.0-alpha.4

Fixed

  • fix SlicedProtocol::Sliced render

Changed

  • Image does not render with clipping under Kitty or Halfblocks, to be consistent with Sixels and ITerm2.

Added

  • Image::alow_clipping(bool) to allow clipping under Kitty and Halfblocks.

v11.0.0-alpha.3

Other

  • add Protocol::needs_placeholder
  • use ratatui::layout::Size instead of Rect where applicable

Added

  • SlicedImage and SlicedProtocol for partially rendering images (horizontal slices)
  • Protocol::needs_placeholder that returns a Rect for a placeholder if the image would not render.

Removed

  • feature kitty-offset in favor of SlicedImage and SlicedProtocol

Changed

  • FontSize = (u16, u16) alias became struct FontSize { width: u16, height: u16 }
  • Replaced Rect with Size everywhere it was used for size, or without positioning

... (truncated)

Changelog

Sourced from ratatui-image's changelog.

11.0.3 - 2026-06-02

Other

  • add SlicedProtocol::new_with_resize

11.0.2 - 2026-05-11

Other

  • add option to query background color with OSC

11.0.1 - 2026-05-10

Fixed

  • fix SlicedProtocol::Sixel trailing empty bands
  • fix changelog

11.0.0 - 2026-05-10

Overview

The terminal naturally has vertical scrolling. Many TUIs also follow vertical scrolling. Images should scroll in and out of a viewport, but ratatui-image had no mechanism for doing so natively. It would theoretically be possible for the consumer to slice images into rows, and threat each row as its own Protocol and then render one Image widget for only the visible rows. But in practice this would incur a performance and memory footprint hit. Then, sixels use a 256 color palette, and chafa should operate on the whole image, otherwise the output quality degrades significantly. Kitty also internally already has the image sliced into "cells" with its unicode-placeholders protocol, making this a much better natural fit for partial displaying.

This realease adds the sliced module, bringing in SlicedProtocol and SlicedImage structs.

SlicedProtocol takes care of the optimal image data for each protocol: Kitty needs nothing special, Sixels are split up by their natural "bands" of six pixel tall columns, ITerm2 is simply split into several base64 PNG slices, and Halfblocks also needs nothing special.

SlicedImage's constructor takes a SignedPosition, which is relative to the "render area" given to it on render, and may be negative or greater than the render area bottom Y.
That is, render receives the viewport, and the position may be used to display the image partially, at least on the vertical axis. This approach is flexible enough to also always create a viewport of the image's size or smaller, in cases where "viewport" doesn't apply or is not known at render time, but there is a size constraint.

Changed

  • FontSize = (u16, u16) alias became struct FontSize { width: u16, height: u16 }.
  • Replaced Rect with Size everywhere it was used for size, or without positioning
    • Picker::new_protocol()

... (truncated)

Commits
  • b420cba chore: release v11.0.3
  • a6ecf6e add SlicedProtocol::new_with_resize
  • e968723 chore: release v11.0.2
  • 01fceed add option to query background color with OSC
  • e50b09a chore: release v11.0.1
  • e2fb74a fix SlicedProtocol::Sixel trailing empty bands
  • bc27663 fix changelog
  • 7969aaf chore: release v11.0.0
  • 3610a99 move DEFAULT_BACKGROUND_COLOR into Resize.
  • 82531f8 update changelog
  • 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 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 [ratatui-image](https://github.com/ratatui/ratatui-image) from 3.0.0 to 11.0.3.
- [Release notes](https://github.com/ratatui/ratatui-image/releases)
- [Changelog](https://github.com/ratatui/ratatui-image/blob/master/CHANGELOG.md)
- [Commits](ratatui/ratatui-image@v3.0.0...v11.0.3)

---
updated-dependencies:
- dependency-name: ratatui-image
  dependency-version: 11.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jun 3, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@tatimblin

Copy link
Copy Markdown
Owner

Closing in favour of #85.

Eight major versions across, and this one genuinely needs source changes, so it is out of scope for Dependabot. Verified locally off current main (toolchain 1.98.1):

1. It does not link correctly as proposed. The lockfile in this PR keeps sonos-cli on ratatui 0.29.0 while pulling a second ratatui 0.30.0 in for ratatui-image 11. Two ratatui versions in one graph means StatefulImage implements the 0.30 StatefulWidget while Frame::render_stateful_widget wants the 0.29 one. ratatui has to move in the same commit (that was #75, also closed).

2. It introduces a native C dependency. ratatui-image 11 turns on chafa-dyn by default:

error: failed to run custom build command for `ratatui-image v11.1.0`
  Failed to find chafa via pkg-config. Install libchafa-dev or set PKG_CONFIG_PATH.
  Needs version >= 1.8.0.

This repo ships prebuilt binaries via cargo-dist to four targets plus a Homebrew tap, so taking libchafa is a packaging decision someone has to make deliberately. Probably we want default-features = false, features = ["crossterm"].

3. Two API breaks in src/tui/widgets/album_art.rs. Even with default features off: FontSize went from a (u16, u16) tuple alias to a struct (line 57 destructuring fails), and StatefulImage::new(None) is gone in favour of StatefulImage::default() (line 87, "takes 0 arguments but 1 argument was supplied").

With those three addressed the combination builds clean, all 269 tests pass, and a pty-based render check shows output byte-identical to today's. Full writeup, the working patch, and a sequencing note about the four in-flight TUI branches are in #85.

One more thing for whoever picks it up: 11.0.3 as pinned here is already four patches stale (11.1.0 is current, 12.0.0-rc.0 is out), so target the latest rather than this pin.

@tatimblin tatimblin closed this Sep 18, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 18, 2026

Copy link
Copy Markdown
Contributor Author

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/cargo/ratatui-image-11.0.3 branch September 18, 2026 16:18
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.

1 participant