From ffd568aecd3cd90d011925e57d543e572b039c65 Mon Sep 17 00:00:00 2001 From: fogelito Date: Wed, 4 Feb 2026 10:05:54 +0200 Subject: [PATCH] Update 1.8.x --- composer.lock | 42 ++++++++++---------- src/Appwrite/Platform/Workers/Migrations.php | 6 +-- tests/e2e/General/CompressionTest.php | 2 +- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/composer.lock b/composer.lock index 9f92beb7a2..9359b405ea 100644 --- a/composer.lock +++ b/composer.lock @@ -283,16 +283,16 @@ }, { "name": "brick/math", - "version": "0.14.4", + "version": "0.14.5", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "a8b53e6cc4d3a336543f042a4dfa0e3f2f2356a4" + "reference": "618a8077b3c326045e10d5788ed713b341fcfe40" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/a8b53e6cc4d3a336543f042a4dfa0e3f2f2356a4", - "reference": "a8b53e6cc4d3a336543f042a4dfa0e3f2f2356a4", + "url": "https://api.github.com/repos/brick/math/zipball/618a8077b3c326045e10d5788ed713b341fcfe40", + "reference": "618a8077b3c326045e10d5788ed713b341fcfe40", "shasum": "" }, "require": { @@ -331,7 +331,7 @@ ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.14.4" + "source": "https://github.com/brick/math/tree/0.14.5" }, "funding": [ { @@ -339,7 +339,7 @@ "type": "github" } ], - "time": "2026-02-02T16:57:31+00:00" + "time": "2026-02-03T18:06:51+00:00" }, { "name": "chillerlan/php-qrcode", @@ -4745,16 +4745,16 @@ }, { "name": "utopia-php/platform", - "version": "0.7.14", + "version": "0.7.15", "source": { "type": "git", "url": "https://github.com/utopia-php/platform.git", - "reference": "9f18ce63f1425ae2dae57468200e4a5d1239d57b" + "reference": "1b94e9b7c3f86d8955178ed05696bb7c8f49839a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/platform/zipball/9f18ce63f1425ae2dae57468200e4a5d1239d57b", - "reference": "9f18ce63f1425ae2dae57468200e4a5d1239d57b", + "url": "https://api.github.com/repos/utopia-php/platform/zipball/1b94e9b7c3f86d8955178ed05696bb7c8f49839a", + "reference": "1b94e9b7c3f86d8955178ed05696bb7c8f49839a", "shasum": "" }, "require": { @@ -4790,9 +4790,9 @@ ], "support": { "issues": "https://github.com/utopia-php/platform/issues", - "source": "https://github.com/utopia-php/platform/tree/0.7.14" + "source": "https://github.com/utopia-php/platform/tree/0.7.15" }, - "time": "2026-01-06T15:39:45+00:00" + "time": "2026-02-04T05:28:13+00:00" }, { "name": "utopia-php/pools", @@ -5121,22 +5121,22 @@ }, { "name": "utopia-php/swoole", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/utopia-php/swoole.git", - "reference": "c5ce710dfffc4df09bf3e7aea2d1e55c53e77a95" + "reference": "8c89f38ff163de6c6f8a4898e467ca38c1f03133" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/swoole/zipball/c5ce710dfffc4df09bf3e7aea2d1e55c53e77a95", - "reference": "c5ce710dfffc4df09bf3e7aea2d1e55c53e77a95", + "url": "https://api.github.com/repos/utopia-php/swoole/zipball/8c89f38ff163de6c6f8a4898e467ca38c1f03133", + "reference": "8c89f38ff163de6c6f8a4898e467ca38c1f03133", "shasum": "" }, "require": { "ext-swoole": "6.*", "php": ">=8.1", - "utopia-php/framework": "0.33.37" + "utopia-php/framework": "0.33.*" }, "require-dev": { "laravel/pint": "1.2.*", @@ -5166,9 +5166,9 @@ ], "support": { "issues": "https://github.com/utopia-php/swoole/issues", - "source": "https://github.com/utopia-php/swoole/tree/1.0.1" + "source": "https://github.com/utopia-php/swoole/tree/1.0.2" }, - "time": "2026-01-28T12:43:38+00:00" + "time": "2026-02-04T05:12:48+00:00" }, { "name": "utopia-php/system", @@ -9052,7 +9052,7 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { @@ -9076,5 +9076,5 @@ "platform-overrides": { "php": "8.3" }, - "plugin-api-version": "2.9.0" + "plugin-api-version": "2.6.0" } diff --git a/src/Appwrite/Platform/Workers/Migrations.php b/src/Appwrite/Platform/Workers/Migrations.php index a28c1c9efd..cfba5d0677 100644 --- a/src/Appwrite/Platform/Workers/Migrations.php +++ b/src/Appwrite/Platform/Workers/Migrations.php @@ -353,9 +353,9 @@ class Migrations extends Action $credentials['destinationEndpoint'] = $endpoint; } -// if (($credentials['endpoint'] ?? '') === 'http://localhost/v1') { -// $credentials['endpoint'] = $endpoint; -// } + // if (($credentials['endpoint'] ?? '') === 'http://localhost/v1') { + // $credentials['endpoint'] = $endpoint; + // } var_dump($credentials); diff --git a/tests/e2e/General/CompressionTest.php b/tests/e2e/General/CompressionTest.php index 29ec0ea1e8..b8395d2b4a 100644 --- a/tests/e2e/General/CompressionTest.php +++ b/tests/e2e/General/CompressionTest.php @@ -87,7 +87,7 @@ class CompressionTest extends Scope $this->assertEquals(200, $response['headers']['status-code']); $this->assertArrayNotHasKey('content-encoding', $response['headers']); - if ($this->endpoint !== 'http://appwrite/v1'){ + if ($this->endpoint !== 'http://appwrite/v1') { $this->assertEquals('chunked', $response['headers']['transfer-encoding'] ?? null, 'Uncompressed response should use chunked transfer, headers received: ' . json_encode($response['headers'], JSON_PRETTY_PRINT)); $this->assertArrayNotHasKey('content-length', $response['headers'], 'Uncompressed response should not send content length when chunked.'); }