Skip to content

Latest commit

 

History

History
102 lines (66 loc) · 3.53 KB

CHANGELOG.md

File metadata and controls

102 lines (66 loc) · 3.53 KB

Changelog

All notable changes to laravel-magellan will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

Added

  • PostGIS ST_LineSubstring support
  • PostGIS ST_LineFromEncodedPolyline support
  • PostGIS ST_LineLocatePoint support

1.6.1 - 2024-08-08

Improved

  • Only override attribute preparation functions on models instead of performInsert or performUpdate entirely (thanks @RomainMazB #89)

Fixed

  • Fixed geometries not being passed to model events (fixes #87) (thanks @RomainMazB #89)

1.6.0 - 2024-03-17

Added

  • Laravel 11.x support

Improved

  • Updated spatie/invade to v2, works without reflection now 🥳

Fixed

  • Fixed not updating Point dimension when using setAltitude

1.5.0 - 2024-01-19

Added

  • Added as parameter for stFrom function
  • Aligned stHaving with stWhere to also accept string column and ST expressions, boxes and geometries as value

Fixed

  • Fixed builder macro docblocks to use FQDN for an issue within laravel-ide-helper
  • Fixed ST_PROJECT function not being migrated to the GeometryType enum.
  • Fixed model attribute equality checks for geometries, reduces unnecessary database updates (thanks @adamczykpiotr)

1.4.0 - 2023-07-02

Improved

  • Added Typing for Box2D and Box3D in GeoParam allowing Box objects as params in Magellan Expressions
  • Added evaluation of parameters in stWhere in order to also allow magellan expressions in value and regular string, boxes or geometries in first parameter

1.3.0 - 2023-06-28

Added

  • Added Missing Distance Relationships Functions (Fixes #46)

Fixed

  • Fixed nullable handling in TransformsGeojsonGeometry trait (Fixes #37)

1.2.2 - 2023-03-28

Fixed

  • Fixed missing handling of expressions in GeoParam

1.2.1 - 2023-03-28

Fixed

  • Fixed generation of invalid FeatureCollection in case of zero database rows (thanks @djfhe)

1.2.0 - 2023-03-02

Improved

  • Added config for geodetic SRIDs (most of the time WGS84 is sufficient, but there are much more geodetic SRIDs than 4326)

Fixed

  • Fixed sql syntax error when trying to create magellanGeography (fixes #27, thanks @tanabi)
  • Fix getValue calls on Expressions in Laravel 10

1.1.0 - 2023-02-07

Added

  • Laravel 10 support
  • PHP 8.2 support

Improved

  • Optional geometry type param for ST_Buffer enabling easier control about metric buffering

Fixed

  • Typing bug when trying to use a Closure as Geoparam

1.0.2 - 2023-01-05

Fixed

  • Fix some ST functions not being migrated to the GeometryType enum.

1.0.1 - 2023-01-05

Fixed

  • Fix bindings being wrongly converted to SQL function statements, eg. in query()->update() calls.

1.0.0 - 2023-01-04

  • Initial Release 🎉