From d6b0d139917f326edd699a2eb763e66961b6eaaf Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 31 Jul 2025 16:58:51 +0300 Subject: [PATCH 1/9] Run tests --- composer.json | 2 +- composer.lock | 135 +++++++++++++++++++++++++++++++------------------- 2 files changed, 85 insertions(+), 52 deletions(-) diff --git a/composer.json b/composer.json index e0c9dc36af..2d7b85f646 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "utopia-php/cache": "0.13.*", "utopia-php/cli": "0.15.*", "utopia-php/config": "0.2.*", - "utopia-php/database": "0.73.*", + "utopia-php/database": "dev-primary-attribute as 0.73.2", "utopia-php/detector": "0.1.*", "utopia-php/domains": "0.8.*", "utopia-php/dsn": "0.2.1", diff --git a/composer.lock b/composer.lock index 3fc23b8dcf..f0cbe1beb5 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": "a2740535c6a9ebbcf6d01df4d35bb78d", + "content-hash": "5f540db5a1e36b3345e4f56fc491da3a", "packages": [ { "name": "adhocore/jwt", @@ -2547,16 +2547,16 @@ }, { "name": "symfony/http-client", - "version": "v7.3.1", + "version": "v7.3.2", "source": { "type": "git", "url": "https://github.com/symfony/http-client.git", - "reference": "4403d87a2c16f33345dca93407a8714ee8c05a64" + "reference": "1c064a0c67749923483216b081066642751cc2c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-client/zipball/4403d87a2c16f33345dca93407a8714ee8c05a64", - "reference": "4403d87a2c16f33345dca93407a8714ee8c05a64", + "url": "https://api.github.com/repos/symfony/http-client/zipball/1c064a0c67749923483216b081066642751cc2c7", + "reference": "1c064a0c67749923483216b081066642751cc2c7", "shasum": "" }, "require": { @@ -2622,7 +2622,7 @@ "http" ], "support": { - "source": "https://github.com/symfony/http-client/tree/v7.3.1" + "source": "https://github.com/symfony/http-client/tree/v7.3.2" }, "funding": [ { @@ -2633,12 +2633,16 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-06-28T07:58:39+00:00" + "time": "2025-07-15T11:36:08+00:00" }, { "name": "symfony/http-client-contracts", @@ -3493,16 +3497,16 @@ }, { "name": "utopia-php/database", - "version": "0.73.2", + "version": "dev-primary-attribute", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "68545dfd5d1ac41ca2f4f5a59719b890fcd8f480" + "reference": "9961ba26ccfd7eb64b59accfa729349ad772f743" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/68545dfd5d1ac41ca2f4f5a59719b890fcd8f480", - "reference": "68545dfd5d1ac41ca2f4f5a59719b890fcd8f480", + "url": "https://api.github.com/repos/utopia-php/database/zipball/9961ba26ccfd7eb64b59accfa729349ad772f743", + "reference": "9961ba26ccfd7eb64b59accfa729349ad772f743", "shasum": "" }, "require": { @@ -3543,9 +3547,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/0.73.2" + "source": "https://github.com/utopia-php/database/tree/primary-attribute" }, - "time": "2025-07-29T03:23:04+00:00" + "time": "2025-07-31T13:07:59+00:00" }, { "name": "utopia-php/detector", @@ -3993,16 +3997,16 @@ }, { "name": "utopia-php/migration", - "version": "0.13.5", + "version": "0.13.6", "source": { "type": "git", "url": "https://github.com/utopia-php/migration.git", - "reference": "8142d722d8eeec443e6d5df91b69ecf89b86df8e" + "reference": "610b4e7a6c0d538703e4b2d74605ce5377a36617" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/migration/zipball/8142d722d8eeec443e6d5df91b69ecf89b86df8e", - "reference": "8142d722d8eeec443e6d5df91b69ecf89b86df8e", + "url": "https://api.github.com/repos/utopia-php/migration/zipball/610b4e7a6c0d538703e4b2d74605ce5377a36617", + "reference": "610b4e7a6c0d538703e4b2d74605ce5377a36617", "shasum": "" }, "require": { @@ -4043,9 +4047,9 @@ ], "support": { "issues": "https://github.com/utopia-php/migration/issues", - "source": "https://github.com/utopia-php/migration/tree/0.13.5" + "source": "https://github.com/utopia-php/migration/tree/0.13.6" }, - "time": "2025-07-29T04:15:45+00:00" + "time": "2025-07-31T13:51:25+00:00" }, { "name": "utopia-php/orchestration", @@ -7258,16 +7262,16 @@ }, { "name": "symfony/console", - "version": "v7.3.1", + "version": "v7.3.2", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "9e27aecde8f506ba0fd1d9989620c04a87697101" + "reference": "5f360ebc65c55265a74d23d7fe27f957870158a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/9e27aecde8f506ba0fd1d9989620c04a87697101", - "reference": "9e27aecde8f506ba0fd1d9989620c04a87697101", + "url": "https://api.github.com/repos/symfony/console/zipball/5f360ebc65c55265a74d23d7fe27f957870158a1", + "reference": "5f360ebc65c55265a74d23d7fe27f957870158a1", "shasum": "" }, "require": { @@ -7332,7 +7336,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v7.3.1" + "source": "https://github.com/symfony/console/tree/v7.3.2" }, "funding": [ { @@ -7343,25 +7347,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-06-27T19:55:54+00:00" + "time": "2025-07-30T17:13:41+00:00" }, { "name": "symfony/filesystem", - "version": "v7.3.0", + "version": "v7.3.2", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "b8dce482de9d7c9fe2891155035a7248ab5c7fdb" + "reference": "edcbb768a186b5c3f25d0643159a787d3e63b7fd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/b8dce482de9d7c9fe2891155035a7248ab5c7fdb", - "reference": "b8dce482de9d7c9fe2891155035a7248ab5c7fdb", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/edcbb768a186b5c3f25d0643159a787d3e63b7fd", + "reference": "edcbb768a186b5c3f25d0643159a787d3e63b7fd", "shasum": "" }, "require": { @@ -7398,7 +7406,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v7.3.0" + "source": "https://github.com/symfony/filesystem/tree/v7.3.2" }, "funding": [ { @@ -7409,25 +7417,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-10-25T15:15:23+00:00" + "time": "2025-07-07T08:17:47+00:00" }, { "name": "symfony/finder", - "version": "v7.3.0", + "version": "v7.3.2", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "ec2344cf77a48253bbca6939aa3d2477773ea63d" + "reference": "2a6614966ba1074fa93dae0bc804227422df4dfe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/ec2344cf77a48253bbca6939aa3d2477773ea63d", - "reference": "ec2344cf77a48253bbca6939aa3d2477773ea63d", + "url": "https://api.github.com/repos/symfony/finder/zipball/2a6614966ba1074fa93dae0bc804227422df4dfe", + "reference": "2a6614966ba1074fa93dae0bc804227422df4dfe", "shasum": "" }, "require": { @@ -7462,7 +7474,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v7.3.0" + "source": "https://github.com/symfony/finder/tree/v7.3.2" }, "funding": [ { @@ -7473,25 +7485,29 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2024-12-30T19:00:26+00:00" + "time": "2025-07-15T13:41:35+00:00" }, { "name": "symfony/options-resolver", - "version": "v7.3.0", + "version": "v7.3.2", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "afb9a8038025e5dbc657378bfab9198d75f10fca" + "reference": "119bcf13e67dbd188e5dbc74228b1686f66acd37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/afb9a8038025e5dbc657378bfab9198d75f10fca", - "reference": "afb9a8038025e5dbc657378bfab9198d75f10fca", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/119bcf13e67dbd188e5dbc74228b1686f66acd37", + "reference": "119bcf13e67dbd188e5dbc74228b1686f66acd37", "shasum": "" }, "require": { @@ -7529,7 +7545,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v7.3.0" + "source": "https://github.com/symfony/options-resolver/tree/v7.3.2" }, "funding": [ { @@ -7540,12 +7556,16 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-04-04T13:12:05+00:00" + "time": "2025-07-15T11:36:08+00:00" }, { "name": "symfony/polyfill-ctype", @@ -7924,16 +7944,16 @@ }, { "name": "symfony/string", - "version": "v7.3.0", + "version": "v7.3.2", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "f3570b8c61ca887a9e2938e85cb6458515d2b125" + "reference": "42f505aff654e62ac7ac2ce21033818297ca89ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/f3570b8c61ca887a9e2938e85cb6458515d2b125", - "reference": "f3570b8c61ca887a9e2938e85cb6458515d2b125", + "url": "https://api.github.com/repos/symfony/string/zipball/42f505aff654e62ac7ac2ce21033818297ca89ca", + "reference": "42f505aff654e62ac7ac2ce21033818297ca89ca", "shasum": "" }, "require": { @@ -7991,7 +8011,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.3.0" + "source": "https://github.com/symfony/string/tree/v7.3.2" }, "funding": [ { @@ -8002,12 +8022,16 @@ "url": "https://github.com/fabpot", "type": "github" }, + { + "url": "https://github.com/nicolas-grekas", + "type": "github" + }, { "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "type": "tidelift" } ], - "time": "2025-04-20T20:19:01+00:00" + "time": "2025-07-10T08:47:49+00:00" }, { "name": "textalk/websocket", @@ -8237,9 +8261,18 @@ "time": "2024-03-07T20:33:40+00:00" } ], - "aliases": [], + "aliases": [ + { + "package": "utopia-php/database", + "version": "dev-primary-attribute", + "alias": "0.73.2", + "alias_normalized": "0.73.2.0" + } + ], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": { + "utopia-php/database": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { From a54cf58610b1a32a94e7f7e11f1196fc84adce05 Mon Sep 17 00:00:00 2001 From: fogelito Date: Thu, 31 Jul 2025 17:03:21 +0300 Subject: [PATCH 2/9] Run tests --- composer.lock | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/composer.lock b/composer.lock index a5b20cd761..f0cbe1beb5 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": "c4ae112243a897e16552c507c5e94097", + "content-hash": "5f540db5a1e36b3345e4f56fc491da3a", "packages": [ { "name": "adhocore/jwt", @@ -3497,16 +3497,16 @@ }, { "name": "utopia-php/database", - "version": "0.74.2", + "version": "dev-primary-attribute", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "0e9b85b9ce1a2e754c5a644a2b235dc6e23905b3" + "reference": "9961ba26ccfd7eb64b59accfa729349ad772f743" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/0e9b85b9ce1a2e754c5a644a2b235dc6e23905b3", - "reference": "0e9b85b9ce1a2e754c5a644a2b235dc6e23905b3", + "url": "https://api.github.com/repos/utopia-php/database/zipball/9961ba26ccfd7eb64b59accfa729349ad772f743", + "reference": "9961ba26ccfd7eb64b59accfa729349ad772f743", "shasum": "" }, "require": { @@ -3547,9 +3547,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/0.74.2" + "source": "https://github.com/utopia-php/database/tree/primary-attribute" }, - "time": "2025-07-31T13:40:40+00:00" + "time": "2025-07-31T13:07:59+00:00" }, { "name": "utopia-php/detector", @@ -3997,16 +3997,16 @@ }, { "name": "utopia-php/migration", - "version": "0.13.5", + "version": "0.13.6", "source": { "type": "git", "url": "https://github.com/utopia-php/migration.git", - "reference": "8142d722d8eeec443e6d5df91b69ecf89b86df8e" + "reference": "610b4e7a6c0d538703e4b2d74605ce5377a36617" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/migration/zipball/8142d722d8eeec443e6d5df91b69ecf89b86df8e", - "reference": "8142d722d8eeec443e6d5df91b69ecf89b86df8e", + "url": "https://api.github.com/repos/utopia-php/migration/zipball/610b4e7a6c0d538703e4b2d74605ce5377a36617", + "reference": "610b4e7a6c0d538703e4b2d74605ce5377a36617", "shasum": "" }, "require": { @@ -4047,9 +4047,9 @@ ], "support": { "issues": "https://github.com/utopia-php/migration/issues", - "source": "https://github.com/utopia-php/migration/tree/0.13.5" + "source": "https://github.com/utopia-php/migration/tree/0.13.6" }, - "time": "2025-07-29T04:15:45+00:00" + "time": "2025-07-31T13:51:25+00:00" }, { "name": "utopia-php/orchestration", @@ -8261,9 +8261,18 @@ "time": "2024-03-07T20:33:40+00:00" } ], - "aliases": [], + "aliases": [ + { + "package": "utopia-php/database", + "version": "dev-primary-attribute", + "alias": "0.73.2", + "alias_normalized": "0.73.2.0" + } + ], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": { + "utopia-php/database": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { From bc53c73a7aaa461be4b97c6e1b1eb9fe2ea7d907 Mon Sep 17 00:00:00 2001 From: fogelito Date: Sun, 3 Aug 2025 09:00:24 +0300 Subject: [PATCH 3/9] Remove $sequence --- composer.lock | 8 ++++---- .../Functions/Http/Deployments/Duplicate/Create.php | 2 +- .../Modules/Sites/Http/Deployments/Duplicate/Create.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.lock b/composer.lock index f0cbe1beb5..0acd5f13f1 100644 --- a/composer.lock +++ b/composer.lock @@ -3501,12 +3501,12 @@ "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "9961ba26ccfd7eb64b59accfa729349ad772f743" + "reference": "b10964171b2a716d0c9a9f80c1b13b18ccef4ff2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/9961ba26ccfd7eb64b59accfa729349ad772f743", - "reference": "9961ba26ccfd7eb64b59accfa729349ad772f743", + "url": "https://api.github.com/repos/utopia-php/database/zipball/b10964171b2a716d0c9a9f80c1b13b18ccef4ff2", + "reference": "b10964171b2a716d0c9a9f80c1b13b18ccef4ff2", "shasum": "" }, "require": { @@ -3549,7 +3549,7 @@ "issues": "https://github.com/utopia-php/database/issues", "source": "https://github.com/utopia-php/database/tree/primary-attribute" }, - "time": "2025-07-31T13:07:59+00:00" + "time": "2025-07-31T14:14:16+00:00" }, { "name": "utopia-php/detector", diff --git a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php index 28861f71f1..e2d49ecb8b 100644 --- a/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php +++ b/src/Appwrite/Platform/Modules/Functions/Http/Deployments/Duplicate/Create.php @@ -97,8 +97,8 @@ class Create extends Action $deviceForFunctions->transfer($path, $destination, $deviceForFunctions); $deployment->removeAttribute('$sequence'); + $deployment = $dbForProject->createDocument('deployments', $deployment->setAttributes([ - '$sequence' => '', '$id' => $deploymentId, 'sourcePath' => $destination, 'totalSize' => $deployment->getAttribute('sourceSize', 0), diff --git a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php index 22a7a47390..065dd13e88 100644 --- a/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php +++ b/src/Appwrite/Platform/Modules/Sites/Http/Deployments/Duplicate/Create.php @@ -111,8 +111,8 @@ class Create extends Action } $deployment->removeAttribute('$sequence'); + $deployment = $dbForProject->createDocument('deployments', $deployment->setAttributes([ - '$sequence' => '', '$id' => $deploymentId, 'sourcePath' => $destination, 'totalSize' => $deployment->getAttribute('sourceSize', 0), From e55aaf1da9f0deb049fc6436e9a46ee3239886cc Mon Sep 17 00:00:00 2001 From: fogelito Date: Sun, 3 Aug 2025 09:04:47 +0300 Subject: [PATCH 4/9] Pull main --- composer.lock | 51 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/composer.lock b/composer.lock index 72200f7531..bf5830d75d 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": "c4ae112243a897e16552c507c5e94097", + "content-hash": "5f540db5a1e36b3345e4f56fc491da3a", "packages": [ { "name": "adhocore/jwt", @@ -3497,16 +3497,16 @@ }, { "name": "utopia-php/database", - "version": "0.74.3", + "version": "dev-primary-attribute", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "065b4812799d57fd2c596f88aadd51644247c7e3" + "reference": "b10964171b2a716d0c9a9f80c1b13b18ccef4ff2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/065b4812799d57fd2c596f88aadd51644247c7e3", - "reference": "065b4812799d57fd2c596f88aadd51644247c7e3", + "url": "https://api.github.com/repos/utopia-php/database/zipball/b10964171b2a716d0c9a9f80c1b13b18ccef4ff2", + "reference": "b10964171b2a716d0c9a9f80c1b13b18ccef4ff2", "shasum": "" }, "require": { @@ -3547,9 +3547,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/0.74.3" + "source": "https://github.com/utopia-php/database/tree/primary-attribute" }, - "time": "2025-07-31T15:00:30+00:00" + "time": "2025-07-31T14:14:16+00:00" }, { "name": "utopia-php/detector", @@ -4814,16 +4814,16 @@ "packages-dev": [ { "name": "appwrite/sdk-generator", - "version": "0.41.27", + "version": "0.41.28", "source": { "type": "git", "url": "https://github.com/appwrite/sdk-generator.git", - "reference": "083fd2e8163d6a4e59ee971ac6cb97277d831dd5" + "reference": "8eace11070264c62c8da3c69498fb8dc98fcfaf7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/083fd2e8163d6a4e59ee971ac6cb97277d831dd5", - "reference": "083fd2e8163d6a4e59ee971ac6cb97277d831dd5", + "url": "https://api.github.com/repos/appwrite/sdk-generator/zipball/8eace11070264c62c8da3c69498fb8dc98fcfaf7", + "reference": "8eace11070264c62c8da3c69498fb8dc98fcfaf7", "shasum": "" }, "require": { @@ -4859,9 +4859,9 @@ "description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms", "support": { "issues": "https://github.com/appwrite/sdk-generator/issues", - "source": "https://github.com/appwrite/sdk-generator/tree/0.41.27" + "source": "https://github.com/appwrite/sdk-generator/tree/0.41.28" }, - "time": "2025-07-31T10:20:46+00:00" + "time": "2025-08-01T11:06:30+00:00" }, { "name": "doctrine/annotations", @@ -5280,16 +5280,16 @@ }, { "name": "myclabs/deep-copy", - "version": "1.13.3", + "version": "1.13.4", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "faed855a7b5f4d4637717c2b3863e277116beb36" + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/faed855a7b5f4d4637717c2b3863e277116beb36", - "reference": "faed855a7b5f4d4637717c2b3863e277116beb36", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/07d290f0c47959fd5eed98c95ee5602db07e0b6a", + "reference": "07d290f0c47959fd5eed98c95ee5602db07e0b6a", "shasum": "" }, "require": { @@ -5328,7 +5328,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.13.3" + "source": "https://github.com/myclabs/DeepCopy/tree/1.13.4" }, "funding": [ { @@ -5336,7 +5336,7 @@ "type": "tidelift" } ], - "time": "2025-07-05T12:25:42+00:00" + "time": "2025-08-01T08:46:24+00:00" }, { "name": "nikic/php-parser", @@ -8261,9 +8261,18 @@ "time": "2024-03-07T20:33:40+00:00" } ], - "aliases": [], + "aliases": [ + { + "package": "utopia-php/database", + "version": "dev-primary-attribute", + "alias": "0.73.2", + "alias_normalized": "0.73.2.0" + } + ], "minimum-stability": "stable", - "stability-flags": {}, + "stability-flags": { + "utopia-php/database": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { From e3f08fa010167666f7afd56895aded1217a3ab31 Mon Sep 17 00:00:00 2001 From: fogelito Date: Sun, 3 Aug 2025 10:15:25 +0300 Subject: [PATCH 5/9] Run tests --- composer.json | 2 +- composer.lock | 27 +++++++++------------------ 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/composer.json b/composer.json index 2d7b85f646..e0c9dc36af 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "utopia-php/cache": "0.13.*", "utopia-php/cli": "0.15.*", "utopia-php/config": "0.2.*", - "utopia-php/database": "dev-primary-attribute as 0.73.2", + "utopia-php/database": "0.73.*", "utopia-php/detector": "0.1.*", "utopia-php/domains": "0.8.*", "utopia-php/dsn": "0.2.1", diff --git a/composer.lock b/composer.lock index bf5830d75d..655175bea1 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": "5f540db5a1e36b3345e4f56fc491da3a", + "content-hash": "a2740535c6a9ebbcf6d01df4d35bb78d", "packages": [ { "name": "adhocore/jwt", @@ -3497,16 +3497,16 @@ }, { "name": "utopia-php/database", - "version": "dev-primary-attribute", + "version": "0.73.2", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "b10964171b2a716d0c9a9f80c1b13b18ccef4ff2" + "reference": "68545dfd5d1ac41ca2f4f5a59719b890fcd8f480" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/b10964171b2a716d0c9a9f80c1b13b18ccef4ff2", - "reference": "b10964171b2a716d0c9a9f80c1b13b18ccef4ff2", + "url": "https://api.github.com/repos/utopia-php/database/zipball/68545dfd5d1ac41ca2f4f5a59719b890fcd8f480", + "reference": "68545dfd5d1ac41ca2f4f5a59719b890fcd8f480", "shasum": "" }, "require": { @@ -3547,9 +3547,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/primary-attribute" + "source": "https://github.com/utopia-php/database/tree/0.73.2" }, - "time": "2025-07-31T14:14:16+00:00" + "time": "2025-07-29T03:23:04+00:00" }, { "name": "utopia-php/detector", @@ -8261,18 +8261,9 @@ "time": "2024-03-07T20:33:40+00:00" } ], - "aliases": [ - { - "package": "utopia-php/database", - "version": "dev-primary-attribute", - "alias": "0.73.2", - "alias_normalized": "0.73.2.0" - } - ], + "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "utopia-php/database": 20 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": { From 27ae4f316d7dd4323479cf8f2d24459880fceee5 Mon Sep 17 00:00:00 2001 From: fogelito Date: Sun, 3 Aug 2025 10:35:31 +0300 Subject: [PATCH 6/9] Run tests --- composer.json | 2 +- composer.lock | 27 ++++++++++++++++++--------- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/composer.json b/composer.json index e0c9dc36af..2d7b85f646 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "utopia-php/cache": "0.13.*", "utopia-php/cli": "0.15.*", "utopia-php/config": "0.2.*", - "utopia-php/database": "0.73.*", + "utopia-php/database": "dev-primary-attribute as 0.73.2", "utopia-php/detector": "0.1.*", "utopia-php/domains": "0.8.*", "utopia-php/dsn": "0.2.1", diff --git a/composer.lock b/composer.lock index 655175bea1..95a1ddd6ec 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": "a2740535c6a9ebbcf6d01df4d35bb78d", + "content-hash": "5f540db5a1e36b3345e4f56fc491da3a", "packages": [ { "name": "adhocore/jwt", @@ -3497,16 +3497,16 @@ }, { "name": "utopia-php/database", - "version": "0.73.2", + "version": "dev-primary-attribute", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "68545dfd5d1ac41ca2f4f5a59719b890fcd8f480" + "reference": "ab1d5c826e8909f8f7406f0e36b345af86b29c44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/68545dfd5d1ac41ca2f4f5a59719b890fcd8f480", - "reference": "68545dfd5d1ac41ca2f4f5a59719b890fcd8f480", + "url": "https://api.github.com/repos/utopia-php/database/zipball/ab1d5c826e8909f8f7406f0e36b345af86b29c44", + "reference": "ab1d5c826e8909f8f7406f0e36b345af86b29c44", "shasum": "" }, "require": { @@ -3547,9 +3547,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/0.73.2" + "source": "https://github.com/utopia-php/database/tree/primary-attribute" }, - "time": "2025-07-29T03:23:04+00:00" + "time": "2025-08-03T06:07:59+00:00" }, { "name": "utopia-php/detector", @@ -8261,9 +8261,18 @@ "time": "2024-03-07T20:33:40+00:00" } ], - "aliases": [], + "aliases": [ + { + "package": "utopia-php/database", + "version": "dev-primary-attribute", + "alias": "0.73.2", + "alias_normalized": "0.73.2.0" + } + ], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "utopia-php/database": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { From 992d10afb51f8f34692f54db145b480a5d0431ef Mon Sep 17 00:00:00 2001 From: fogelito Date: Mon, 4 Aug 2025 09:07:36 +0300 Subject: [PATCH 7/9] Run tests --- composer.json | 2 +- composer.lock | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 2d7b85f646..3846f66319 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "utopia-php/cache": "0.13.*", "utopia-php/cli": "0.15.*", "utopia-php/config": "0.2.*", - "utopia-php/database": "dev-primary-attribute as 0.73.2", + "utopia-php/database": "dev-fix-encode-permissions as 0.73.2", "utopia-php/detector": "0.1.*", "utopia-php/domains": "0.8.*", "utopia-php/dsn": "0.2.1", diff --git a/composer.lock b/composer.lock index 95a1ddd6ec..6029d325d4 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": "5f540db5a1e36b3345e4f56fc491da3a", + "content-hash": "f770275cec58c4afcf7765a293aa3c20", "packages": [ { "name": "adhocore/jwt", @@ -3497,16 +3497,16 @@ }, { "name": "utopia-php/database", - "version": "dev-primary-attribute", + "version": "dev-fix-encode-permissions", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "ab1d5c826e8909f8f7406f0e36b345af86b29c44" + "reference": "8735c8fce78d64bb64f134dc2207ea684c9848a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/ab1d5c826e8909f8f7406f0e36b345af86b29c44", - "reference": "ab1d5c826e8909f8f7406f0e36b345af86b29c44", + "url": "https://api.github.com/repos/utopia-php/database/zipball/8735c8fce78d64bb64f134dc2207ea684c9848a0", + "reference": "8735c8fce78d64bb64f134dc2207ea684c9848a0", "shasum": "" }, "require": { @@ -3547,9 +3547,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/primary-attribute" + "source": "https://github.com/utopia-php/database/tree/fix-encode-permissions" }, - "time": "2025-08-03T06:07:59+00:00" + "time": "2025-08-03T15:04:19+00:00" }, { "name": "utopia-php/detector", @@ -8264,7 +8264,7 @@ "aliases": [ { "package": "utopia-php/database", - "version": "dev-primary-attribute", + "version": "dev-fix-encode-permissions", "alias": "0.73.2", "alias_normalized": "0.73.2.0" } From 7d82d3d9453861eb532ac9ed0f0bfb2090b3c60f Mon Sep 17 00:00:00 2001 From: fogelito Date: Mon, 4 Aug 2025 11:04:33 +0300 Subject: [PATCH 8/9] Run tests --- composer.json | 2 +- composer.lock | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 3846f66319..2d7b85f646 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "utopia-php/cache": "0.13.*", "utopia-php/cli": "0.15.*", "utopia-php/config": "0.2.*", - "utopia-php/database": "dev-fix-encode-permissions as 0.73.2", + "utopia-php/database": "dev-primary-attribute as 0.73.2", "utopia-php/detector": "0.1.*", "utopia-php/domains": "0.8.*", "utopia-php/dsn": "0.2.1", diff --git a/composer.lock b/composer.lock index 6029d325d4..95a1ddd6ec 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": "f770275cec58c4afcf7765a293aa3c20", + "content-hash": "5f540db5a1e36b3345e4f56fc491da3a", "packages": [ { "name": "adhocore/jwt", @@ -3497,16 +3497,16 @@ }, { "name": "utopia-php/database", - "version": "dev-fix-encode-permissions", + "version": "dev-primary-attribute", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "8735c8fce78d64bb64f134dc2207ea684c9848a0" + "reference": "ab1d5c826e8909f8f7406f0e36b345af86b29c44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/8735c8fce78d64bb64f134dc2207ea684c9848a0", - "reference": "8735c8fce78d64bb64f134dc2207ea684c9848a0", + "url": "https://api.github.com/repos/utopia-php/database/zipball/ab1d5c826e8909f8f7406f0e36b345af86b29c44", + "reference": "ab1d5c826e8909f8f7406f0e36b345af86b29c44", "shasum": "" }, "require": { @@ -3547,9 +3547,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/fix-encode-permissions" + "source": "https://github.com/utopia-php/database/tree/primary-attribute" }, - "time": "2025-08-03T15:04:19+00:00" + "time": "2025-08-03T06:07:59+00:00" }, { "name": "utopia-php/detector", @@ -8264,7 +8264,7 @@ "aliases": [ { "package": "utopia-php/database", - "version": "dev-fix-encode-permissions", + "version": "dev-primary-attribute", "alias": "0.73.2", "alias_normalized": "0.73.2.0" } From 8c82119bd71a8568f3ac634b1e6bbe1918ca71f3 Mon Sep 17 00:00:00 2001 From: fogelito Date: Tue, 5 Aug 2025 14:41:43 +0300 Subject: [PATCH 9/9] Update database 0.75.* --- composer.json | 2 +- composer.lock | 27 +++++++++------------------ 2 files changed, 10 insertions(+), 19 deletions(-) diff --git a/composer.json b/composer.json index 2d7b85f646..e08b3e04d4 100644 --- a/composer.json +++ b/composer.json @@ -52,7 +52,7 @@ "utopia-php/cache": "0.13.*", "utopia-php/cli": "0.15.*", "utopia-php/config": "0.2.*", - "utopia-php/database": "dev-primary-attribute as 0.73.2", + "utopia-php/database": "0.75.*", "utopia-php/detector": "0.1.*", "utopia-php/domains": "0.8.*", "utopia-php/dsn": "0.2.1", diff --git a/composer.lock b/composer.lock index 95a1ddd6ec..01e2b5a8c9 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": "5f540db5a1e36b3345e4f56fc491da3a", + "content-hash": "8dd2ec8206f7c2dc31fef4de39569ae8", "packages": [ { "name": "adhocore/jwt", @@ -3497,16 +3497,16 @@ }, { "name": "utopia-php/database", - "version": "dev-primary-attribute", + "version": "0.75.2", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "ab1d5c826e8909f8f7406f0e36b345af86b29c44" + "reference": "669f38dc1686fbbbafbdadc266e0c3c112d8a70c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/ab1d5c826e8909f8f7406f0e36b345af86b29c44", - "reference": "ab1d5c826e8909f8f7406f0e36b345af86b29c44", + "url": "https://api.github.com/repos/utopia-php/database/zipball/669f38dc1686fbbbafbdadc266e0c3c112d8a70c", + "reference": "669f38dc1686fbbbafbdadc266e0c3c112d8a70c", "shasum": "" }, "require": { @@ -3547,9 +3547,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/primary-attribute" + "source": "https://github.com/utopia-php/database/tree/0.75.2" }, - "time": "2025-08-03T06:07:59+00:00" + "time": "2025-08-05T08:33:18+00:00" }, { "name": "utopia-php/detector", @@ -8261,18 +8261,9 @@ "time": "2024-03-07T20:33:40+00:00" } ], - "aliases": [ - { - "package": "utopia-php/database", - "version": "dev-primary-attribute", - "alias": "0.73.2", - "alias_normalized": "0.73.2.0" - } - ], + "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "utopia-php/database": 20 - }, + "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, "platform": {