chore(deps): update dependency @builder.io/qwik-city to v1.17.2 #2104
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.13.0->1.17.2Release Notes
QwikDev/qwik (@builder.io/qwik-city)
v1.17.2Compare Source
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 theorigin 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)v1.17.1Compare Source
Patch Changes
zodis now imported asimport * as z from 'zod', which vastly improves bundling. The Insights app client code reduced by 12kB. (by @wmertens in #8042)v1.17.0Compare Source
Patch Changes
🐞🩹 SSG sometimes hangs after completion, now we forcibly exit the SSG process when this happens. (by @wmertens in #7957)
🐞🩹 return 404 for missing /build/ files. (by @gioboa in #7914)
🐞🩹 redirecting internal q-data.json requests will keep the q-data.json suffix so that the client can still fetch the correct one (by @wmertens in #7988)
🐞🩹 solve type error when using async _resolved function (by @JerryWu1234 in #7426)
🐞🩹 while prefetching Link data, don't navigate to captive portals (by @wmertens in #7988)
v1.16.1Compare Source
Patch Changes
🐞🩹 fix behaviour of checkOrigin: "lax-proto" in createQwikCity (by @asaharan in #7865)
🛠 Add check-client command to verify bundle freshness (by @JerryWu1234 in #7517)
🐞🩹 return 404 with invalid URL. (by @gioboa in #7902)
✨ All qwik packages are now marked as side effect free in their package.json. This should remove a few unecessary empty imports added by rollup and then not tree-shaken like
import "./preloader.js". (by @maiieul in #7908)✨ SPA Link navigation now preloads the next route bundles on click with maximum probability, speeding up SPA navigation. (by @maiieul in #7849)
🐞🩹 Your service-worker.js won't be unregistered anymore if you added custom logic to it. (by @maiieul in #7872)
v1.16.0Compare Source
Minor Changes
Patch Changes
🐞🩹 Keeping the service worker components now properly unregisters them. (by @maiieul in #7781)
🐞🩹 redirects no longer take their parent layout's Cache-Control value by default and are instead set to
no-store. This prevents issues in redirection logic. We might introduce another API to enable caching redirects in the future. (by @maiieul in #7811)🐞🩹 Keeping the service worker components now also removes their associated Cache storage. (by @maiieul in #7782)
v1.15.0Compare Source
Minor Changes
✨ Added rewrite() to the RequestEvent object. It works like redirect but does not change the URL, (by @omerman in #7562)
think of it as an internal redirect.
Example usage:
Patch Changes
🐞🩹 Change Content-Type header in qwik requests to respect RFC 7231 (by @joaomaridalho in #7690)
🐞🩹 link/useNavigate with query params don't override loader/middleware redirect with query params anymore. (by @maiieul in #7733)
🐞🩹 allow cross-protocol requests from the same domain (by @gioboa in #7693)
🛠 update devDependencies and configurations (by @JerryWu1234 in #7695)
🐞🩹 Duplicate ServerError class during dev mode (by @wmertens in #7724)
v1.14.1Compare Source
v1.14.0Compare Source
Minor Changes
🐞🩹 qwik-city no longer forces
q-data.jsondownloads, instead relying on the cache headers. This means that you have to make sure yourq-data.jsonis served withCache-Controlheaders that suit you. That file contains all the information about the route and is read for each qwik-city navigation. By default the data is cached for one hour. (by @wmertens in #7537)🛠 the service workers have been deprecated and replaced with entries that unregister them. If you have it enabled in production, you can remove it after a while once you are sure all your users have the new version. (by @wmertens in #7453)
Patch Changes
🐞🩹 linting errors which were previously being ignored across the monorepo. (by @better-salmon in #7418)
🐞🩹 Link SPA subsequent navigation now properly prefetch the next routes. (by @maiieul in #7590)
🐞🩹 SPA Link now handle subsequent onQVisible$ passed as props. (by @maiieul in #7612)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.