From 4258852cf02fd0d58350ff9f37256668ad86df47 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 6 Nov 2024 06:37:07 +0000 Subject: [PATCH] Version Packages --- .changeset/eleven-rabbits-cross.md | 36 --------------- .changeset/friendly-flowers-run.md | 5 -- .changeset/funny-wasps-do.md | 5 -- .changeset/gentle-adults-compare.md | 5 -- .changeset/late-bugs-visit.md | 5 -- .changeset/lazy-worms-attack.md | 5 -- .changeset/lemon-gorillas-whisper.md | 5 -- .changeset/loud-deers-run.md | 5 -- .changeset/many-turtles-cough.md | 5 -- .changeset/moaning-master-chief.md | 5 -- .changeset/ninety-planets-search.md | 6 --- .changeset/real-garlics-argue.md | 5 -- .changeset/rude-camels-hang.md | 5 -- .changeset/shaggy-apes-kneel.md | 5 -- .changeset/short-cycles-bake.md | 7 --- .changeset/silver-countries-kiss.md | 5 -- .changeset/thick-dodos-promise.md | 5 -- .changeset/twenty-radios-camp.md | 5 -- .changeset/unlucky-experts-check.md | 5 -- packages/create-qwik/CHANGELOG.md | 6 +++ packages/create-qwik/package.json | 2 +- packages/eslint-plugin-qwik/CHANGELOG.md | 6 +++ packages/eslint-plugin-qwik/package.json | 2 +- packages/qwik-city/CHANGELOG.md | 20 ++++++++ packages/qwik-city/package.json | 2 +- packages/qwik/CHANGELOG.md | 59 ++++++++++++++++++++++++ packages/qwik/package.json | 2 +- 27 files changed, 95 insertions(+), 133 deletions(-) delete mode 100644 .changeset/eleven-rabbits-cross.md delete mode 100644 .changeset/friendly-flowers-run.md delete mode 100644 .changeset/funny-wasps-do.md delete mode 100644 .changeset/gentle-adults-compare.md delete mode 100644 .changeset/late-bugs-visit.md delete mode 100644 .changeset/lazy-worms-attack.md delete mode 100644 .changeset/lemon-gorillas-whisper.md delete mode 100644 .changeset/loud-deers-run.md delete mode 100644 .changeset/many-turtles-cough.md delete mode 100644 .changeset/moaning-master-chief.md delete mode 100644 .changeset/ninety-planets-search.md delete mode 100644 .changeset/real-garlics-argue.md delete mode 100644 .changeset/rude-camels-hang.md delete mode 100644 .changeset/shaggy-apes-kneel.md delete mode 100644 .changeset/short-cycles-bake.md delete mode 100644 .changeset/silver-countries-kiss.md delete mode 100644 .changeset/thick-dodos-promise.md delete mode 100644 .changeset/twenty-radios-camp.md delete mode 100644 .changeset/unlucky-experts-check.md diff --git a/.changeset/eleven-rabbits-cross.md b/.changeset/eleven-rabbits-cross.md deleted file mode 100644 index 9baa1fde14f..00000000000 --- a/.changeset/eleven-rabbits-cross.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -'@builder.io/qwik': minor ---- - -Async functions in `useComputed` are deprecated. - -**Why?** - -- Qwik can't track used signals after the first await, which leads to subtle bugs. -- When calculating the first time, it will see it's a promise and it will restart the render function. -- Both `useTask` and `useResource` are available, without these problems. - -In v2, async functions won't work. - -Again, to get the same functionality use `useTask` or `useResource` instead, or this function: - -```tsx -export const useAsyncComputed$ = (qrlFn: QRL<() => Promise>) => { - const sig = useSignal(); - useTask(({ track }) => { - const result = track(qrlFn); - if (result && 'then' in result) { - result.then( - (val) => (sig.value = val), - (err) => { - console.error('async computed function threw!', err); - throw error; - } - ); - } else { - sig.value = result; - } - }); - return sig; -}; -``` diff --git a/.changeset/friendly-flowers-run.md b/.changeset/friendly-flowers-run.md deleted file mode 100644 index 27de764af96..00000000000 --- a/.changeset/friendly-flowers-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@builder.io/qwik': patch ---- - -docs: fix useResource docs example & remove unused demo diff --git a/.changeset/funny-wasps-do.md b/.changeset/funny-wasps-do.md deleted file mode 100644 index 638547bcb7b..00000000000 --- a/.changeset/funny-wasps-do.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@builder.io/qwik': patch ---- - -FIX: QRL segment filenames are no longer lowercased. This was giving trouble with parent lookups in dev mode and there was no good reason for it. diff --git a/.changeset/gentle-adults-compare.md b/.changeset/gentle-adults-compare.md deleted file mode 100644 index 3748cec64ac..00000000000 --- a/.changeset/gentle-adults-compare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@builder.io/qwik': patch ---- - -FIX: the type for `