Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #6940

Merged
merged 1 commit into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 0 additions & 36 deletions .changeset/eleven-rabbits-cross.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/friendly-flowers-run.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/funny-wasps-do.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-adults-compare.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/late-bugs-visit.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lazy-worms-attack.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/lemon-gorillas-whisper.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/loud-deers-run.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/many-turtles-cough.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/moaning-master-chief.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/ninety-planets-search.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/real-garlics-argue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rude-camels-hang.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shaggy-apes-kneel.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/short-cycles-bake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-countries-kiss.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thick-dodos-promise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twenty-radios-camp.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/unlucky-experts-check.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/create-qwik/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# create-qwik

## 1.10.0

### Patch Changes

- INFRA: migration from tsm to tsx (by [@JerryWu1234](https://github.com/JerryWu1234) in [#6877](https://github.com/QwikDev/qwik/pull/6877))

## 1.9.1

## 1.9.0
Expand Down
2 changes: 1 addition & 1 deletion packages/create-qwik/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-qwik",
"description": "Interactive CLI for create Qwik projects and adding features.",
"version": "1.9.1",
"version": "1.10.0",
"author": "Builder.io Team",
"bin": "./create-qwik.cjs",
"bugs": "https://github.com/QwikDev/qwik/issues",
Expand Down
6 changes: 6 additions & 0 deletions packages/eslint-plugin-qwik/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# eslint-plugin-qwik

## 1.10.0

### Patch Changes

- 🐞🩹 the @typescript-eslint/utils dependency is upgraded and made explicit in the package (by [@wmertens](https://github.com/wmertens) in [#7030](https://github.com/QwikDev/qwik/pull/7030))

## 1.9.1

## 1.9.0
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-qwik/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eslint-plugin-qwik",
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
"version": "1.9.1",
"version": "1.10.0",
"author": "Builder Team",
"bugs": "https://github.com/QwikDev/qwik/issues",
"dependencies": {
Expand Down
20 changes: 20 additions & 0 deletions packages/qwik-city/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @builder.io/qwik-city

## 1.10.0

### Patch Changes

- 🐞🩹 MDX content no longer ignores Layout components. See [the MDX docs](https://mdxjs.com/docs/using-mdx/#layout) for more information. (by [@danielvaijk](https://github.com/danielvaijk) in [#6845](https://github.com/QwikDev/qwik/pull/6845))

- 🐞🩹 SSG errors now show the path that failed (by [@wmertens](https://github.com/wmertens) in [#6998](https://github.com/QwikDev/qwik/pull/6998))

- 🐞🩹 Fixed action redirect regression where searchParams were appended (by [@brandonpittman](https://github.com/brandonpittman) in [#6927](https://github.com/QwikDev/qwik/pull/6927))

- 🐞🩹 Redirect, error, and fail request events no longer forcefully delete user-defined Cache-Control HTTP header value. (by [@nelsonprsousa](https://github.com/nelsonprsousa) in [#6991](https://github.com/QwikDev/qwik/pull/6991))

- 🐞🩹 `vite` is now a peer dependency of `qwik`, `qwik-city`, `qwik-react` and `qwik-labs`, so that there can be no duplicate imports. This should not have consequences, since all apps also directly depend on `vite`. (by [@wmertens](https://github.com/wmertens) in [#6945](https://github.com/QwikDev/qwik/pull/6945))

- 🐞🩹 Fixed MDX layout default export being ignored by transformer. (by [@danielvaijk](https://github.com/danielvaijk) in [#6845](https://github.com/QwikDev/qwik/pull/6845))

- 🐞🩹 Prevent unexpected caching for q-data.json (by [@genki](https://github.com/genki) in [#6808](https://github.com/QwikDev/qwik/pull/6808))

- 🐞🩹 Multiple rewrite routes pointing to the same route is no longer an error. (by [@JerryWu1234](https://github.com/JerryWu1234) in [#6970](https://github.com/QwikDev/qwik/pull/6970))

## 1.9.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/qwik-city/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@builder.io/qwik-city",
"description": "The meta-framework for Qwik.",
"version": "1.9.1",
"version": "1.10.0",
"bugs": "https://github.com/QwikDev/qwik/issues",
"dependencies": {
"@mdx-js/mdx": "^3",
Expand Down
59 changes: 59 additions & 0 deletions packages/qwik/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,64 @@
# @builder.io/qwik

## 1.10.0

### Minor Changes

- Async functions in `useComputed` are deprecated. (by [@wmertens](https://github.com/wmertens) in [#7013](https://github.com/QwikDev/qwik/pull/7013))

**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<any>>) => {
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;
};
```

- ✨ Expose `unwrapStore` as a low level AP (by [@GrandSchtroumpf](https://github.com/GrandSchtroumpf) in [#6960](https://github.com/QwikDev/qwik/pull/6960))

This enables developers to clone the content of a `useStore()` using `structureClone` or IndexedDB

### Patch Changes

- πŸ“ƒ fix useResource docs example & remove unused demo (by [@ianlet](https://github.com/ianlet) in [#6893](https://github.com/QwikDev/qwik/pull/6893))

- 🐞🩹 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. (by [@wmertens](https://github.com/wmertens) in [#7003](https://github.com/QwikDev/qwik/pull/7003))

- 🐞🩹 the type for `<textarea>` now accepts text children, as per spec. (by [@wmertens](https://github.com/wmertens) in [#7016](https://github.com/QwikDev/qwik/pull/7016))

- 🐞🩹 dev-mode QRL paths are now handled by Vite so they are the same as the parent paths. You can see this in the Sources section of the browser devtools, where the segments are now always next to their parents (when the parent is loaded). (by [@wmertens](https://github.com/wmertens) in [#7037](https://github.com/QwikDev/qwik/pull/7037))

- 🐞🩹 `vite` is now a peer dependency of `qwik`, `qwik-city`, `qwik-react` and `qwik-labs`, so that there can be no duplicate imports. This should not have consequences, since all apps also directly depend on `vite`. (by [@wmertens](https://github.com/wmertens) in [#6945](https://github.com/QwikDev/qwik/pull/6945))

- ✨ sync$ QRLs will now be serialized into the HTML in a shorter form (by [@wmertens](https://github.com/wmertens) in [#6944](https://github.com/QwikDev/qwik/pull/6944))

- 🐞🩹 cli build command appearing to "hang" on errors (by [@shairez](https://github.com/shairez) in [#6943](https://github.com/QwikDev/qwik/pull/6943))

- ✨ Allow setting `linkFetchPriority` for modulepreload links in the prefetch strategy. Also fix the links in dev mode (by [@GrandSchtroumpf](https://github.com/GrandSchtroumpf) in [#6947](https://github.com/QwikDev/qwik/pull/6947))

## 1.9.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/qwik/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@builder.io/qwik",
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
"version": "1.9.1",
"version": "1.10.0",
"annotation": "This package.json is for internal use in the monorepo, the build actually makes a new package.json for the published package via scripts/package-json.ts",
"bin": {
"qwik": "./qwik-cli.cjs"
Expand Down