Skip to content

Releases: QwikDev/qwik

v0.13.0

11 Nov 16:07
db03ac4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.12.1...v0.13.0

v0.12.1

30 Oct 12:20
c0111f3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.12.0...v0.12.1

v0.12.0

27 Oct 01:26
e53e344
Compare
Choose a tag to compare

Breaking Changes

Previously the vite.config.ts config was responsible for building both the client build files (the ones running in the browser) and the SSR build files (the one executed from the server, like node/express, cloudflare, etc). Moving forward we're going to use adaptor configs that extend the base vite config, then adds its own SSR/SSG capabilities. If you're upgrading from a qwik-city 0.0.117 or less, it's best to add the adaptor you'll be using with qwik add.

First, update to the latest version of @builder.io/qwik and @builder.io/qwik-city.

Next, run npm run qwik add, then select the adaptor you'd like to add, such as Adaptor: Express (server).

The CLI will add the adaptors directory, and update the build.server script in package.json. You'll notice there's now another vite config in the adaptors directory, which is what's called by the build.server script.

Next, in the root vite.config.ts config, make sure there isn't an ssr config. For example:

export default defineConfig(() => {
  return {
-    ssr: {
-      target: 'node',
-      format: 'cjs',
-    },
    plugins: [
      qwikCity(),
      qwikVite()
    ]
  };
});

Updating a Static Site Generated (SSG) config

If your package.json was previously using a build.static and ssg scripts, they can now be removed since it's now apart of the SSG adaptor.

  "scripts": {
    "build": "qwik build",
    "build.client": "vite build",
    "build.preview": "vite build --ssr src/entry.preview.tsx",
    "build.server": "vite build -c adaptors/static/vite.config.ts",
-    "build.static": "vite build --ssr src/entry.static.tsx",
-    "ssg": "node server/entry.static",
    "build.types": "tsc --incremental --noEmit",
    "dev": "vite --mode ssr",
    "preview": "qwik build preview && vite preview --open",
    "start": "vite --open --mode ssr",
    "qwik": "qwik"
  },

You can also now delete the src/entry.static.tsx file, it's no longer needed and any SSG config is now in the adaptors/static/vite.config.ts config.

What's Changed

New Contributors

Read more

v0.11.1

16 Oct 17:16
4163a12
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.11.0...v0.11.1

v0.11.0

12 Oct 23:47
20d6154
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.10.0...v0.11.0

v0.10.0

06 Oct 13:08
b4b06f2
Compare
Choose a tag to compare

What's Changed

Read more

v0.9.0

19 Sep 10:35
7b500dd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.113...v0.9.0

v0.0.113

18 Sep 19:03
e8c3cc1
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.112...v0.0.113

v0.0.112

18 Sep 15:47
ab3eb80
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.0.110...v0.0.112

v0.0.110

18 Sep 05:06
3ab774d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.0.109...v0.0.110