Skip to content

Version 6.0.0

Latest

Choose a tag to compare

@Alexandre-T Alexandre-T released this 12 Sep 14:34
· 4 commits to main since this release
42387d6

6.0.0 (2026-09-12)

⚠ BREAKING CHANGES

  • Minimum PHP version: 8.4
  • Minimum Doctrine ORM version: 3.6
  • MariaDB and MySQL SpBuffer functions have been removed. Please use Common/ScBuffer instead.
  • StSrid can no longer be used with MariaDB or PostgreSQL. Please use Standard/StSetSrid to update the SRID, or Common/ScSrid to read it instead.

✨ New Features

  • Add complete SQL Server 2017+ support to doctrine-spatial (6c421cb), closes #153 #154 #152
  • add deprecation handling for SpBuffer DQL function in MariaDB and MySQL (ec267ba)
  • add quality assurance scripts for PHP-CS-Fixer, PHPStan, and PHP Mess Detector and PHP code sniffer (44e4cae)
  • add README for directory structure of functions (88a77b9)
  • add ScBuffer DQL function and corresponding tests for PostgreSQL, SQLServer, MariaDB, and MySQL servers. (55810a8)
  • add SQL declaration snippet for spatial functions and support for SQL Server platform (08c4978)
  • add SQL Server support for spatial functions St_Contains, ST_Equals, ST_GeomFromText and corresponding tests (a7c340e)
  • add SQL Server support to ST_Centroid function and its tests (c4a7188)
  • add SQL Server support to ST_ConvexHull function and its tests (7a2dcbb)
  • add SQL Server support to ST_Crosses function and its tests (7a56f4a)
  • add SQL Server support to ST_Disjoint function and its tests (bfb3397)
  • add SQL Server support to StDifference and StIsEmpty functions and their tests (166e0f3)
  • add SQL Server support to StDimension function and its tests (9ce8a2e)
  • add SQLServerPlatform support to StAsBinary function and its tests (1a07cda)
  • add SQLServerPlatform support to StAsText function and its tests (1aa3a6c)
  • add SQLServerPlatform support to StBoundary function and its tests (11f0eb6)
  • add support for custom driver options in connection parameters (499f4d5)
  • add support for SQL Server 2017 in doctrine spatial extension (3b8b61e)
  • Fix issue #62 : SpTransform function: Optional SRID is no longer detected as a string (7646119)
  • implement MatchPlatformHelper for spatial platform resolution in AbstractSpatialDQLFunction (382ecd1)
  • Update SpSimplify to support three parameters and add corresponding test (e74db22)

🐛 Bug Fixes

  • add Microsoft ODBC Driver installation step for SQL Server in GitHub Actions workflow (744b533)
  • add mssql-2017 service configuration GitHub Actions workflow (ab5d35d)
  • correct namespace separator in query string for ST_Relates function test (fea55b9)
  • correct SQL Server function parameter handling in getFunctionSqlDeclaration (7635daf)
  • Fix issue #11 (7d5eb42)
  • Fix issue #11 (9e1c329)
  • Fix issue #62 : SpTransform function: Optional SRID is no longer detected as a string (7d6e36b)
  • improve error message for unsupported DBAL platforms in AbstractSpatialDQLFunction (7153db0)
  • improve query string formatting and use class constants in GeometryWalkerTest (d0727e5), closes #135
  • improve README clarity and structure for better understanding (fff7bd4)
  • refactor Dockerfile: Add missing libzip-dev for PHP extensions to fix composer update (07b061e)
  • remove license comment from SqlServer class documentation (a7fe1fd)
  • replace trim with mb_trim for alias handling in GeometryWalker (133aaac)
  • skip assertion for SRID in SQL Server test until feature is implemented (093e927)
  • some miscellaneous typo (5117d28)
  • update codecov action to use specific clover.xml file (879f2ef)
  • update compatibility information for versions 5.0.x, 5.1.x, and 5.2.x in README (b713098)
  • update copyright years in LICENSE file (5efb91e)
  • update database host in PHPUnit configuration to localhost (797fb3e)
  • update PHP compatibility and release status in README (f431c99)
  • update PHP version to 8.4 in CI workflow and adjust matrix configurations (c6bbf53)
  • update ST_Equals queries in StGeomFromTextTest to use parameterized results (8548259)
  • update test to clarify SRID storage limitation in SQL Server (c9d3ce6)

♻️ Refactoring

  • Refactor AbstractPoint to utilize new InputValueFormatter and PointConstructorArguments internal classes. (c8e7578)
  • Remove deprecated platforms from StSrid function and its tests (bc66d0f)
  • Remove deprecated SpBuffer DQL functions and related tests (e17acd5)
  • replace conditional statements with match expression for platform-specific function additions (79457fd)

📚 Documentation

  • Add examples section with demo application link in README and index.rst (2596260)
  • Refresh setup and Symfony configuration (6f36bc5), references #141
  • update installation and contribution instructions, improve test environment setup, and bump version to 6.0.0 (b2114b7)

🌳 Environmental Impact

  • ci: CI workflows and database configurations (4f75ecf)
  • Useless file from package export removed. (799709c)

👷 CI/CD

🔧 Maintenance

  • add custom updaters for Installation.rst and conf.py to manage versioning (4b8fdde)
  • Add Ko-fi funding link and update FUNDING.yml (aa44e1f)
  • PhpUnit upgraded (651615a)
  • Refactor AbstractPoint and related classes to improve argument validation and exception handling (cca6fc6)
  • Remove useless skipIfMariaDbAndOrm29 method and related calls (3cf45c1)
  • Remove useless skipIfMariaDbAndOrm29 method and related calls from tests (3738aa3)
  • Update authors and adjust autoloading to PSR-4 standards (d930b34)
  • Update dependencies and replace ArrayCachePool with ArrayAdapter (8c49f7b)
  • Update Docker environment and enhance test scripts for PHP 8.4 compatibility (3e31b07)
  • Upgrade geo-parser dependency to version 4.0.0 and correct tes… (1624521)
  • Upgrade geo-parser dependency to version 4.0.0 and correct test case for string conversion. (0b6da85)

📊​ Quality tools

  • Add checks for enableNativeLazyObjects method and update PHP workflow to show dependencies (94a15f9)
  • Add commit-and-tag-version tool (1a8284e)
  • Php-CS-Fixer updated (cc97372)
  • PHPStan Upgraded and code fixed (ded7d75)
  • Refine CyclomaticComplexity rule configuration in PHPMD ruleset (bcf77b4)
  • Update PHPCS CyclomaticComplexity rule and enhance test documentation (c8c2e2e)
  • Update SpSimplifyTest to assert expected result structure (b1afea3)

📗​ PHPUnit tests

  • Add 'mariadb-only' group to PHPUnit XML configurations (c4e3e7a)
  • refactor: Refactor point representation tests (d5aafcd)
  • test coverage upgraded (#166) (a9deb8d)