Skip to content

Bump nuxt from 2.4.5 to 2.5.0 in /webapp

Hannes Heine requested to merge pr199head into pr199base

Created by: Tirokk

dependabot-preview[bot] Authored by dependabot-preview[bot] Closed


Bumps nuxt from 2.4.5 to 2.5.0.

Release notes

Sourced from nuxt's releases.

v2.5.0

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

.nuxtignore

Before v2.5, you were able to ignore files through an ignore prefix. As using the prefix over and over, ignoring files (and implementing custom structures) was a bit tedious on the long run. We came up with something more sophisticated: A .nuxtignore file. Following the same specs as a .eslintignore or a .gitignore file, you can now define what files or folders to ignore through a .nuxtignore file in your project root.

Examples and more info in the .nuxtignore docs

[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"
}
</tr></table> ... (truncated)
Changelog

Sourced from nuxt's changelog.

2.5.0 (2019-03-21)

Bug Fixes

  • builder, vue-app: order of plugin execution based on order in array (#5163) (a867dbd)
  • cli: enable server for implicit SPA generate in nuxt build (c46def7)
  • pkg: add missing dependencies (665f15a)
  • postcss: default to preset-env and cssnano last (#5215) (adf423a)
  • server: handle decodeURI error (#5243) (5b7f6d7)
  • ts: deprecate isClient, isServer, isStatic (#5211) (29c3c42)
  • types: reflect chainlable NuxtLoading methods (#5104) (a6756a4)
  • vua-app: clone mount error to prevent mutating read-only error object (#5214) (37006f6)
  • vue-app: avoid css chunk error (#5173) (41028a4)
  • vue-app: decode router base to support unicode characters (#5297) (3ac01df)
  • vue-app: duplicated router.base when using context.redirect(object) (#5290) (cf02e82)
  • vue-app: multiple named views cause invalid syntax (#5262) (d03a61b)
  • webpack: always resolve core-js to v3 (#5307) (65c1f86)
  • webpack: clone config.entry (fixes #4849) (#5236) (8216765)
  • webpack: loaders in extend config is broken (#5292) (0eb5ed9)
  • await buildDone hook (#4955) (5c08db2)
  • bundle resources other than js(x)/json in node_modules (#4913) (268851f)
  • correct public path in generation and start (#5202) (648062c)
  • correct socket address in use error message (2eb1965)
  • default for-exit to false to prevent dev exit (a347ef9)
  • disable "analyze" for nuxt generate (#4975) (574a2eb)
  • disable parallel build when extractCSS is enabled (aad46ed)
  • dont force exit when it was explicitly disabled (#4973) (3e9eee2)
  • extra properties in templateFiles (#4925) (ca19124)
  • fix non standard esm modifications (fb87a55)
  • improve nuxt version number when running from git (#4946) (92803b2)
  • keep-alive component data should not be updated (#5188) (1ea8661)
  • not send Server-Timing header if no timing info (d9a0b5f)
  • publicPath is not reactive in dev restarting (#5227) (1fb7538)
  • refactor file watchers (chokidar/linux workaround) (#4950) (5ec5932)
  • relax lock settings (#5280) (65a431d)
  • respect namespaced in store module (#5189) (9e1ef88)
  • Unexpected token .... Expected a property name in Safari (eef7f69)
  • test: unhandled open handles (858c9ee)
  • vue-app: use browser to handle scrolling position on page reload and back-navigation from other sites (#5080) (ee87f4c)
  • remove cache-loader for external resources (#4915) (0223e56)
  • revert templatFiles name (#4924) (f70645e)
  • trailing comma in tsconfig (#5061) (1fb44d9)
  • warn when using array postcss configuration (#4936) (422155e)

Code Refactoring

... (truncated)
Commits
  • e2c2963 v2.5.0
  • 42eefa0 [release]
  • 65c1f86 fix(webpack): always resolve core-js to v3 (#5307)
  • aa61dea chore(deps): update all non-major dependencies to ^7.4.2 (#5306)
  • c46def7 fix(cli): enable server for implicit SPA generate in nuxt build
  • 89fd80c update yarn.lock
  • d52648f chore(deps): update dependency vue-property-decorator to ^8.1.0 (#5302)
  • a11afd4 refactor(ts): add warning for nuxt-ts deprecation (#5301)
  • 665f15a fix(pkg): add missing dependencies
  • e16a3d1 chore(deps): update all non-major dependencies (#5299)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Merge request reports