-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Update adapters to use new app.render API #3133
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
Merged
Merged
Changes from 43 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
94b0939
replace request.origin/path/query with request.url
Rich-Harris f17bcbf
fix some stuff
Rich-Harris 941b3b6
typo
Rich-Harris 55fa638
lint
Rich-Harris 92094b1
fix test
Rich-Harris 5c15f7e
fix xss vuln
Rich-Harris 2bc4cd5
fix test
Rich-Harris 39f25b1
gah
Rich-Harris 145aaae
fixes
Rich-Harris 9f454bf
simplify
Rich-Harris 0a6e6cf
use pathname+search as key
Rich-Harris 4511c61
all tests passing
Rich-Harris bd496f3
lint
Rich-Harris c581a24
tidy up
Rich-Harris 109108f
update types in docs
Rich-Harris c74cfe7
update docs
Rich-Harris c9a2794
more docs
Rich-Harris 921e572
more docs
Rich-Harris a1ae42d
more docs
Rich-Harris 0d70de6
i would be lost without conduitry
Rich-Harris 28d5c1e
update template app
Rich-Harris b12931f
throw useful error when trying to access path/query/origin/page
Rich-Harris bc8c0ce
$params -> $route.params, only use getters in dev, remove the word "d…
Rich-Harris c83cad6
update docs
Rich-Harris f9e80fe
finish updating load input section
Rich-Harris efacc75
update
Rich-Harris 310c10a
make this section less verbose
Rich-Harris 3a104fa
move url into $route
Rich-Harris 1ac14f2
update some docs
Rich-Harris 3d6a30f
rename route store back to page
Rich-Harris 0a53d92
throw errors on accessing $page.path etc
Rich-Harris 761ab4c
fix types
Rich-Harris fc4caa1
fix some docs
Rich-Harris 76376f4
fix migrating docs
Rich-Harris 77030b3
decode path, strip prefix
Rich-Harris f0b6825
tidy up
Rich-Harris b1aa476
remove comment
Rich-Harris a12cfda
lint
Rich-Harris cd6c6c1
update adapters
Rich-Harris 1f936b5
changeset
Rich-Harris 863b602
error if adapter provides wrong input
Rich-Harris b675e1c
changeset
Rich-Harris aa2cc22
Merge branch 'master' into gh-3078
Rich-Harris 3aa32c1
Update documentation/docs/05-modules.md
Rich-Harris 18382d7
Update documentation/migrating/04-pages.md
Rich-Harris ea413b3
remove unused code
Rich-Harris ad20046
Merge branch 'gh-3078' of github.com:sveltejs/kit into gh-3078
Rich-Harris File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| '@sveltejs/adapter-cloudflare': patch | ||
| '@sveltejs/adapter-cloudflare-workers': patch | ||
| '@sveltejs/adapter-netlify': patch | ||
| '@sveltejs/adapter-node': patch | ||
| '@sveltejs/adapter-vercel': patch | ||
| --- | ||
|
|
||
| Update adapters to provide app.render with a url |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@sveltejs/kit': patch | ||
| --- | ||
|
|
||
| Error if adapter provides wrong input to app.render |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| '@sveltejs/kit': patch | ||
| --- | ||
|
|
||
| Replace [request|page].[origin|path|query] with url object |
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
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
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.