-------------------------
**Major enhancements**
* Addition of ``nearest`` and ``nearest_all`` functions to ``STRtree`` for
GEOS >= 3.6 to find the nearest neighbors (272).
* Enable bulk construction of geometries with different number of coordinates
by optionally taking index arrays in all creation functions (230, 322, 326, 346).
* Released the GIL in all geometry creation functions (310, 326).
* Added the option to return the geometry index in ``get_coordinates`` (318).
* Added the ``get_rings`` function, similar as ``get_parts`` but specifically
to extract the rings of Polygon geometries (342).
* Updated ``box`` ufunc to use internal C function for creating polygon
(about 2x faster) and added ``ccw`` parameter to create polygon in
counterclockwise (default) or clockwise direction (308).
* Added ``to_shapely`` and improved performance of ``from_shapely`` in the case
GEOS versions are different (312).
**API Changes**
* STRtree default leaf size is now 10 instead of 5, for somewhat better performance
under normal conditions (286)
* Deprecated ``VALID_PREDICATES`` set from ``pygeos.strtree`` package; these can be constructed
in downstream libraries using the ``pygeos.strtree.BinaryPredicate`` enum.
This will be removed in a future release.
* ``points``, ``linestrings``, ``linearrings``, and ``polygons`` now return a ``GEOSException``
instead of a ``ValueError`` or ``TypeError`` for invalid input (310, 326).
* Addition of ``on_invalid`` parameter to ``from_wkb`` and ``from_wkt`` to
optionally return invalid WKB geometries as ``None``.
* Removed the (internal) function ``lib.polygons_without_holes`` and renamed
``lib.polygons_with_holes`` to ``lib.polygons`` (326).
* ``polygons`` will now return an empty polygon for `None` inputs (346).
* Removed compatibility with Python 3.5 (341).
**Added GEOS functions**
* Addition of a ``contains_properly`` function (267)
* Addition of a ``polygonize`` function (275)
* Addition of a ``polygonize_full`` function (298)
* Addition of a ``segmentize`` function for GEOS >= 3.10 (299)
* Addition of ``oriented_envelope`` and ``minimum_rotated_rectangle`` functions (314)
* Addition of ``minimum_bounding_circle`` and ``minimum_bounding_radius`` functions for GEOS >= 3.8 (315)
* Addition of a ``shortest_line`` ("nearest points") function (334)
**Bug fixes**
* Fixed portability issue for ARM architecture (293)
* Fixed segfault in ``linearrings`` and ``box`` when constructing a geometry with nan
coordinates (310).
* Fixed segfault in ``polygons`` (with holes) when None was provided.
* Fixed memory leak in ``polygons`` when non-linearring input was provided.
**Acknowledgments**
Thanks to everyone who contributed to this release!
People with a "+" by their names contributed a patch for the first time.
* Brendan Ward
* Casper van der Wel
* Joris Van den Bossche
* Martin Fleischmann
* Mike Taves
* Tanguy Ophoff +
* James Myatt +