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

Version Packages #729

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Version Packages #729

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 6, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@opennextjs/[email protected]

Minor Changes

  • #740 6ff03ec8d50ada5eb04de11b14ae670382707f30 Thanks @vicb! - refactor: lastModified moved to ALS

    BREAKING CHANGE: lastModified is moved to ALS as a number from a global map indexed by requestId

  • #733 b59027a5899d25dd5263d1a272b33ec23fb683d3 Thanks @vicb! - refactor: waitUntil passed around via ALS and OpenNextHandler signature has changed

    BREAKING CHANGE: waitUntil is passed around via ALS to fix [Bug] Concurrent requests with the cloudflare wrappers #713.

    globalThis.openNextWaitUntil is no more available, you can access waitUntil
    on the ALS context: globalThis.__openNextAls.getStore()

    The OpenNextHandler signature has changed: the second parameter was a StreamCreator.
    It was changed to be of type OpenNextHandlerOptions which has both a streamCreator key
    and a waitUntil key.

    If you use a custom wrapper, you need to update the call to the handler as follow:

    // before
    globalThis.openNextWaitUntil = myWaitUntil;
    handler(internalEvent, myStreamCreator);
    
    // after
    handler(internalEvent, {
      streamCreator: myStreamCreator,
      waitUntil: myWaitUntil,
    });

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/main branch 7 times, most recently from 02c3acf to 6d237a5 Compare February 16, 2025 14:42
@github-actions github-actions bot force-pushed the changeset-release/main branch from 6d237a5 to 929d15e Compare February 18, 2025 17:51
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.

[Bug] Concurrent requests with the cloudflare wrappers
0 participants