Skip to content
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

Cleanup headers usage #2717

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Cleanup headers usage #2717

merged 1 commit into from
Jan 10, 2025

Conversation

gregberge
Copy link
Contributor

@gregberge gregberge commented Jan 10, 2025

Headers can only be read in Server Components, we were reading it
everywhere. In this PR we introduce a context passed everywhere we need
to avoid reading them in wrong places.

Fix GITBOOK-OPEN-1WXE
Fix GITBOOK-OPEN-1WXD
Fix GITBOOK-OPEN-1WXC
Fix GITBOOK-OPEN-1WXB
Fix GITBOOK-OPEN-1WXA
Fix GITBOOK-OPEN-1WX9
Fix GITBOOK-OPEN-1WXF
Fix GITBOOK-OPEN-1WXW
Fix GITBOOK-OPEN-1WY0
Fix GITBOOK-OPEN-1WXX
Fix GITBOOK-OPEN-1WXY

Copy link

changeset-bot bot commented Jan 10, 2025

🦋 Changeset detected

Latest commit: da2d3db

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitbook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Headers can only be read in Server Components, we were reading it
everywhere. In this PR we introduce a context passed everywhere we need
to avoid reading them in wrong places.

Fix GITBOOK-OPEN-1WXE
Fix GITBOOK-OPEN-1WXD
Fix GITBOOK-OPEN-1WXC
Fix GITBOOK-OPEN-1WXB
Fix GITBOOK-OPEN-1WXA
Fix GITBOOK-OPEN-1WX9
Fix GITBOOK-OPEN-1WXF
Fix GITBOOK-OPEN-1WXW
Fix GITBOOK-OPEN-1WY0
Fix GITBOOK-OPEN-1WXX
Fix GITBOOK-OPEN-1WXY
@gregberge gregberge force-pushed the cleanup-headers-usage branch from 51be48d to da2d3db Compare January 10, 2025 13:01
@gregberge gregberge marked this pull request as ready for review January 10, 2025 13:01
Copy link
Contributor

GitBook Preview
Latest commit: https://0ac17aa4.gitbook-open.pages.dev
PR: https://pr2717.gitbook-open.pages.dev

Copy link

argos-ci bot commented Jan 10, 2025

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 138 changed Jan 10, 2025, 1:11 PM

@gregberge gregberge merged commit ecfdb97 into main Jan 10, 2025
9 checks passed
@gregberge gregberge deleted the cleanup-headers-usage branch January 10, 2025 13:15
Copy link

sentry-io bot commented Jan 10, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ ReferenceError: Can't find variable: BigInt64Array fetchServerAction(src/client/components/router-... View Issue

Did you find this useful? React with a 👍 or 👎

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