2.0.0-alpha.0
Major Changes
-
💥BREAKING: remove HTML-related types. Use PropsOf instead. (by @wmertens in #7045)
-
💥BREAKING:
useComputed
no longer allows Promise returns. (meaning it is strictly sync) Instead, useuseSignal
anduseTask
together to perform async signal updates (by @wmertens in #6907) -
qwik-labs
package 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
insights
to the experimental array invite.config.ts
:qwikVite({ experimental: ['insights'] }),
2) Import and use the
qwikInsights
vite plugin from@qwik.dev/core/insights/vite
:import { qwikInsights } from '@qwik.dev/core/insights/vite';
3) import the
<Insights>
component from@qwik.dev/core/insights
and use it in yourroot.tsx
file: :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)