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.
- PostGIS ST_LineSubstring support
- PostGIS ST_LineFromEncodedPolyline support
- PostGIS ST_LineLocatePoint support
1.6.1 - 2024-08-08
- Only override attribute preparation functions on models instead of
performInsert
orperformUpdate
entirely (thanks @RomainMazB #89)
- Fixed geometries not being passed to model events (fixes #87) (thanks @RomainMazB #89)
1.6.0 - 2024-03-17
- Laravel 11.x support
- Updated
spatie/invade
to v2, works without reflection now 🥳
- Fixed not updating
Point
dimension when usingsetAltitude
1.5.0 - 2024-01-19
- Added
as
parameter forstFrom
function - Aligned
stHaving
withstWhere
to also accept string column and ST expressions, boxes and geometries as value
- 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
- 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 Missing Distance Relationships Functions (Fixes #46)
- Fixed nullable handling in
TransformsGeojsonGeometry
trait (Fixes #37)
1.2.2 - 2023-03-28
- Fixed missing handling of expressions in GeoParam
1.2.1 - 2023-03-28
- Fixed generation of invalid FeatureCollection in case of zero database rows (thanks @djfhe)
1.2.0 - 2023-03-02
- Added config for geodetic SRIDs (most of the time WGS84 is sufficient, but there are much more geodetic SRIDs than 4326)
- 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
- Laravel 10 support
- PHP 8.2 support
- Optional geometry type param for ST_Buffer enabling easier control about metric buffering
- Typing bug when trying to use a Closure as Geoparam
1.0.2 - 2023-01-05
- Fix some ST functions not being migrated to the GeometryType enum.
1.0.1 - 2023-01-05
- Fix bindings being wrongly converted to SQL function statements, eg. in
query()->update()
calls.
1.0.0 - 2023-01-04
- Initial Release 🎉