Skip to content

Commit 27a1c80

Browse files
committed
Support Laravel 9
1 parent e656757 commit 27a1c80

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# CHANGELOG
22

3-
## [v0.9.1 (Unreleased)](https://github.com/onlime/laravel-http-client-global-logger/compare/v0.9...main)
3+
## [1.x (Unreleased)](https://github.com/onlime/laravel-http-client-global-logger/compare/1.0...main)
4+
5+
## [1.0.0 (2022-02-10)](https://github.com/onlime/laravel-http-client-global-logger/releases/tag/1.0.0)
6+
7+
- Support Laravel 9
8+
9+
## [v0.9.1 (2022-02-10)](https://github.com/onlime/laravel-http-client-global-logger/releases/tag/v0.9.1)
410

511
- Introducing `HTTP_CLIENT_GLOBAL_LOGGER_OBFUSCATE_HEADERS` and `HTTP_CLIENT_GLOBAL_LOGGER_OBFUSCATE_BODY_KEYS` env vars for easier configuration of request header/body obfuscation.
612
- Obfuscating request headers directly on PSR compliant request instance instead of applying regex replacements on formatted log message.

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
"require": {
2929
"php": "^8.0",
3030
"guzzlehttp/guzzle": "^7.3",
31-
"illuminate/http": "^8.0",
32-
"illuminate/support": "^8.0",
31+
"illuminate/http": "^8.0|^9.0",
32+
"illuminate/support": "^8.0|^9.0",
3333
"monolog/monolog": "^2.0"
3434
},
3535
"require-dev": {
36-
"laravel/framework": "^8.0"
36+
"laravel/framework": "^8.0|^9.0"
3737
},
3838
"autoload": {
3939
"psr-4": {

src/Providers/ServiceProvider.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ public function register()
2222
}
2323
}
2424

25-
/**
26-
* {@inheritdoc}
27-
*/
2825
public function boot()
2926
{
3027
$this->publishes([
@@ -53,10 +50,8 @@ public function boot()
5350

5451
/**
5552
* Get package config file location.
56-
*
57-
* @return bool|string
5853
*/
59-
protected function configFileLocation()
54+
protected function configFileLocation(): string
6055
{
6156
return realpath(__DIR__ . '/../../config/http-client-global-logger.php');
6257
}

0 commit comments

Comments
 (0)