Skip to content

v0.15.0 - #98

Merged
ynqa merged 11 commits into
mainfrom
v0.15.0/dev
Aug 16, 2026
Merged

v0.15.0#98
ynqa merged 11 commits into
mainfrom
v0.15.0/dev

Conversation

@ynqa

@ynqa ynqa commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Summary

This PR prepares promkit v0.15.0 with more explicit renderer layout policies and independently reusable prefix-search results.

  • Add HeightPolicy to support:
    • OrderedContent for content-sized widgets allocated in order
    • FairContent for equal-share allocation capped by content height
    • FairFill for equal-share allocation that preserves the assigned height
  • Extract vertical height allocation from the renderer layout and add unit and terminal-level regression coverage
  • Add configurable Wrap and Truncate overflow modes to the text widget
  • Refactor PrefixSearch so queries return independently selectable PrefixSearchResult snapshots
  • Remove the status widget and its Cargo feature
  • Update documentation and examples for the new APIs
  • Bump crate versions:
    • promkit to 0.15.0
    • promkit-core to 0.6.0
    • promkit-widgets to 0.8.0

Breaking changes

  • WidgetLayout now exposes a height_policy field.
  • PrefixSearch::search has been replaced by PrefixSearch::query.
  • Prefix-search widget state now receives a PrefixSearchResult through its result field.
  • The status feature and promkit_widgets::status module have been removed.
  • Text widget configuration now includes overflow_mode.

Validation

  • cargo fmt --all -- --check
  • cargo clippy
  • cargo test -- --nocapture --format pretty

The new height policies are also covered by termharness scenarios for ordered allocation, fair content sizing, and fair fill sizing.

Copilot AI review requested due to automatic review settings July 28, 2026 08:37
@ynqa
ynqa marked this pull request as draft July 28, 2026 08:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the workspace documentation and crate manifests to reflect the v0.15.0 release, including aligning internal crate dependency pins to the newly published versions.

Changes:

  • Bump promkit crate version to 0.15.0 and update its pinned internal dependencies (promkit-core / promkit-widgets).
  • Bump promkit-core to 0.6.0 and promkit-widgets to 0.8.0.
  • Update version references in repository docs (README.md, Concept.md, and promkit-widgets/README.md) to match the new release.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Updates the installation snippet to promkit = 0.15.0.
promkit/Cargo.toml Bumps promkit to 0.15.0 and pins promkit-core = 0.6.0 / promkit-widgets = 0.8.0.
promkit-widgets/README.md Updates usage examples to promkit = 0.15.0 and promkit-widgets = 0.8.
promkit-widgets/Cargo.toml Bumps promkit-widgets to 0.8.0 and pins promkit-core = 0.6.0.
promkit-core/Cargo.toml Bumps promkit-core to 0.6.0.
Concept.md Updates the feature example snippet to promkit = 0.15.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Base automatically changed from v0.14.0/dev to main July 28, 2026 12:05
@ynqa
ynqa marked this pull request as ready for review August 16, 2026 07:02
@ynqa
ynqa merged commit 56550ed into main Aug 16, 2026
1 check passed
@ynqa
ynqa deleted the v0.15.0/dev branch August 16, 2026 08: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.

2 participants