---
title: "taffy 0.16.0 Breaking Changes on crates.io | Since.dev"
description: "What each taffy release removed, renamed or changed: 127 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/taffy
last_updated: 2026-12-04
---

# taffy breaking changes

taffy 0.16.0 (November 23, 2026) is its newest release with breaking changes, 127 of them. The first: Removed Cache. Every breaking API change we have recorded in taffy on crates.io: 127 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.16.1`, released November 30, 2026. [Source repository](https://github.com/DioxusLabs/taffy)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## taffy 0.16.0 breaking changes

taffy 0.16.0, released November 23, 2026: 127 breaking changes.

- **Removed** `Cache`  

Cache no longer implements Serialize with the serde feature. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Removed** `strict_provenance`  

The strict_provenance feature was removed because CompactLength now always uses strict provenance pointer APIs. Stop enabling the feature. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Behavior changed**  

The MSRV is now Rust 1.85 and the crate uses the 2024 edition, so users must build with a compatible toolchain. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Behavior changed**  

Parse error messages no longer name the offending token, which may affect code matching on error text. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Behavior changed** `Cache.get`  

CacheTree::cache_get and Cache::get now take &self rather than &mut self; the eviction clock is an AtomicU16. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Behavior changed** `ContentSlot.height`  

ContentSlot::height is now how far down the slot's width stays valid; previously it was always infinite. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `BlockContext.apply_content_box_inset`  

BlockContext::apply_content_box_inset now takes FloatInsets instead of \[f32; 2\]. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `BlockContext.find_bfc_slot`  

BlockContext::find_bfc_slot now takes FloatInsets instead of \[f32; 2\] margins. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `BlockContext.place_floated_box`  

BlockContext::place_floated_box now takes an id: u64 argument that is stored on PlacedFloatedBox. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `BlockContext.sub_context`  

BlockContext::sub_context now takes a FloatInsets value in place of the \[f32; 2\] insets. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `calc`  

The calc and fit_content_calc constructors now take a CalcHandle, created with CalcHandle::from_ptr or CalcHandle::from_bits. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `calc_value`  

calc values are now stored as an opaque CalcHandle; code reading calc_value() must use ptr() or to_bits() on the handle. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `find_bfc_slot`  

find_bfc_slot now takes a min_height and uses the new FloatInsets type instead of \[f32; 2\] insets and margins. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `find_content_slot`  

find_content_slot now takes the height of the content being placed. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `FloatContext.place_floated_box`  

FloatContext::place_floated_box now takes an id: u64 argument. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `Layout.scrollable_overflow_rect`  

Layout::scrollable_overflow_rect is now a ScrollableOverflow rather than a Rect\<f32>; read the rectangle with rect() or the left/right/top/bottom accessors. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `LayoutOutput.scrollable_overflow_rect`  

LayoutOutput::scrollable_overflow_rect is now a ScrollableOverflow rather than a Rect\<f32>. [github.com](https://github.com/DioxusLabs/taffy/releases/tag/v0.16.0)
- **Signature changed** `taffy::BlockContext::apply_content_box_inset`  

Was fn apply_content_box_inset(&mut self, content_box_x_insets: \[f32; 2\]); now fn apply_content_box_inset(&mut self, content_box_x_insets: FloatInsets). [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::BlockContext::find_bfc_slot`  

