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 #1

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

Version Packages #1

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link

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/aws@3.5.0

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 opennextjs/opennextjs-aws#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

app-pages-router@0.1.8

Patch Changes

app-router@0.1.8

Patch Changes

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