November 25th, 2024
The latest news releases from the Qwik team
November 19th, 2024
November 19th, 2024
Patch Changes
- Updated dependencies [
4411d4a]:
November 19th, 2024
November 15th, 2024
November 15th, 2024
2.0.0-alpha.0
A complete rewrite of the core internals by @mhevery, @Varixo , @wmertens and more contributors
Major Changes
💥BREAKING: remove HTML-related types. Use PropsOf instead. (by @wmertens in #7045)
💥BREAKING:
useComputedno longer allows Promise returns. (meaning it is strictly sync) Instead, useuseSignalanduseTasktogether to perform async signal updates (by @wmertens in #6907)qwik-labspackage has been removed in favor of experimental features. (by @shairez in #7025) So the "Insights" vite plugin and components have been moved to core as an experimental feature.In order to use it, you need to -
1) add
insightsto the experimental array invite.config.ts:qwikVite({ experimental: ['insights'] }),2) Import and use the
qwikInsightsvite plugin from@qwik.dev/core/insights/vite:import { qwikInsights } from '@qwik.dev/core/insights/vite';3) import the
<Insights>component from@qwik.dev/core/insightsand use it in yourroot.tsxfile: :import { Insights } from '@qwik.dev/core/insights'; // ...rest of root.tsx file return ( <Insights publicApiKey="..." postUrl="..." /> /* ...qwik app */ );💥BREAKING: the Typescript exports were trimmed down to the bare minimum. If there are types you are missing, open an issue. (by @wmertens in #7045)
Minor Changes
✨ new integration tests that are running with the optimizer (by @Varixo in #7055)
✨ new simpler signals implementation with lazy useComputed$ execution, only when is needed (by @Varixo in #7055)
✨ added the scheduler to sort chores execution and have more predictable behavior (by @Varixo in #7055)
✨ new CSR and SSR rendering written from scratch to speed up performance, improve code readability, and make the code easier to understand for new contributors (by @Varixo in #7055)
Patch Changes