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

Commit d991a55

Browse files
pi0atinux
andauthored
v3.0.0 (#9051)
Co-authored-by: Sébastien Chopin <[email protected]>
1 parent 32044dc commit d991a55

File tree

13 files changed

+118
-36
lines changed

13 files changed

+118
-36
lines changed

docs/content/1.docs/5.community/5.roadmap.md

+3-10
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,15 @@ This page lists the current status and schedule of our planned releases.
2020
- [Rendering Optimizations: Today and Tomorrow](https://github.com/nuxt/framework/discussions/5856)
2121
- [Nuxt Image: Performance and Status](https://github.com/nuxt/image/discussions/563)
2222

23-
## 📅 Release Schedule
24-
25-
Release | Expected date | Description
26-
--------------------|------------------------|---------------------------------------------------
27-
`[email protected]` | Autumn, 2022 | Nuxt v2 cumulative updates for future compatibility with Bridge
28-
`[email protected]` | 16th November, 2022 | Nuxt v3 final release
29-
3023
### Current Releases
3124

32-
[Nuxt 3](https://v3.nuxtjs.org) is **in release candidate stage** and available as the `nuxt@rc` npm tag.
25+
[Nuxt 3](https://v3.nuxtjs.org) is *stable** and available as the `nuxt` npm tag with `latest` tag.
3326

34-
The latest updates on Nuxt 2.x are available via the `nuxt-edge` npm package and are expected to be released soon for forward compatibility.
27+
The latest updates on Nuxt 2.x are available via the `nuxt-edge` npm package and are expected to be released soon for forward compatibility. A minor version is expected during Autumn, 2022 as `[email protected]` with cumulative updates for future compatibility with Bridge.
3528

3629
Release | npm | Status | Last Release | Docs | Repository
3730
---------|----|---------|--------------|------|-----------------
38-
Nuxt 3.x | [`nuxt`](https://npmjs.com/package/nuxt) | Release Candidate | <a href="https://npmjs.com/package/nuxt"><img src="https://flat.badgen.net/npm/v/nuxt/rc"></a> | [3.x docs](https://v3.nuxtjs.org/) | [nuxt/framework](https://github.com/nuxt/framework)
31+
Nuxt 3.x | [`nuxt`](https://npmjs.com/package/nuxt) | Stable | <a href="https://npmjs.com/package/nuxt"><img src="https://flat.badgen.net/npm/v/nuxt/rc"></a> | [3.x docs](https://v3.nuxtjs.org/) | [nuxt/framework](https://github.com/nuxt/framework)
3932
Nuxt 3.x (edge*) | [`nuxt3`](https://npmjs.com/package/nuxt3) | Development | <a href="https://npmjs.com/package/nuxt3"><img src="https://flat.badgen.net/npm/v/nuxt3"></a> | [3.x docs](https://v3.nuxtjs.org/) | [nuxt/framework](https://github.com/nuxt/framework)
4033
Nuxt 2.x | [`nuxt`](https://npmjs.com/package/nuxt) | Maintenance | <a href="https://npmjs.com/package/nuxt"><img src="https://flat.badgen.net/npm/v/nuxt"></a> | [2.x docs](https://nuxtjs.org/docs) | [nuxt/nuxt.js#2.x](https://github.com/nuxt/nuxt.js/tree/2.x)
4134
Nuxt 2.x (edge*) | [`nuxt-edge`](https://npmjs.com/package/nuxt) | Maintenance | <a href="https://npmjs.com/package/nuxt-edge"><img src="https://flat.badgen.net/npm/v/nuxt-edge"></a> | [2.x docs](https://nuxtjs.org/docs) | [nuxt/nuxt.js](https://github.com/nuxt/nuxt.js)

docs/content/v3.md

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: Announcing 3.0
3+
description: 'We are thrilled to announce the first stable version of Nuxt 3.0.0'
4+
navigation: false
5+
---
6+
7+
::blog-article
8+
---
9+
authors:
10+
- name: Pooya Parsa
11+
avatarUrl: https://github.com/pi0.png
12+
link: https://twitter.com/_pi0_
13+
date: "Nov 16, 2022"
14+
---
15+
#title
16+
# Announcing Nuxt 3.0 stable
17+
#description
18+
We are thrilled to announce the first stable version of Nuxt 3.0.0 :sparkles:
19+
#body
20+
21+
Nuxt 3 is a modern rewrite of the Nuxt framework based on [Vite](https://vitejs.dev/), [Vue3](https://vuejs.org/), and [Nitro](https://nitro.unjs.io/) with first-class Typescript support and the result of more than two years of research, community feedback, innovation, and experiment to make a pleasant full-stack Developer Experience for Vue development to everyone.
22+
23+
[[Read More In the Documentation]](/docs)
24+
25+
## API Stability
26+
27+
Nuxt 3.0.0 comes with a stable, production-ready API and 50+ [supported modules](.com/modules) built using [Nuxt Kit](/docs/guide/going-further/modules) by the community and Nuxt team.
28+
29+
All composables, filesystem conventions, and configurations are guaranteed to be backward compatible with Nuxt 3.0.0. Due to the nature of the meta-frameworks, some changes happen when we upgrade the underlying dependencies (vite, rollup, and nitropack). Thanks to the new Nuxt Kit and Schema tools, such upgrades will be backward compatible as long as you are using documented features. Kit and Schema also guarantee better future compatibility. This makes it faster for us to iterate and plan the next major versions of Nuxt.
30+
31+
## The browser and Node.js support
32+
33+
Nuxt 3 officially supports evergreen browsers only. The "core browser set" is what we (And [web.dev](http://web.dev) team) believe most developers need to support most of the time in the absence of specific constraints. It takes into account [usage numbers](https://caniuse.com/usage-table), developer expectations, and [existing support in](https://make.wordpress.org/core/handbook/best-practices/browser-support/) [the ecosystem](https://angular.io/guide/browser-support). The core browser set targets the **2 most recent major versions** of Chrome, Firefox, and Edge on a monthly basis and Safari on a yearly basis.
34+
35+
On the server side, Nuxt 3 supports Node.js 14, 16, 18, and 19 at the moment. We encourage everyone to use the latest LTS releases of Node.js, we push them once **widely adopted by major deployment platforms**. This means we keep supporting Node.js versions as long as they are supported by the Node.js team on a rolling basis in non-major releases of Nuxt. Since 14.x is being end-of-life soon, we highly encourage you to update to the latest 18.x whenever possible.
36+
37+
## We Love Community
38+
39+
Nuxt wouldn’t be possible today without an amazing community making amazing modules, feedback, and contributions every day. Check our [Community Documentation](https://nuxt.com/docs/community/getting-help) to be involved!
40+
41+
## To the Future
42+
43+
Releasing Nuxt 3 is a big milestone for us and opens a future-proof basis for new ideas and trust for the users to build their enterprise projects with Nuxt 3.
44+
45+
Server Component Islands, Websocket layer, new Deployment presets, improved CLI and Devtools and Testing infra are a few to mention. Keep an eye on the [roadmap page](https://nuxt.com/docs/community/roadmap) and [GitHub discussions](https://github.com/nuxt/framework/discussions) for updates.
46+
47+
NuxtLabs is working on [new product](https://nuxt.studio) and solutions on top of Nuxt 3 at the time of writing this article.
48+
49+
Stay tuned for more exciting news and Happy Nuxting 💚
50+
::

docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"devDependencies": {
1111
"jiti": "^1.16.0",
1212
"nuxt": "npm:nuxt3@latest",
13-
"nuxt-website-theme": "^0.1.2",
13+
"nuxt-website-theme": "^0.1.3",
1414
"pathe": "^1.0.0",
1515
"scule": "^1.0.0",
1616
"untyped": "^1.0.0"

docs/yarn.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -4166,7 +4166,7 @@ __metadata:
41664166
dependencies:
41674167
jiti: ^1.16.0
41684168
nuxt: "npm:nuxt3@latest"
4169-
nuxt-website-theme: ^0.1.2
4169+
nuxt-website-theme: ^0.1.3
41704170
pathe: ^1.0.0
41714171
scule: ^1.0.0
41724172
untyped: ^1.0.0
@@ -8960,9 +8960,9 @@ __metadata:
89608960
languageName: node
89618961
linkType: hard
89628962

8963-
"nuxt-website-theme@npm:^0.1.2":
8964-
version: 0.1.2
8965-
resolution: "nuxt-website-theme@npm:0.1.2"
8963+
"nuxt-website-theme@npm:^0.1.3":
8964+
version: 0.1.3
8965+
resolution: "nuxt-website-theme@npm:0.1.3"
89668966
dependencies:
89678967
"@docsearch/css": ^3.3.0
89688968
"@docsearch/js": ^3.3.0
@@ -8985,7 +8985,7 @@ __metadata:
89858985
tailwindcss-border-gradient-radius: ^3.0.1
89868986
three: ^0.146.0
89878987
vue-lite-youtube-embed: ^1.0.4
8988-
checksum: 02843250a4fd929b79b104ffe34bf7378fc76e8e8e716a5f0bd9f7f8d838cdf7b3bdf2ea997ba3efd9f9a4e2347d57aa655a07d95836ddff3fbe3d74fadaf0a0
8988+
checksum: bae2eacf4b6488625a881527015b052c14d1d40982a72283443b05afef2b33c281f4ba4bebb868f6dcc48ff2c4e329564aabe26b4a343c6850c404cabd954ed6
89898989
languageName: node
89908990
linkType: hard
89918991

packages/kit/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/kit",
3-
"version": "3.0.0-rc.14",
3+
"version": "3.0.0",
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.14",
16+
"@nuxt/schema": "3.0.0",
1717
"c12": "^1.0.1",
1818
"consola": "^2.15.3",
1919
"defu": "^6.1.1",

packages/nuxi/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxi",
3-
"version": "3.0.0-rc.14",
3+
"version": "3.0.0",
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.14",
22-
"@nuxt/schema": "3.0.0-rc.14",
21+
"@nuxt/kit": "3.0.0",
22+
"@nuxt/schema": "3.0.0",
2323
"@types/clear": "^0",
2424
"@types/flat": "^5.0.2",
2525
"@types/mri": "^1.1.1",

packages/nuxt/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxt",
3-
"version": "3.0.0-rc.14",
3+
"version": "3.0.0",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -37,11 +37,11 @@
3737
},
3838
"dependencies": {
3939
"@nuxt/devalue": "^2.0.0",
40-
"@nuxt/kit": "3.0.0-rc.14",
41-
"@nuxt/schema": "3.0.0-rc.14",
40+
"@nuxt/kit": "3.0.0",
41+
"@nuxt/schema": "3.0.0",
4242
"@nuxt/telemetry": "^2.1.8",
4343
"@nuxt/ui-templates": "^1.0.0",
44-
"@nuxt/vite-builder": "3.0.0-rc.14",
44+
"@nuxt/vite-builder": "3.0.0",
4545
"@vue/reactivity": "^3.2.45",
4646
"@vue/shared": "^3.2.45",
4747
"@vueuse/head": "^1.0.15",
@@ -62,7 +62,7 @@
6262
"magic-string": "^0.26.7",
6363
"mlly": "^1.0.0",
6464
"nitropack": "^1.0.0",
65-
"nuxi": "3.0.0-rc.14",
65+
"nuxi": "3.0.0",
6666
"ohash": "^1.0.0",
6767
"ofetch": "^1.0.0",
6868
"pathe": "^1.0.0",

packages/schema/package.json

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

packages/test-utils/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/test-utils",
3-
"version": "3.0.0-rc.14",
3+
"version": "3.0.0",
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.14",
17-
"@nuxt/schema": "3.0.0-rc.14",
16+
"@nuxt/kit": "3.0.0",
17+
"@nuxt/schema": "3.0.0",
1818
"consola": "^2.15.3",
1919
"defu": "^6.1.1",
2020
"execa": "^6.1.0",

packages/vite/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/vite-builder",
3-
"version": "3.0.0-rc.14",
3+
"version": "3.0.0",
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.14",
16+
"@nuxt/schema": "3.0.0",
1717
"@types/cssnano": "^5",
1818
"unbuild": "latest",
1919
"vue": "3.2.45"
2020
},
2121
"dependencies": {
22-
"@nuxt/kit": "3.0.0-rc.14",
22+
"@nuxt/kit": "3.0.0",
2323
"@rollup/plugin-replace": "^5.0.1",
2424
"@vitejs/plugin-vue": "^3.2.0",
2525
"@vitejs/plugin-vue-jsx": "^2.1.1",

packages/webpack/package.json

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

scripts/bump.ts

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { loadWorkspace } from './_utils'
2+
3+
async function main () {
4+
const workspace = await loadWorkspace(process.cwd())
5+
6+
const newVersion = process.argv[2]
7+
if (!newVersion) {
8+
throw new Error('Please provide version!')
9+
}
10+
11+
for (const pkg of workspace.packages.filter(p => !p.data.private)) {
12+
workspace.setVersion(pkg.data.name, newVersion!)
13+
}
14+
15+
await workspace.save()
16+
}
17+
18+
main().catch((err) => {
19+
console.error(err)
20+
process.exit(1)
21+
})

scripts/release.sh

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
# Restore all git changes
6+
git restore -s@ -SW -- packages examples
7+
8+
# Build all once to ensure things are nice
9+
pnpm build
10+
11+
# Release packages
12+
for PKG in packages/* ; do
13+
pushd $PKG
14+
TAG="latest"
15+
echo "⚡ Publishing $PKG with tag $TAG"
16+
pnpm publish --access public --no-git-checks --tag $TAG
17+
popd > /dev/null
18+
done

0 commit comments

Comments
 (0)