Skip to content

Commit e1dabb8

Browse files
authored
Merge pull request #45 from bilfeldt/fixes/v4
Refactor to v4 release
2 parents 55e7e22 + aa00309 commit e1dabb8

File tree

5 files changed

+33
-28
lines changed

5 files changed

+33
-28
lines changed

Diff for: .github/workflows/run-tests.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,12 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
os: [ubuntu-latest, windows-latest]
19-
php: [8.4, 8.3, 8.2, 8.1]
20-
laravel: ['10.*', '11.*']
19+
php: [8.4, 8.3, 8.2]
20+
laravel: ['11.*']
2121
dependency-version: [prefer-stable]
2222
include:
23-
- laravel: 10.*
24-
testbench: 8.*
2523
- laravel: 11.*
2624
testbench: 9.*
27-
exclude:
28-
- laravel: 11.*
29-
php: 8.1
30-
- laravel: 10.*
31-
php: 8.4
3225

3326
name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
3427

Diff for: CHANGELOG.md

+2-11
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,12 @@
22

33
All notable changes to `laravel-route-statistics` will be documented in this file.
44

5-
## Upgrade guide
6-
7-
### 2.* => 3.*
8-
9-
There are no breaking changes if you are simply using this package. But the dependency of [`bilfeldt/laravel-request-logger`](https://packagist.org/packages/bilfeldt/laravel-request-logger) was upgraded to version 3 which means if you are also logging requests using this package, then you need to consult [the upgrade guide for that package](https://github.com/bilfeldt/laravel-request-logger/blob/main/CHANGELOG.md#2--3).
10-
11-
### 1.* => 2.*
12-
13-
No breaking changes. The only changes are to the development dependencies used for testing and then the minimum Laravel and PHP requirements.
14-
155
## Changes
166

17-
### 3.5.0- 2024-12-04
7+
### 4.0.0 - 2024-12-04
188

199
- Add PHP 8.4 compatibility
10+
- Add route parameters as separate DB field
2011

2112
### 3.4.0 - 2024-05-10
2213

Diff for: README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99

1010
Log Laravel requests and responses for statistical purposes and optionally aggregate by hours/days/months for minimal db requirements.
1111

12-
| Version | Laravel | PHP |
13-
|---------|-------------|----------------------------------|
14-
| 1.* | 8.* \| 9.* | 7.4.* \| 8.0.* \| 8.1.* |
15-
| 2.* | 10.* | 8.1.* \| 8.2.* |
16-
| 3.* | 11.* | 8.1.* \| 8.2.* \| 8.3.* \| 8.4.* |
12+
| Version | Laravel | PHP |
13+
|---------|-------------|-------------------------|
14+
| 1.* | 8.* \| 9.* | 7.4.* \| 8.0.* \| 8.1.* |
15+
| 2.* | 10.* | 8.1.* \| 8.2.* |
16+
| 3.* | 11.* | 8.1.* \| 8.2.* \| 8.3.* |
17+
| 4.* | 11.* | 8.2.* \| 8.3.* \| 8.4.* |
1718

1819
## Description
1920

Diff for: UPGRADE.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Upgrade guide
2+
3+
## 3.* => 4.*
4+
5+
A new nullable json field `parameters` has been added after the `route` field.
6+
7+
Simply publish the migration files and migrate:
8+
9+
```bash
10+
php artisan vendor:publish --provider="Bilfeldt\LaravelRouteStatistics\LaravelRouteStatisticsServiceProvider" --tag="migrations"
11+
php artisan migrate
12+
```
13+
14+
## 2.* => 3.*
15+
16+
There are no breaking changes if you are simply using this package. But the dependency of [`bilfeldt/laravel-request-logger`](https://packagist.org/packages/bilfeldt/laravel-request-logger) was upgraded to version 3 which means if you are also logging requests using this package, then you need to consult [the upgrade guide for that package](https://github.com/bilfeldt/laravel-request-logger/blob/main/CHANGELOG.md#2--3).
17+
18+
## 1.* => 2.*
19+
20+
No breaking changes. The only changes are to the development dependencies used for testing and then the minimum Laravel and PHP requirements.

Diff for: composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
}
2222
],
2323
"require": {
24-
"php": "~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
24+
"php": "~8.2.0 || ~8.3.0 || ~8.4.0",
2525
"bilfeldt/laravel-request-logger": "^3.0",
26-
"illuminate/contracts": "^10.0 || ^11.0",
27-
"laravel/framework": "^10.0 || ^11.0"
26+
"illuminate/contracts": "^11.0",
27+
"laravel/framework": "^11.0"
2828
},
2929
"require-dev": {
3030
"nunomaduro/collision": "^7.2 || ^8.0",

0 commit comments

Comments
 (0)