github QwikDev/qwik @builder.io/qwik-city@1.9.0

2 days ago

Minor Changes

  • (EXPERIMENTAL) valibot$ validator and a fix for zod$ types. (by @fabian-hiller in #6752)

    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. (by @wmertens in #6825)

Patch Changes

  • 🐞🩹 added .ico to be detected by isStaticFile (by @intellix in #6860)

  • 🐞🩹 fixed delays caused from inefficient Service Worker prefetching (buffering) (by @shairez in #6863)

Don't miss a new qwik release

NewReleases is sending notifications on new releases.