NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #3252 most downloaded on crates.io
Boolean Operations for 2D Polygons: Supports intersection, union, difference, xor, and self-intersections for all polygon varieties.
Latest stable
9.1.0
Last release 1 months ago
14 Oct 2026
Ships fairly regularly
a new release about every 3 weeks
Some releases are documented
notes for 21 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
132 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Improved performance for Tree Solver.
Corrected inner stroke joins by connecting offset edges through the join anchor.
Integer-based APIs for strokes, variable strokes, and outlines.
mesh::int and mesh::float.i_float and i_shape dependencies to 5.0.0.Your coding agent can read these notes before it upgrades. Set up the MCP server →
MathMode.mesh::int and mesh::float.i_float and i_shape 5.x.core::divide API.Nothing published for this version
Nothing published for this version
What’s new Variable-width stroke API. Flat shape hierarchy API. Batch point-location API.
What’s new
Introduced the unified OverlayInt trait.
OverlayInt trait.i_float and i_shape 4.x.Nothing published for this version
Nothing published for this version
Nothing published for this version
New templated solver with i16 , i32 , and i64 support.
i16, i32, and i64 support.EdgeOverlay API to preserve edge information after boolean operations.i16, i32, and i64.Nothing published for this version
Migration: FloatPointCompatible now uses an associated scalar type
FloatPointCompatible now uses an associated scalar typeFloatPointCompatible no longer takes the scalar as a generic parameter. Implementations should define type Scalar instead.
Before:
impl FloatPointCompatible<f32> for MyPoint {
fn from_xy(x: f32, y: f32) -> Self { ... }
fn x(&self) -> f32 { ... }
fn y(&self) -> f32 { ... }
}After:
impl FloatPointCompatible for MyPoint {
type Scalar = f32;
fn from_xy(x: f32, y: f32) -> Self { ... }
fn x(&self) -> f32 { ... }
fn y(&self) -> f32 { ... }
}Public float overlay APIs were simplified accordingly. Types that previously carried both point and scalar generics now generally use only the point type, with scalar values expressed as P::Scalar.
FloatPointCompatible now uses an associated scalar typeFloatPointCompatible no longer takes the scalar as a generic parameter. Implementations should define type Scalar instead.
Before:
impl FloatPointCompatible<f32> for MyPoint {
fn from_xy(x: f32, y: f32) -> Self { ... }
fn x(&self) -> f32 { ... }
fn y(&self) -> f32 { ... }
}
After:
impl FloatPointCompatible for MyPoint {
type Scalar = f32;
fn from_xy(x: f32, y: f32) -> Self { ... }
fn x(&self) -> f32 { ... }
fn y(&self) -> f32 { ... }
}
Public float overlay APIs were simplified accordingly. Types that previously carried both point and scalar generics now generally use only the point type, with scalar values expressed as P::Scalar.
Scalar type in FloatPointCompatible.i_float and i_shape 2.x.Nothing published for this version
Starting with 5.0.0 , i_overlay follows SemVer release cycles.
Starting with 5.0.0, i_overlay follows SemVer release cycles.
cargo-semver-checks to CI.Nothing published for this version
Nothing published for this version
Changed: Reworked buffering algorithm. Now it's relay on default boolean overlay graph. Old legacy buffering overlay graph removed. New algorithm must
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Changed: License updated from MIT to dual MIT OR Apache-2.0.
Added OGC-valid output mode to split composite holes into valid contours.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
no_std support std math replaced with libm.
no_std support
std math replaced with libm.Memory-efficient API
FloatOverlay and Overlay use a reusable buffer to reduce allocation overhead, improving performance by 5–15% in repeated operations.
OverlayGraph is now a reference view (no longer owns geometry data)
Optional multithreading
allow_multithreading is now an optional feature and disabled by default.
no_std support.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
API Design: options were mistakenly present in both the constructor and the custom function. Now they are only in the constructor.
API Design: options were mistakenly present in both the constructor and the custom function. Now they are only in the constructor.
Area type changed: usize -> u64 Using usize caused incorrect results on WebAssembly.
Area type changed: usize -> u64
Using usize caused incorrect results on WebAssembly.
IntOverlayOptions: options for integer boolean operations.
IntOverlayOptions: options for integer boolean operations.
OverlayOptions<T>: options for float boolean operations.
ContourFilter)ContourFilter<T>: Previously used for controlling output simplification and area threshold; now replaced by the more unified OverlayOptions.
Nothing published for this version
Nothing published for this version
Outer contours are returned in counter-clockwise order
Starting from this version:
This aligns with the standard mathematical convention and improves compatibility with other geometry libraries.
Now it also can be adjustable with enum ContourDirection
API Cleanup
Advanced methods have been renamed for clarity and now use the *_custom suffix:
overlay_customextract_shapes_customslice_custom_by
...and othersThe slicing algorithm has been reworked and became more stable.
Changed the default contour orientation to counterclockwise for outer contours and clockwise for holes.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added Buffering: - Path offset. - Polygon offset.
Added
Buffering:
LineCap and LineJoin styles.Snap by radius can now grow without limit.
Changed
Added
simplify_shape_with_solver which allow to set Solver.hole path builder uses clockwise edge priority, which is more topologically natural.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Deprecated f32/f64 API. Use the templated Float API instead.
Added
Improved splitting logic for large datasets:
Removed
Deprecated f32/f64 API. Use the templated Float API instead.
One column per quarter.