Skip to content

Update taffy requirement from 0.7 to 0.8 #86

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

@dependabot dependabot bot commented on behalf of github May 12, 2025

Updates the requirements on taffy to permit the latest version.

Release notes

Sourced from taffy's releases.

v0.8.1

Added

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

Sourced from taffy's changelog.

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)
  • Leaf layout: don't set available space to max-size (#819)

0.7.7

Fixed

  • Add #[inline] annotation to some methods on TaffyTree (#802)
  • Add TaffyTree::remove_children_range method (#802)

0.7.6

Fixed

... (truncated)

Commits

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)

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

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 12, 2025

Labels

The following labels could not be found: C-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.

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.

0 participants