From a2fa5ee26773e68c999adaac901e64b8f35e2fe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20C=C3=A1nepa?= Date: Sun, 23 Jun 2024 08:59:53 -0300 Subject: [PATCH 1/3] Upgrade jwt-auth --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 6a8f65b..d81793e 100644 --- a/composer.json +++ b/composer.json @@ -3,10 +3,10 @@ "type": "october-plugin", "description": "No description provided yet...", "require": { - "php": ">=7.4", + "php": "^8.1", "ext-json": "*", "composer/installers": "~1.0", - "php-open-source-saver/jwt-auth": "1.4.2" + "php-open-source-saver/jwt-auth": "^2.4.0" }, "extra": { "laravel": { From f1cc8665647d2ee7d645590095f7e98e863afd20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alvaro=20C=C3=A1nepa?= Date: Sun, 23 Jun 2024 09:16:29 -0300 Subject: [PATCH 2/3] Update version.yaml --- updates/version.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/updates/version.yaml b/updates/version.yaml index 6427439..b0ca3b0 100644 --- a/updates/version.yaml +++ b/updates/version.yaml @@ -1,3 +1,4 @@ 1.0.1: First version of JWTAuth 2.0.0: Migrate from tymon/jwt to PHP-Open-Source-Saver/jwt-auth. Support >=PHP8.0 and October CMS v3. 2.0.1: Added middleware with soft user resolver that will not throw exception if token not provided. +2.0.2: Update PHP-Open-Source-Saver/jwt-auth to ^2.4.0 and PHP to ^8.1 From e6f652344e296613f221a61025649ea8cde17517 Mon Sep 17 00:00:00 2001 From: Alvaro Canepa Date: Sun, 23 Jun 2024 12:20:52 -0300 Subject: [PATCH 3/3] - Update composer.json --- composer.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/composer.json b/composer.json index d81793e..4bc032e 100644 --- a/composer.json +++ b/composer.json @@ -2,13 +2,20 @@ "name": "reazzon/jwtauth-plugin", "type": "october-plugin", "description": "No description provided yet...", + "license": "MIT", "require": { "php": "^8.1", "ext-json": "*", "composer/installers": "~1.0", "php-open-source-saver/jwt-auth": "^2.4.0" }, + "autoload": { + "psr-4": { + "ReaZzon\\JWTAuth\\": "" + } + }, "extra": { + "installer-name": "jwtauth", "laravel": { "dont-discover": [ "php-open-source-saver/jwt-auth"