Skip to content

chore: upgrade Utopia Client to ^0.4 - #33

Merged
ChiragAgg5k merged 1 commit into
mainfrom
chore/client-04-compatibility
Sep 9, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
chore/client-04-compatibility

Conversation

@ChiragAgg5k

Copy link
Copy Markdown
Member

Summary

Upgrade utopia-php/client to ^0.4, without a dual range or version alias. Refresh the tracked lockfile to Client 0.4.3 and PSR-7 0.2.2. Stripe APIs, transport injection, and retry behavior are unchanged.

A release is needed after merge before downstream applications can resolve this constraint.

Verification

  • vendor/bin/phpunit --filter 'InvoiceTest|CreditTest|DiscountTest': 45 tests, 187 assertions passed on PHP 8.5.10, with Client 0.4.3 installed.
  • composer lint, Composer validation, and git diff --check: passed. The locked formatter emitted PHP deprecation messages.
  • Blocked: composer check crashes in the locked PHPStan's BetterReflection code on PHP 8.5: ReflectionClassConstant::IS_PUBLIC has an incompatible constant type. A separate run using the monorepo's newer PHPStan reports 46 source/test typing errors; that is not a passing analysis result. No toolchain/source fixes are bundled here.
  • Live Stripe tests and the webhook fixture requiring a secret were not run. No live payment requests were made; the tests above do not constitute end-to-end Stripe verification.
  • Composer reported no security advisories. Dependency installation used --ignore-platform-reqs.

No screenshots apply to this dependency-only backend change.

@greptile-apps

greptile-apps Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5

The dependency resolution appears internally consistent and no concrete runtime incompatibility was found, but deterministic transport-level regression coverage should be added.

Fix All in Claude CodeFindings

  1. P2 Transport Coverage Is Missing ▶

Summary

  • Keeps the root PSR-7 constraint at ^0.2.
  • Updates the corresponding package references, metadata, and lockfile content hash.
  • Lacks deterministic behavioral coverage of the upgraded production transport boundary.

Comment thread composer.json
@ChiragAgg5k
ChiragAgg5k merged commit 8c5e425 into main Sep 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants