@builder.io/qwik-city
1.20.4 · 9 Nov 2026MIT52.8k / weekRepositoryHomepagenpmAtom feed
1.20.4 is the newest release of 1.x.
In short
1 new5 fixed
Security
5 advisories affect 1.15.0; 1.19.2 fixes them
- CriticalPrototype Pollution via FormData Processing in Qwik CityGHSA-xqg6-98cw-gxhq · 3 Feb 2026Fixed in 1.19.0
- HighQwik City has array method pollution in FormData processing allows type confusion and DoSGHSA-whhv-gg5v-864r · 20 Mar 2026Fixed in 1.19.2
- ModerateQwik City has a CSRF Protection Bypass via Content-Type Header ValidationGHSA-r666-8gjf-4v5f · 3 Feb 2026Fixed in 1.19.0
- ModerateQwik SSR XSS via Unsafe Virtual Node SerializationGHSA-m6jq-g7gq-5w3c · 3 Feb 2026Fixed in 1.19.0
- LowQwik City Open Redirect via fixTrailingSlashGHSA-92j7-wgmg-f32m · 3 Feb 2026Fixed in 1.19.0
Release note
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
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.