November 3rd, 2025
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:3000and a user visited from127.0.0.1:3000, SPA routing would be broken.Internally, useNavigate's context provider
gotochecks 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.
🐞🩹
thisin various Qwik-City handlers is nowRequestEventagain. (by @wmertens in #8111)