BuilderIO/qwik
### [`v0.16.2`](https://togithub.com/BuilderIO/qwik/releases/tag/v0.16.2)
[Compare Source](https://togithub.com/BuilderIO/qwik/compare/v0.16.1...v0.16.2)
#### Breaking change
Install undici: https://github.com/nodejs/undici
Undici is the official polyfill of the Fetch APIs in Node, starting with Node 18, it will not be required, in the meantime, it needs to be installed:
npm install undici
yarn add undici
pnpm add undici
#### What's Changed
- docs: replace the entire parent value to update the store by [@Pika-Pool](https://togithub.com/Pika-Pool) in [https://github.com/BuilderIO/qwik/pull/2463](https://togithub.com/BuilderIO/qwik/pull/2463)
- chore: update docs to beta by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2460](https://togithub.com/BuilderIO/qwik/pull/2460)
- docs: fix example passing number as value for `onClick$` by [@Pika-Pool](https://togithub.com/Pika-Pool) in [https://github.com/BuilderIO/qwik/pull/2471](https://togithub.com/BuilderIO/qwik/pull/2471)
- docs: replace `useMount$`, `useClientMount$`, `useServerMount$` and `useWatch$` with `useTask$` on docs by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2467](https://togithub.com/BuilderIO/qwik/pull/2467)
- Update index.mdx by [@pnilssson](https://togithub.com/pnilssson) in [https://github.com/BuilderIO/qwik/pull/2448](https://togithub.com/BuilderIO/qwik/pull/2448)
- fix(azure): change directory layout for Azure SWA to make tooling work by [@derkoe](https://togithub.com/derkoe) in [https://github.com/BuilderIO/qwik/pull/2469](https://togithub.com/BuilderIO/qwik/pull/2469)
- refactor: deprecate top layout feature by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2472](https://togithub.com/BuilderIO/qwik/pull/2472)
- docs: fix link and typo by [@forresst](https://togithub.com/forresst) in [https://github.com/BuilderIO/qwik/pull/2449](https://togithub.com/BuilderIO/qwik/pull/2449)
- fix: server symbols should be stripped in the transform for clients by [@jwickers](https://togithub.com/jwickers) in [https://github.com/BuilderIO/qwik/pull/2404](https://togithub.com/BuilderIO/qwik/pull/2404)
- Add useId() to support SSR id generation by [@n8sabes](https://togithub.com/n8sabes) in [https://github.com/BuilderIO/qwik/pull/2466](https://togithub.com/BuilderIO/qwik/pull/2466)
- docs: remove top layout feature link by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2474](https://togithub.com/BuilderIO/qwik/pull/2474)
- docs: fix path to CF env variables by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2476](https://togithub.com/BuilderIO/qwik/pull/2476)
- fix: cleanse ssr attribute name and class value by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2475](https://togithub.com/BuilderIO/qwik/pull/2475)
- feat: ability to disable ssg from server by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2481](https://togithub.com/BuilderIO/qwik/pull/2481)
- feat: cookies.getAll() by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2482](https://togithub.com/BuilderIO/qwik/pull/2482)
- docs: typo fix to quik city overview by [@willbuck](https://togithub.com/willbuck) in [https://github.com/BuilderIO/qwik/pull/2484](https://togithub.com/BuilderIO/qwik/pull/2484)
- release: qwik-city 0.1.0-beta5 by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2486](https://togithub.com/BuilderIO/qwik/pull/2486)
- docs: add builder.io OSS header bar by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2440](https://togithub.com/BuilderIO/qwik/pull/2440)
- docs: remove duplicate builder bar by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2489](https://togithub.com/BuilderIO/qwik/pull/2489)
- docs(media): `Qwik: The Lightest, Fastest Way to Build Web Apps` by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2498](https://togithub.com/BuilderIO/qwik/pull/2498)
- docs: Move Deployments / Integration section into a seperate top level by [@reemardelarosa](https://togithub.com/reemardelarosa) in [https://github.com/BuilderIO/qwik/pull/2497](https://togithub.com/BuilderIO/qwik/pull/2497)
- docs: added cheatsheet for best practices by [@reemardelarosa](https://togithub.com/reemardelarosa) in [https://github.com/BuilderIO/qwik/pull/2266](https://togithub.com/BuilderIO/qwik/pull/2266)
- docs: update builder content site and margin by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2502](https://togithub.com/BuilderIO/qwik/pull/2502)
- remove unwanted extra parenthesis by [@MasterMousa](https://togithub.com/MasterMousa) in [https://github.com/BuilderIO/qwik/pull/2508](https://togithub.com/BuilderIO/qwik/pull/2508)
- docs: mobile sidebar fix by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2503](https://togithub.com/BuilderIO/qwik/pull/2503)
- modify the docs link by [@ColynYu](https://togithub.com/ColynYu) in [https://github.com/BuilderIO/qwik/pull/2500](https://togithub.com/BuilderIO/qwik/pull/2500)
- fix: qwik-city build, render stream by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2488](https://togithub.com/BuilderIO/qwik/pull/2488)
- release: qwik-city 0.1.0-beta6 by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2511](https://togithub.com/BuilderIO/qwik/pull/2511)
- docs: several improvements by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2512](https://togithub.com/BuilderIO/qwik/pull/2512)
- docs: added ref attrib to component docs by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2504](https://togithub.com/BuilderIO/qwik/pull/2504)
- docs: added playwright integration section by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2513](https://togithub.com/BuilderIO/qwik/pull/2513)
- fix: treeshake isServer/isBrowser correctly by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2527](https://togithub.com/BuilderIO/qwik/pull/2527)
- docs: add playwright and styled-vanilla-extract in the menu by [@forresst](https://togithub.com/forresst) in [https://github.com/BuilderIO/qwik/pull/2526](https://togithub.com/BuilderIO/qwik/pull/2526)
- Update styled-vanilla-extract Integration Script's Version by [@Kesmek](https://togithub.com/Kesmek) in [https://github.com/BuilderIO/qwik/pull/2516](https://togithub.com/BuilderIO/qwik/pull/2516)
- docs: change links by [@pamenary](https://togithub.com/pamenary) in [https://github.com/BuilderIO/qwik/pull/2530](https://togithub.com/BuilderIO/qwik/pull/2530)
- docs: remove extra code (Partytown) by [@pamenary](https://togithub.com/pamenary) in [https://github.com/BuilderIO/qwik/pull/2529](https://togithub.com/BuilderIO/qwik/pull/2529)
- ⚡️ add my personal site to the showcase by [@shaunchander](https://togithub.com/shaunchander) in [https://github.com/BuilderIO/qwik/pull/2424](https://togithub.com/BuilderIO/qwik/pull/2424)
- docs: add Vercel Edge integration to adaptors by [@ahashem95](https://togithub.com/ahashem95) in [https://github.com/BuilderIO/qwik/pull/2522](https://togithub.com/BuilderIO/qwik/pull/2522)
- fix(eslint): allow any as $ attribute by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2534](https://togithub.com/BuilderIO/qwik/pull/2534)
- fix: exception when form autocompletes and key is undefined by [@jwickers](https://togithub.com/jwickers) in [https://github.com/BuilderIO/qwik/pull/2407](https://togithub.com/BuilderIO/qwik/pull/2407)
- Fix Qwik-City hang & enable vite server proxies by [@n8sabes](https://togithub.com/n8sabes) in [https://github.com/BuilderIO/qwik/pull/2542](https://togithub.com/BuilderIO/qwik/pull/2542)
- chore(starter): add eslint rule for consistent type imports by [@DNI9](https://togithub.com/DNI9) in [https://github.com/BuilderIO/qwik/pull/2494](https://togithub.com/BuilderIO/qwik/pull/2494)
- fix: link to Vercel adaptor README by [@hamatoyogi](https://togithub.com/hamatoyogi) in [https://github.com/BuilderIO/qwik/pull/2537](https://togithub.com/BuilderIO/qwik/pull/2537)
- perf: optimize props destructuring by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2545](https://togithub.com/BuilderIO/qwik/pull/2545)
- fix: dev server node streaming apis by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2547](https://togithub.com/BuilderIO/qwik/pull/2547)
- fix: undici as peerDependency by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2548](https://togithub.com/BuilderIO/qwik/pull/2548)
- feat: useRender() by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2550](https://togithub.com/BuilderIO/qwik/pull/2550)
- Fix plugin scoping for namespaced packages by [@JanJakes](https://togithub.com/JanJakes) in [https://github.com/BuilderIO/qwik/pull/2521](https://togithub.com/BuilderIO/qwik/pull/2521)
- Release 16 2 by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2552](https://togithub.com/BuilderIO/qwik/pull/2552)
#### New Contributors
- [@Pika-Pool](https://togithub.com/Pika-Pool) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2463](https://togithub.com/BuilderIO/qwik/pull/2463)
- [@pnilssson](https://togithub.com/pnilssson) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2448](https://togithub.com/BuilderIO/qwik/pull/2448)
- [@n8sabes](https://togithub.com/n8sabes) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2466](https://togithub.com/BuilderIO/qwik/pull/2466)
- [@willbuck](https://togithub.com/willbuck) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2484](https://togithub.com/BuilderIO/qwik/pull/2484)
- [@ColynYu](https://togithub.com/ColynYu) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2500](https://togithub.com/BuilderIO/qwik/pull/2500)
- [@pamenary](https://togithub.com/pamenary) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2530](https://togithub.com/BuilderIO/qwik/pull/2530)
- [@shaunchander](https://togithub.com/shaunchander) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2424](https://togithub.com/BuilderIO/qwik/pull/2424)
- [@DNI9](https://togithub.com/DNI9) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2494](https://togithub.com/BuilderIO/qwik/pull/2494)
- [@hamatoyogi](https://togithub.com/hamatoyogi) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2537](https://togithub.com/BuilderIO/qwik/pull/2537)
- [@JanJakes](https://togithub.com/JanJakes) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2521](https://togithub.com/BuilderIO/qwik/pull/2521)
**Full Changelog**: https://github.com/BuilderIO/qwik/compare/v0.16.1...v0.16.2
### [`v0.16.1`](https://togithub.com/BuilderIO/qwik/releases/tag/v0.16.1)
[Compare Source](https://togithub.com/BuilderIO/qwik/compare/v0.16.0...v0.16.1)
#### What's Changed
- fix: form data crash by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2458](https://togithub.com/BuilderIO/qwik/pull/2458)
**Full Changelog**: https://github.com/BuilderIO/qwik/compare/v0.16.0...v0.16.1
### [`v0.16.0`](https://togithub.com/BuilderIO/qwik/releases/tag/v0.16.0)
[Compare Source](https://togithub.com/BuilderIO/qwik/compare/v0.15.2...v0.16.0)
Introduces several deprecations in aim to simplify the lifecycle model and prepare Qwik for the future and stable release.
#### `useTask$()`
The deprecations include `useMount$()`, `useWatch$()`, `useServerMount()` and `useClientMount$()`, all of them now become `useTask$()`!
- `useMount$()` -> `useTask$()`
- `useWatch$()` -> `useTask$()`
- `useServerMount$()` -> `useTask$()` + `isServer`
- `useClientMount$()` -> `useTask$()` + `isBrowser`
You might be surprised, how all of them can be replaced with `useTask$()`?
Actually, `useWatch$()` already behaved like `useMount$()` when no `track` was used.
Please look at the updated lifecycle docs:
https://qwik.builder.io/docs/components/lifecycle/
Old code:
```tsx
import { useMount$, useWatch$ } from '@builder.io/qwik';
export function MyComponent() {
const signal = useSignal(0);
useMount$(() => {
console.log('mount');
});
useWatch$(({track}) => {
track(signal)
console.log('watch');
});
useServerMount$(() => {
console.log('server mount');
});
useClientMount$(() => {
console.log('client mount');
});
}
```
New code:
```tsx
import { useTask$ } from '@builder.io/qwik';
import { isServer, isBrowser } from '@builder.io/qwik/build';
export function MyComponent() {
const signal = useSignal(0);
useTask$(() => {
console.log('mount');
});
useTask$(({track}) => {
track(signal);
console.log('watch');
});
useTask$(() => {
if (isServer) {
console.log('server mount');
}
});
useTask$(() => {
if (isBrowser) {
console.log('client mount');
}
});
}
```
#### Deprecating `node-fetch` in favor of `undici`
Future versions of node will include `fetch()` natively. This version is based on [undici](https://togithub.com/nodejs/undici).
In order to prepare for a future where we dont need a polifyll, we are deprecating `node-fetch` in favor of `undici`.
#### Vite 4
We are updating Qwik to Vite 4!! [Read about the announcement](https://vitejs.dev/blog/announcing-vite4.html)!
#### QwikCity!
Soon we will release 0.1.0 of QwikCity features a brand new API that will drastically simplify how you build your apps. It's called Server Functions and it's gonna be awesome!
Coming soon!
#### What's Changed
- docs: removed unnecessary fragments by [@the-r3aper7](https://togithub.com/the-r3aper7) in [https://github.com/BuilderIO/qwik/pull/2361](https://togithub.com/BuilderIO/qwik/pull/2361)
- docs: Add Guide On Using Map Functions In JSX by [@Kesmek](https://togithub.com/Kesmek) in [https://github.com/BuilderIO/qwik/pull/2373](https://togithub.com/BuilderIO/qwik/pull/2373)
- docs: remove async from component$ overview by [@shairez](https://togithub.com/shairez) in [https://github.com/BuilderIO/qwik/pull/2377](https://togithub.com/BuilderIO/qwik/pull/2377)
- feat: add config for dev inspector by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2375](https://togithub.com/BuilderIO/qwik/pull/2375)
- docs(qwik-v-react): fix array key consistency in docs by [@jweb89](https://togithub.com/jweb89) in [https://github.com/BuilderIO/qwik/pull/2383](https://togithub.com/BuilderIO/qwik/pull/2383)
- fix(vite): module side effect by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2387](https://togithub.com/BuilderIO/qwik/pull/2387)
- feat: detect invalid HTML by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2389](https://togithub.com/BuilderIO/qwik/pull/2389)
- chore: fix link accessibility by [@reemardelarosa](https://togithub.com/reemardelarosa) in [https://github.com/BuilderIO/qwik/pull/2386](https://togithub.com/BuilderIO/qwik/pull/2386)
- feat: standardize params/query api by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2385](https://togithub.com/BuilderIO/qwik/pull/2385)
- docs(contributing): Add install note for wasm-pack by [@machineloop](https://togithub.com/machineloop) in [https://github.com/BuilderIO/qwik/pull/2390](https://togithub.com/BuilderIO/qwik/pull/2390)
- docs: Add latest 'Qwik City for Resumable, Dynamic Apps' interview with Misko by [@machineloop](https://togithub.com/machineloop) in [https://github.com/BuilderIO/qwik/pull/2401](https://togithub.com/BuilderIO/qwik/pull/2401)
- fix: scope vite plugin qwik manifest so that apps can run in parallel by [@dario-piotrowicz](https://togithub.com/dario-piotrowicz) in [https://github.com/BuilderIO/qwik/pull/2398](https://togithub.com/BuilderIO/qwik/pull/2398)
- fix: options like maxWorkers not passed to the generate method by [@jwickers](https://togithub.com/jwickers) in [https://github.com/BuilderIO/qwik/pull/2400](https://togithub.com/BuilderIO/qwik/pull/2400)
- feat(adaptors): add adaptor for Azure Static Web Apps by [@derkoe](https://togithub.com/derkoe) in [https://github.com/BuilderIO/qwik/pull/2384](https://togithub.com/BuilderIO/qwik/pull/2384)
- feat: add Google Cloud Run integration by [@DustinJSilk](https://togithub.com/DustinJSilk) in [https://github.com/BuilderIO/qwik/pull/2395](https://togithub.com/BuilderIO/qwik/pull/2395)
- refactor: merge useMount and useWatch into useTask by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2379](https://togithub.com/BuilderIO/qwik/pull/2379)
- docs: add example of using :global() css selector by [@DustinJSilk](https://togithub.com/DustinJSilk) in [https://github.com/BuilderIO/qwik/pull/2408](https://togithub.com/BuilderIO/qwik/pull/2408)
- Remove irrelevant netlify notes from node docs by [@elyobo](https://togithub.com/elyobo) in [https://github.com/BuilderIO/qwik/pull/2420](https://togithub.com/BuilderIO/qwik/pull/2420)
- docs: fix link useTask by [@forresst](https://togithub.com/forresst) in [https://github.com/BuilderIO/qwik/pull/2425](https://togithub.com/BuilderIO/qwik/pull/2425)
- docs: add builder.io OSS header bar by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2430](https://togithub.com/BuilderIO/qwik/pull/2430)
- fix: error messages typos by [@shairez](https://togithub.com/shairez) in [https://github.com/BuilderIO/qwik/pull/2434](https://togithub.com/BuilderIO/qwik/pull/2434)
- docs: add builder.io OSS header bar by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2438](https://togithub.com/BuilderIO/qwik/pull/2438)
- docs: cleanup adapters files (fixes [#2421](https://togithub.com/BuilderIO/qwik/issues/2421)) by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2445](https://togithub.com/BuilderIO/qwik/pull/2445)
- fix: preview server should use the configured outDir by [@dmitry-stepanenko](https://togithub.com/dmitry-stepanenko) in [https://github.com/BuilderIO/qwik/pull/2423](https://togithub.com/BuilderIO/qwik/pull/2423)
- feat: server actions by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2394](https://togithub.com/BuilderIO/qwik/pull/2394)
- fix: add eslint serialization classes by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2453](https://togithub.com/BuilderIO/qwik/pull/2453)
- Release 0 16 0 by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2455](https://togithub.com/BuilderIO/qwik/pull/2455)
- fix: streaming loader by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2454](https://togithub.com/BuilderIO/qwik/pull/2454)
- fix: number values for style by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2456](https://togithub.com/BuilderIO/qwik/pull/2456)
- chore: add node-fetch by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2457](https://togithub.com/BuilderIO/qwik/pull/2457)
#### New Contributors
- [@Kesmek](https://togithub.com/Kesmek) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2373](https://togithub.com/BuilderIO/qwik/pull/2373)
- [@jweb89](https://togithub.com/jweb89) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2383](https://togithub.com/BuilderIO/qwik/pull/2383)
- [@machineloop](https://togithub.com/machineloop) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2390](https://togithub.com/BuilderIO/qwik/pull/2390)
- [@derkoe](https://togithub.com/derkoe) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2384](https://togithub.com/BuilderIO/qwik/pull/2384)
- [@DustinJSilk](https://togithub.com/DustinJSilk) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2395](https://togithub.com/BuilderIO/qwik/pull/2395)
- [@elyobo](https://togithub.com/elyobo) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2420](https://togithub.com/BuilderIO/qwik/pull/2420)
- [@dmitry-stepanenko](https://togithub.com/dmitry-stepanenko) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2423](https://togithub.com/BuilderIO/qwik/pull/2423)
**Full Changelog**: https://github.com/BuilderIO/qwik/compare/v0.15.2...v0.16.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^0.15.0
->^0.16.0
Release Notes
BuilderIO/qwik
### [`v0.16.2`](https://togithub.com/BuilderIO/qwik/releases/tag/v0.16.2) [Compare Source](https://togithub.com/BuilderIO/qwik/compare/v0.16.1...v0.16.2) #### Breaking change Install undici: https://github.com/nodejs/undici Undici is the official polyfill of the Fetch APIs in Node, starting with Node 18, it will not be required, in the meantime, it needs to be installed: npm install undici yarn add undici pnpm add undici #### What's Changed - docs: replace the entire parent value to update the store by [@Pika-Pool](https://togithub.com/Pika-Pool) in [https://github.com/BuilderIO/qwik/pull/2463](https://togithub.com/BuilderIO/qwik/pull/2463) - chore: update docs to beta by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2460](https://togithub.com/BuilderIO/qwik/pull/2460) - docs: fix example passing number as value for `onClick$` by [@Pika-Pool](https://togithub.com/Pika-Pool) in [https://github.com/BuilderIO/qwik/pull/2471](https://togithub.com/BuilderIO/qwik/pull/2471) - docs: replace `useMount$`, `useClientMount$`, `useServerMount$` and `useWatch$` with `useTask$` on docs by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2467](https://togithub.com/BuilderIO/qwik/pull/2467) - Update index.mdx by [@pnilssson](https://togithub.com/pnilssson) in [https://github.com/BuilderIO/qwik/pull/2448](https://togithub.com/BuilderIO/qwik/pull/2448) - fix(azure): change directory layout for Azure SWA to make tooling work by [@derkoe](https://togithub.com/derkoe) in [https://github.com/BuilderIO/qwik/pull/2469](https://togithub.com/BuilderIO/qwik/pull/2469) - refactor: deprecate top layout feature by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2472](https://togithub.com/BuilderIO/qwik/pull/2472) - docs: fix link and typo by [@forresst](https://togithub.com/forresst) in [https://github.com/BuilderIO/qwik/pull/2449](https://togithub.com/BuilderIO/qwik/pull/2449) - fix: server symbols should be stripped in the transform for clients by [@jwickers](https://togithub.com/jwickers) in [https://github.com/BuilderIO/qwik/pull/2404](https://togithub.com/BuilderIO/qwik/pull/2404) - Add useId() to support SSR id generation by [@n8sabes](https://togithub.com/n8sabes) in [https://github.com/BuilderIO/qwik/pull/2466](https://togithub.com/BuilderIO/qwik/pull/2466) - docs: remove top layout feature link by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2474](https://togithub.com/BuilderIO/qwik/pull/2474) - docs: fix path to CF env variables by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2476](https://togithub.com/BuilderIO/qwik/pull/2476) - fix: cleanse ssr attribute name and class value by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2475](https://togithub.com/BuilderIO/qwik/pull/2475) - feat: ability to disable ssg from server by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2481](https://togithub.com/BuilderIO/qwik/pull/2481) - feat: cookies.getAll() by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2482](https://togithub.com/BuilderIO/qwik/pull/2482) - docs: typo fix to quik city overview by [@willbuck](https://togithub.com/willbuck) in [https://github.com/BuilderIO/qwik/pull/2484](https://togithub.com/BuilderIO/qwik/pull/2484) - release: qwik-city 0.1.0-beta5 by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2486](https://togithub.com/BuilderIO/qwik/pull/2486) - docs: add builder.io OSS header bar by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2440](https://togithub.com/BuilderIO/qwik/pull/2440) - docs: remove duplicate builder bar by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2489](https://togithub.com/BuilderIO/qwik/pull/2489) - docs(media): `Qwik: The Lightest, Fastest Way to Build Web Apps` by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2498](https://togithub.com/BuilderIO/qwik/pull/2498) - docs: Move Deployments / Integration section into a seperate top level by [@reemardelarosa](https://togithub.com/reemardelarosa) in [https://github.com/BuilderIO/qwik/pull/2497](https://togithub.com/BuilderIO/qwik/pull/2497) - docs: added cheatsheet for best practices by [@reemardelarosa](https://togithub.com/reemardelarosa) in [https://github.com/BuilderIO/qwik/pull/2266](https://togithub.com/BuilderIO/qwik/pull/2266) - docs: update builder content site and margin by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2502](https://togithub.com/BuilderIO/qwik/pull/2502) - remove unwanted extra parenthesis by [@MasterMousa](https://togithub.com/MasterMousa) in [https://github.com/BuilderIO/qwik/pull/2508](https://togithub.com/BuilderIO/qwik/pull/2508) - docs: mobile sidebar fix by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2503](https://togithub.com/BuilderIO/qwik/pull/2503) - modify the docs link by [@ColynYu](https://togithub.com/ColynYu) in [https://github.com/BuilderIO/qwik/pull/2500](https://togithub.com/BuilderIO/qwik/pull/2500) - fix: qwik-city build, render stream by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2488](https://togithub.com/BuilderIO/qwik/pull/2488) - release: qwik-city 0.1.0-beta6 by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2511](https://togithub.com/BuilderIO/qwik/pull/2511) - docs: several improvements by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2512](https://togithub.com/BuilderIO/qwik/pull/2512) - docs: added ref attrib to component docs by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2504](https://togithub.com/BuilderIO/qwik/pull/2504) - docs: added playwright integration section by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2513](https://togithub.com/BuilderIO/qwik/pull/2513) - fix: treeshake isServer/isBrowser correctly by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2527](https://togithub.com/BuilderIO/qwik/pull/2527) - docs: add playwright and styled-vanilla-extract in the menu by [@forresst](https://togithub.com/forresst) in [https://github.com/BuilderIO/qwik/pull/2526](https://togithub.com/BuilderIO/qwik/pull/2526) - Update styled-vanilla-extract Integration Script's Version by [@Kesmek](https://togithub.com/Kesmek) in [https://github.com/BuilderIO/qwik/pull/2516](https://togithub.com/BuilderIO/qwik/pull/2516) - docs: change links by [@pamenary](https://togithub.com/pamenary) in [https://github.com/BuilderIO/qwik/pull/2530](https://togithub.com/BuilderIO/qwik/pull/2530) - docs: remove extra code (Partytown) by [@pamenary](https://togithub.com/pamenary) in [https://github.com/BuilderIO/qwik/pull/2529](https://togithub.com/BuilderIO/qwik/pull/2529) - ⚡️ add my personal site to the showcase by [@shaunchander](https://togithub.com/shaunchander) in [https://github.com/BuilderIO/qwik/pull/2424](https://togithub.com/BuilderIO/qwik/pull/2424) - docs: add Vercel Edge integration to adaptors by [@ahashem95](https://togithub.com/ahashem95) in [https://github.com/BuilderIO/qwik/pull/2522](https://togithub.com/BuilderIO/qwik/pull/2522) - fix(eslint): allow any as $ attribute by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2534](https://togithub.com/BuilderIO/qwik/pull/2534) - fix: exception when form autocompletes and key is undefined by [@jwickers](https://togithub.com/jwickers) in [https://github.com/BuilderIO/qwik/pull/2407](https://togithub.com/BuilderIO/qwik/pull/2407) - Fix Qwik-City hang & enable vite server proxies by [@n8sabes](https://togithub.com/n8sabes) in [https://github.com/BuilderIO/qwik/pull/2542](https://togithub.com/BuilderIO/qwik/pull/2542) - chore(starter): add eslint rule for consistent type imports by [@DNI9](https://togithub.com/DNI9) in [https://github.com/BuilderIO/qwik/pull/2494](https://togithub.com/BuilderIO/qwik/pull/2494) - fix: link to Vercel adaptor README by [@hamatoyogi](https://togithub.com/hamatoyogi) in [https://github.com/BuilderIO/qwik/pull/2537](https://togithub.com/BuilderIO/qwik/pull/2537) - perf: optimize props destructuring by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2545](https://togithub.com/BuilderIO/qwik/pull/2545) - fix: dev server node streaming apis by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2547](https://togithub.com/BuilderIO/qwik/pull/2547) - fix: undici as peerDependency by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2548](https://togithub.com/BuilderIO/qwik/pull/2548) - feat: useRender() by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2550](https://togithub.com/BuilderIO/qwik/pull/2550) - Fix plugin scoping for namespaced packages by [@JanJakes](https://togithub.com/JanJakes) in [https://github.com/BuilderIO/qwik/pull/2521](https://togithub.com/BuilderIO/qwik/pull/2521) - Release 16 2 by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2552](https://togithub.com/BuilderIO/qwik/pull/2552) #### New Contributors - [@Pika-Pool](https://togithub.com/Pika-Pool) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2463](https://togithub.com/BuilderIO/qwik/pull/2463) - [@pnilssson](https://togithub.com/pnilssson) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2448](https://togithub.com/BuilderIO/qwik/pull/2448) - [@n8sabes](https://togithub.com/n8sabes) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2466](https://togithub.com/BuilderIO/qwik/pull/2466) - [@willbuck](https://togithub.com/willbuck) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2484](https://togithub.com/BuilderIO/qwik/pull/2484) - [@ColynYu](https://togithub.com/ColynYu) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2500](https://togithub.com/BuilderIO/qwik/pull/2500) - [@pamenary](https://togithub.com/pamenary) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2530](https://togithub.com/BuilderIO/qwik/pull/2530) - [@shaunchander](https://togithub.com/shaunchander) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2424](https://togithub.com/BuilderIO/qwik/pull/2424) - [@DNI9](https://togithub.com/DNI9) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2494](https://togithub.com/BuilderIO/qwik/pull/2494) - [@hamatoyogi](https://togithub.com/hamatoyogi) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2537](https://togithub.com/BuilderIO/qwik/pull/2537) - [@JanJakes](https://togithub.com/JanJakes) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2521](https://togithub.com/BuilderIO/qwik/pull/2521) **Full Changelog**: https://github.com/BuilderIO/qwik/compare/v0.16.1...v0.16.2 ### [`v0.16.1`](https://togithub.com/BuilderIO/qwik/releases/tag/v0.16.1) [Compare Source](https://togithub.com/BuilderIO/qwik/compare/v0.16.0...v0.16.1) #### What's Changed - fix: form data crash by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2458](https://togithub.com/BuilderIO/qwik/pull/2458) **Full Changelog**: https://github.com/BuilderIO/qwik/compare/v0.16.0...v0.16.1 ### [`v0.16.0`](https://togithub.com/BuilderIO/qwik/releases/tag/v0.16.0) [Compare Source](https://togithub.com/BuilderIO/qwik/compare/v0.15.2...v0.16.0) Introduces several deprecations in aim to simplify the lifecycle model and prepare Qwik for the future and stable release. #### `useTask$()` The deprecations include `useMount$()`, `useWatch$()`, `useServerMount()` and `useClientMount$()`, all of them now become `useTask$()`! - `useMount$()` -> `useTask$()` - `useWatch$()` -> `useTask$()` - `useServerMount$()` -> `useTask$()` + `isServer` - `useClientMount$()` -> `useTask$()` + `isBrowser` You might be surprised, how all of them can be replaced with `useTask$()`? Actually, `useWatch$()` already behaved like `useMount$()` when no `track` was used. Please look at the updated lifecycle docs: https://qwik.builder.io/docs/components/lifecycle/ Old code: ```tsx import { useMount$, useWatch$ } from '@builder.io/qwik'; export function MyComponent() { const signal = useSignal(0); useMount$(() => { console.log('mount'); }); useWatch$(({track}) => { track(signal) console.log('watch'); }); useServerMount$(() => { console.log('server mount'); }); useClientMount$(() => { console.log('client mount'); }); } ``` New code: ```tsx import { useTask$ } from '@builder.io/qwik'; import { isServer, isBrowser } from '@builder.io/qwik/build'; export function MyComponent() { const signal = useSignal(0); useTask$(() => { console.log('mount'); }); useTask$(({track}) => { track(signal); console.log('watch'); }); useTask$(() => { if (isServer) { console.log('server mount'); } }); useTask$(() => { if (isBrowser) { console.log('client mount'); } }); } ``` #### Deprecating `node-fetch` in favor of `undici` Future versions of node will include `fetch()` natively. This version is based on [undici](https://togithub.com/nodejs/undici). In order to prepare for a future where we dont need a polifyll, we are deprecating `node-fetch` in favor of `undici`. #### Vite 4 We are updating Qwik to Vite 4!! [Read about the announcement](https://vitejs.dev/blog/announcing-vite4.html)! #### QwikCity! Soon we will release 0.1.0 of QwikCity features a brand new API that will drastically simplify how you build your apps. It's called Server Functions and it's gonna be awesome! Coming soon! #### What's Changed - docs: removed unnecessary fragments by [@the-r3aper7](https://togithub.com/the-r3aper7) in [https://github.com/BuilderIO/qwik/pull/2361](https://togithub.com/BuilderIO/qwik/pull/2361) - docs: Add Guide On Using Map Functions In JSX by [@Kesmek](https://togithub.com/Kesmek) in [https://github.com/BuilderIO/qwik/pull/2373](https://togithub.com/BuilderIO/qwik/pull/2373) - docs: remove async from component$ overview by [@shairez](https://togithub.com/shairez) in [https://github.com/BuilderIO/qwik/pull/2377](https://togithub.com/BuilderIO/qwik/pull/2377) - feat: add config for dev inspector by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2375](https://togithub.com/BuilderIO/qwik/pull/2375) - docs(qwik-v-react): fix array key consistency in docs by [@jweb89](https://togithub.com/jweb89) in [https://github.com/BuilderIO/qwik/pull/2383](https://togithub.com/BuilderIO/qwik/pull/2383) - fix(vite): module side effect by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2387](https://togithub.com/BuilderIO/qwik/pull/2387) - feat: detect invalid HTML by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2389](https://togithub.com/BuilderIO/qwik/pull/2389) - chore: fix link accessibility by [@reemardelarosa](https://togithub.com/reemardelarosa) in [https://github.com/BuilderIO/qwik/pull/2386](https://togithub.com/BuilderIO/qwik/pull/2386) - feat: standardize params/query api by [@adamdbradley](https://togithub.com/adamdbradley) in [https://github.com/BuilderIO/qwik/pull/2385](https://togithub.com/BuilderIO/qwik/pull/2385) - docs(contributing): Add install note for wasm-pack by [@machineloop](https://togithub.com/machineloop) in [https://github.com/BuilderIO/qwik/pull/2390](https://togithub.com/BuilderIO/qwik/pull/2390) - docs: Add latest 'Qwik City for Resumable, Dynamic Apps' interview with Misko by [@machineloop](https://togithub.com/machineloop) in [https://github.com/BuilderIO/qwik/pull/2401](https://togithub.com/BuilderIO/qwik/pull/2401) - fix: scope vite plugin qwik manifest so that apps can run in parallel by [@dario-piotrowicz](https://togithub.com/dario-piotrowicz) in [https://github.com/BuilderIO/qwik/pull/2398](https://togithub.com/BuilderIO/qwik/pull/2398) - fix: options like maxWorkers not passed to the generate method by [@jwickers](https://togithub.com/jwickers) in [https://github.com/BuilderIO/qwik/pull/2400](https://togithub.com/BuilderIO/qwik/pull/2400) - feat(adaptors): add adaptor for Azure Static Web Apps by [@derkoe](https://togithub.com/derkoe) in [https://github.com/BuilderIO/qwik/pull/2384](https://togithub.com/BuilderIO/qwik/pull/2384) - feat: add Google Cloud Run integration by [@DustinJSilk](https://togithub.com/DustinJSilk) in [https://github.com/BuilderIO/qwik/pull/2395](https://togithub.com/BuilderIO/qwik/pull/2395) - refactor: merge useMount and useWatch into useTask by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2379](https://togithub.com/BuilderIO/qwik/pull/2379) - docs: add example of using :global() css selector by [@DustinJSilk](https://togithub.com/DustinJSilk) in [https://github.com/BuilderIO/qwik/pull/2408](https://togithub.com/BuilderIO/qwik/pull/2408) - Remove irrelevant netlify notes from node docs by [@elyobo](https://togithub.com/elyobo) in [https://github.com/BuilderIO/qwik/pull/2420](https://togithub.com/BuilderIO/qwik/pull/2420) - docs: fix link useTask by [@forresst](https://togithub.com/forresst) in [https://github.com/BuilderIO/qwik/pull/2425](https://togithub.com/BuilderIO/qwik/pull/2425) - docs: add builder.io OSS header bar by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2430](https://togithub.com/BuilderIO/qwik/pull/2430) - fix: error messages typos by [@shairez](https://togithub.com/shairez) in [https://github.com/BuilderIO/qwik/pull/2434](https://togithub.com/BuilderIO/qwik/pull/2434) - docs: add builder.io OSS header bar by [@mhevery](https://togithub.com/mhevery) in [https://github.com/BuilderIO/qwik/pull/2438](https://togithub.com/BuilderIO/qwik/pull/2438) - docs: cleanup adapters files (fixes [#2421](https://togithub.com/BuilderIO/qwik/issues/2421)) by [@zanettin](https://togithub.com/zanettin) in [https://github.com/BuilderIO/qwik/pull/2445](https://togithub.com/BuilderIO/qwik/pull/2445) - fix: preview server should use the configured outDir by [@dmitry-stepanenko](https://togithub.com/dmitry-stepanenko) in [https://github.com/BuilderIO/qwik/pull/2423](https://togithub.com/BuilderIO/qwik/pull/2423) - feat: server actions by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2394](https://togithub.com/BuilderIO/qwik/pull/2394) - fix: add eslint serialization classes by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2453](https://togithub.com/BuilderIO/qwik/pull/2453) - Release 0 16 0 by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2455](https://togithub.com/BuilderIO/qwik/pull/2455) - fix: streaming loader by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2454](https://togithub.com/BuilderIO/qwik/pull/2454) - fix: number values for style by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2456](https://togithub.com/BuilderIO/qwik/pull/2456) - chore: add node-fetch by [@manucorporat](https://togithub.com/manucorporat) in [https://github.com/BuilderIO/qwik/pull/2457](https://togithub.com/BuilderIO/qwik/pull/2457) #### New Contributors - [@Kesmek](https://togithub.com/Kesmek) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2373](https://togithub.com/BuilderIO/qwik/pull/2373) - [@jweb89](https://togithub.com/jweb89) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2383](https://togithub.com/BuilderIO/qwik/pull/2383) - [@machineloop](https://togithub.com/machineloop) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2390](https://togithub.com/BuilderIO/qwik/pull/2390) - [@derkoe](https://togithub.com/derkoe) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2384](https://togithub.com/BuilderIO/qwik/pull/2384) - [@DustinJSilk](https://togithub.com/DustinJSilk) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2395](https://togithub.com/BuilderIO/qwik/pull/2395) - [@elyobo](https://togithub.com/elyobo) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2420](https://togithub.com/BuilderIO/qwik/pull/2420) - [@dmitry-stepanenko](https://togithub.com/dmitry-stepanenko) made their first contribution in [https://github.com/BuilderIO/qwik/pull/2423](https://togithub.com/BuilderIO/qwik/pull/2423) **Full Changelog**: https://github.com/BuilderIO/qwik/compare/v0.15.2...v0.16.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.