diff --git a/CHANGELOG.md b/CHANGELOG.md index 20a22ba..d49c6f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### 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](https://github.com/clickbar/laravel-magellan/tree/1.6.0) - 2024-03-17 ### Added diff --git a/src/Database/Eloquent/HasPostgisColumns.php b/src/Database/Eloquent/HasPostgisColumns.php index 8c6d3b0..b1e6bf1 100644 --- a/src/Database/Eloquent/HasPostgisColumns.php +++ b/src/Database/Eloquent/HasPostgisColumns.php @@ -9,7 +9,6 @@ use Clickbar\Magellan\IO\Generator\BaseGenerator; use Clickbar\Magellan\IO\Generator\WKT\WKTGenerator; use Clickbar\Magellan\IO\Parser\WKB\WKBParser; -use Illuminate\Database\Eloquent\Builder as EloquentBuilder; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Arr; use Illuminate\Support\Facades\App;