Packages

@builder.io/qwik-city

1.20.4 · 9 Nov 2026MIT52.8k / weekRepositoryHomepagenpmAtom feed

Your version

1.9.0

17 Sep 2024Where it was published

1.20.4 is the newest release of 1.x.

In short

2 new2 fixed

Security

7 advisories affect 1.9.0; 1.19.2 fixes them

2 more

Release note

Minor Changes

  • ✨ (EXPERIMENTAL) valibot$ validator and a fix for zod$ types.

    To use it, you need to pass experimental: ['valibot'] as an option to the qwikVite plugin as such:

    // vite.config.ts
    
    export default defineConfig(({ command, mode }): UserConfig => {
      return {
        plugins: [
          // ... other plugins like qwikCity() etc
          qwikVite({
            experimental: ['valibot']
            // ... other options
          }),
    
        ],
        // ... rest of the config
      };
    }
    
    
  • ✨ (EXPERIMENTAL) usePreventNavigate lets you prevent navigation while your app's state is unsaved. It works asynchronously for SPA navigation and falls back to the browser's default dialogs for other navigations. To use it, add experimental: ['preventNavigate'] to your qwikVite options.

Patch Changes

  • 🐞🩹 added .ico to be detected by isStaticFile

  • 🐞🩹 fixed delays caused from inefficient Service Worker prefetching (buffering)

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.