Skip to content

Release 0.71.3#3452

Merged
odlbot merged 7 commits into
releasefrom
release-candidate
Jun 10, 2026
Merged

Release 0.71.3#3452
odlbot merged 7 commits into
releasefrom
release-candidate

Conversation

@odlbot

@odlbot odlbot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Chris Chudzicki

Anastasia Beglova

Shankar Ambady

Ahtesham Quraish

Matt Bertrand

mbertrand and others added 7 commits June 8, 2026 14:34
* fix: add link to the creation page of article and news


---------

Co-authored-by: Ahtesham Quraish <ahtesham.quraish@192.168.1.6>
* fix(nextjs): make NEXT_PUBLIC env available on error pages

notFound() and thrown render errors are served as a client-rendered HTML
shell, not server-rendered through the root layout — so the inline
PublicEnvScript <script> never executes and window.__ENV is unset. Any
client env() read then returns undefined and requiredEnv() throws,
blanking the page / triggering the global-error boundary.

Emit NEXT_PUBLIC_* as an x-public-env <meta> from the root layout's static
`metadata` (a <meta> is plain data, and metadata is still emitted into the
error shell — even on global-error, where the layout component is bypassed)
and have env() fall back to reading it. A static metadata object (not
generateMetadata) reads process.env at module load = server start = runtime,
and can't fail per-request and drop the meta. Both the meta and
PublicEnvScript derive from a shared publicEnvObject() so they never diverge.

ConfiguredPostHogProvider now reads via a new fullEnv() helper (same client
meta-bootstrap as env()) instead of window.__ENV directly, so its bootstrap
feature flags also resolve on error pages.

Verified on not-found.tsx, error.tsx and global-error (env + Sentry init),
cold and warm cache.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

one more comment

one more comment

fix typos

comment, type

* manually throw some errors

* remove error debugging
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

OpenAPI Changes

No changes detected

View full changelog

Unexpected changes? Ensure your branch is up-to-date with main (consider rebasing).

@odlbot odlbot merged commit 9fa94fd into release Jun 10, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants