@builder.io/qwik-city
1.20.4 · 9 Nov 2026MIT52.8k / weekRepositoryHomepagenpmAtom feed
168 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
1.20.4
9 Nov 20261.20.3
25 Oct 2026🐞🩹 ignore spoofable
X-Forwarded-HostandX-Forwarded-Protoheaders unlesstrustForwardedHeadersis enabled🐞🩹 keep deeply nested form parsing work proportional
🐞🩹 prevent shared function pollution when parsing conflicting form field paths
1.20.2
6 Oct 2026🐞🩹 limit request bodies to 10 MiB by default in the Node, Deno, Bun, Cloudflare Pages, Netlify Edge and Vercel Edge adapters (and AWS Lambda / Firebase through Node); configurable with the new
requestBodyLimitoption🐞🩹 prevent private responses from entering shared Cloudflare caches
🐞🩹 prevent excessive array lengths from form field indexes
Patch Changes
🐞🩹 limit request bodies to 10 MiB by default in the Node, Deno, Bun, Cloudflare Pages, Netlify Edge and Vercel Edge adapters (and AWS Lambda / Firebase through Node); configurable with the new
requestBodyLimitoption🐞🩹 prevent private responses from entering shared Cloudflare caches
🐞🩹 prevent excessive array lengths from form field indexes
🐞🩹 catch-all route matching no longer hangs on paths containing
//🐞🩹
redirect()now strips ASCII tab/LF/CR from the URL, so targets like/<TAB>/example.comcan no longer redirect to another origin
1.20.1
23 Sep 2026🐞🩹 prevent static middleware from reading files outside configured directories
1.20.0
22 May 2026🐞🩹 The server plugins were not actually sorted and were relying on directory traversal order. Now they are explicitly sorted by ascending name.
🐞🩹 include route bundles when their matching origin is not the first manifest origin
🐞🩹 Bun and Deno request URL normalization to prevent protocol-relative paths from overriding the configured origin
Minor Changes
🐞🩹 The server plugins were not actually sorted and were relying on directory traversal order. Now they are explicitly sorted by ascending name.
Patch Changes
🐞🩹 include route bundles when their matching origin is not the first manifest origin
🐞🩹 Bun and Deno request URL normalization to prevent protocol-relative paths from overriding the configured origin
✨ getRequestEvent() provides the current request event; used in the starter templates for providing better diagnostics in uncaught exceptions
1.19.2
13 Mar 2026Reading the note…
1.19.1
2 Mar 2026Reading the note…
1.19.0
30 Jan 2026✨ allow mocking route loaders & actions in
QwikCityMockProvider🐞🩹 qwik-city spa routeStateInternal and routeLocation url origins mismatch
qwik-city: Add getOrigin option to QwikCityBunOptions and QwikCityDenoOptions for improved URL handling
Minor Changes
✨ allow mocking route loaders & actions in
QwikCityMockProvider
Patch Changes
🐞🩹 qwik-city spa routeStateInternal and routeLocation url origins mismatch
qwik-city: Add getOrigin option to QwikCityBunOptions and QwikCityDenoOptions for improved URL handling
Make RequestEvents readonly instead of frozen
1.18.0
17 Dec 2025Execute cleanup cb for all component tree while calling dispose.cleanup method returned by render fn
1.17.2
3 Nov 2025Reading the note…
1.17.1
26 Oct 2025Reading the note…
1.17.0
8 Oct 2025🐞🩹 SSG sometimes hangs after completion, now we forcibly exit the SSG process when this happens.
🐞🩹 return 404 for missing /build/ files.
🐞🩹 redirecting internal q-data.json requests will keep the q-data.json suffix so that the client can still fetch the correct one
Patch Changes
🐞🩹 SSG sometimes hangs after completion, now we forcibly exit the SSG process when this happens.
🐞🩹 return 404 for missing /build/ files.
🐞🩹 redirecting internal q-data.json requests will keep the q-data.json suffix so that the client can still fetch the correct one
🐞🩹 solve type error when using async _resolved function
🐞🩹 while prefetching Link data, don't navigate to captive portals
1.16.1
23 Sep 2025Reading the note…
1.16.0
21 Aug 2025✨ bump Vite to v7
🐞🩹 Keeping the service worker components now properly unregisters them.
🐞🩹 redirects no longer take their parent layout's Cache-Control value by default and are instead set to
no-store. This prevents issues in redirection logic. We might introduce another API to enable caching redirects in the future.
Minor Changes
✨ bump Vite to v7
Patch Changes
🐞🩹 Keeping the service worker components now properly unregisters them.
🐞🩹 redirects no longer take their parent layout's Cache-Control value by default and are instead set to
no-store. This prevents issues in redirection logic. We might introduce another API to enable caching redirects in the future.🐞🩹 Keeping the service worker components now also removes their associated Cache storage.
1.15.0
21 Jul 2025✨ Added rewrite() to the RequestEvent object. It works like redirect but does not change the URL,
think of it as an internal redirect.Example usage:
export const onRequest: RequestHandler = async ({ url, rewrite }) => { if (url.pathname.includes('/articles/the-best-article-in-the-world')) { const artistId = db.getArticleByName('the-best-article-in-the-world'); // Url will remain /articles/the-best-article-in-the-world, but under the hood, // will render /articles/${artistId} throw rewrite(`/articles/${artistId}`); } };🐞🩹 Change Content-Type header in qwik requests to respect RFC 7231
🐞🩹 link/useNavigate with query params don't override loader/middleware redirect with query params anymore.
Minor Changes
✨ Added rewrite() to the RequestEvent object. It works like redirect but does not change the URL,
think of it as an internal redirect.Example usage:
export const onRequest: RequestHandler = async ({ url, rewrite }) => { if (url.pathname.includes('/articles/the-best-article-in-the-world')) { const artistId = db.getArticleByName('the-best-article-in-the-world'); // Url will remain /articles/the-best-article-in-the-world, but under the hood, // will render /articles/${artistId} throw rewrite(`/articles/${artistId}`); } };
Patch Changes
🐞🩹 Change Content-Type header in qwik requests to respect RFC 7231
🐞🩹 link/useNavigate with query params don't override loader/middleware redirect with query params anymore.
🐞🩹 allow cross-protocol requests from the same domain
🛠 update devDependencies and configurations
🐞🩹 Duplicate ServerError class during dev mode
1.14.1
21 May 2025Reading the note…
1.14.0
21 May 2025- Deprecated
🛠 the service workers have been deprecated and replaced with entries that unregister them. If you have it enabled in production, you can remove it after a while once you are sure all your users have the new version.
🐞🩹 qwik-city no longer forces
q-data.jsondownloads, instead relying on the cache headers. This means that you have to make sure yourq-data.jsonis served withCache-Controlheaders that suit you. That file contains all the information about the route and is read for each qwik-city navigation. By default the data is cached for one hour.🐞🩹 linting errors which were previously being ignored across the monorepo.
Minor Changes
🐞🩹 qwik-city no longer forces
q-data.jsondownloads, instead relying on the cache headers. This means that you have to make sure yourq-data.jsonis served withCache-Controlheaders that suit you. That file contains all the information about the route and is read for each qwik-city navigation. By default the data is cached for one hour.- Deprecated
🛠 the service workers have been deprecated and replaced with entries that unregister them. If you have it enabled in production, you can remove it after a while once you are sure all your users have the new version.
Patch Changes
🐞🩹 linting errors which were previously being ignored across the monorepo.
🐞🩹 Link SPA subsequent navigation now properly prefetch the next routes.
🐞🩹 SPA Link now handle subsequent onQVisible$ passed as props.
1.13.0
1 Apr 2025🐞🩹 server$ errors can be caught
✨ 499 is now a valid status code
🐞🩹 server$ functions now correctly throw 4xx errors on the client
Minor Changes
🐞🩹 server$ errors can be caught
✨ 499 is now a valid status code
🐞🩹 server$ functions now correctly throw 4xx errors on the client
Patch Changes
🐞🩹 Error boundary
ErrorBoundaryand fixuseErrorBoundary🐞🩹 Write Response object in the send request event even on redirects
1.12.1
20 Feb 2025Reading the note…
1.12.0
23 Dec 2024🐞🩹 the previous URL now is undefined on first render.
🐞🩹 server$ functions now correctly throw errors for > 500 error codes
1.11.0
25 Nov 20241.10.0
11 Nov 2024🐞🩹 MDX content no longer ignores Layout components. See the MDX docs for more information.
🐞🩹 SSG errors now show the path that failed
🐞🩹 Fixed action redirect regression where searchParams were appended
Patch Changes
🐞🩹 MDX content no longer ignores Layout components. See the MDX docs for more information.
🐞🩹 SSG errors now show the path that failed
🐞🩹 Fixed action redirect regression where searchParams were appended
🐞🩹 Redirect, error, and fail request events no longer forcefully delete user-defined Cache-Control HTTP header value.
🐞🩹
viteis now a peer dependency ofqwik,qwik-city,qwik-reactandqwik-labs, so that there can be no duplicate imports. This should not have consequences, since all apps also directly depend onvite.🐞🩹 Fixed MDX layout default export being ignored by transformer.
🐞🩹 Prevent unexpected caching for q-data.json
🐞🩹 Multiple rewrite routes pointing to the same route is no longer an error.
1.9.1
6 Oct 2024Reading the note…
1.9.0
17 Sep 2024✨ (EXPERIMENTAL) valibot$ validator and a fix for zod$ types.
To use it, you need to pass
experimental: ['valibot']as an option to theqwikViteplugin as such:// vite.config.ts export default defineConfig(({ command, mode }): UserConfig => { return { plugins: [ // ... other plugins like qwikCity() etc qwikVite({ experimental: ['valibot'] // ... other options }), ], // ... rest of the config }; }✨ (EXPERIMENTAL)
usePreventNavigatelets you prevent navigation while your app's state is unsaved. It works asynchronously for SPA navigation and falls back to the browser's default dialogs for other navigations. To use it, addexperimental: ['preventNavigate']to yourqwikViteoptions.🐞🩹 added .ico to be detected by isStaticFile
Minor Changes
✨ (EXPERIMENTAL) valibot$ validator and a fix for zod$ types.
To use it, you need to pass
experimental: ['valibot']as an option to theqwikViteplugin as such:// vite.config.ts export default defineConfig(({ command, mode }): UserConfig => { return { plugins: [ // ... other plugins like qwikCity() etc qwikVite({ experimental: ['valibot'] // ... other options }), ], // ... rest of the config }; }✨ (EXPERIMENTAL)
usePreventNavigatelets you prevent navigation while your app's state is unsaved. It works asynchronously for SPA navigation and falls back to the browser's default dialogs for other navigations. To use it, addexperimental: ['preventNavigate']to yourqwikViteoptions.
Patch Changes
🐞🩹 added .ico to be detected by isStaticFile
🐞🩹 fixed delays caused from inefficient Service Worker prefetching (buffering)
1.8.0
8 Aug 20241.7.3
29 Jul 2024Reading the note…
1.7.2
29 Jul 2024Reading the note…
1.7.1
11 Jul 2024Reading the note…
1.5.7
12 Jun 2024Reading the note…
1.5.6
9 Jun 2024Reading the note…
1.5.5
21 May 2024Reading the note…
1.5.4
7 May 2024Reading the note…
1.5.3
1 May 2024Reading the note…
1.5.2
9 Apr 2024Reading the note…
1.5.1
6 Mar 2024Reading the note…
1.5.0
4 Mar 20241.4.5
13 Feb 2024Reading the note…
1.4.4
6 Feb 2024Reading the note…
1.4.3
30 Jan 2024Reading the note…
1.4.2
27 Jan 2024Reading the note…
1.4.1
25 Jan 2024Reading the note…
1.4.0
18 Jan 20241.3.5
12 Jan 2024Reading the note…
1.3.4
11 Jan 2024Reading the note…
1.3.3
10 Jan 2024Reading the note…
1.3.2
1 Jan 2024Reading the note…
1.3.1
15 Dec 2023Reading the note…
1.3.0
6 Dec 2023
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.