Releases: jsor/doctrine-postgis
Releases · jsor/doctrine-postgis
v2.4.0
What's Changed
- Fixed POINT notation in README by @cheack in #71
- DBAL v4, Middleware, Driver, Platform, and SchemaManager implementation by @GwendolenLynch in #61
- Support for PostGIS 3.2, 3.4 & 3.6 testing by @GwendolenLynch in #67
New Contributors
- @cheack made their first contribution in #71
- @GwendolenLynch made their first contribution in #61
Full Changelog: v2.3.0...v2.4.0
v2.3.0
v2.2.0
v2.1.0
v2.0.0
New major release which introduces a new dependency version support matrix.
| Dependency | Supported Versions |
|---|---|
| PHP | ^8.0 |
| PostGIS | 3.0 and 3.1 |
| PostgreSQL | 11, 12 and 13 |
| Doctrine ORM | ^2.9 |
| Doctrine DBAL | ^2.13 and ^3.1 |
Other Changes
-
The following DQL functions have been removed, mostly because they are also no
longer available in PostGIS:ST_MakeBox3D(useST_3DMakeBoxinstead)ST_AsKMLST_Distance_Sphere(useST_DistanceSphereinstead)ST_Distance_Spheroid(useST_DistanceSpheroidinstead)ST_Length3D(useST_3DLengthinstead)ST_Length_Spheroid(useST_LengthSpheroidinstead)ST_Length2D_SpheroidST_Shift_Longitude(useST_ShiftLongitudeinstead)
-
The dummy
RasterTypehas been removed. Register a custom type mapping
instead, e.g.$platform->registerDoctrineTypeMapping('raster', 'string'). -
Add parameter and return type declarations.
-
Switch from Travis CI to GitHub Actions for running CI pipeline.
-
Add Docker setup to allow running tests against the different supported
PostgreSQL / PostGIS versions.
v1.8.0
v1.7.0
v1.6.0
- Fix: Remove setting unsupported
primaryoption when creating theDoctrine\DBAL\Schema\Columnobject. This prevents triggering a deprecation error for DBAL >= 2.7. Thanks @simonwelsh (#38). - Feature: Run test against PHP 7.2. Thanks @carusogabriel (#35).
v1.5.0
- Feature: New functions
ST_DistanceSphere,ST_DistanceSpheroidandST_LengthSpheroid. Those functions should be used in PostGIS 2.2 and onwards instead of the deprecated functionsST_Distance_Sphere,ST_Distance_SpheroidandST_Length_Spheroid. Thanks to @JunkMyFunk for the report (#32). - Feature: Tests now use namespaced classes from PHPUnit. Thanks @carusogabriel (#33).