Skip to content

Bump parley from 0.11.1 to 0.12.0 - #44

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/parley-0.12.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/parley-0.12.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 28, 2026

Copy link
Copy Markdown

Bumps parley from 0.11.1 to 0.12.0.

Release notes

Sourced from parley's releases.

v0.12.0

Name Crates.io Docs
parley Crates.io Docs
parley_data Crates.io Docs
parley_emoji Crates.io Docs
parley_engine Crates.io Docs
fontique Crates.io Docs

This release has an [MSRV] of 1.88.

Highlights

Parley Engine

This release introduces parley_engine, a lower-level crate for applications that need more control over text layout than Parley's web-style model allows, such as typesetters implementing their own line-breaking algorithms. Parley itself is now built on top of it.

Parley Engine analyzes paragraphs of text, resolving details like line break opportunities, grapheme boundaries, bidirectional text embedding levels, and emoji presentation, and shapes them with caller-provided font selection. Layout decisions, such as where to break lines and how to align or stack them, are left to the caller. Work is underway to support reshaping of lines, e.g., when a break falls within a ligature or splits a word in a cursive script.

Whitespace handling

Parley now implements whitespace hanging rules following CSS Text 4, and parley::TreeBuilder can now collapse whitespace according to CSS's white-space-collapse property; see style::WhiteSpaceCollapse.

Vertical alignment

Lines in a layout are now sized more closely to the CSS line box model. Inline boxes and spans of text can be vertically aligned following the keywords and lengths of CSS 2.2's vertical-align; see style::VerticalAlign.

Grapheme clusters

parley::layout::Cluster now spans whole extended grapheme clusters, instead of single characters. Carets and selections no longer land inside graphemes (such as between a letter and its combining accent); within a ligature, carets land between its graphemes at evenly spaced positions.

Added

Parley

  • Breaking change: The baselines of inline boxes can now be specified. (#639 by @​nicoburns)
  • Breaking change: The VerticalAlign style, allowing vertical alignment of inline spans to be specified. (#766 by @​nicoburns) Layout::{inline_boxes, inline_boxes_mut} now return impl ExactSizeIterator instead of slices.
  • Breaking change: AlignmentOptions::last_line_alignment, which allows the alignment of the last line to be configured. (#872 by @​nicoburns) This is especially useful in combination with justification.
  • Breaking change: Added the WhiteSpaceCollapse::{PreserveBreaks, BreakSpaces} variants. (#812, #833 by @​nicoburns)

... (truncated)

Changelog

Sourced from parley's changelog.

[0.12.0] - 2026-10-09

This release has an [MSRV] of 1.88.

Highlights

Parley Engine

This release introduces parley_engine, a lower-level crate for applications that need more control over text layout than Parley's web-style model allows, such as typesetters implementing their own line-breaking algorithms. Parley itself is now built on top of it. Parley Engine analyzes paragraphs of text, resolving details like line break opportunities, grapheme boundaries, bidirectional text embedding levels, and emoji presentation, and shapes them with caller-provided font selection. Layout decisions, such as where to break lines and how to align or stack them, are left to the caller. Work is underway to support reshaping of lines, e.g., when a break falls within a ligature or splits a word in a cursive script.

Whitespace handling

Parley now implements whitespace hanging rules following CSS Text 4, and parley::TreeBuilder can now collapse whitespace according to CSS's white-space-collapse property; see style::WhiteSpaceCollapse.

Vertical alignment

Lines in a layout are now sized more closely to the CSS line box model. Inline boxes and spans of text can be vertically aligned following the keywords and lengths of CSS 2.2's vertical-align; see style::VerticalAlign.

Grapheme clusters

parley::layout::Cluster now spans whole extended grapheme clusters, instead of single characters. Carets and selections no longer land inside graphemes (such as between a letter and its combining accent); within a ligature, carets land between its graphemes at evenly spaced positions.

Added

Parley

  • Breaking change: The baselines of inline boxes can now be specified. (#639[] by [@​nicoburns][])
  • Breaking change: The VerticalAlign style, allowing vertical alignment of inline spans to be specified. (#766[] by [@​nicoburns][])
    Layout::{inline_boxes, inline_boxes_mut} now return impl ExactSizeIterator instead of slices.
  • Breaking change: AlignmentOptions::last_line_alignment, which allows the alignment of the last line to be configured. (#872[] by [@​nicoburns][])
    This is especially useful in combination with justification.
  • Breaking change: Added the WhiteSpaceCollapse::{PreserveBreaks, BreakSpaces} variants. (#812[], #833[] by [@​nicoburns][])
  • Breaking change: Support for the CSS line-break style. This controls line-breaking behaviour of CJK text. (#843[] by [@​nicoburns][])
  • Breaking change: Added LineMetrics::content_block_{min, max}_coord, which are the typographic content bounds of a line independent of line height. (#697[] by [@​tomcur][])
  • Breaking change: Added LineMetrics::indent, which is the text indent applied to the line. (#893[] by [@​tomcur][])

... (truncated)

Commits
  • 6e1143d Release v0.12.0 (#888)
  • 4e25da3 Bumps dependencies for release (#894)
  • 4004539 Add LineMetrics::indent, and let LineBreakData return full LineMetrics ...
  • c22a926 Expose hanging_advance in LineBreakData (#892)
  • a3fbd83 parley_bench: shuffle samples' words for more reliable Content Widths benches...
  • 92097be Content widths: simplify indentation tracking, also indent lines holding only...
  • 595830e Make parley_engine::bidi private (#891)
  • 548a8e5 Account for text indent in calculate_content_widths (#866)
  • a8c9d1b Update changelog for v0.12 (#883)
  • 6279094 TreeBuilder: Eliminate uncommitted_text buffer. Add text and `has_pending...
  • Additional commits viewable in compare view

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

Bumps [parley](https://github.com/linebender/parley) from 0.11.1 to 0.12.0.
- [Release notes](https://github.com/linebender/parley/releases)
- [Changelog](https://github.com/linebender/parley/blob/main/CHANGELOG.md)
- [Commits](linebender/parley@v0.11.1...v0.12.0)

---
updated-dependencies:
- dependency-name: parley
  dependency-version: 0.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Oct 28, 2026
@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c2a0ffa9-c204-4af7-8680-1239fb1b43cf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

0 participants