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.5.0 #5237

Merged
merged 232 commits into from Mar 21, 2019
Merged

v2.5.0 #5237

merged 232 commits into from Mar 21, 2019

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Mar 14, 2019

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:

nuxt-loading-screen

[IMPORTANT] Migration Guide

Programmatic API / Middleware

If not already done, please explicitly call nuxt.ready() after new Nuxt(). nuxt.ready() was always async, but not awaiting the function call has now a severe impact.

   const nuxt = new Nuxt(config)
++ await nuxt.ready()

TypeScript

  1. Please replace nuxt-ts dependency and use nuxt + @nuxt/typescript. (Also nuxt-ts-edge to nuxt-edge + @nuxt/typescript-edge for edge users)
{
--  "nuxt-ts": "^2.4.2"
++  "@nuxt/typescript": "^2.5.0"
++  "nuxt": "^2.5.0"
}
  1. Configuration API to customize/disable type checking has been moved from build.useForkTsChecker to build.typescript.typeCheck. Please see refactor: better DX for TypeScript support #5079 for more details.
build: {
-- useForkTsChecker: false // or ForkTsChecker options
++ typescript : {
++   typeCheck: false // or ForkTsChecker options
++ }
}

Features

Fixes

Performance Improvements

Examples

Refactors

Chore

Tests

clarkdo and others added 30 commits January 29, 2019 09:31
# Bugfixes 

* Handle `async` components correctly when using `nuxt-ts` (PR #4886)
* Fix `extractCSS` in `dev` mode (PR #4888)
* Correctly apply class when using `linkPrefetchedClass` (PR #4893)
@pi0
Copy link
Member Author

pi0 commented Mar 20, 2019

Changelog updated

@Atinux
Copy link
Member

Atinux commented Mar 20, 2019

Good for me!

@Atinux
Copy link
Member

Atinux commented Mar 20, 2019

I just published @nuxt/loading-screen v0.0.4

@manniL
Copy link
Member

manniL commented Mar 20, 2019

Let's ship #5291, #5290 and #5292. Then we are good to go from my POV

And maybe #5297 😋

@pi0
Copy link
Member Author

pi0 commented Mar 20, 2019

  • Changelog updated
  • [release] triggered to test final changes on nuxt-edge

The dev branch should be better to be frozen now for release

Update:

  • Missing dependencies added
  • Updated loading-screen due to performance problems

@manniL
Copy link
Member

manniL commented Mar 21, 2019

Updated the migration guide wording for awaiting nuxt.ready. Feel free to correct me if I wrote sth. wrong ☺️

@pi0 pi0 merged commit f457f5c into 2.x Mar 21, 2019
@chanlito
Copy link

Yes yes yes! 👏👏👏 Thanks all.

@danielroe danielroe added the 2.x label Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet