Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit 072ab11

Browse files
committed
v3.0.0-rc.10
1 parent 6c462b3 commit 072ab11

File tree

10 files changed

+150
-35
lines changed

10 files changed

+150
-35
lines changed

CHANGELOG.md

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
# Changelog
2+
3+
4+
## [main](https://github.com/nuxt/framework/compare/v3.0.0-rc.9...main)
5+
6+
7+
### 🚀 Enhancements
8+
9+
- **nuxt, vite:** Inline global and component styles in server response ([#7160](https://github.com/nuxt/framework/pull/7160))
10+
- **nuxt:** Custom `history` and `routes` for `app/router.options.ts` ([#7129](https://github.com/nuxt/framework/pull/7129))
11+
- **nuxt:** Router with hash mode ([#6980](https://github.com/nuxt/framework/pull/6980))
12+
- **nuxt:** Allow extending routes with custom alias ([#7074](https://github.com/nuxt/framework/pull/7074))
13+
- **test-utils:** Add `mockFn` and `mockLogger` utils ([#6235](https://github.com/nuxt/framework/pull/6235))
14+
- **nuxt:** Support experimental flag to render no client-side js ([#7248](https://github.com/nuxt/framework/pull/7248))
15+
- **kit:** Add `addImportsSources` utility ([#7270](https://github.com/nuxt/framework/pull/7270))
16+
- **nuxt:** Add `immediate` option for `useAsyncData` and `useFetch` ([#5500](https://github.com/nuxt/framework/pull/5500))
17+
- **nuxt:** Add `clearNuxtData` ([#5227](https://github.com/nuxt/framework/pull/5227))
18+
- Allow client-side sourcemaps in production ([#7313](https://github.com/nuxt/framework/pull/7313))
19+
- **nuxt:** Filter support for `clearNuxtData` ([#7323](https://github.com/nuxt/framework/pull/7323))
20+
- **cli:** Switch to `unjs/giget` for `nuxi init` ([#7361](https://github.com/nuxt/framework/pull/7361))
21+
22+
### 🔥 Performance
23+
24+
- **nuxt:** Cache `createClientOnly` wrapper using weakmap ([#7297](https://github.com/nuxt/framework/pull/7297))
25+
- **vite:** Remove duplicate css links from rendered page when inlined ([#7264](https://github.com/nuxt/framework/pull/7264))
26+
27+
### 🩹 Fixes
28+
29+
- **nuxt:** Update default redirect code of `navigateTo` to `302 Found` ([#7189](https://github.com/nuxt/framework/pull/7189))
30+
- **head:** Case `http-equiv` correctly ([#7190](https://github.com/nuxt/framework/pull/7190))
31+
- **kit, nuxi:** Semver regexp to support `nuxt-edge` current releases (bridge) ([#7193](https://github.com/nuxt/framework/pull/7193))
32+
- **vite:** Use baseURL + assetsDir as base in dev mode ([#7234](https://github.com/nuxt/framework/pull/7234))
33+
- **vite:** Pass ssr condition to `getModuleByUrl` ([#7260](https://github.com/nuxt/framework/pull/7260))
34+
- **nuxt:** Import and wrap client-only components once ([#7245](https://github.com/nuxt/framework/pull/7245))
35+
- **cli:** Pass value of `https` through to vite-node ([#7271](https://github.com/nuxt/framework/pull/7271))
36+
- **nuxt:** Don't override payload error if it is present ([#7290](https://github.com/nuxt/framework/pull/7290))
37+
- **nuxt:** Don't try to set cookie after redirect ([#7288](https://github.com/nuxt/framework/pull/7288))
38+
- **webpack:** Promisify webpack dev/hot handlers using `h3.promisifyHandler` ([#7275](https://github.com/nuxt/framework/pull/7275))
39+
- **schema:** Disallow setting vite server properties ([#7317](https://github.com/nuxt/framework/pull/7317))
40+
- **schema:** Mark vite server as optional ([#7327](https://github.com/nuxt/framework/pull/7327))
41+
- **nuxt:** Allow `abortMiddleware` to receive a nuxt error or error options ([#7335](https://github.com/nuxt/framework/pull/7335))
42+
- **webpack:** Don't parse styles for composable keys ([#7333](https://github.com/nuxt/framework/pull/7333))
43+
- **vite:** Allow overriding vite sourcemap ([#7342](https://github.com/nuxt/framework/pull/7342))
44+
- **schema:** Resolve `ssr` ([#7359](https://github.com/nuxt/framework/pull/7359))
45+
- **kit:** Add default config layer without `nuxt.config` file ([#7358](https://github.com/nuxt/framework/pull/7358))
46+
- **vite:** Update render if it is invalidated ([#7347](https://github.com/nuxt/framework/pull/7347))
47+
48+
### 💅 Refactors
49+
50+
- **vite:** Reuse resolved server entry from context ([#7268](https://github.com/nuxt/framework/pull/7268))
51+
52+
### 📖 Documentation
53+
54+
- Add note about `useFetch` auto generated key ([#7044](https://github.com/nuxt/framework/pull/7044))
55+
- **api:** Enhance `useHead` composable ([#7072](https://github.com/nuxt/framework/pull/7072))
56+
- Add note about fetching data on initial load ([#7120](https://github.com/nuxt/framework/pull/7120))
57+
- Document `external` option of `navigateTo` ([#7188](https://github.com/nuxt/framework/pull/7188))
58+
- **guide:** Add `.client` and `.server` components ([#7084](https://github.com/nuxt/framework/pull/7084))
59+
- Fix markdown file name ([#7231](https://github.com/nuxt/framework/pull/7231))
60+
- **api:** Navigate to first item in list ([#7232](https://github.com/nuxt/framework/pull/7232))
61+
- Extend description of server handlers ([#7187](https://github.com/nuxt/framework/pull/7187))
62+
- **api:** Add example for fetch interceptors ([#7180](https://github.com/nuxt/framework/pull/7180))
63+
- **deploy:** Add node cluster mode ([#7089](https://github.com/nuxt/framework/pull/7089))
64+
- **api:** Fix `useAsyncData` signature ([#7242](https://github.com/nuxt/framework/pull/7242))
65+
- Add `app-config` example ([#7247](https://github.com/nuxt/framework/pull/7247))
66+
- Fix typo ([#7262](https://github.com/nuxt/framework/pull/7262))
67+
- Fix typo in url ([#7272](https://github.com/nuxt/framework/pull/7272))
68+
- Rename `AppConfig` to `AppConfigInput` ([#7293](https://github.com/nuxt/framework/pull/7293))
69+
- **api:** Fix typo in use-fetch ([#7310](https://github.com/nuxt/framework/pull/7310))
70+
- **api:** Add `nuxi prepare` command ([#7349](https://github.com/nuxt/framework/pull/7349))
71+
- **head:** Enhance usehead and fix broken links ([#7364](https://github.com/nuxt/framework/pull/7364))
72+
73+
### 🏡 Chore
74+
75+
- Lint ([#7213](https://github.com/nuxt/framework/pull/7213))
76+
- Fix docs lint issue ([94a992ec9](https://github.com/nuxt/framework/commit/94a992ec9))
77+
- Use latest nuxt and `@nuxt/ui` for examples ([a329b28dd](https://github.com/nuxt/framework/commit/a329b28dd))
78+
- Maintain lockfile ([33d915871](https://github.com/nuxt/framework/commit/33d915871))
79+
- **docs:** Fix link to vue router api ([#7289](https://github.com/nuxt/framework/pull/7289))
80+
- Update CodeSandbox links ([#7318](https://github.com/nuxt/framework/pull/7318))
81+
82+
### 📦 Build
83+
84+
- **cli:** Add `node` to export conditions ([0cc49e2a2](https://github.com/nuxt/framework/commit/0cc49e2a2))
85+
86+
### ✅ Tests
87+
88+
- Use semantic `runIf` and `skipIf` helpers ([#7312](https://github.com/nuxt/framework/pull/7312))
89+
- Fix dynamic dev paths ([#7314](https://github.com/nuxt/framework/pull/7314))
90+
91+
### ❤️ Contributors
92+
93+
- Adewale Abati
94+
- Alex Kozack
95+
- Alexander Lichter
96+
- AndreyYolkin
97+
- Anthony Fu
98+
- Damian Głowala
99+
- Daniel Roe
100+
- Harlan Wilton
101+
- HomWang
102+
- Julien Huang
103+
- Krutie Patel
104+
- Kévin Schnekenburger
105+
- Leon Si
106+
- Mastercuber
107+
- Pooya Parsa
108+
- Ricardo Gobbo De Souza
109+
- Sébastien Chopin
110+
- Tobias Diez
111+
- Tobias SN
112+
- Vasily Stepanov
113+
- Victorkwok97
114+
- Vl4dimyr
115+

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "3.0.0-rc.9",
2+
"version": "3.0.0-rc.10",
33
"npmClient": "yarn",
44
"useWorkspaces": true,
55
"conventionalCommits": true,

packages/kit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/kit",
3-
"version": "3.0.0-rc.9",
3+
"version": "3.0.0-rc.10",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -13,7 +13,7 @@
1313
"prepack": "unbuild"
1414
},
1515
"dependencies": {
16-
"@nuxt/schema": "3.0.0-rc.9",
16+
"@nuxt/schema": "3.0.0-rc.10",
1717
"c12": "^0.2.11",
1818
"consola": "^2.15.3",
1919
"defu": "^6.1.0",

packages/nuxi/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxi",
3-
"version": "3.0.0-rc.9",
3+
"version": "3.0.0-rc.10",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -18,8 +18,8 @@
1818
"prepack": "unbuild"
1919
},
2020
"devDependencies": {
21-
"@nuxt/kit": "3.0.0-rc.9",
22-
"@nuxt/schema": "3.0.0-rc.9",
21+
"@nuxt/kit": "3.0.0-rc.10",
22+
"@nuxt/schema": "3.0.0-rc.10",
2323
"@types/clear": "^0",
2424
"@types/flat": "^5.0.2",
2525
"@types/mri": "^1.1.1",

packages/nuxt/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxt",
3-
"version": "3.0.0-rc.9",
3+
"version": "3.0.0-rc.10",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -31,11 +31,11 @@
3131
},
3232
"dependencies": {
3333
"@nuxt/devalue": "^2.0.0",
34-
"@nuxt/kit": "3.0.0-rc.9",
35-
"@nuxt/schema": "3.0.0-rc.9",
34+
"@nuxt/kit": "3.0.0-rc.10",
35+
"@nuxt/schema": "3.0.0-rc.10",
3636
"@nuxt/telemetry": "^2.1.5",
3737
"@nuxt/ui-templates": "^0.3.3",
38-
"@nuxt/vite-builder": "3.0.0-rc.9",
38+
"@nuxt/vite-builder": "3.0.0-rc.10",
3939
"@vue/reactivity": "^3.2.39",
4040
"@vue/shared": "^3.2.39",
4141
"@vueuse/head": "^0.7.9",
@@ -53,7 +53,7 @@
5353
"magic-string": "^0.26.3",
5454
"mlly": "^0.5.14",
5555
"nitropack": "^0.5.1",
56-
"nuxi": "3.0.0-rc.9",
56+
"nuxi": "3.0.0-rc.10",
5757
"ohash": "^0.1.5",
5858
"ohmyfetch": "^0.4.18",
5959
"pathe": "^0.3.7",

packages/schema/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/schema",
3-
"version": "3.0.0-rc.9",
3+
"version": "3.0.0-rc.10",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",

packages/test-utils/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/test-utils",
3-
"version": "3.0.0-rc.9",
3+
"version": "3.0.0-rc.10",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -13,8 +13,8 @@
1313
"prepack": "unbuild"
1414
},
1515
"dependencies": {
16-
"@nuxt/kit": "3.0.0-rc.9",
17-
"@nuxt/schema": "3.0.0-rc.9",
16+
"@nuxt/kit": "3.0.0-rc.10",
17+
"@nuxt/schema": "3.0.0-rc.10",
1818
"consola": "^2.15.3",
1919
"defu": "^6.1.0",
2020
"execa": "^6.1.0",

packages/vite/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/vite-builder",
3-
"version": "3.0.0-rc.9",
3+
"version": "3.0.0-rc.10",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -13,13 +13,13 @@
1313
"prepack": "unbuild"
1414
},
1515
"devDependencies": {
16-
"@nuxt/schema": "3.0.0-rc.9",
16+
"@nuxt/schema": "3.0.0-rc.10",
1717
"@types/cssnano": "^5",
1818
"unbuild": "latest",
1919
"vue": "3.2.39"
2020
},
2121
"dependencies": {
22-
"@nuxt/kit": "3.0.0-rc.9",
22+
"@nuxt/kit": "3.0.0-rc.10",
2323
"@rollup/plugin-replace": "^4.0.0",
2424
"@vitejs/plugin-vue": "^3.1.0",
2525
"@vitejs/plugin-vue-jsx": "^2.0.1",

packages/webpack/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/webpack-builder",
3-
"version": "3.0.0-rc.9",
3+
"version": "3.0.0-rc.10",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -18,7 +18,7 @@
1818
"dependencies": {
1919
"@babel/core": "^7.19.0",
2020
"@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
21-
"@nuxt/kit": "3.0.0-rc.9",
21+
"@nuxt/kit": "3.0.0-rc.10",
2222
"autoprefixer": "^10.4.8",
2323
"css-loader": "^6.7.1",
2424
"css-minimizer-webpack-plugin": "^4.0.0",
@@ -57,7 +57,7 @@
5757
"webpackbar": "^5.0.2"
5858
},
5959
"devDependencies": {
60-
"@nuxt/schema": "3.0.0-rc.9",
60+
"@nuxt/schema": "3.0.0-rc.10",
6161
"@types/lodash-es": "^4.17.6",
6262
"@types/pify": "^5.0.1",
6363
"@types/webpack-bundle-analyzer": "^4.4.2",

yarn.lock

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ __metadata:
17781778
version: 0.0.0-use.local
17791779
resolution: "@nuxt/kit@workspace:packages/kit"
17801780
dependencies:
1781-
"@nuxt/schema": 3.0.0-rc.9
1781+
"@nuxt/schema": 3.0.0-rc.10
17821782
"@types/lodash.template": ^4
17831783
"@types/semver": ^7
17841784
c12: ^0.2.11
@@ -1864,8 +1864,8 @@ __metadata:
18641864
version: 0.0.0-use.local
18651865
resolution: "@nuxt/test-utils@workspace:packages/test-utils"
18661866
dependencies:
1867-
"@nuxt/kit": 3.0.0-rc.9
1868-
"@nuxt/schema": 3.0.0-rc.9
1867+
"@nuxt/kit": 3.0.0-rc.10
1868+
"@nuxt/schema": 3.0.0-rc.10
18691869
consola: ^2.15.3
18701870
defu: ^6.1.0
18711871
execa: ^6.1.0
@@ -1910,12 +1910,12 @@ __metadata:
19101910
languageName: node
19111911
linkType: hard
19121912

1913-
"@nuxt/[email protected].9, @nuxt/vite-builder@workspace:packages/vite":
1913+
"@nuxt/[email protected].10, @nuxt/vite-builder@workspace:packages/vite":
19141914
version: 0.0.0-use.local
19151915
resolution: "@nuxt/vite-builder@workspace:packages/vite"
19161916
dependencies:
1917-
"@nuxt/kit": 3.0.0-rc.9
1918-
"@nuxt/schema": 3.0.0-rc.9
1917+
"@nuxt/kit": 3.0.0-rc.10
1918+
"@nuxt/schema": 3.0.0-rc.10
19191919
"@rollup/plugin-replace": ^4.0.0
19201920
"@types/cssnano": ^5
19211921
"@vitejs/plugin-vue": ^3.1.0
@@ -1962,8 +1962,8 @@ __metadata:
19621962
dependencies:
19631963
"@babel/core": ^7.19.0
19641964
"@nuxt/friendly-errors-webpack-plugin": ^2.5.2
1965-
"@nuxt/kit": 3.0.0-rc.9
1966-
"@nuxt/schema": 3.0.0-rc.9
1965+
"@nuxt/kit": 3.0.0-rc.10
1966+
"@nuxt/schema": 3.0.0-rc.10
19671967
"@types/lodash-es": ^4.17.6
19681968
"@types/pify": ^5.0.1
19691969
"@types/webpack-bundle-analyzer": ^4.4.2
@@ -10134,8 +10134,8 @@ __metadata:
1013410134
version: 0.0.0-use.local
1013510135
resolution: "nuxi@workspace:packages/nuxi"
1013610136
dependencies:
10137-
"@nuxt/kit": 3.0.0-rc.9
10138-
"@nuxt/schema": 3.0.0-rc.9
10137+
"@nuxt/kit": 3.0.0-rc.10
10138+
"@nuxt/schema": 3.0.0-rc.10
1013910139
"@types/clear": ^0
1014010140
"@types/flat": ^5.0.2
1014110141
"@types/mri": ^1.1.1
@@ -10215,11 +10215,11 @@ __metadata:
1021510215
resolution: "nuxt@workspace:packages/nuxt"
1021610216
dependencies:
1021710217
"@nuxt/devalue": ^2.0.0
10218-
"@nuxt/kit": 3.0.0-rc.9
10219-
"@nuxt/schema": 3.0.0-rc.9
10218+
"@nuxt/kit": 3.0.0-rc.10
10219+
"@nuxt/schema": 3.0.0-rc.10
1022010220
"@nuxt/telemetry": ^2.1.5
1022110221
"@nuxt/ui-templates": ^0.3.3
10222-
"@nuxt/vite-builder": 3.0.0-rc.9
10222+
"@nuxt/vite-builder": 3.0.0-rc.10
1022310223
"@types/fs-extra": ^9.0.13
1022410224
"@types/hash-sum": ^1.0.0
1022510225
"@vue/reactivity": ^3.2.39
@@ -10239,7 +10239,7 @@ __metadata:
1023910239
magic-string: ^0.26.3
1024010240
mlly: ^0.5.14
1024110241
nitropack: ^0.5.1
10242-
nuxi: 3.0.0-rc.9
10242+
nuxi: 3.0.0-rc.10
1024310243
ohash: ^0.1.5
1024410244
ohmyfetch: ^0.4.18
1024510245
pathe: ^0.3.7

0 commit comments

Comments
 (0)