Skip to content

v0.14.0

Latest

Choose a tag to compare

@jmr jmr released this 23 Apr 11:55
· 65 commits to master since this release
c24b368

What's Changed

  • Update to 2025-12-24 google3 version by @jmr in #506
    • Add copy constructors and copy assignment for S2Region derived classes
    • S2LatLngRect: Fix GetCapBound for tall and wide rects (>90 and >180 deg)
    • Avoid unnecessary zero-initialization of S2Point arrays in S2Loop,
      S2Polyline, S2LaxPolygonShape, S2LaxPolylineShape, and S2LaxLoopShape.
    • s2text_format: Return absl::StatusOr, deprecate old bool/OrDie functions
    • Add CTAD deduction guides for S2ContainsPointQuery and S2ClosestEdgeQuery
      • Deprecate MakeS2ContainsPointQuery and Make S2ClosestCellQuery functions
    • Release benchmarks
    • When using CMake, the benchmark and googletest libraries will be
      downloaded if tests are enabled. GOOGLETEST_ROOT is no longer used.
    • Switch tests to gtest_discover_tests for fine-grained progress
    • EncodedStringVector: Make safety check lazy
    • Add gmock matchers for testing all fields of S2Polyline, S2Polygon,
      and S2Loop.
    • Use <=> operator for S1Angle, S1ChordAngle, S2Cell, and S2CellId
      comparisons
  • S2CellId: Remove ABSL_ATTRIBUTE_PACKED
  • S2Cell::GetDistance: Optimize same-face case by @jmr in #479
  • S2ClosestEdgeQueryBase: Fix typo in comment by @benguild in #490
  • Modernize Bazel build configuration with Bazel 9 compatibility and BCR best practices by @mmorel-35 in #496
  • SWIG: Ensure SWIG 4.4 compatibility by @jmr in #510
  • exactfloat: Remove OpenSSL dependency by @smcallis in #453
  • S2Polygon, S2Polyline: Document as obsolete by @benguild in #473
  • S2Cell::Contains: Increase expansion to 5/3*DBL_EPSILON by @jmr in #535
  • python: Bump min version to 3.10 by @jmr in #573
  • Some pybind11 bindings have been added

New Contributors

Full Changelog: v0.13.1...v0.14.0