From 0cb49a88f54a38e149a999e173760e24511c0057 Mon Sep 17 00:00:00 2001 From: Frank Dixon Date: Sat, 12 Feb 2022 18:13:31 +1100 Subject: [PATCH 1/3] Upgraded to Laravel 9.x, dropped support for PHP 7.x --- .github/workflows/tests.yml | 2 +- CHANGELOG.md | 4 ++++ composer.json | 8 ++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a21d4d9..953e446 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: fail-fast: true matrix: os: [ubuntu-latest, windows-latest] - php: [8.1, 8.0, 7.4, 7.3] + php: [8.1, 8.0] stability: [prefer-lowest, prefer-stable] name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - ${{ matrix.os }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ad00b3..3b178dc 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `google-chat` will be documented in this file +## 2.0.0 - 2022-02-12 +- Upgraded to support Laravel 9.x +- Dropped support for PHP 7.3 and 7.4 + ## 1.0.1 - 2021-07-16 - Removed property type hints for PHP 7.3 compatibility diff --git a/composer.json b/composer.json index c867be6..331a0b8 100644 --- a/composer.json +++ b/composer.json @@ -12,13 +12,13 @@ } ], "require": { - "php": ">=7.3", + "php": ">=8.0", "guzzlehttp/guzzle": "^6.3 || ^7.0", - "illuminate/notifications": "~8.0", - "illuminate/support": "~8.0" + "illuminate/notifications": "~9.0", + "illuminate/support": "~9.0" }, "require-dev": { - "orchestra/testbench": "^6.22", + "orchestra/testbench": "^7.0", "phpunit/phpunit": "^9.5.10" }, "autoload": { From d3d3def9663785337b23270b2807b3b783b5a189 Mon Sep 17 00:00:00 2001 From: Frank Dixon Date: Sat, 12 Feb 2022 19:07:33 +1100 Subject: [PATCH 2/3] Bumped minimum laravel version to 9.0.2 due to unintended breaking change in framework --- CHANGELOG.md | 2 +- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b178dc..219c17e 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes to `google-chat` will be documented in this file ## 2.0.0 - 2022-02-12 -- Upgraded to support Laravel 9.x +- Upgraded to support Laravel 9.x (Minimum of 9.0.2 due to an [unintended breaking change](https://github.com/laravel/framework/pull/40880)) - Dropped support for PHP 7.3 and 7.4 ## 1.0.1 - 2021-07-16 diff --git a/composer.json b/composer.json index 331a0b8..cd00438 100644 --- a/composer.json +++ b/composer.json @@ -14,8 +14,8 @@ "require": { "php": ">=8.0", "guzzlehttp/guzzle": "^6.3 || ^7.0", - "illuminate/notifications": "~9.0", - "illuminate/support": "~9.0" + "illuminate/notifications": "~9.0.2", + "illuminate/support": "~9.0.2" }, "require-dev": { "orchestra/testbench": "^7.0", From 5a2b31fe9c231386f4f0053567c81f520a9ba883 Mon Sep 17 00:00:00 2001 From: Frank Dixon Date: Sat, 12 Feb 2022 19:12:52 +1100 Subject: [PATCH 3/3] Updated README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eda15b3..96d4040 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,12 @@ GitHub Code Style Action Total Downloads PHP Version Requirements -Laravel Version Requirements +Laravel Version Requirements

Google Chat - Laravel Notification Channel

-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 +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 ````php class InvoicePaidNotification extends Notification @@ -54,6 +54,7 @@ class InvoicePaidNotification extends Notification } ```` +> For Laravel 8.x, please use version 1.x of this package. ## Contents