Skip to content

Commit 0e0f8de

Browse files
Upgrade to Laravel 9 (#9)
* Upgraded to Laravel 9.x, dropped support for PHP 7.x * Bumped minimum laravel version to 9.0.2 due to unintended breaking change in framework * Updated README
1 parent c319d4e commit 0e0f8de

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
fail-fast: true
1212
matrix:
1313
os: [ubuntu-latest, windows-latest]
14-
php: [8.1, 8.0, 7.4, 7.3]
14+
php: [8.1, 8.0]
1515
stability: [prefer-lowest, prefer-stable]
1616

1717
name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }}

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `google-chat` will be documented in this file
44

5+
## 2.0.0 - 2022-02-12
6+
- Upgraded to support Laravel 9.x (Minimum of 9.0.2 due to an [unintended breaking change](https://github.com/laravel/framework/pull/40880))
7+
- Dropped support for PHP 7.3 and 7.4
8+
59
## 1.0.1 - 2021-07-16
610
- Removed property type hints for PHP 7.3 compatibility
711

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
<a href="https://github.com/laravel-notification-channels/google-chat/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain"><img alt="GitHub Code Style Action" src="https://img.shields.io/github/workflow/status/laravel-notification-channels/google-chat/Check%20&%20fix%20styling/main?label=code%20style&style=flat-square"></a>
1010
<a href="https://packagist.org/packages/laravel-notification-channels/google-chat"><img alt="Total Downloads" src="https://img.shields.io/packagist/dt/laravel-notification-channels/google-chat.svg?style=flat-square"></a>
1111
<a href="composer.json"><img alt="PHP Version Requirements" src="https://img.shields.io/packagist/php-v/laravel-notification-channels/google-chat?style=flat-square"></a>
12-
<a href="composer.json"><img alt="Laravel Version Requirements" src="https://img.shields.io/badge/laravel-~8.0-gray?logo=laravel&style=flat-square&labelColor=F05340&logoColor=white"></a>
12+
<a href="composer.json"><img alt="Laravel Version Requirements" src="https://img.shields.io/badge/laravel-~9.0.2-gray?logo=laravel&style=flat-square&labelColor=F05340&logoColor=white"></a>
1313
</p>
1414

1515
<h1>Google Chat - Laravel Notification Channel</h1>
1616

17-
This package makes it easy to send notifications using [Google Chat](https://developers.google.com/hangouts/chat) , (formerly known as Hangouts Chat) with Laravel 8.x
17+
This package makes it easy to send notifications using [Google Chat](https://developers.google.com/hangouts/chat) , (formerly known as Hangouts Chat) with Laravel 9.x
1818

1919
````php
2020
class InvoicePaidNotification extends Notification
@@ -54,6 +54,7 @@ class InvoicePaidNotification extends Notification
5454
}
5555
````
5656

57+
> For Laravel 8.x, please use version 1.x of this package.
5758
5859
## Contents
5960

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=7.3",
15+
"php": ">=8.0",
1616
"guzzlehttp/guzzle": "^6.3 || ^7.0",
17-
"illuminate/notifications": "~8.0",
18-
"illuminate/support": "~8.0"
17+
"illuminate/notifications": "~9.0.2",
18+
"illuminate/support": "~9.0.2"
1919
},
2020
"require-dev": {
21-
"orchestra/testbench": "^6.22",
21+
"orchestra/testbench": "^7.0",
2222
"phpunit/phpunit": "^9.5.10"
2323
},
2424
"autoload": {

0 commit comments

Comments
 (0)