@builder.io/qwik
1.20.4 · 9 Nov 2026MIT75.8k / weekRepositoryHomepagenpmAtom feed
1.20.4 is the newest release of 1.x.
In short
1 deprecated1 new8 fixed
- Deprecated
Async functions in
useComputedare deprecated.
Security
2 advisories affect 1.10.0; 1.20.0 fixes them
- CriticalQwik vulnerable to Unauthenticated RCE via server$ DeserializationGHSA-p9x5-jp3h-96mm · 2 Mar 2026Fixed in 1.19.1
- HighQwik: Crashing any Qwik Server via Resource thenableGHSA-x586-xvc8-g7q6 · 15 Oct 2026Fixed in 1.20.0
Release note
Minor Changes
- Deprecated
Async functions in
useComputedare deprecated.Why?
Qwik can't track used signals after the first await, which leads to subtle bugs.
When calculating the first time, it will see it's a promise and it will restart the render function.
Both
useTaskanduseResourceare available, without these problems.
In v2, async functions won't work.
Again, to get the same functionality use
useTaskoruseResourceinstead, or this function:export const useAsyncComputed$ = (qrlFn: QRL<() => Promise<any>>) => { const sig = useSignal(); useTask(({ track }) => { const result = track(qrlFn); if (result && 'then' in result) { result.then( (val) => (sig.value = val), (err) => { console.error('async computed function threw!', err); throw error; } ); } else { sig.value = result; } }); return sig; }; ✨ Expose
unwrapStoreas a low level APThis enables developers to clone the content of a
useStore()usingstructureCloneor IndexedDB
Patch Changes
📃 fix useResource docs example & remove unused demo
🐞🩹 QRL segment filenames are no longer lowercased. This was giving trouble with parent lookups in dev mode and there was no good reason for it.
🐞🩹 the type for
<textarea>now accepts text children, as per spec.🐞🩹 dev-mode QRL paths are now handled by Vite so they are the same as the parent paths. You can see this in the Sources section of the browser devtools, where the segments are now always next to their parents (when the parent is loaded).
🐞🩹
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.✨ sync$ QRLs will now be serialized into the HTML in a shorter form
🐞🩹 cli build command appearing to "hang" on errors
✨ Allow setting
linkFetchPriorityfor modulepreload links in the prefetch strategy. Also fix the links in 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.