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

V2 Version Packages (alpha) #7018

Merged
merged 1 commit into from
Nov 15, 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
14 changes: 13 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,17 @@
"qwik-cli-e2e": "0.0.0"
},
"branch": "build/v2",
"changesets": []
"changesets": [
"fast-baboons-itch",
"five-kangaroos-matter",
"fresh-rocks-exercise",
"hip-hornets-cheer",
"nine-otters-repeat",
"rich-wasps-tease",
"rotten-weeks-tickle",
"sour-zebras-tell",
"sweet-socks-whisper",
"tricky-meals-heal",
"wild-cooks-pay"
]
}
2 changes: 2 additions & 0 deletions packages/create-qwik/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# create-qwik

## 2.0.0-alpha.0

## 1.10.0

### Patch Changes
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": "2.0.0-0",
"version": "2.0.0-alpha.0",
"author": "Qwik Team",
"bin": "./create-qwik.cjs",
"bugs": "https://github.com/QwikDev/qwik/issues",
Expand Down
2 changes: 2 additions & 0 deletions packages/eslint-plugin-qwik/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# eslint-plugin-qwik

## 2.0.0-alpha.0

## 1.10.0

### Patch Changes
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": "2.0.0-0",
"version": "2.0.0-alpha.0",
"author": "Qwik Team",
"bugs": "https://github.com/QwikDev/qwik/issues",
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/qwik-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# @qwik.dev/react

## 2.0.0-alpha.0

### Patch Changes

- Updated dependencies [[`d00396e`](https://github.com/QwikDev/qwik/commit/d00396eed65e971809c16af3ad89118cf1d0235f), [`00c599d`](https://github.com/QwikDev/qwik/commit/00c599d7689a1d67601d3e7e61a81a689cf7ece0), [`1cecfde`](https://github.com/QwikDev/qwik/commit/1cecfdea15a032dd0258cd8c7e488ebe8b2a51c2), [`1cecfde`](https://github.com/QwikDev/qwik/commit/1cecfdea15a032dd0258cd8c7e488ebe8b2a51c2), [`70c732f`](https://github.com/QwikDev/qwik/commit/70c732fdc6befed71809e1885bc187623996b3b1), [`d609244`](https://github.com/QwikDev/qwik/commit/d609244c454457e919e359dc745bdd7b52fb4c60), [`bb11c5f`](https://github.com/QwikDev/qwik/commit/bb11c5f104c3f2c944e58072f433504d7e9cbc92), [`1cecfde`](https://github.com/QwikDev/qwik/commit/1cecfdea15a032dd0258cd8c7e488ebe8b2a51c2), [`1cecfde`](https://github.com/QwikDev/qwik/commit/1cecfdea15a032dd0258cd8c7e488ebe8b2a51c2), [`681fcdc`](https://github.com/QwikDev/qwik/commit/681fcdca43b2f51f753f4d247eed6dc729cb8c6c)]:
- @qwik.dev/[email protected]
2 changes: 1 addition & 1 deletion packages/qwik-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@qwik.dev/react",
"description": "QwikReact allows adding React components into existing Qwik application",
"version": "2.0.0-0",
"version": "2.0.0-alpha.0",
"bugs": "https://github.com/QwikDev/qwik/issues",
"devDependencies": {
"@qwik.dev/core": "workspace:*",
Expand Down
6 changes: 6 additions & 0 deletions packages/qwik-router/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @qwik.dev/city

## 2.0.0-alpha.0

### Major Changes

- Renamed "Qwik City" to "Qwik Router" and package to "@qwik.dev/router" (by [@shairez](https://github.com/shairez) in [#7008](https://github.com/QwikDev/qwik/pull/7008))

## 1.9.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/qwik-router/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@qwik.dev/router",
"description": "The router for Qwik.",
"version": "2.0.0-0",
"version": "2.0.0-alpha.0",
"bugs": "https://github.com/QwikDev/qwik/issues",
"dependencies": {
"@mdx-js/mdx": "^3",
Expand Down
58 changes: 58 additions & 0 deletions packages/qwik/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
# @qwik.dev/core

## 2.0.0-alpha.0

### Major Changes

- BREAKING: remove HTML-related types. Use PropsOf instead. (by [@wmertens](https://github.com/wmertens) in [#7045](https://github.com/QwikDev/qwik/pull/7045))

- 💥**BREAKING**: `useComputed` no longer allows Promise returns. (meaning it is strictly sync) Instead, use `useSignal` and `useTask` together to perform async signal updates (by [@wmertens](https://github.com/wmertens) in [#6907](https://github.com/QwikDev/qwik/pull/6907))

- `qwik-labs` package has been removed in favor of experimental features. (by [@shairez](https://github.com/shairez) in [#7025](https://github.com/QwikDev/qwik/pull/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 in `vite.config.ts`:

```ts
qwikVite({
experimental: ['insights']
}),
```

**2)** Import and use the `qwikInsights` vite plugin from `@qwik.dev/core/insights/vite`:

```ts
import { qwikInsights } from '@qwik.dev/core/insights/vite';
```

**3)** import the `<Insights>` component from `@qwik.dev/core/insights` and use it in your `root.tsx` file: :

```tsx title="root.tsx"
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](https://github.com/wmertens) in [#7045](https://github.com/QwikDev/qwik/pull/7045))

### Minor Changes

- ✨ new integration tests that are running with the optimizer (by [@Varixo](https://github.com/Varixo) in [#7055](https://github.com/QwikDev/qwik/pull/7055))

- ✨ new simpler signals implementation with lazy useComputed$ execution, only when is needed (by [@Varixo](https://github.com/Varixo) in [#7055](https://github.com/QwikDev/qwik/pull/7055))

- ✨ added the scheduler to sort chores execution and have more predictable behavior (by [@Varixo](https://github.com/Varixo) in [#7055](https://github.com/QwikDev/qwik/pull/7055))

- ✨ new faster serialization system (by [@Varixo](https://github.com/Varixo) in [#7055](https://github.com/QwikDev/qwik/pull/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](https://github.com/Varixo) in [#7055](https://github.com/QwikDev/qwik/pull/7055))

### Patch Changes

- 🐞🩹 do not trigger effects if computed value is not changed (by [@Varixo](https://github.com/Varixo) in [#6996](https://github.com/QwikDev/qwik/pull/6996))

## 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": "@qwik.dev/core",
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
"version": "2.0.0-0",
"version": "2.0.0-alpha.0",
"author": "Qwik Team",
"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": {
Expand Down