Skip to content

Releases: jsor/doctrine-postgis

v2.3.0

20 Feb 22:33
v2.3.0
28d47fa
Compare
Choose a tag to compare
  • Switch to platform options from deprecated custom schema options. Thanks @sasa-b (#64).
  • Better compatibility with different Doctrine ORM versions.

v2.2.0

26 Apr 20:19
v2.2.0
be9bf2b
Compare
Choose a tag to compare
  • Make handling create table sql simple and robust. Reuse native Platform::getCreateTableSQL() instead of copying the code from Doctrine.
  • Skip create table generation if a table has no spatial indexes.

v2.1.0

21 Apr 20:58
v2.1.0
c82053b
Compare
Choose a tag to compare
  • Remove persistent Connection/SchemaManager instance from event listeners.
    The event listeners now always use the connection instance provided by the
    event args.

v2.0.0

07 Oct 13:13
v2.0.0
a6ed358
Compare
Choose a tag to compare

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 (use ST_3DMakeBox instead)
    • ST_AsKML
    • ST_Distance_Sphere (use ST_DistanceSphere instead)
    • ST_Distance_Spheroid (use ST_DistanceSpheroid instead)
    • ST_Length3D (use ST_3DLength instead)
    • ST_Length_Spheroid (use ST_LengthSpheroid instead)
    • ST_Length2D_Spheroid
    • ST_Shift_Longitude (use ST_ShiftLongitude instead)
  • The dummy RasterType has 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

03 Sep 12:12
v1.8.0
801a1c1
Compare
Choose a tag to compare

This release now allows installation on PHP 8.

Note: While it is possible to install this library on PHP 8, it is not officially support right now. Use with care and at your own risk.

v1.7.0

01 Aug 06:26
v1.7.0
a656156
Compare
Choose a tag to compare
  • This release drops support for the EOL versions of PHP 5.3, 5.4 and 5.5.

v1.6.0

13 Jul 13:58
v1.6.0
508caf8
Compare
Choose a tag to compare
  • Fix: Remove setting unsupported primary option when creating the Doctrine\DBAL\Schema\Column object. 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

13 Nov 12:35
v1.5.0
9c491eb
Compare
Choose a tag to compare
  • Feature: New functions ST_DistanceSphere, ST_DistanceSpheroid and ST_LengthSpheroid. Those functions should be used in PostGIS 2.2 and onwards instead of the deprecated functions ST_Distance_Sphere, ST_Distance_Spheroid and ST_Length_Spheroid. Thanks to @JunkMyFunk for the report (#32).
  • Feature: Tests now use namespaced classes from PHPUnit. Thanks @carusogabriel (#33).

v1.4.1

12 Jul 07:37
v1.4.1
5b65afa
Compare
Choose a tag to compare
  • Fix: Ensure SRID values from metadata are casted to int to prevent unecessary schema diffs when using XML mappings. Thanks to @HenningCash for the report (#30).

v1.4.0

11 Jan 10:51
v1.4.0
2a55eb8
Compare
Choose a tag to compare
  • Feature: New function ST_AddPoint. Thanks @ltsstar (#26).
  • Feature: New function Geography.