Skip to content

The latest news releases from the Qwik team

February 2nd, 2023

v0.17.0

Breaking changes

This release is required to test the beta release of QwikCity.

What's Changed

New Contributors

Full Changelog: https://github.com/BuilderIO/qwik/compare/v0.16.2...v0.17.0

Contributors:

  • mhevery
  • adamdbradley
  • manucorporat
  • literalpie
  • jojobyte
  • leifermendez
  • hamatoyogi
  • JoshHyde9
  • AmirhBeigi
  • eltociear
  • harshmangalam
  • ahashem95
  • gioboa
  • mousaAM
  • zanettin
  • cunzaizhuyi
  • n8sabes
  • SH5H
  • the
  • mrcaidev
  • puzzledbycsharp
  • DustinJSilk
  • jerrynim
  • RaeesBhatti
  • Eucer
  • MyltsinVV
  • leader22
  • runarj
  • cmbartschat
  • nnelgxorz
  • barbosajlm
  • fum4
  • mimafogeus2

January 4th, 2023

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

New Contributors

Full Changelog: https://github.com/BuilderIO/qwik/compare/v0.16.1...v0.16.2

Contributors:

  • Pika
  • manucorporat
  • zanettin
  • pnilssson
  • derkoe
  • adamdbradley
  • forresst
  • jwickers
  • n8sabes
  • willbuck
  • mhevery
  • reemardelarosa
  • MasterMousa
  • ColynYu
  • Kesmek
  • pamenary
  • shaunchander
  • ahashem95
  • DNI9
  • hamatoyogi
  • JanJakes

December 17th, 2022

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:

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:

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.

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!

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

New Contributors

Full Changelog: https://github.com/BuilderIO/qwik/compare/v0.15.2...v0.16.0

Contributors:

  • builder
  • the
  • Kesmek
  • shairez
  • zanettin
  • jweb89
  • manucorporat
  • reemardelarosa
  • adamdbradley
  • machineloop
  • dario
  • jwickers
  • derkoe
  • DustinJSilk
  • elyobo
  • forresst
  • mhevery
  • dmitry

December 4th, 2022

v0.15.2

Contributors:

  • manucorporat
  • wmertens
  • saikatdas0790
1
...
21
22
23
...
30