All notable changes to laravel-spatial
will be documented in this file
- Fix the incorrect parameter count error while using
ST_SRID
functions withMariaDB
.
- Added Laravel 11 and PHP 8.3 support
- PHP 8.2 support added.
- Changed
toGeomFromTextString()
totoGeomFromText()
in Readme. - Fixed
with_wkt_options
configuration.
- Added
MariaDB
support to spatial functions. - Readme updated for adding a location column with default value to an existing table.
toGeomFromTextString()
method added toPoint
class for bulk insert/update operations.
- Laravel 10 support added.
- Doctrtine unknown type error fixed.
- Locations that have zero points are excluded while getting the distance to a given location in
withingDistanceTo
scope.
toWkt()
method added toPoint
class for getting the coordinates as well known text.toPair()
method added toPoint
class for getting the coordinates as pair.toArray()
method added toPoint
class for getting the coordinates as array.
- Laravel 9 support added.
- Bug fixed for casting location columns that is null.
axis-order
added to setter ofLocationCast
.axis-order
added to query inHasSpatial
trait.
Point
type added to Doctrine mapped types in the service provider.- SRID support added to setter of
LocationCast
.
- initial release