Skip to content

Commit 9ea617b

Browse files
committed
fixup changelog
1 parent fb6a058 commit 9ea617b

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

geo/CHANGES.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
# Changes
22

33
## Unreleased
4-
* POSSIBLY BREAKING: New `TotalOrd` trait is required for our base numeric
5-
trait GeoNum, this avoids some potential crashes when working with geometries
6-
that contain NaN points. This shouldn't break for any common numeric types,
7-
but if you are using something exotic you'll need to manually implement
8-
TotalOrd for your numeric type.
4+
* BREAKING: The `HasKernel` trait was removed and it's functionality was merged
5+
into `GeoNum`. If you are using common scalars for your geometry (f32, f64,
6+
i64, i32, i16, isize), this should have no effect on you. If you are using an
7+
exotic scalar type, you'll need to implement `GeoNum` for it instead of
8+
`HasKernel`. If you had functionality defined in terms of `HasKernel` before,
9+
define it in terms of `GeoNum` instead.
910
* <https://github.com/georust/geo/pull/1134>
10-
* POSSIBLY BREAKING: Visvalingam trait implementation moved from
11+
* BREAKING: Added a new `total_cmp` method to `GeoNum`. This avoids some
12+
potential crashes when working with geometries that contain NaN points. This
13+
shouldn't break for any common numeric types, but if you are using something
14+
exotic you'll need to manually implement `GeoNum` for your numeric type.
15+
* <https://github.com/georust/geo/pull/1134>
16+
* POSSIBLY BREAKING: `SimplifyVwPreserve` trait implementation moved from
1117
`geo_types::CoordNum` to `geo::GeoNum` as fallout of introducing the
1218
`TotalOrd` constraint. This shouldn't break anything for common numeric
1319
types, but if you are using something exotic you'll need to manually
14-
implement TotalOrd for your numeric type.
20+
implement `GeoNum` for your numeric type.
1521
* Implement ChaikinSmoothing to work on Geometry types
1622
* <https://github.com/georust/geo/pull/1116>
1723
* Fix a panic when calculating the haversine closest point to a point intersecting the geometry

0 commit comments

Comments
 (0)