Skip to content

Commit 744ae6f

Browse files
committed
feat: versioning policy
1 parent 5f1c063 commit 744ae6f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,18 @@ You can install the package via composer:
1616
composer require tpetry/laravel-postgresql-enhanced
1717
```
1818

19+
# Versioning Policy
20+
21+
**This package follows the semantic versioning policy.**
22+
**So you can always safely upgrade to a new minor and patch version without any issues.**
23+
24+
As Laravel is a healthy framework that is still adding new database functionality, some things may break:
25+
For instance, in the past, Laravel introduced new builder methods that had already been part of this package for a long time - but with different semantics.
26+
In such cases, a new major version is promptly released with a breaking change to align with Laravel's implementation.
27+
28+
When upgrading Laravel, you may also have to upgrade this package to a new major version when something breaks!
29+
The minimal breaking changes of the past years are listed in the [breaking changes section](#breaking-changes).
30+
1931
# Features
2032

2133
- [IDE Autocomplete](#ide-autocomplete)
@@ -1302,6 +1314,10 @@ Schema::create('comments', function (Blueprint $table) {
13021314

13031315
# Breaking Changes
13041316

1317+
* **1.0.0**
1318+
* Laravel 11.17 released a new `whereLike` and `orWhereLike` builder method so the behaviour had to be aligned with Laravel's implementation:
1319+
* The value is now searched case-insensitive by default instead of case-sensitive
1320+
* The `$caseSensitive` parameter had to be replaced by the `$caseInsensitive` parameter
13051321
* 0.39.0 -> 0.40.0
13061322
* The Enhanced PostgreSQL Driver PHPStan extension is now automatically registered with the PHPStan Extension Installer. The manual registration of the extension needs to be removed when PHPStan crashed because the extension is registered twice.
13071323
* 0.35.0 -> 0.36.0

0 commit comments

Comments
 (0)