feat: Move hooks.{js|ts} init to Server.init instead of Server.respond#6179
Merged
Rich-Harris merged 22 commits intomasterfrom Aug 24, 2022
Merged
feat: Move hooks.{js|ts} init to Server.init instead of Server.respond#6179Rich-Harris merged 22 commits intomasterfrom
hooks.{js|ts} init to Server.init instead of Server.respond#6179Rich-Harris merged 22 commits intomasterfrom
Conversation
🦋 Changeset detectedLatest commit: 5b9b0db The changes in this PR will be included in the next version bump. This PR includes changesets to release 7 packages
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 |
Rich-Harris
reviewed
Aug 23, 2022
Rich-Harris
reviewed
Aug 23, 2022
Rich-Harris
reviewed
Aug 23, 2022
Rich-Harris
reviewed
Aug 23, 2022
Rich-Harris
reviewed
Aug 23, 2022
Rich-Harris
reviewed
Aug 23, 2022
Rich-Harris
reviewed
Aug 23, 2022
Member
Rich-Harris
left a comment
There was a problem hiding this comment.
this feels way better. comments inline
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
5 tasks
Member
|
Moved the |
Rich-Harris
approved these changes
Aug 24, 2022
SG60
added a commit
to SG60/kit-433-error
that referenced
this pull request
Aug 26, 2022
Required since sveltejs/kit#6179, as hooks.js are initialized in server.init()
SG60
added a commit
to SG60/kit-433-error
that referenced
this pull request
Aug 26, 2022
Required since sveltejs/kit#6179, as hooks.js are initialized in server.init()
SG60
added a commit
to SG60/kit
that referenced
this pull request
Aug 26, 2022
Required since sveltejs#6179. Closes sveltejs#6308.
5 tasks
fmaclen
added a commit
to fmaclen/canutin
that referenced
this pull request
Aug 26, 2022
As of `1.0.0-next.433` (sveltejs/kit#6179) the build script bundles the app incorrectly. Specifics about the problem: sveltejs/kit#6325
Rich-Harris
added a commit
that referenced
this pull request
Aug 27, 2022
* Run server.init() for edge functions on Vercel. Required since #6179. Closes #6308. * changeset * changes * remove async keyword * Update .changeset/strong-kangaroos-work.md * netlify edge functions * changeset Co-authored-by: Rich Harris <hello@rich-harris.dev> Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #6147.
hooks.jsmodule toServer.initinstead ofServer.respond.awaitedServer.initin all adapters that use it (adapter-staticdoesn't).TODO:
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm testand lint the project withpnpm lintandpnpm checkChangesets
pnpm changesetand following the prompts. All changesets should bepatchuntil SvelteKit 1.0