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

Update nuxt to the latest version 🚀 #38

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Sep 21, 2018

The dependency nuxt was updated from 1.4.2 to 2.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Find out more about this release.

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

greenkeeper bot added a commit that referenced this pull request Sep 30, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Sep 30, 2018

  • The dependency nuxt was updated from 1.4.2 to 2.1.0.

Update to this version instead 🚀

Release Notes for v2.1.0

Features

  • Expose loading.throttle as an option (PR #3953)
  • Allow to customize or disable minimizer plugins (PR #4018)
  • Use understandable file names for analyze mode (PR #4014)

Fixes

  • Correctly evaluate options.server values port, host, socket (PR #3942)
  • Properly serialize undefined values in vuex store (PR #3913)
  • Don't allow to cache error pages (PR #3962)
  • Update all non-major dependencies, vue-meta to ^1.5.5 (PR #3991)
  • Apply default value for NODE_ENV environment variable (PR #4003)
  • Typofixes from https://github.com/vlajos/misspell-fixer (PR #4013)
  • Update all non-major dependencies (PR #3991)

Misc

  • Refactor client store code style (PR #3683)
Commits

The new version differs by 27 commits.

  • d79f9a7 pkg: bump to 2.1.0
  • fdb225f 2.1.0
  • d69b4b8 feat: abstract minify and use value for all modes (#3965)
  • bc90716 fix(deps): update all non-major dependencies (#3991)
  • 0393bf7 feat: use understandable file names for analyze mode (#4014)
  • 8f06a18 feat(builder): allow to customize or disable minimizer plugins (#4018)
  • 1bf6385 fix: wrong extension for dev mode css file
  • f08cc76 exmaple: remove unnecessary transpile for vuetify
  • 74eb5a6 * Typofixes - https://github.com/vlajos/misspell-fixer (#4013)
  • 0c1d94a fix(cli): apply default value for NODE_ENV environment variable (#4003)
  • d7fa66d meta: improve github templates (#4004)
  • bb78a92 fix: vue-meta version to 1.5.3
  • 1fef39d fix(deps): update dependency cssnano to ^4.1.4 (#3990)
  • 163cfab chore(deps): update all non-major dependencies (#3986)
  • c097598 chore(deps): update dependency babel-eslint to v10 (#3984)

There are 27 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Oct 13, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 13, 2018

  • The dependency nuxt was updated from 1.4.2 to 2.2.0.

Update to this version instead 🚀

Release Notes for v2.2.0

Features

  • Show warning message when pages directory is missing. (PR #4054)
  • <nuxt-child/> accepts keep-alive-props as props of keep-alive (PR #4067)
  • Add configurable global name (PR #4012)

Fixes

  • Warn for non serializable data instead of Error (PR #4046)
  • Style module with extractCSS not work well (PR #4093)
  • generate: use isJS for matching assets to fix not found bug for assets with query strings (PR #4073)
Commits

The new version differs by 33 commits.

  • d897890 Merge branch '2.x' of github.com:nuxt/nuxt.js into 2.x
  • 95428c2 version: Bump to v2.2.0
  • e3b72de 2.2.0
  • 9e0d150 fix(deps): update dependency consola to ^1.4.4 (#4114)
  • 76b10d2 refactor: use more functional programming (#3612)
  • 18802c9 chore: update package.json and yarn.lock
  • c1028ea chore(deps): update all non-major dependencies (#4077)
  • a8875db chore(deps): update dependency klaw-sync to v6 (#4072)
  • d35fc8f fix: warn for non serializable data instead of Error (#4046)
  • 521c377 fix: style module with extractCSS not work well (#4093)
  • 90db0ad Update theme.js (#4068)
  • 9bb76bc chore: replace links with speaking equivalents (#4076)
  • 91f319b chore(deps): update dependency rollup-plugin-commonjs to ^9.2.0 (#4074)
  • 165c80d fix(SSR plugin): use isJS for matching assets (#3387) (#4073)
  • 963b4dd chore(deps): update all non-major dependencies (#4069)

There are 33 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 16, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 16, 2018

  • The dependency nuxt was updated from 1.4.4 to 2.3.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Nov 16, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 16, 2018

  • The dependency nuxt was updated from 1.4.4 to 2.3.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Nov 20, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 20, 2018

  • The dependency nuxt was updated from 1.4.4 to 2.3.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Nov 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 26, 2018

  • The dependency nuxt was updated from 1.4.4 to 2.3.3.

Update to this version instead 🚀

Commits

The new version differs by 17 commits.

  • 2e90166 update @nuxtjs/opencollective to 0.2.0
  • f10c982 chore(deps): update dependency vue-meta to ^1.5.6 (#4427)
  • b7285fe remove build with devtools tests as feature is not merged yet
  • b582e70 update patch-only dependencies
  • 289d30f remove typings
  • 7e1beed perf(pkg): remove lodash dependency from packages (#4411)
  • 4a85c03 fix(pkg): move opencollective dependency nuxt and nuxt-legacy (#4415)
  • d187793 fix(server, vue-app): allow unicode page names (#4402)
  • e1c1240 fix(server, jsdom): fix timeout error message (#4412)
  • 0c6c69b fix(scrollBehavior): emit triggerScroll event after changing layer (#4399)
  • 8030ca1 fix(progress-bar): allow 0 for values and remove duplicate defaults (#4397)
  • 54d2737 fix: router Expected "0" to be defined (#4394)
  • 47f02ae fix: empty error message in dev mode
  • ff7c083 fix: modern=true or false not work as expected (#4378)
  • b12141b hotfix: nuxt-start tries to build instead of starting (#4384)

There are 17 commits in total.

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 26, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 26, 2018

  • The dependency nuxt was updated from 1.4.4 to 2.3.4.

Update to this version instead 🚀

Release Notes for v2.3.4

(Please skip v2.3.3 release. It was mistaken.)

🔧 Fixes

  • CLI: nuxt-start command should always start nuxt in production mode (#4384)
  • Modern Mode: Fix behavior where modern=true or false didn't work as expected (#4378)
  • Router: Correctly handle Unicode page names (#4402)
  • Router: Emit triggerScroll event after changing the layout (#4399)
  • Components: Allow 0 values for progress bar attributes (#4397)
  • Server/Tests: Correctly print timeout error message for JSDom (#4412)

⚡️ Dependencies

  • Update dependency vue-router from 3.0.1 to 3.0.2 (#4394)
  • Update dependency @nuxt/friendly-errors-webpack-plugin from 2.3.0 to 2.3.2
  • Update dependency mini-css-extract-plugin from 0.4.4 to 0.4.5
  • Update dependency webpack from 4.26.0 to 4.26.1
  • Update dependency vue-meta from v1.5.5 to v1.5.6
  • Remove opencollective dependency from nuxt-start (#4415)
  • Remove lodash dependency from packages to reduce the nuxt-start size (#4411)

greenkeeper bot added a commit that referenced this pull request Feb 6, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Feb 6, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.4.3.

Update to this version instead 🚀

Release Notes for v2.4.3

🐛 Bugfixes

  • webpack: Update dependency terser-webpack-plugin to ^1.2.2.
  • webpack: Update dependency webpack to ^4.29.2
  • utils: Fix serializeFunction for external imports (#4916)
  • config: Warn when using array for postcss config (#4936)
  • module: support src as a function in addModule (#4956)
  • server: await buildDone hook (#4955)

greenkeeper bot added a commit that referenced this pull request Feb 26, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Feb 26, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.4.5.

Update to this version instead 🚀

Release Notes for v2.4.5

v2.4.5 (2019-02-26)

Bug fixes and Improvements

  • builder: bundle resources other than js(x)/json in node_modules (#4913) (71a70fe)
  • cli: dont force exit when it was explicitly disabled (#4973) (4b82aa9)
  • cli: show warning on forced exit (#4958) (3d2deac)
  • dependencies: update serve-placeholder and esm (#4970) (111455f)
  • vue-renderer: preload modern resource in spa modern mode (#5043) (3516580)
  • vue-app: fix asyncData memory leak on client-side (#4966) (4086800)
  • vue-app: fix getNuxtChildComponents method (#4969) (dbf7099)
  • vue-app: use browser to handle scrolling position on page reload... (#5080) (7001312)
  • webpack: bundle resources other than js(x)/json in node_modules (#4913) (71a70fe)
  • nuxt-ts: error catch in nuxt-ts binary (#5086) (4f887f6)

greenkeeper bot added a commit that referenced this pull request Mar 21, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 21, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.5.1.

Update to this version instead 🚀

Release Notes for v2.5.1

Bug Fixes

  • fix: revert to corejs@2 (#5317) (Pooya Parsa) (20836d9)
  • fix: remove consola.debug for hooks (#5318) (Thomas Reichling) (9ff01f9)
  • fix: apply default lock options before setting lock (#5320) (Pim) (7c24280)
  • fix(ts): wrong export used in render.d.ts (#5309) (Romain Lanz) (e67b298)
  • examples: upgrade and fix typescript configuration files (#5310) (Romain Lanz) (7100a2c)
  • chore: unsupport nuxt-legacy (pooya parsa) (797a4ce)

greenkeeper bot added a commit that referenced this pull request Apr 4, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 4, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.6.0.

Update to this version instead 🚀

Release Notes for v2.6.0

Migration Guide

This version is addressing most of the problems of 2.5 and is without any breaking changes. For most of the users, a normal version upgrade would be enough. However, reading this guide can help to have a smooth upgrade.

General Tips

  • Using yarn as the package manager is more preferred as Nuxt is internally being tested against yarn
  • Before upgrade ensure to remove yarn.lock, package-lock.json and node_modules
  • After full install and testing, also consider upgrading other dependencies. The yarn outdated command can be used.

Missing App Dependencies

Because of how package managers (yarn, npm) work, a wrong version of a dependency from one of the other dependencies may be hoisted into node_modules. Nuxt is strict about this and provides instructions for dependency resolution so please follow it.

The well-known problem is with firebase package that requires to manually install node-fetch dependency in your project.

Core-js

Since core-js@2 and core-js@3 are both supported from babel 7.4.0, Starting from 2.6 Nuxt supports both versions (#5411). It is highly advised to stick with 2 (default) unless having a special dependency that needs 3. (Instructions for core-js@2 are not required but recommended)

core-js@2

  • yarn: yarn add -D core-js@2 @babel/runtime-corejs2
  • npm: npm i -D core-js@2 @babel/runtime-corejs2

core-js@3

  • yarn: yarn add -D core-js@3 @babel/runtime-corejs3
  • npm: npm i -D core-js@3 @babel/runtime-corejs3

Edit nuxt.config.js:

export default {
  build: {
    babel: {
      presets({ isServer }) {
        return [
          [
            require.resolve('@nuxt/babel-preset-app'),
            // require.resolve('@nuxt/babel-preset-app-edge'), // For nuxt-edge users
            {
              targets: isServer ? { node: '10' } : { ie: '11' },
              corejs: { version: 3 }
            }
          ]
        ]
      }
    }
  }
}

Typescript

Nuxt 2.5 users may only require to add ts-node to the dependencies

Beta Testers : Replace nuxt by nuxt-edge, and @nuxt/typescript by @nuxt/typescript-edge in the following instructions.

  1. Remove nuxt-ts dependency (2.4 users only)
    • yarn: yarn remove nuxt-ts
    • npm: npm remove nuxt-ts
  2. Add nuxt and ts-node to dependencies:
    • yarn: yarn add nuxt ts-node
    • npm: npm i nuxt ts-node
  3. Add @nuxt/typescript to devDependencies:
    • yarn: yarn add -D @nuxt/typescript
    • npm: npm i -D @nuxt/typescript
  4. Create an empty tsconfig.json file. Nuxt will automatically generate it with defaults at first run, then you can edit it to fit your needs

Features

  • feat(babel-preset-app): support specifying core-js version (#5411) (Xin Du (Clark)) (159123f)
  • feat(cli): add internal _generate and _build options (#5434) (Pooya Parsa) (516aea3)
  • feat(cli): add --quiet option to nuxt generate command (#5357) (Franck Abgrall) (91f4eb0)
  • feat(typescript): detect typescript based on tsconfig.json (#5412) (Pooya Parsa) (6ffc5c5)
  • feat(vue-renderer): add csp meta tags (#5354) (James George) (b978a37)

Fixes

  • fix: unexpected token export in importing babel runtime helper (#5401) (ryota yamamoto) (3b85dd9)
  • fix(core): call ready to prevent breaking changes (Pooya Parsa) (#5413) (001ba77)
  • fix(build): disable loading babel.config.js by default (#5365) (Xin Du (Clark)) (64fa424)
  • fix(builder): await for renderer to load resources (#5341) (Pooya Parsa) (caf5198)
  • fix(cli): catch all possible errors thrown from proper-filelock (#5347) (Pim) (39bbe46)
  • fix(renderer): retry render if renderer is in loading or created state (#5417) (Pooya Parsa) (8b99695)
  • fix(vue-app): decode uri in getlocation (#5337) (Johan Roxendal) (77dcfe6)
  • fix(vue-app): prevent mounting page twice on redirect (#5361) (noe132) (2d73e8a)
  • fix(vue-renderer): add the csp hash if unsafe-inline hasn't been specified (#5387) (Sam Bowler) (97db6a4)
  • fix(types): add type definition for typescript.typeCheck (#5326) (Daniel Roe) (2c1444d)

Refactors

  • refactor(typescript): only generate tsconfig.json if missing (#5356) (#5367) (Kevin Marrec) (9a3fc8a)
  • refactor(vue-renderer): improve ready status error (#5339) (Pooya Parsa) (535327c)
  • refactor(webpack): add ability to get webpack config class (#5378) (Damian Stasik) (abf7db1)

Examples

  • examples: add docker example (#5430) (Utkarsh Gupta) (3eec115)
  • examples(vue-apollo): update to @nuxtjs/apollo 4.x (#5345) (Dmitry Molotkov) (95f2a12)
  • examples(with-buefy): update example (#5348) (Dmitry Molotkov) (ce66a8c)
  • examples(with-element-ui): fix package scripts (#5349) (Dmitry Molotkov) (10812e3)

Chore

  • chore(postcss): deprecate config support (#5419) (Alexander Lichter) (1bd4fb1)
  • chore(readme): fix grammar (#5395) (Irvin Lin) (f8d3626)

Dependency Upgrades

greenkeeper bot added a commit that referenced this pull request Apr 4, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 4, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.6.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 15, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 15, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.6.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Apr 25, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 25, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.6.3.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request May 14, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 14, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.7.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request May 14, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 14, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.7.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request May 30, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 30, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.8.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 4, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 4, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.8.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Aug 20, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 20, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.9.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Aug 20, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 20, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.9.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Aug 28, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 28, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.9.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Oct 2, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 2, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.10.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Oct 11, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 11, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.10.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Oct 22, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 22, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.10.2.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Dec 17, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 17, 2019

  • The dependency nuxt was updated from 1.4.5 to 2.11.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 17, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 17, 2020

  • The dependency nuxt was updated from 1.4.5 to 2.12.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 25, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 25, 2020

  • The dependency nuxt was updated from 1.4.5 to 2.12.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Mar 31, 2020
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 31, 2020

  • The dependency nuxt was updated from 1.4.5 to 2.12.2.

Update to this version instead 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants