V2 Version Packages (beta)#8723
Open
github-actions[bot] wants to merge 1 commit into
Open
Conversation
2b60593 to
6a5aa8c
Compare
f4d81eb to
58c09b7
Compare
871835e to
07563d6
Compare
07563d6 to
92fca11
Compare
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.
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 build/v2, this PR will be updated.
build/v2is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonbuild/v2.Releases
@qwik.dev/router@2.0.0-beta.38
Major Changes
@layout/!modifiers), a route miss resolves the nearest 404.tsx, and the 404 page is prerendered for static hosts. Rename404.tsxto404!.tsxif you do not want to add the layout. (by @briancarbone in #8762)Minor Changes
feat(router): automatically omit fully-prerendered, server-free routes from the production SSR route plan so their chunks tree-shake out of size-capped server bundles. (by @briancarbone in #8742)
✨ returning
ev.redirect(),ev.error()orev.rewrite()from a loader, action, request handler or server function now behaves the same as throwing them (by @wmertens in #8775)feat(router): add an
excludeoption torewriteRoutesto skip generating localized routes for matching path patterns. (by @briancarbone in #8751)✨ render SSG in a dedicated Vite build environment, so prerendered route code stays out of the deployed server bundle (by @briancarbone in #8760)
SSG now runs from the
buildAppstep of the Vite builder. The Qwik CLI and adapters already build viacreateBuilder().buildApp(), so they need no change. Code that prerenders by calling Vite's programmaticbuild()directly must switch tobuilder.buildApp(), otherwise the SSG step is silently skipped.Patch Changes
🐞🩹 prerendered routes are now correctly excluded from the server route plan (by @briancarbone in #8759)
fix(router): honor the
routeLoader$idoption so loaders created through a shared wrapper (which share one optimizer-assigned QRL hash) get distinct ids instead of all but the first being silently deduped ingetModuleRouteLoaders. A dev-mode warning is now logged when two distinct loaders share an id. (by @maiieul in #8749)🐞🩹 resolve image jsx imports with extra query parameters. (by @Varixo in #8753)
🐞🩹 ensure SPA navigation correctly refreshes route loader data for catch-all routes, including when loader data is shared through context (by @Varixo in #8748)
🐞🩹 routeLoader$ fail() now sets the loader value to { failed } instead of throwing an error, as it was before. (by @wmertens in #8756)
🐞🩹 prerendered route loaders no longer 404 when the client and server are built as separate processes (by @briancarbone in #8760)
🐞🩹
routeLoader$not re-running during SPA navigation between URLs that match the same catchall route (by @Varixo in #8730)🐞🩹 hot-reload route-imported CSS in dev without a server restart (by @briancarbone in #8725)
🐞🩹 a prerendered route's loader with no static sidecar now falls through to SSR instead of failing as a missing static asset (by @briancarbone in #8760)
Updated dependencies [
e28ae7c,12387da,ee013ae,8fc5762,fd9f197,abaae23,15ea2d8]:@qwik.dev/core@2.0.0-beta.38
Minor Changes
✨ improve client resume responsiveness by splitting startup DOM processing into smaller tasks (by @Varixo in #8575)
✨ improve client resume responsiveness by splitting state processing into smaller tasks (by @Varixo in #8579)
✨ Add experimental
Showcontrol-flow component withwhen$,then$, and optionalelse$branches. (by @Varixo in #8624)Patch Changes
🐞🩹 duplicate projected element children when a component throws a promise on first render (by @maiieul in #8715)
🐞🩹 reduce component rerender when props are the same (by @Varixo in #8735)
🐞🩹 surface a failed vnode-data resume — report it and unblock the
whenVNodeDataReadywaiters — instead of swallowing the error into a silent hang. (by @maiieul in #8773)🐞🩹 prevent large updates that span multiple frames from restarting incorrectly and missing pending UI changes (by @Varixo in #8743)
@qwik.dev/devtools@0.3.0-beta.2
Patch Changes
refactor(devtools): single source of truth for shared protocol types (by @Aejkatappaja in #8712)
The VNode tree node, component detail entry, and render event shapes were declared
three times: in the browser extension, in the devtools UI, and in the kit client
bridge. They now live once in @qwik.dev/devtools/kit (protocol module) as
DevtoolsVNodeTreeNode, DevtoolsComponentDetailEntry, and DevtoolsRenderEvent, and
every consumer imports them from there.
refactor(devtools): generate the extension VNode bridge from one shared source (by @Aejkatappaja in #8713)
The browser extension's
public/vnode-bridge.jsduplicated the VNode bridge logic(tree building, prop serialization, name normalization, DOM resolution, highlighting,
component tree update posting) that the Vite plugin already owns via
__qwik_install_vnode_runtime__/createVNodeRuntime(). It is now generated fromthat single canonical source by the extension build (alongside
devtools-hook.js)and is no longer committed.
Updated dependencies [
e28ae7c,cf7776a,2914d2c,bc0b970,c950f02,e3f60bf,108fb66,8435e7a,12387da,7f31459,d6f1572,a9d240c,9c9f0ad,8586792,ee013ae,f0c0bde,8a3c346,8fc5762,fd9f197,abaae23,15ea2d8]:@qwik.dev/react@2.0.0-beta.38
Patch Changes
e28ae7c,12387da,ee013ae,8fc5762,fd9f197,abaae23,15ea2d8]:create-qwik@2.0.0-beta.38
eslint-plugin-qwik@2.0.0-beta.38