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