1
1
# Changelog
2
2
3
- All notable changes to ` laravel-magellan ` will be documented in this file.
3
+ All notable changes to ` laravel-magellan ` will be documented in this file.
4
4
5
5
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
6
6
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
7
8
8
## Unreleased
9
9
10
+ ## [ 1.7.0] ( https://github.com/clickbar/laravel-magellan/tree/1.7.0 ) - 2024-12-27
11
+
10
12
### Added
11
13
12
14
- PostGIS ST_LineSubstring support
@@ -24,86 +26,106 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
24
26
## [ 1.6.1] ( https://github.com/clickbar/laravel-magellan/tree/1.6.1 ) - 2024-08-08
25
27
26
28
### Improved
27
- - Only override attribute preparation functions on models instead of ` performInsert ` or ` performUpdate ` entirely (thanks @RomainMazB #89 )
29
+
30
+ - Only override attribute preparation functions on models instead of ` performInsert ` or
31
+ ` performUpdate ` entirely (thanks @RomainMazB #89 )
28
32
29
33
### Fixed
34
+
30
35
- Fixed geometries not being passed to model events (fixes #87 ) (thanks @RomainMazB #89 )
31
36
32
37
## [ 1.6.0] ( https://github.com/clickbar/laravel-magellan/tree/1.6.0 ) - 2024-03-17
33
38
34
39
### Added
40
+
35
41
- Laravel 11.x support
36
42
37
43
### Improved
44
+
38
45
- Updated ` spatie/invade ` to v2, works without reflection now 🥳
39
46
40
47
### Fixed
41
- - Fixed not updating ` Point ` dimension when using ` setAltitude `
48
+
49
+ - Fixed not updating ` Point ` dimension when using ` setAltitude `
42
50
43
51
## [ 1.5.0] ( https://github.com/clickbar/laravel-magellan/tree/1.5.0 ) - 2024-01-19
44
52
45
53
### Added
54
+
46
55
- Added ` as ` parameter for ` stFrom ` function
47
56
- Aligned ` stHaving ` with ` stWhere ` to also accept string column and ST expressions, boxes and geometries as value
48
57
49
58
### Fixed
59
+
50
60
- Fixed builder macro docblocks to use FQDN for an issue within laravel-ide-helper
51
61
- Fixed ` ST_PROJECT ` function not being migrated to the GeometryType enum.
52
62
- Fixed model attribute equality checks for geometries, reduces unnecessary database updates (thanks @adamczykpiotr )
53
63
54
64
## [ 1.4.0] ( https://github.com/clickbar/laravel-magellan/tree/1.4.0 ) - 2023-07-02
55
65
56
66
### Improved
67
+
57
68
- Added Typing for Box2D and Box3D in GeoParam allowing Box objects as params in Magellan Expressions
58
69
- Added evaluation of parameters in stWhere in order to also allow magellan expressions in value and regular string, boxes or geometries in first parameter
59
70
60
71
## [ 1.3.0] ( https://github.com/clickbar/laravel-magellan/tree/1.3.0 ) - 2023-06-28
61
72
62
73
### Added
74
+
63
75
- Added Missing Distance Relationships Functions (Fixes #46 )
64
76
65
77
### Fixed
78
+
66
79
- Fixed nullable handling in ` TransformsGeojsonGeometry ` trait (Fixes #37 )
67
80
68
81
## [ 1.2.2] ( https://github.com/clickbar/laravel-magellan/tree/1.2.2 ) - 2023-03-28
69
82
70
83
### Fixed
84
+
71
85
- Fixed missing handling of expressions in GeoParam
72
86
73
87
## [ 1.2.1] ( https://github.com/clickbar/laravel-magellan/tree/1.2.1 ) - 2023-03-28
74
88
75
89
### Fixed
90
+
76
91
- Fixed generation of invalid FeatureCollection in case of zero database rows (thanks @djfhe )
77
92
78
93
## [ 1.2.0] ( https://github.com/clickbar/laravel-magellan/tree/1.2.0 ) - 2023-03-02
79
94
80
95
### Improved
96
+
81
97
- Added config for geodetic SRIDs (most of the time WGS84 is sufficient, but there are much more geodetic SRIDs than 4326)
82
98
83
99
### Fixed
100
+
84
101
- Fixed sql syntax error when trying to create magellanGeography (fixes #27 , thanks @tanabi )
85
102
- Fix getValue calls on Expressions in Laravel 10
86
103
87
104
## [ 1.1.0] ( https://github.com/clickbar/laravel-magellan/tree/1.1.0 ) - 2023-02-07
88
105
89
106
### Added
107
+
90
108
- Laravel 10 support
91
109
- PHP 8.2 support
92
110
93
111
### Improved
94
- - Optional geometry type param for ST_Buffer enabling easier control about metric buffering
112
+
113
+ - Optional geometry type param for ST_Buffer enabling easier control about metric buffering
95
114
96
115
### Fixed
116
+
97
117
- Typing bug when trying to use a Closure as Geoparam
98
118
99
119
## [ 1.0.2] ( https://github.com/clickbar/laravel-magellan/tree/1.0.2 ) - 2023-01-05
100
120
101
121
### Fixed
122
+
102
123
- Fix some ST functions not being migrated to the GeometryType enum.
103
124
104
125
## [ 1.0.1] ( https://github.com/clickbar/laravel-magellan/tree/1.0.1 ) - 2023-01-05
105
126
106
127
### Fixed
128
+
107
129
- Fix bindings being wrongly converted to SQL function statements, eg. in ` query()->update() ` calls.
108
130
109
131
## [ 1.0.0] ( https://github.com/clickbar/laravel-magellan/tree/1.0.0 ) - 2023-01-04
0 commit comments