From 21db30e451e2d3cfe802635bba351f18aecc80e5 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Sun, 27 Mar 2022 22:59:38 -0400 Subject: [PATCH] Add new geotype ctors to CHANGES.md Once #782 and #784 is merged, we should merge this PR to reflect all the new constructors and instantiation recommendations. --- geo-types/CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/geo-types/CHANGES.md b/geo-types/CHANGES.md index 7eef329b4..e614dc8fa 100644 --- a/geo-types/CHANGES.md +++ b/geo-types/CHANGES.md @@ -16,6 +16,8 @@ * * Extend `point!` macro to support single coordinate expression arguments `point!(coordinate)` (coordinate can be created with the `coord!` macro) * +* `LineString`, `MultiPoint`, `MultiPolygon`, `Triangle`, `MultiLineString` now have a new constructor `new(...)`. `GeometryCollection` has a `new_from(...)` constructor. Do not use tuple constructors like ~~`MultiPoint(...)`~~ for any of the geo-types. Use `MultiPoint::new(...)` and similar instead. + * PRs: [MultiPolygon::new](https://github.com/georust/geo/pull/786), [MultiLineString::new](https://github.com/georust/geo/pull/784), [Triangle::new](https://github.com/georust/geo/pull/783), [GeometryCollection::new_from](https://github.com/georust/geo/pull/782), [LineString::new](https://github.com/georust/geo/pull/781), [MultiPoint::new](https://github.com/georust/geo/pull/778), [Point::from](https://github.com/georust/geo/pull/777) ## 0.7.3