Repository navigation
Releases
Releases · longitude-one/spatial-encoder
1.0.0-RC.0
1.0.0-RC.0 (2026-09-22)
✨ New Features
- Add WKT strategy tests for various geometry types and dimensions (17f200c)
- EWKB is now compliant with all known types and all dimensions (f8279a7)
- geojson: encode LineString geometries (9995f1a)
- geojson: encode MultiLineString geometries (64acd24)
- geojson: encode MultiPoint geometries (821239f)
- geojson: encode MultiPolygon geometries (d8cebd1)
- geojson: encode points and add shared exception contracts (975f73e)
- geojson: encode polygons with approved ring orientation checks (b15225f)
- geojson: preserve geometry collection structure (2f6c9e9)
- Implement EWKT strategy with SRID prefix and add corresponding tests (09bb9cb)
- WKB is now compliant with all known types and dimensions (92f00b3)
🐛 Bug Fixes
- enforce MySQL spatial type restrictions and add validation tests for unsupported dimensions and empty geometries (1873b86)
- Ensure SRID is always packed correctly in writeSrid method (b558a01)
- Fix import of two-dimensional points (7d357aa)
- MySQLGeometryEncoder and MySQLPointEncoder to remove SRID and long/lat inversion. (664aebf)
- Update MySQL encoders to use explicit little-endian packing for consistency (8290d28)
♻️ Refactoring
- Replace TypeEnum with GeometryTypeEnum in binary strategy classes (579b1c3)
- Update geometry object instantiation to use constructor for SRID (fd8e9b6)
- Update GeometryCollection instantiation to use constructor for points and lines (c2557a8)
📚 Documentation
- expand repository guidelines for AI agent responsibilities and spatial standards (1123998)
- format GeoJsonStrategy entry for consistency in strategies table (c437cc9)
👷 CI/CD
- Update cache keys for Composer dependencies to PHP 8.4 (4223075)
- Update workflow to trigger on push and pull request events for PHP 8.5 tests (26fe2d7)
🔧 Maintenance
- Add pull request template for consistent submission guidelines (f7b76c4)
- Add repository guidelines for project structure, documentation, testing, and commit practices (02484a9)
- Remove Docker-related content and add serialization strategies documentation (1eeeb1d)
- remove no longer useful docker tools (6e2ba85)
- Rename SpatialWriter to SpatialEncoder and update the API contract to use encode instead of convert (b35b5f2)
- Update from psr-0 to psr-4. (a19da36)
- Update README installation command to specify version and add version updater script (564ba9b)
- Update repository references from spatial-writer to spatial-encoder in README and workflow (351efde)
📗 PHPUnit tests
Version 0.0.0-alpha
Do not use in production!