Skip to content

Commit b0b1bb6

Browse files
author
Rati Rukhadze
committed
chore: drop Laravel 11, whose every release is blocked by security advisories
1 parent 6d7596f commit b0b1bb6

4 files changed

Lines changed: 17 additions & 9 deletions

File tree

‎.github/workflows/tests.yml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ jobs:
2020
# The package is proven against its supported peers. Laravel 13 needs
2121
# Testbench 11, which needs PHP 8.4, so the 8.3 legs stop at Laravel 12 —
2222
# which is exactly the combination the composer constraints allow.
23+
#
24+
# Laravel 11 is not here, and not supported: every one of its releases is
25+
# now covered by a security advisory, so Composer's default policy refuses
26+
# to install any of them. Claiming support for a major nobody can install
27+
# would be a promise the package cannot keep.
2328
include:
24-
- php: '8.3'
25-
laravel: '11.*'
26-
testbench: '9.*'
2729
- php: '8.3'
2830
laravel: '12.*'
2931
testbench: '10.*'

‎CHANGELOG.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## Unreleased
99

10+
### Requirements
11+
12+
- PHP 8.3+, Laravel 12 or 13. Laravel 11 is not supported: every one of its releases is covered by a security advisory, so Composer's default policy refuses to install them.
13+
1014
### Added
1115

1216
- **Schema introspection** across MySQL, MariaDB, PostgreSQL and SQLite through Laravel's own schema builder — no Doctrine DBAL. Normalised, deterministic value objects for tables, columns, indexes and foreign keys, with every field a driver did not report left as `null` rather than invented.

‎README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,11 @@ php artisan vendor:publish --tag=difflock-config
129129
**Requirements**
130130

131131
- PHP 8.3+
132-
- Laravel 11, 12 or 13
132+
- Laravel 12 or 13
133133
- MySQL, MariaDB, PostgreSQL or SQLite
134134

135+
Laravel 11 is deliberately not supported. Every one of its releases is now covered by a security advisory, so Composer's default policy refuses to install any of them — claiming support for a major nobody can install would be a promise the package cannot keep.
136+
135137
No Doctrine DBAL. Laravel 11 moved schema introspection into the framework, so Difflock uses that and carries no driver-specific SQL of its own beyond one cheap metadata query for table sizes.
136138

137139
## Quick start

‎composer.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@
2727
],
2828
"require": {
2929
"php": "^8.3",
30-
"illuminate/console": "^11.0 || ^12.0 || ^13.0",
31-
"illuminate/contracts": "^11.0 || ^12.0 || ^13.0",
32-
"illuminate/database": "^11.0 || ^12.0 || ^13.0",
33-
"illuminate/support": "^11.0 || ^12.0 || ^13.0"
30+
"illuminate/console": "^12.0 || ^13.0",
31+
"illuminate/contracts": "^12.0 || ^13.0",
32+
"illuminate/database": "^12.0 || ^13.0",
33+
"illuminate/support": "^12.0 || ^13.0"
3434
},
3535
"require-dev": {
3636
"larastan/larastan": "^3.0",
3737
"laravel/pint": "^1.18",
38-
"orchestra/testbench": "^9.5 || ^10.0 || ^11.0",
38+
"orchestra/testbench": "^10.0 || ^11.0",
3939
"pestphp/pest": "^3.7 || ^4.0",
4040
"pestphp/pest-plugin-laravel": "^3.1 || ^4.0",
4141
"pestphp/pest-plugin-type-coverage": "^3.2 || ^4.0",

0 commit comments

Comments
 (0)