From e7e83b96e102d43148cf1de8c2ea4278d79924b4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 14 Sep 2026 18:02:09 +0930 Subject: [PATCH] Upgrade resend/resend-php to ^1.0 Bump from ^0.13.0 to ^1.0 (installs v1.14.0). The only breaking change in v1.0.0 is the removal of $resend->sendEmail in favor of $resend->emails->send. Pixelfed uses the SDK only through Laravel's 'resend' mail transport, which already calls emails->send and declares support for resend/resend-php ^1.0, so no application code changes are needed. Verified the resend mailer resolves and email tests pass. --- composer.json | 2 +- composer.lock | 22 ++++++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index 35964a210..9948dd303 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "pragmarx/google2fa": "^9.0", "predis/predis": "^3.2", "pusher/pusher-php-server": "^7.2", - "resend/resend-php": "^0.13.0", + "resend/resend-php": "^1.14", "spatie/laravel-backup": "^10.0", "spatie/laravel-honeypot": "^4.7", "spatie/laravel-image-optimizer": "^1.8.2", diff --git a/composer.lock b/composer.lock index 5d6596de6..0241d19d1 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3f633d0360fdebf0d6600d0739acca54", + "content-hash": "f850111c7826d7c8383045e89f52f480", "packages": [ { "name": "aws/aws-crt-php", @@ -6673,26 +6673,28 @@ }, { "name": "resend/resend-php", - "version": "v0.13.0", + "version": "v1.14.0", "source": { "type": "git", "url": "https://github.com/resend/resend-php.git", - "reference": "c74926e34472fe3e3e21f150f3e3ce56fcbf8298" + "reference": "9751fa31d099cf6a4eb172535e826636b87c932c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/resend/resend-php/zipball/c74926e34472fe3e3e21f150f3e3ce56fcbf8298", - "reference": "c74926e34472fe3e3e21f150f3e3ce56fcbf8298", + "url": "https://api.github.com/repos/resend/resend-php/zipball/9751fa31d099cf6a4eb172535e826636b87c932c", + "reference": "9751fa31d099cf6a4eb172535e826636b87c932c", "shasum": "" }, "require": { - "guzzlehttp/guzzle": "^7.5", - "php": "^8.1.0" + "guzzlehttp/guzzle": "^7.8.2 || ^8.0", + "guzzlehttp/psr7": "^2.6.3 || ^3.0", + "php": "^8.1.0", + "psr/http-client": "^1.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.13", "mockery/mockery": "^1.6", - "pestphp/pest": "^2.0" + "pestphp/pest": "^1.0|^2.0|^3.0|^4.0|^5.0" }, "type": "library", "autoload": { @@ -6724,9 +6726,9 @@ ], "support": { "issues": "https://github.com/resend/resend-php/issues", - "source": "https://github.com/resend/resend-php/tree/v0.13.0" + "source": "https://github.com/resend/resend-php/tree/v1.14.0" }, - "time": "2024-08-15T03:27:29+00:00" + "time": "2026-09-09T19:48:04+00:00" }, { "name": "spatie/db-dumper",