Skip to content

Update taffy requirement from 0.7 to 0.8 #20004

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 7, 2025

Updates the requirements on taffy to permit the latest version.

Release notes

Sourced from taffy's releases.

v0.8.3

Fixed

  • Fix serde feature on 32bit targets (#845)
Changelog

Sourced from taffy's changelog.

0.8.3

Fixed

  • Fix serde feature on 32bit targets (#845)

0.8.2

Fixed

  • Fix: Calculate correct new grid size when expanding cell_occupancy_matrix in the negative direction (#843)

0.8.1

Added

  • Impl GridItemStyle and BlockContainerStyle for Style (#832).

0.8.0

Highlights

The big feature in this release is support for calc() values in the low-level API.

To use this API:

  • Implement the resolve_calc_value method when implementing the LayoutPartialTree trait.
  • Pass a type-erased pointer (*const ()) to constructors like LengthPercentage::calc(...)

Taffy treats the pointer as an opaque value (excepting that it uses the low 3 bits as a tag) which it will pass to LayoutPartialTree::resolve_calc_value along with a percentage resolution basis when it needs to resolve the value.

Changed

  • The representation of many "size" types is now a tagged pointer than an enum. This is to enable calc(). The effected types are LengthPercentage, LengthPercentageAuto, Dimension, MinTrackSizingFunction, and MaxTrackSizingFunction types.

Added

  • Special-case "compressible replaced elements" in grid sizing algorithm (#807) This allows for more correct sizing of "replaced" elements such as images that are children of flexbox or grid containers.

Fixed

  • Grid: Fix infinite loop due to float precision in grid layout maximise tracks step (#792)
  • Grid: Fix removed wrong addition, causing items to be misplaced. (#817)
  • Grid: Fix grid placement for items with fixed primary axis (#818)

... (truncated)

Commits
  • a31a40b Prepare for v0.8.3 release (#846)
  • 5f6a8b1 Fix serde feature on 32bit targets (#845)
  • 33adacc Bump DavidAnson/markdownlint-cli2-action from 19 to 20 (#839)
  • 6b5e5ff Update grid requirement from 0.16.0 to 0.17.0 (#842)
  • 9bace2c Prepare for v0.8.2 release (#844)
  • 5db1a9d Fix: Calculate correct new grid size when expanding cell_occupancy_matrix in ...
  • f391b9f Fix clippy lints (May 2025) (#841)
  • 3d585ec Prepare for v0.8.1 release (#833)
  • 01563c7 Impl GridItemStyle and BlockContainerStyle for Style (#832)
  • c3ecb7d Prepare for 0.8.0 release (#808)
  • 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 <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)

@dependabot dependabot bot added the C-Dependencies A change to the crates that Bevy depends on label Jul 7, 2025
@alice-i-cecile alice-i-cecile added A-UI Graphical user interfaces, styles, layouts, and widgets S-Adopt-Me The original PR author has no intent to complete this work. Pick me up! labels Jul 7, 2025
Updates the requirements on [taffy](https://github.com/DioxusLabs/taffy) to permit the latest version.
- [Release notes](https://github.com/DioxusLabs/taffy/releases)
- [Changelog](https://github.com/DioxusLabs/taffy/blob/main/CHANGELOG.md)
- [Commits](DioxusLabs/taffy@v0.7.0...v0.8.3)

---
updated-dependencies:
- dependency-name: taffy
  dependency-version: 0.8.3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/taffy-0.8 branch from 48cb304 to 2a6445c Compare July 7, 2025 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-UI Graphical user interfaces, styles, layouts, and widgets C-Dependencies A change to the crates that Bevy depends on S-Adopt-Me The original PR author has no intent to complete this work. Pick me up!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant