Skip to content

0.4.0

Compare
Choose a tag to compare
@BenMorel BenMorel released this 29 Dec 17:15
· 179 commits to master since this release

✨ New features

  • New method Point::azimuth() (#17) thanks to @Kolyunya
  • centroid() is now available on the root Geometry class (#20) thanks to @Kolyunya
  • Psalm annotations on the whole codebase

πŸ› Fixes

  • Fixed wrongly documented return types

πŸ’₯ BC breaks

Note: these breaks will likely not affect you, unless you're writing your own geometry engine or WK(B|T) parser.

  • GeometryEngine interface adds an azimuth() method
  • GeometryEngine::centroid() now returns Point
  • constants in WKTParser / EWKTParser are now protected
  • WBKBuffer::readDoubles()'s $count parameter is now typed