All notable changes to laravel-eloquent-spatial
will be documented in this file.
- Support
St_Centroid
spatial function
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/3.1.2...3.2.0
- Bugfix: Model spatial column update using Expression by @hiteshsamcom in MatanYadaev#86
- @hiteshsamcom made their first contribution in MatanYadaev#86
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/2.10.0...2.10.1
- Add SRID Enum by @Riley19280 in MatanYadaev#84
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/3.1.1...3.1.2
- Bugfix: Model spatial column update using Expression by @MatanYadaev in MatanYadaev#81
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/3.1.0...3.1.1
- Support receiving
Expression
as a parameter inSpatialBuilder
methods by @Riley19280 in MatanYadaev#76
- @Riley19280 made their first contribution in MatanYadaev#76
Full Changelog: https://github.com/MatanYadaev/laravel-eloquent-spatial/compare/3.0.0...3.1.0
Support Larave 10
Support PHP 8.2 #74
Add HasSpatial trait #75
- Cast geometry from array #71
- Add
Geometry@toSqlExpression
method #70
Macroable geometry classes
Add Doctrine types
Query Builder - Support column to have table name #61
Geometry objects are now stringable.
Support MySQL 5.7
- Add
whereNotWithin
Builder method - Add
whereNotContains
Builder method
Added MariaDB support
Fix axis-order
when using SRID
Refactor toWkt
- SRID support
- Add
Geometry@toWkt
- Add
Geometry@toWkb
- Fix generic type issue with
GeometryCollection
Make Geometry::toWkt
parameters optional
Improve casting:
- Fix
getOriginal
- Use a more standard WKT format
- Fix PHPStan issues
- Support Laravel 9
- Support PHP 8.1
- Remove auto-discovery part from composer.json
- Upgrade to PHP-CS-Fixer v3 and clear PHPStan issues
- Initial release