Repository navigation
fix: high-severity bugs in the CLI, runtime and adapters #402
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 all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
033484e
fix(db): ask before reset or seed drops tables on a non-local database
Brooooooklyn e04ca21
fix(db): drop MySQL tables on reset by aliasing the table name column
Brooooooklyn 593a89a
fix(db): load seed and schema modules that use extensionless imports
Brooooooklyn 41371cc
fix(init): keep existing pnpm build approvals in pnpm-workspace.yaml
Brooooooklyn 492f78d
fix(cli): spawn node without a shell on Windows
Brooooooklyn a430105
fix(cli): upload Worker limits, placement and cache with pinned secrets
Brooooooklyn 5e8d17c
fix(deploy): send custom binding names in the managed deploy manifest
Brooooooklyn 8630a81
fix(astro): stop ignoring src/middleware.ts after the dev server stops
Brooooooklyn 7d7e1dc
fix(void): support D1 sessions on the remote dev binding
Brooooooklyn 68476fd
fix(db): split drizzle statement breakpoints in MySQL migrations
Brooooooklyn c14338e
fix(auth): keep MySQL auth migrations idempotent on MySQL 8
Brooooooklyn 6ac0e4d
fix(react): reject the page render when a React page throws during SSR
Brooooooklyn 4ab32ee
fix(solid): keep layouts and page state across navigation and updates
Brooooooklyn bd55219
fix(svelte): bundle compiled CSS for island pages and their layouts
Brooooooklyn e17f70f
fix(cli): read Wrangler configs that start with a UTF-8 BOM
Brooooooklyn c71da13
fix(db): export every MySQL table and restore with foreign keys off
Brooooooklyn 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| import { expect, it } from 'vite-plus/test'; | ||
| import { renderReactPage } from '../../src/runtime/pages-server.ts'; | ||
|
|
||
| it('rejects with the error a page throws while rendering', async () => { | ||
| const boom = new TypeError('page render failed'); | ||
| function Page(): never { | ||
| throw boom; | ||
| } | ||
|
|
||
| await expect( | ||
| renderReactPage({ | ||
| pageObj: { component: 'page', props: {}, url: '/', params: {}, shared: {}, errors: null }, | ||
| assetTags: { css: '', preloads: '', body: '' }, | ||
| components: { page: async () => ({ default: Page }) }, | ||
| layoutTree: {}, | ||
| }), | ||
| ).rejects.toBe(boom); | ||
| }); |
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
Oops, something went wrong.
Oops, something went wrong.
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.