From f4b0108142ed61a27c93d91be44317c568fd7290 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 24 Jun 2026 17:58:08 +1200 Subject: [PATCH] chore(deps): allow database ^6.0.0 The previous `5.*|6.0.*` constraint capped utopia-php/database below 6.1.0, which is where the getDocument cache-lease (read-after-write fix) landed. That cap blocks the lease from reaching downstream consumers (cloud) that depend on both this package and server-ce. Loosen to ^6.0.0 so 6.1.0+ can resolve; the 6.x line is backward-compatible for usage's API. Co-Authored-By: Claude Opus 4.8 --- composer.json | 2 +- composer.lock | 64 +++++++++++++++++++++++++-------------------------- 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/composer.json b/composer.json index 9d83f48..e08545f 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "php": ">=8.4", "psr/http-client": "^1.0", "utopia-php/client": "^0.1|^0.2", - "utopia-php/database": "5.*|6.0.*", + "utopia-php/database": "^6.0.0", "utopia-php/query": "0.1.*" }, "require-dev": { diff --git a/composer.lock b/composer.lock index c7dac0b..1a974db 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": "15b52e21547085e954eef3a3c399ff68", + "content-hash": "5278bda64bd4289d43cdbc2c6599d7e0", "packages": [ { "name": "brick/math", @@ -2033,16 +2033,16 @@ }, { "name": "utopia-php/cache", - "version": "3.0.2", + "version": "3.1.0", "source": { "type": "git", "url": "https://github.com/utopia-php/cache.git", - "reference": "086687d7ae23dd1dae67b943161e8cef143539e1" + "reference": "d5048409cf3a8db668b00cd2e6c46a627b16d76a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/cache/zipball/086687d7ae23dd1dae67b943161e8cef143539e1", - "reference": "086687d7ae23dd1dae67b943161e8cef143539e1", + "url": "https://api.github.com/repos/utopia-php/cache/zipball/d5048409cf3a8db668b00cd2e6c46a627b16d76a", + "reference": "d5048409cf3a8db668b00cd2e6c46a627b16d76a", "shasum": "" }, "require": { @@ -2081,9 +2081,9 @@ ], "support": { "issues": "https://github.com/utopia-php/cache/issues", - "source": "https://github.com/utopia-php/cache/tree/3.0.2" + "source": "https://github.com/utopia-php/cache/tree/3.1.0" }, - "time": "2026-05-19T22:38:16+00:00" + "time": "2026-06-23T10:59:08+00:00" }, { "name": "utopia-php/circuit-breaker", @@ -2253,16 +2253,16 @@ }, { "name": "utopia-php/database", - "version": "6.0.0", + "version": "6.2.0", "source": { "type": "git", "url": "https://github.com/utopia-php/database.git", - "reference": "fff9f0effbd40359ff925741ff9424856d8b4fde" + "reference": "c71349df00fba75a6e890cb11f31c9f174b44f26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/database/zipball/fff9f0effbd40359ff925741ff9424856d8b4fde", - "reference": "fff9f0effbd40359ff925741ff9424856d8b4fde", + "url": "https://api.github.com/repos/utopia-php/database/zipball/c71349df00fba75a6e890cb11f31c9f174b44f26", + "reference": "c71349df00fba75a6e890cb11f31c9f174b44f26", "shasum": "" }, "require": { @@ -2271,7 +2271,7 @@ "ext-pdo": "*", "ext-redis": "*", "php": ">=8.4", - "utopia-php/cache": "^3.0", + "utopia-php/cache": "3.1.*", "utopia-php/console": "0.1.*", "utopia-php/mongo": "1.*", "utopia-php/pools": "1.*", @@ -2307,9 +2307,9 @@ ], "support": { "issues": "https://github.com/utopia-php/database/issues", - "source": "https://github.com/utopia-php/database/tree/6.0.0" + "source": "https://github.com/utopia-php/database/tree/6.2.0" }, - "time": "2026-06-18T10:37:40+00:00" + "time": "2026-06-23T13:36:44+00:00" }, { "name": "utopia-php/mongo", @@ -2374,16 +2374,16 @@ }, { "name": "utopia-php/pools", - "version": "1.0.5", + "version": "1.0.8", "source": { "type": "git", "url": "https://github.com/utopia-php/pools.git", - "reference": "e66e498d59cf3ac48c1f4c70be46f7eb6df7a63b" + "reference": "b685ca01883ed820b9898b85163a8f3d970a2da7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/pools/zipball/e66e498d59cf3ac48c1f4c70be46f7eb6df7a63b", - "reference": "e66e498d59cf3ac48c1f4c70be46f7eb6df7a63b", + "url": "https://api.github.com/repos/utopia-php/pools/zipball/b685ca01883ed820b9898b85163a8f3d970a2da7", + "reference": "b685ca01883ed820b9898b85163a8f3d970a2da7", "shasum": "" }, "require": { @@ -2421,9 +2421,9 @@ ], "support": { "issues": "https://github.com/utopia-php/pools/issues", - "source": "https://github.com/utopia-php/pools/tree/1.0.5" + "source": "https://github.com/utopia-php/pools/tree/1.0.8" }, - "time": "2026-06-10T15:14:31+00:00" + "time": "2026-06-20T09:45:06+00:00" }, { "name": "utopia-php/query", @@ -2513,16 +2513,16 @@ }, { "name": "utopia-php/telemetry", - "version": "0.4.1", + "version": "0.4.3", "source": { "type": "git", "url": "https://github.com/utopia-php/telemetry.git", - "reference": "028f3a85bb987b1e9357fb1632aa40f020d1b86e" + "reference": "50491fb1686a9796e9cd5005ede6141e2ceeb5ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/telemetry/zipball/028f3a85bb987b1e9357fb1632aa40f020d1b86e", - "reference": "028f3a85bb987b1e9357fb1632aa40f020d1b86e", + "url": "https://api.github.com/repos/utopia-php/telemetry/zipball/50491fb1686a9796e9cd5005ede6141e2ceeb5ac", + "reference": "50491fb1686a9796e9cd5005ede6141e2ceeb5ac", "shasum": "" }, "require": { @@ -2560,22 +2560,22 @@ ], "support": { "issues": "https://github.com/utopia-php/telemetry/issues", - "source": "https://github.com/utopia-php/telemetry/tree/0.4.1" + "source": "https://github.com/utopia-php/telemetry/tree/0.4.3" }, - "time": "2026-06-10T15:48:26+00:00" + "time": "2026-06-20T09:45:06+00:00" }, { "name": "utopia-php/validators", - "version": "0.2.6", + "version": "0.2.7", "source": { "type": "git", "url": "https://github.com/utopia-php/validators.git", - "reference": "f1ac4f08d6876daf117a1d9af53a4c7b752c2c0b" + "reference": "275d4a756460db586a242bee3da7c38c737b14a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/validators/zipball/f1ac4f08d6876daf117a1d9af53a4c7b752c2c0b", - "reference": "f1ac4f08d6876daf117a1d9af53a4c7b752c2c0b", + "url": "https://api.github.com/repos/utopia-php/validators/zipball/275d4a756460db586a242bee3da7c38c737b14a3", + "reference": "275d4a756460db586a242bee3da7c38c737b14a3", "shasum": "" }, "require": { @@ -2600,9 +2600,9 @@ ], "support": { "issues": "https://github.com/utopia-php/validators/issues", - "source": "https://github.com/utopia-php/validators/tree/0.2.6" + "source": "https://github.com/utopia-php/validators/tree/0.2.7" }, - "time": "2026-06-10T14:45:13+00:00" + "time": "2026-06-20T09:45:06+00:00" } ], "packages-dev": [