Skip to content

docs(astro): Document build-time vs runtime setup in the SDK README - #23430

Draft
RulaKhaled wants to merge 1 commit into
developfrom
feat/astro-readme-runtime-options
Draft

docs(astro): Document build-time vs runtime setup in the SDK README#23430
RulaKhaled wants to merge 1 commit into
developfrom
feat/astro-readme-runtime-options

Conversation

@RulaKhaled

Copy link
Copy Markdown
Collaborator

Updates the @sentry/astro README so the getting-started examples match the v11 split from #23270.

sentry() is build-time only (org, project, authToken). Runtime options like dsn live in sentry.client.config.ts / sentry.server.config.ts, which are optional: without them the SDK still initializes and reads PUBLIC_SENTRY_DSN.

This was the remaining follow-up from the review on #23270.

sentry() no longer accepts runtime options like dsn after #23270, but the
package README still showed the old pattern.
@RulaKhaled
RulaKhaled requested a review from chargome August 14, 2026 09:27
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