Releases: QwikDev/qwik
eslint-plugin-qwik@2.0.0-beta.29
eslint-plugin-qwik@2.0.0-beta.29
create-qwik@2.0.0-beta.29
create-qwik@2.0.0-beta.29
@qwik.dev/router@2.0.0-beta.29
Major Changes
- BREAKING: The route configuration object has changed. The routes are now a more efficient trie structure and the config no longer includes
menus. This should not impact you. (by @wmertens in #8414)
Minor Changes
-
✨ SSG now runs in a separate process using Workers, and it can be re-run by running
server/run-ssg.js(by @wmertens in #8414) -
✨ eTag and in-memory cache for SSR pages. You can define an
eTagproperty on your page modules, which will be used to generate an ETag header for the response, and which is checked before rendering the page, returning 304 if possible. (by @wmertens in #8414)
If you define acacheKeyfunction on your page module, it will be used to generate a cache key for the page, which is used to store the rendered HTML in an in-memory cache. This allows for faster responses for pages that are expensive to render and do not change often. The cache can be cleared using theclearSsrCachefunction from the request handler middleware. -
✨ Add
routeConfigexport as a unified alternative to separatehead,eTag, andcacheKeyexports (by @wmertens in #8414)The new
routeConfigexport groups all page-level configuration into a single export with the same resolution rules ashead(static object or function). When a module exportsrouteConfig, separatehead,eTag, andcacheKeyexports on that module are ignored. -
✨ Custom
404.tsxerror pages are now shown in dev mode, and you can now also createerror.tsxpages for other HTTP status codes. (by @wmertens in #8414)
Read the HTTP status withuseHttpStatus().
Patch Changes
@qwik.dev/react@2.0.0-beta.29
Minor Changes
- ✨
reactify$(QwikComponent)creates React components that can be used inside aqwikify$(ReactComponent)app. This allows Qwik-wrapped React apps to embed Qwik components, with full context sharing, interactivity and resumability. (by @wmertens in #8413)
Patch Changes
- Updated dependencies []:
- @qwik.dev/core@2.0.0-beta.29
@qwik.dev/core@2.0.0-beta.29
@qwik.dev/core@2.0.0-beta.29
eslint-plugin-qwik@1.19.2
eslint-plugin-qwik@1.19.2
create-qwik@1.19.2
create-qwik@1.19.2
@builder.io/qwik@1.19.2
@builder.io/qwik-city@1.19.2
Patch Changes
-
🐞🩹 When a form POST is done, keys like "name.1" mean it's an array. However, later keys could be strings like "name.value". Now, we check if all the keys are numbers, otherwise we make an object instead of an array. This allows for more correct form data handling. (by @wmertens in #8424)
-
🐞🩹 handle special characters in dynamic route (by @gioboa in #8400)
eslint-plugin-qwik@2.0.0-beta.28
eslint-plugin-qwik@2.0.0-beta.28