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 was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to upcoming, this PR will be updated.
Releases
[email protected]
Minor Changes
Patch Changes
globalIgnores
for more clarity andtseslint.config
for better type inference inside theparserOptions
option. (by @better-salmon in #7418)@builder.io/[email protected]
Minor Changes
✨ Major improvements to prefetching with automatic bundle preloading (by @wmertens in #7453)
modulepreload
link tags for better browser integration.<Link>
component, AKA "single page app" mode)manifest
around)<ServiceWorkerRegister/>
or<PrefetchServiceWorker/>
).Service Worker:
This new implementation will use it to uninstall the current service worker to reduce the unnecessary duplication.
The builtin service workers components are deprecated but still exist for backwards compatibility.
Caching Headers:
The files under build/ and assets/ are named with their content hash and may therefore be cached indefinitely. Typically you should serve
build/*
andassets/*
withCache-Control: public, max-age=31536000, immutable
.However, if you changed the rollup configuration for output filenames, you will have to adjust the caching configuration accordingly.
You can configure the preload behavior in your SSR configuration:
For legacy apps that still need service worker functionality, you can add it back using:
This will add a basic service worker setup that you can customize for specific caching strategies, offline support, or other PWA features beyond just prefetching.
Patch Changes
Fix linting errors which were previously being ignored across the monorepo. (by @better-salmon in #7418)
🐞🩹 now qwikloader is loaded only once in all cases (by @wmertens in #7506)
@builder.io/[email protected]
Minor Changes
🐞🩹 qwik-city no longer forces
q-data.json
downloads, instead relying on the cache headers. This means that you have to make sure yourq-data.json
is served withCache-Control
headers 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
Fix 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)
[email protected]
Patch Changes
🐞🩹 create-qwik logAppCreated.ts now displays correct next steps for deno. (by @LogProphet in #7566)
After using the create-qwik command, the logAppCreated.ts file was not displaying the correct next steps for deno. Prior to this fix it would display "deno start" instead of "deno task start". This would cause a failure to run, as deno requires the 'task' keyword. This fixes bug 7520
Fix linting errors which were previously being ignored across the monorepo. (by @better-salmon in #7418)