-
Notifications
You must be signed in to change notification settings - Fork 54
Upgrade cache dependency for reconnection support #797
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
premtsd-code
wants to merge
10
commits into
utopia-php:main
Choose a base branch
from
premtsd-code:chore-upgrade-cache
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+140
−28
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
bf6e995
Upgrade cache dependency for reconnection support
premtsd-code 2481a62
Update PHP requirement to 8.4+
premtsd-code 27ae55c
Fix Pool constructor for pools 1.0 compatibility
premtsd-code fff0004
Merge branch 'main' into chore-upgrade-cache
premtsd-code ef186b6
Add cache reconnection test
premtsd-code 95e20f6
Merge branch 'chore-upgrade-cache' of https://github.com/premtsd-code…
premtsd-code 9f2da33
Fix cache reconnect test timing
premtsd-code 0d9d1eb
Increase cache reconnect test wait times
premtsd-code eb56c87
Fix cache reconnect test for Mirror adapter
premtsd-code 67b3f5f
Improve cache reconnect test with try/finally and readiness probe
premtsd-code File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: utopia-php/database
Length of output: 10616
🌐 Web query:
utopia-php cache 1.0.0 release breaking changes💡 Result:
As of January 28, 2026, utopia-php/cache 1.0.0 was released on GitHub, and the release notes do not call out any explicit breaking changes—they only mention: “Implement Reconnection for caches” (PR
#61). [1]That said, the main upgrade risk / likely breaking change I can confirm from the 1.0.0 code changes is a dependency constraint bump:
utopia-php/poolsrequirement changed from0.8.*→1.*(incomposer.json). This can break installs that are pinned toutopia-php/pools0.x or have other dependencies that still require 0.x. [2]Also note: Packagist may lag GitHub—at the time of this check, Packagist still showed 0.13.1 as the latest published version for
utopia-php/cache, socomposer require utopia-php/cache:^1.0may not resolve until Packagist updates. [3]Sources:
[1] (github.com)
[2] (github.com)
[3] (packagist.org)
Citations:
🌐 Web query:
utopia-php pools 1.0.0 release breaking changes💡 Result:
For utopia-php/pools v1.0.0 (released Jan 16, 2026), the project’s release notes do not list any explicit API “breaking changes”, but there are two practical breaking-impact items to be aware of:
>=8.4(whereas the prior 0.8.x line required>=8.3). This is a breaking change for anyone running PHP 8.3 or lower. [1]#24). This may affect behavior in concurrent/coroutine usage even if method signatures stayed the same. [2]Sources:
[1] Packagist package page (shows v1.0.0/v1.0.1 and PHP requirement) (root.packagist.org)
[2] GitHub v1.0.0 release notes (github.com)
Citations:
Resolve breaking changes in major version upgrades before merging.
Both dependencies have confirmed breaking changes in v1.0.0:
utopia-php/pools: PHP minimum version bumped from 8.3 to 8.4+ (hard requirement) and refactored for concurrent operations (PR#24), which may affect runtime behavior.utopia-php/cache: Dependency on utopia-php/pools upgraded to v1.0.The codebase actively uses both packages (Cache in
src/Database/Database.phpand Pool insrc/Database/Adapter/Pool.php). Given that adapter tests are "not yet passing," verify:🤖 Prompt for AI Agents