Was fn find_bfc_slot(&self, min_y: f32, margins: \[f32; 2\], direction: Direction, clear: Clear, after: Option\<usize>) -> BfcSlot; now fn find_bfc_slot(&self, min_y: f32, min_height: f32, margins: FloatInsets, direction: Direction, clear... [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::BlockContext::find_content_slot`  

Was fn find_content_slot(&self, min_y: f32, clear: Clear, after: Option\<usize>) -> ContentSlot; now fn find_content_slot(&self, min_y: f32, height: f32, clear: Clear, after: Option\<usize>) -> ContentSlot. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::BlockContext::place_floated_box`  

Was fn place_floated_box(&mut self, floated_box: Size\<f32>, min_y: f32, direction: FloatDirection, clear: Clear, adjoins_unresolved_strut: bool) -> Point\<f32>; now fn place_floated_box(&mut self, id: u64, floated_box: Size\<f32>, min_y... [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::BlockContext::sub_context`  

Was fn sub_context(&mut self, additional_y_offset: f32, insets: \[f32; 2\]) -> BlockContext<'\_>; now fn sub_context(&mut self, additional_y_offset: f32, insets: FloatInsets) -> BlockContext<'\_>. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::Cache::get`  

Was fn get(&mut self, input: &LayoutInput) -> Option\<LayoutOutput>; now fn get(&self, input: &LayoutInput) -> Option\<LayoutOutput>. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::CacheTree::cache_get`  

Was fn cache_get(&mut self, node_id: NodeId, input: &LayoutInput) -> Option\<LayoutOutput>; now fn cache_get(&self, node_id: NodeId, input: &LayoutInput) -> Option\<LayoutOutput>. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::CompactLength::calc`  

Was fn calc(ptr: \*const ()) -> Self; now fn calc(handle: CalcHandle) -> Self. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::CompactLength::calc_value`  

Was fn calc_value(self) -> \*const (); now fn calc_value(self) -> CalcHandle. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::CompactLength::fit_content_calc`  

Was fn fit_content_calc(ptr: \*const ()) -> Self; now fn fit_content_calc(handle: CalcHandle) -> Self. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::CompactLength::resolved_percentage_size`  

Was fn resolved_percentage_size(self, parent_size: f32, calc_resolver: impl Fn(\*const (), f32) -> f32) -> Option\<f32>; now fn resolved_percentage_size(self, parent_size: f32, calc_resolver: impl Fn(CalcHandle, f32) -> f32) -> Option\<f32>. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::compute_leaf_layout`  

Was fn compute_leaf_layout\<MeasureFunction>(inputs: LayoutInput, style: &impl CoreStyle, resolve_calc_value: impl Fn(\*const (), f32) -> f32, measure_function: MeasureFunction) -> LayoutOutput where MeasureFunction... [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::compute::BlockContext::apply_content_box_inset`  

Was fn apply_content_box_inset(&mut self, content_box_x_insets: \[f32; 2\]); now fn apply_content_box_inset(&mut self, content_box_x_insets: FloatInsets). [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::compute::BlockContext::find_bfc_slot`  

Was fn find_bfc_slot(&self, min_y: f32, margins: \[f32; 2\], direction: Direction, clear: Clear, after: Option\<usize>) -> BfcSlot; now fn find_bfc_slot(&self, min_y: f32, min_height: f32, margins: FloatInsets, direction: Direction, clear... [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::compute::BlockContext::find_content_slot`  

Was fn find_content_slot(&self, min_y: f32, clear: Clear, after: Option\<usize>) -> ContentSlot; now fn find_content_slot(&self, min_y: f32, height: f32, clear: Clear, after: Option\<usize>) -> ContentSlot. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::compute::BlockContext::place_floated_box`  

Was fn place_floated_box(&mut self, floated_box: Size\<f32>, min_y: f32, direction: FloatDirection, clear: Clear, adjoins_unresolved_strut: bool) -> Point\<f32>; now fn place_floated_box(&mut self, id: u64, floated_box: Size\<f32>, min_y... [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::compute::BlockContext::sub_context`  

Was fn sub_context(&mut self, additional_y_offset: f32, insets: \[f32; 2\]) -> BlockContext<'\_>; now fn sub_context(&mut self, additional_y_offset: f32, insets: FloatInsets) -> BlockContext<'\_>. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::compute::compute_leaf_layout`  

Was fn compute_leaf_layout\<MeasureFunction>(inputs: LayoutInput, style: &impl CoreStyle, resolve_calc_value: impl Fn(\*const (), f32) -> f32, measure_function: MeasureFunction) -> LayoutOutput where MeasureFunction... [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::compute::FloatContext::find_bfc_slot`  

Was fn find_bfc_slot(&self, min_y: f32, containing_block_insets: \[f32; 2\], margins: \[f32; 2\], direction: Direction, clear: Clear, after: Option\<usize>) -> BfcSlot; now fn find_bfc_slot(&self, min_y: f32, min_height: f32... [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::compute::FloatContext::find_content_slot`  

Was fn find_content_slot(&self, min_y: f32, containing_block_insets: \[f32; 2\], clear: Clear, after: Option\<usize>) -> ContentSlot; now fn find_content_slot(&self, min_y: f32, height: f32, containing_block_insets: FloatInsets, clear: Clear... [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::compute::FloatContext::place_floated_box`  

Was fn place_floated_box(&mut self, floated_box: Size\<f32>, min_y: f32, containing_block_insets: \[f32; 2\], direction: FloatDirection, clear: Clear) -> Point\<f32>; now fn place_floated_box(&mut self, id: u64, floated_box: Size\<f32>, min_y... [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::Dimension::calc`  

Was fn calc(ptr: \*const ()) -> Self; now fn calc(handle: CalcHandle) -> Self. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::Dimension::calc_value`  

Was fn calc_value(self) -> \*const (); now fn calc_value(self) -> CalcHandle. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::Dimension::fit_content_calc`  

Was fn fit_content_calc(ptr: \*const ()) -> Self; now fn fit_content_calc(handle: CalcHandle) -> Self. [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::ExpandedDimension::Calc`  

Was Calc(\*const ()); now Calc(CalcHandle). [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::ExpandedDimension::FitContentCalc`  

Was FitContentCalc(\*const ()); now FitContentCalc(CalcHandle). [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::ExpandedLengthPercentage::Calc`  

Was Calc(\*const ()); now Calc(CalcHandle). [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::ExpandedLengthPercentageAuto::Calc`  

Was Calc(\*const ()); now Calc(CalcHandle). [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::ExpandedMaxTrackSizingFunction::Calc`  

Was Calc(\*const ()); now Calc(CalcHandle). [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::ExpandedMaxTrackSizingFunction::FitContentCalc`  

Was FitContentCalc(\*const ()); now FitContentCalc(CalcHandle). [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::ExpandedMinTrackSizingFunction::Calc`  

Was Calc(\*const ()); now Calc(CalcHandle). [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::FloatContext::find_bfc_slot`  

Was fn find_bfc_slot(&self, min_y: f32, containing_block_insets: \[f32; 2\], margins: \[f32; 2\], direction: Direction, clear: Clear, after: Option\<usize>) -> BfcSlot; now fn find_bfc_slot(&self, min_y: f32, min_height: f32... [crates.io](https://crates.io/crates/taffy/0.16.0)
- **Signature changed** `taffy::FloatContext::find_content_slot`  

Was fn find_content_slot(&self, min_y: f32, containing_block_insets: \[f32; 2\], clear: Clear, after: Option\<usize>) -> ContentSlot; now fn find_content_slot(&self, min_y: f32, height: f32, containing_block_insets: FloatInsets, clear: Clear... [crates.io](https://crates.io/crates/taffy/0.16.0)

And 77 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
