|
2 | 2 |
|
3 | 3 | All notable changes to `laravel-spatial` will be documented in this file
|
4 | 4 |
|
| 5 | +## 3.1.1 - 2025-06-12 |
| 6 | + |
| 7 | +- Fixed `$distance` parameter type from `int` to `float` in `scopeWithinDistanceTo` and related methods to properly handle decimal distance values returned by `ST_Distance` function. |
| 8 | + |
5 | 9 | ## 3.1.0 - 2025-05-14
|
| 10 | + |
6 | 11 | - Expression support added to `get()` method in `LocationCast`.
|
7 | 12 | - Replaced `@test` annotations with `#[Test]` attributes across the test suite for modern PHPUnit syntax.
|
8 | 13 |
|
9 | 14 | ## 3.0.0 - 2025-02-20
|
| 15 | + |
10 | 16 | - Laravel 12 and PHP 8.4 support added.
|
11 | 17 | - Laravel 10 and below versions are not supported anymore.
|
12 | 18 | - PHP 8.1 and below versions are not supported anymore.
|
13 | 19 |
|
14 | 20 | ## 2.0.1 - 2024-11-27
|
| 21 | + |
15 | 22 | - Fix the incorrect parameter count error while using `ST_SRID` functions with `MariaDB`.
|
16 | 23 |
|
17 | 24 | ## 2.0.0 - 2024-07-25
|
| 25 | + |
18 | 26 | - Added Laravel 11 and PHP 8.3 support
|
19 | 27 |
|
20 | 28 | ## 1.7.0 - 2023-05-11
|
| 29 | + |
21 | 30 | - PHP 8.2 support added.
|
22 | 31 |
|
23 | 32 | ## 1.6.1 - 2023-04-04
|
| 33 | + |
24 | 34 | - Changed `toGeomFromTextString()` to `toGeomFromText()` in Readme.
|
25 | 35 | - Fixed `with_wkt_options` configuration.
|
26 | 36 |
|
27 | 37 | ## 1.6.0 - 2023-03-30
|
| 38 | + |
28 | 39 | - Added `MariaDB` support to spatial functions.
|
29 | 40 | - Readme updated for adding a location column with default value to an existing table.
|
30 | 41 | - `toGeomFromTextString()` method added to `Point` class for bulk insert/update operations.
|
31 | 42 |
|
32 | 43 | ## 1.4.2 - 2023-02-16
|
| 44 | + |
33 | 45 | - Laravel 10 support added.
|
34 | 46 |
|
35 | 47 | ## 1.4.1 - 2022-09-05
|
| 48 | + |
36 | 49 | - Doctrtine unknown type error fixed.
|
37 | 50 |
|
38 | 51 | ## 1.4.0 - 2022-07-24
|
| 52 | + |
39 | 53 | - Locations that have zero points are excluded while getting the distance to a given location in `withingDistanceTo` scope.
|
40 | 54 |
|
41 | 55 | ## 1.3.0 - 2022-06-24
|
| 56 | + |
42 | 57 | - `toWkt()` method added to `Point` class for getting the coordinates as well known text.
|
43 | 58 | - `toPair()` method added to `Point` class for getting the coordinates as pair.
|
44 | 59 | - `toArray()` method added to `Point` class for getting the coordinates as array.
|
45 | 60 |
|
46 | 61 | ## 1.2.0 - 2022-02-08
|
| 62 | + |
47 | 63 | - Laravel 9 support added.
|
48 | 64 |
|
49 | 65 | # 1.1.2 - 2022-03-08
|
| 66 | + |
50 | 67 | - Bug fixed for casting location columns that is null.
|
51 | 68 |
|
52 | 69 | # 1.1.1 - 2022-01-20
|
| 70 | + |
53 | 71 | - `axis-order` added to setter of `LocationCast`.
|
54 | 72 | - `axis-order` added to query in `HasSpatial` trait.
|
55 | 73 |
|
56 | 74 | # 1.1.0 - 2022-01-20
|
| 75 | + |
57 | 76 | - `Point` type added to Doctrine mapped types in the service provider.
|
58 | 77 | - SRID support added to setter of `LocationCast`.
|
59 | 78 |
|
60 | 79 | ## 1.0.0 - 2022-01-18
|
| 80 | + |
61 | 81 | - initial release
|
0 commit comments