Skip to content

Commit 14c3ab5

Browse files
committed
docs(changelog): add entry for 3.1.1 release, fixing distance parameter type in spatial methods
1 parent e423715 commit 14c3ab5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,60 +2,80 @@
22

33
All notable changes to `laravel-spatial` will be documented in this file
44

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+
59
## 3.1.0 - 2025-05-14
10+
611
- Expression support added to `get()` method in `LocationCast`.
712
- Replaced `@test` annotations with `#[Test]` attributes across the test suite for modern PHPUnit syntax.
813

914
## 3.0.0 - 2025-02-20
15+
1016
- Laravel 12 and PHP 8.4 support added.
1117
- Laravel 10 and below versions are not supported anymore.
1218
- PHP 8.1 and below versions are not supported anymore.
1319

1420
## 2.0.1 - 2024-11-27
21+
1522
- Fix the incorrect parameter count error while using `ST_SRID` functions with `MariaDB`.
1623

1724
## 2.0.0 - 2024-07-25
25+
1826
- Added Laravel 11 and PHP 8.3 support
1927

2028
## 1.7.0 - 2023-05-11
29+
2130
- PHP 8.2 support added.
2231

2332
## 1.6.1 - 2023-04-04
33+
2434
- Changed `toGeomFromTextString()` to `toGeomFromText()` in Readme.
2535
- Fixed `with_wkt_options` configuration.
2636

2737
## 1.6.0 - 2023-03-30
38+
2839
- Added `MariaDB` support to spatial functions.
2940
- Readme updated for adding a location column with default value to an existing table.
3041
- `toGeomFromTextString()` method added to `Point` class for bulk insert/update operations.
3142

3243
## 1.4.2 - 2023-02-16
44+
3345
- Laravel 10 support added.
3446

3547
## 1.4.1 - 2022-09-05
48+
3649
- Doctrtine unknown type error fixed.
3750

3851
## 1.4.0 - 2022-07-24
52+
3953
- Locations that have zero points are excluded while getting the distance to a given location in `withingDistanceTo` scope.
4054

4155
## 1.3.0 - 2022-06-24
56+
4257
- `toWkt()` method added to `Point` class for getting the coordinates as well known text.
4358
- `toPair()` method added to `Point` class for getting the coordinates as pair.
4459
- `toArray()` method added to `Point` class for getting the coordinates as array.
4560

4661
## 1.2.0 - 2022-02-08
62+
4763
- Laravel 9 support added.
4864

4965
# 1.1.2 - 2022-03-08
66+
5067
- Bug fixed for casting location columns that is null.
5168

5269
# 1.1.1 - 2022-01-20
70+
5371
- `axis-order` added to setter of `LocationCast`.
5472
- `axis-order` added to query in `HasSpatial` trait.
5573

5674
# 1.1.0 - 2022-01-20
75+
5776
- `Point` type added to Doctrine mapped types in the service provider.
5877
- SRID support added to setter of `LocationCast`.
5978

6079
## 1.0.0 - 2022-01-18
80+
6181
- initial release

0 commit comments

Comments
 (0)