Skip to content

Releases: QwikDev/qwik

v0.22.0

16 Mar 16:54
9b7e7b1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.21.0...v0.22.0

v0.21.0

07 Mar 09:45
4f0812c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.20.1...v0.21.0

v0.20.1

01 Mar 11:47
eafe026
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.20.0...v0.20.1

v0.20.0

28 Feb 10:52
d81ac53
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.19.2...v0.20.0

v0.19.2

23 Feb 13:00
42cefc0
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.19.1...v0.19.2

v0.19.1

23 Feb 08:51
71355f2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.19.0...v0.19.1

v0.19.0

21 Feb 16:39
b1e4cb2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.18.1...v0.19.0

v0.18.1

14 Feb 18:18
17a24aa
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.18.0...v0.18.1

v0.18.0

14 Feb 16:24
3a04e3d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.17.5...v0.18.0

v0.17.5

07 Feb 23:29
2fe931c
Compare
Choose a tag to compare

Server Loaders and Actions

  • Previous iterations of loading data recommended using request handlers directly.
  • The server loaders/action updates simplifies the connection between fetching data, rendering data, and submitting an update with an action.
  • See the docs for more information.

Request Handlers

  • Added html() json() text() and send() for simple HTTP response body content.
  • Added getWritableStream() to the Request event for low-level access to HTTP response streaming.
  • Request event’s query is now a URLSearchParam instance (same as url.searchParams)
  • Added cacheControl to simplify cache-control response headers.

Renamed Adaptors🇬🇧 to Adapters🇺🇸

  • Renamed to adapter for consistency. (No offense 🇬🇧, we still love ya)
  • The adaptor name is deprecated and will continue to be provided until v1 is released.
  • This includes the package names, function names, and types.
  • Rename your root adaptors directory to adapters, and update the scripts in package.json that call the Vite configs, such as build.server.
"scripts": {
  "build.server": "vite build -c adapters/static/vite.config.ts"
}

Static Site Generation (SSG) and SSR Adapters

  • When building sites with server-side rendering (SSR), such as deploying a site to Netlify or Cloudflare, we also automatically generated pages that could be static. This was problematic and caused unpredictable behavior at times.
  • Instead of auto-generating SSG pages, there’s a new ssg config for each adapter where you can optionally include (and exclude) pathnames and patterns which urls should always be static generated.
  • Static Site Generation from SSR Adapters is now opt-in, but starters will come preset with the homepage / included to be SSG’d.
// example adapter plugin
netifyEdgeAdapter({
	ssg: {
		include: ["/"],
	},
})

What's Changed

New Contributors

Full Changelog: v0.17.4...v0.17.5