DioxusLabs / taffy

A high performance rust-powered UI layout library
https://docs.rs/taffy
Other
2.04k stars 102 forks source link

Update cosmic-text requirement from 0.11.2 to 0.12.0 #669

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Updates the requirements on cosmic-text to permit the latest version.

Release notes

Sourced from cosmic-text's releases.

0.12.0

This release focused on resolving some longstanding issues for toolkit use.

Links

Added

  • Cache codepoint support info for monospace fonts
  • Store a sorted list of monospace font ids in font system
  • Add line ending abstraction
  • Horizontal scroll support in Buffer
  • Concurrently load and parse fonts
  • Add metrics to attributes
  • Support expanding tabs
  • Add an option to set selected text color
  • Add Edit::cursor_position
  • Allow layout to be calculated without specifying width
  • Allow for undefined buffer width and/or height
  • Add method to set syntax highlighting by file extension

Fixed

  • Fix no_std build
  • Handle inverted Ranges in add_span
  • Fix undo and redo updating editor modified status
  • Ensure at least one line is in Buffer

Changed

  • Enable vi feature for docs.rs build
  • Convert editor example to winit
  • Refactor scrollbar width handling for editor example
  • Convert rich-text example to winit
  • Only try monospace fonts that support at least one requested script
  • Skip trying monospace fallbacks if default font supports all codepoints
  • Make vertical scroll by pixels instead of layout lines
  • Upgrade dependencies and re-export ttf-parser
Changelog

Sourced from cosmic-text's changelog.

[0.12.0] - 2024-06-18

Added

  • Cache codepoint support info for monospace fonts
  • Store a sorted list of monospace font ids in font system
  • Add line ending abstraction
  • Horizontal scroll support in Buffer
  • Concurrently load and parse fonts
  • Add metrics to attributes
  • Support expanding tabs
  • Add an option to set selected text color
  • Add Edit::cursor_position
  • Allow layout to be calculated without specifying width
  • Allow for undefined buffer width and/or height
  • Add method to set syntax highlighting by file extension

Fixed

  • Fix no_std build
  • Handle inverted Ranges in add_span
  • Fix undo and redo updating editor modified status
  • Ensure at least one line is in Buffer

Changed

  • Enable vi feature for docs.rs build
  • Convert editor example to winit
  • Refactor scrollbar width handling for editor example
  • Convert rich-text example to winit
  • Only try monospace fonts that support at least one requested script
  • Skip trying monospace fallbacks if default font supports all codepoints
  • Make vertical scroll by pixels instead of layout lines
  • Upgrade dependencies and re-export ttf-parser

[0.11.2] - 2024-02-08

Fixed

  • Fix glyph start and end when using shape-run-cache

[0.11.1] - 2024-02-08

Added

  • Add shape-run-cache feature, that can significantly improve shaping performance

Removed

  • Remove editor-libcosmic, see cosmic-edit instead

... (truncated)

Commits
  • a03ec6b 0.12.0
  • a82573e Do not keep github pages history
  • 7677ba3 Revert "Promote Noto Color Emoji fallback"
  • 24fb208 Downgrade fontdb until iced can update resvg
  • 542b20c Upgrade dependencies, and re-export ttf-parser so that dependents can verify ...
  • 8bb45d7 Shape tabs as spaces, fixes #248
  • a46e992 add method to set syntax highlighting by file extension
  • 69d5aec Fix infinite loop if scroll is on invalid line
  • 93a7df8 Allow for undefined buffer width and/or height, fixes #70
  • cd1cd0a Allow syn duplicate until derivative updates its syn dependency
  • Additional commits viewable in compare view


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 show 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)
alice-i-cecile commented 2 months ago

Looks like there are some simple breaking changes that we need to adapt to.

dependabot[bot] commented 2 months ago

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.