Releases: QwikDev/qwik
[email protected]
[email protected]
@builder.io/[email protected]
Minor Changes
-
CHORE: Prepare backwards compatibility for V1 libraries in V2. (by @wmertens in #7044)
We move internal fields
immutableProps
andflags
out of JSXNode as they are not meant for public use.This will allow projects using older V1 libraries to continue to work with the Qwik V2 by adding the following
package.json
changes:{ "dependencies": { "@builder.io/qwik": "^1.11.0", "@qwik.dev/core": "^2.0.0" } }
And will prevent typescript errors when using libraries which haven't upgraded to V2 yet.
-
β¨ add monorepo support to the
qwik add
command by adding aprojectDir
param (by @shairez in #7059)That way you can run
qwik add --projectDir=packages/my-package
and it will add the feature to the specified project/package (sub) folder, instead of the root folder.
@builder.io/[email protected]
@builder.io/[email protected]
@qwik.dev/[email protected]
@qwik.dev/[email protected]
@qwik.dev/[email protected]
Patch Changes
- Updated dependencies [
4411d4a
]:- @qwik.dev/[email protected]
@qwik.dev/[email protected]
@qwik.dev/[email protected]
@qwik.dev/[email protected]
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:
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)