-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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.5.0 #5237
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Changelog updated |
Good for me! |
I just published |
The dev branch should be better to be frozen now for release Update:
|
[release]
revert it back with nuxt 3
Updated the migration guide wording for awaiting |
Yes yes yes! 👏👏👏 Thanks all. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What's new?
15,000 line changes with 230 squashed commits by more than 30 contributors made this version possible! ❤️
Typescript DX
No longer needed to install
nuxt-ts
for typescript support. Nuxt.js officially supports TS by installing@nuxt/typescript
. Please see #5079 for reasons behind such migration.Babel
Babel 7.4, Core-js v3, and
Object.assign
polyfill for better browser support.Stability
More than 30 fixes, refactors and performance improvements.
Open in Browser
Use
nuxt dev -o
to instantly open project in the browser and enjoy a cool loading screen:[IMPORTANT] Migration Guide
Programmatic API / Middleware
If not already done, please explicitly call
nuxt.ready()
afternew Nuxt()
.nuxt.ready()
was alwaysasync
, but not awaiting the function call has now a severe impact.const nuxt = new Nuxt(config) ++ await nuxt.ready()
TypeScript
nuxt-ts
dependency and usenuxt
+@nuxt/typescript
. (Alsonuxt-ts-edge
tonuxt-edge
+@nuxt/typescript-edge
for edge users)build.useForkTsChecker
tobuild.typescript.typeCheck
. Please see refactor: better DX for TypeScript support #5079 for more details.Features
es6.object.assign
by default (Clark Du) (52fe145)nuxt generate
should exit with non-zero code on errors #4991) (feat(generate) return non-zero code or page error (#4991) #5195) (Jarek Lipski) (c6565c9).nuxtignore
(feat: .nuxtignore #4647) (Xin Du (Clark)) (59be77a)devModules
option (feat: supportdevModules
option #5102) (Jonas Galvez) (e87711c)Fixes
isClient
,isServer
,isStatic
(fix(ts): deprecateisClient
,isServer
,isStatic
#5211) (Daniel Hritzkiv) (29c3c42)config.entry
(fixes Specify custom webpack entry points for the client and server #4849) (fix(webpack): cloneconfig.entry
#5236) (Julien Dargelos) (8216765)Performance Improvements
futureEmitAssets
(perf(webpack): usefutureEmitAssets
#5003) (Alexander Lichter) (3997d50)nuxt-ts start
(perf(ts): transpileOnly when usingnuxt-ts start
#4906) (Kevin Marrec) (17cc12f)Examples
Refactors
Chore
Tests