diff --git a/CHANGELOG.md b/CHANGELOG.md index fb5cd72d..f133ff48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,9 +15,16 @@ You can find its changes [documented below](#0111-2024-09-12). This release has an [MSRV][] of 1.65. +### Added + +- `Stroke` is now `PartialEq`, `StrokeOpts` is now `Clone`, `Copy`, `Debug`, `Eq`, `PartialEq`. ([#379][] by [@waywardmonkeys][]) +- Implement `Sum` for `Vec2`. ([#399][] by [@Philipp-M][]) +- Add triangle shape. ([#350][] by [@juliapaci][]) + ### Changed -- `Stroke` is now `PartialEq`, `StrokeOpts` is now `Clone`, `Copy`, `Debug`, `Eq`, `PartialEq`. ([#379] by [@waywardmonkeys]) +- Reduce number of operations in `Triangle::circumscribed_circle`. ([#390][] by [@tomcur][]) +- Numerically approximate ellipse perimeter. ([#383] by [@tomcur][]) ## [0.11.1][] (2024-09-12) @@ -25,28 +32,28 @@ This release has an [MSRV][] of 1.65. ### Added -- Add `From (f32, f32)` for `Point`. ([#339] by [@rsheeter]) -- Add `Rect::overlaps` and `Rect::contains_rect`. ([#347] by [@nils-mathieu]) -- Add `CubicBez::tangents` ([#288] by [@raphlinus]) -- Add `Arc::reversed`. ([#367] by [@waywardmonkeys]) -- Add `CircleSegment::inner_arc` and `CircleSegment::outer_arc` ([#368] by [@waywardmonkeys]) -- Add `Rect::is_zero_area` and `Size::is_zero_area` and deprecate their `is_empty` methods. ([#370] by [@waywardmonkeys]) -- Add `Line::reversed` and `Line::midpoint`. ([#375] by [@waywardmonkeys]) -- Allow construction of `Line` from `(Point, Point)` and `(Point, Vec2)`. ([#376] by [@waywardmonkeys]) +- Add `From (f32, f32)` for `Point`. ([#339][] by [@rsheeter][]) +- Add `Rect::overlaps` and `Rect::contains_rect`. ([#347][] by [@nils-mathieu][]) +- Add `CubicBez::tangents` ([#288][] by [@raphlinus][]) +- Add `Arc::reversed`. ([#367][] by [@waywardmonkeys][]) +- Add `CircleSegment::inner_arc` and `CircleSegment::outer_arc` ([#368][] by [@waywardmonkeys][]) +- Add `Rect::is_zero_area` and `Size::is_zero_area` and deprecate their `is_empty` methods. ([#370][] by [@waywardmonkeys][]) +- Add `Line::reversed` and `Line::midpoint`. ([#375][] by [@waywardmonkeys][]) +- Allow construction of `Line` from `(Point, Point)` and `(Point, Vec2)`. ([#376][] by [@waywardmonkeys][]) ### Changed -- Move `Self: Sized` bound from `Shape` to methods. ([#340] by [@waywardmonkeys]) -- Enable partial SVG path support in `no_std` builds. ([#356] by [@waywardmonkeys]) -- Deprecate `BezPath::flatten`, prefer `flatten`. ([#361] by [@waywardmonkeys]) +- Move `Self: Sized` bound from `Shape` to methods. ([#340][] by [@waywardmonkeys][]) +- Enable partial SVG path support in `no_std` builds. ([#356][] by [@waywardmonkeys][]) +- Deprecate `BezPath::flatten`, prefer `flatten`. ([#361][] by [@waywardmonkeys][]) ### Fixed -- An edge case in `mindist` was fixed. ([#334] by [@platlas]) -- Allow lines in simplify input. ([#343] by [@raphlinus]) -- Don't skip first dash in dash pattern. ([#353] by [@dominikh]) -- Documentation for `Arc.perimeter` was corrected. ([#354] by [@simoncozens]) -- Parsing scientific notation in an SVG path was fixed. ([#365] by [@GabrielDertoni]) +- An edge case in `mindist` was fixed. ([#334][] by [@platlas][]) +- Allow lines in simplify input. ([#343][] by [@raphlinus][]) +- Don't skip first dash in dash pattern. ([#353][] by [@dominikh][]) +- Documentation for `Arc.perimeter` was corrected. ([#354][] by [@simoncozens][]) +- Parsing scientific notation in an SVG path was fixed. ([#365][] by [@GabrielDertoni][]) ## [0.11.0][] (2024-02-14) @@ -56,11 +63,14 @@ Note: A changelog was not kept for or before this release [@dominikh]: https://github.com/dominikh [@GabrielDertoni]: https://github.com/GabrielDertoni +[@juliapaci]: https://github.com/juliapaci [@nils-mathieu]: https://github.com/nils-mathieu +[@Philipp-M]: https://github.com/Philipp-M [@platlas]: https://github.com/platlas [@raphlinus]: https://github.com/raphlinus [@rsheeter]: https://github.com/rsheeter [@simoncozens]: https://github.com/simoncozens +[@tomcur]: https://github.com/tomcur [@waywardmonkeys]: https://github.com/waywardmonkeys [#288]: https://github.com/linebender/kurbo/pull/288 @@ -69,6 +79,7 @@ Note: A changelog was not kept for or before this release [#340]: https://github.com/linebender/kurbo/pull/340 [#343]: https://github.com/linebender/kurbo/pull/343 [#347]: https://github.com/linebender/kurbo/pull/347 +[#350]: https://github.com/linebender/kurbo/pull/350 [#353]: https://github.com/linebender/kurbo/pull/353 [#354]: https://github.com/linebender/kurbo/pull/354 [#356]: https://github.com/linebender/kurbo/pull/356 @@ -80,6 +91,10 @@ Note: A changelog was not kept for or before this release [#375]: https://github.com/linebender/kurbo/pull/375 [#376]: https://github.com/linebender/kurbo/pull/376 [#379]: https://github.com/linebender/kurbo/pull/379 +[#383]: https://github.com/linebender/kurbo/pull/383 +[#388]: https://github.com/linebender/kurbo/pull/388 +[#390]: https://github.com/linebender/kurbo/pull/390 +[#399]: https://github.com/linebender/kurbo/pull/399 [Unreleased]: https://github.com/linebender/kurbo/compare/v0.11.1...HEAD [0.11.0]: https://github.com/linebender/kurbo/releases/tag/v0.11.0