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

Open
wants to merge 1 commit into
base: build/v2
Choose a base branch
from
Open
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
7 changes: 6 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@
"qwik-cli-e2e": "0.0.0"
},
"branch": "build/v2",
"changesets": []
"changesets": [
"five-kangaroos-matter",
"nine-otters-repeat",
"rotten-weeks-tickle",
"tricky-meals-heal"
]
}
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.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": "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.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": "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 [[`00c599d`](https://github.com/QwikDev/qwik/commit/00c599d7689a1d67601d3e7e61a81a689cf7ece0), [`70c732f`](https://github.com/QwikDev/qwik/commit/70c732fdc6befed71809e1885bc187623996b3b1), [`bb11c5f`](https://github.com/QwikDev/qwik/commit/bb11c5f104c3f2c944e58072f433504d7e9cbc92)]:
- @qwik.dev/core@2.0.0-alpha.0
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
42 changes: 42 additions & 0 deletions packages/qwik/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# @qwik.dev/core

## 2.0.0-alpha.0

### Major Changes

- 💥**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 */
);
```

### 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",
"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