Skip to content

Releases: QwikDev/qwik

[email protected]

03 Nov 21:37
a2ad133

Choose a tag to compare

[email protected]

03 Nov 21:37
a2ad133

Choose a tag to compare

@builder.io/[email protected]

03 Nov 21:37
a2ad133

Choose a tag to compare

This patch release is all about Qwik City.

🐞 Fixes:

  • SPA routing works regardless of origin mismatch
    Fixed #8093: SPA navigation was broken when the visited origin (e.g., 127.0.0.1:3000) differed from the SSG/Vite config origin (e.g., localhost:3000).
    useNavigate's internal origin check now uses the browser's actual href for the initial route, preventing false full-page reloads.
    by @termermc in #8097
  • this context restored in Qwik City handlers
    this inside route loaders, actions, and other handlers is once again the correct RequestEvent object.
    by @wmertens in #8111

These are subtle but important fixes and we recommend upgrading ASAP.

@builder.io/[email protected]

03 Nov 21:37
a2ad133

Choose a tag to compare

Patch Changes

  • 🐞🩹 history behavior in some edge cases has been brought inline with the E2E tests that were accidentally disabled. (the tests can't be disabled any more either) (by @wmertens in 206f3e0)

  • 🐞🩹 SPA routing is broken unless origin matches value in in vite.config #8093 (by @termermc in #8097)

    If the SSG origin was set to localhost:3000 and a user visited from 127.0.0.1:3000, SPA routing would be broken.

    Internally, useNavigate's context provider goto checks the new destination with the last route location. If the
    origin is different, it just does a normal browser navigation. This makes sense; links to other origins cannot use
    SPA routing. However, the initial route it compares was using an origin that came from the server environment.

    Now, the first navigation will set that initial route to the browser's actual href, eliminating the erroneous
    origin mismatch for SPA navigations.

  • 🐞🩹 this in various Qwik-City handlers is now RequestEvent again. (by @wmertens in #8111)

[email protected]

26 Oct 09:43
c2fda4a

Choose a tag to compare

[email protected]

26 Oct 09:43
c2fda4a

Choose a tag to compare

@builder.io/[email protected]

26 Oct 09:43
c2fda4a

Choose a tag to compare

Patch Changes

  • 🐞🩹 the bunding won't lead to circular dependencies in qwik-astro apps anymore. (by @maiieul in #8052)

  • ✨ The optimizer is now built with a recent Rust toolchain. Fresher bits! (by @wmertens in #8040)

@builder.io/[email protected]

26 Oct 09:43
c2fda4a

Choose a tag to compare

Patch Changes

  • 🐞🩹 zod is now imported as import * as z from 'zod', which vastly improves bundling. The Insights app client code reduced by 12kB. (by @wmertens in #8042)

[email protected]

08 Oct 20:34
8296f56

Choose a tag to compare

[email protected]

08 Oct 20:34
8296f56

Choose a tag to compare