Skip to content

0.9.0

Compare
Choose a tag to compare
@BenMorel BenMorel released this 21 Nov 23:57
· 43 commits to master since this release

💥 Breaking changes

  • Proxies are now @internal and considered an implementation detail. This means that they are no longer part of the public API and can change at any time. This means that you should always type-hint against the base class and not the proxy.
  • Point constructor now throws an exception when passing NaN or infinite coordinates.
  • GeometryEngine::pointOnSurface() now returns Point instead of Geometry.

🐛 Bug fixes

  • Geometry::withSRID() now properly propagates the SRID to all sub-geometries. Previously, only the top-level geometry was updated.
  • Point constructor would error when destructuring an associative array.

New features

  • New Projector API to reproject geometry coordinates.
  • New method: Polygon::rings()
  • New method: Geometry::isIdenticalTo()

Improvements

  • GeometryCollection::geometryN() is now properly documented with generics.