Skip to content

chore: allow utopia-php/dsn 1.0 - #11

Merged
loks0n merged 1 commit into
mainfrom
chore/dsn-1.0
Oct 26, 2026
Merged

loks0n merged 1 commit into
mainfrom
chore/dsn-1.0

Conversation

@loks0n

@loks0n loks0n commented Oct 26, 2026

Copy link
Copy Markdown
Member

Widens utopia-php/dsn from ^0.2.1 to ^0.2.1 || ^1.0 and locks 1.0.0.

dsn 1.0.0 changes no API. It marks the constructor argument #[\SensitiveParameter] and stops echoing the DSN in parse errors.

Downstream projects need this: utopia-php/queue 6.2+ requires dsn ^1.0, and queue 6.2+ is the first line that accepts utopia-php/validators ^2.0, which utopia-php/http 2.0.0-rc34+ requires. Without this change those projects can only resolve by aliasing packages.

Verified:

  • composer check (PHPStan) passes.
  • On dsn 1.0, new DSN('sentry://12345:abc123@o1.ingest.sentry.io') returns the same scheme, user, password and host that Server::initResources() reads for GEO_LOGGING_CONFIG.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hansi-codes

hansi-codes Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The Composer requirement now accepts both utopia-php/dsn 0.2.x and 1.x, and the lockfile selects version 1.0.0. The newer release retains the DSN parser API used by the server while redacting malformed DSNs from parse errors.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 2
File Change
composer.json Widened the utopia-php/dsn version constraint to include 1.x.
composer.lock Updated the locked utopia-php/dsn package to 1.0.0.

Reviewed 29017a0 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@hansi-codes hansi-codes Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Tier S · Looks good to merge. Summary

@loks0n
loks0n merged commit 5bb9040 into main Oct 26, 2026
4 checks passed
@loks0n
loks0n deleted the chore/dsn-1.0 branch October 26, 2026 18:50
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.

1 participant