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

An in-range update of nuxt-start is breaking the build 🚨 #102

Open
greenkeeper bot opened this issue Jan 28, 2019 · 22 comments
Open

An in-range update of nuxt-start is breaking the build 🚨 #102

greenkeeper bot opened this issue Jan 28, 2019 · 22 comments

Comments

@greenkeeper
Copy link
Contributor

greenkeeper bot commented Jan 28, 2019

The dependency nuxt-start was updated from 2.3.4 to 2.4.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

nuxt-start is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: test: Your tests failed on CircleCI (Details).

Release Notes for v2.4.0

Important news 👀

New core team member 🐤

We are really proud to announce Kevin Marrec (@kevinmarrec) as a new core team member of Nuxt.js. He is French 🇫🇷 and responsible for the TypeScript integration 💚

Official Consulting ⛑

We now offer official support & consulting from the core team. We partnered with Otechie for the process and already did some beta-tests with selected companies.

Are you interested or curious?
Learn more on https://otechie.com/nuxt 🙌

RFC Process 📎

We invite you to take a look at our nuxt/rfcs repository where we discuss the future of Nuxt and its vision.

Here are some interesting proposals if you want to learn more about the upcoming changes of Nuxt:

Release Plan 🚢

Starting with this release, Nuxt will adhere to a formalized release plan (as good as possible). Also, an end of life for older major versions is defined within RELEASE_PLAN.md.

Quick summary:

  • Nuxt major releases are planned every 6 months.
  • The release cycle for Nuxt.js minor versions is roughly 4 weeks.
  • Fixes will be released as soon as possible after the actual PR/commit

We strongly invite you to read the RELEASE_PLAN.md for further details.

Thank you ❤️

We want to specially thanks:

  • Our contributors submitting bug reports, feature requests and commenting on issues
  • Our users participating on our Discord server and sharing the love by mentioning our Twitter account
  • All the devs working for companies using Nuxt.js and who helped us building a showcases list
  • Our backers and sponsors supporting us financially through our open Collective

New Features ✨

Speaking of TypeScript...

TypeScript support has landed!

nuxt-ts

In order to run Nuxt with TypeScript, we created a new distribution, called nuxt-ts (we also have nuxt-ts-edge).
We want to thank @hmsk for his donation of the package name on npm ❤️

You can explore Nuxt TypeScript example or play with it directly in our Nuxt TS CodeSandBox.

For a more advanced example, you can look at the HackerNews-TS repo or play with it on CodeSandBox, made by @husayt & @kevinmarrec.

This work has been made by @kevinmarrec with the help of @pi0 & @Atinux.

⚠️ Experimental: We are waiting for your feedback to keep improving it and breaking changes can occur without a semver major release. However, all changes will be documented properly

Smart prefetching ⚡️

Nuxt.js will automagically prefetch the code-splitted pages linked with <nuxt-link> when visible in the viewport by default. This hugely improves the end user performances, inspired by quicklink.

nuxt-prefetch-comparison

Demos are online and we recommend you to try it out to feel the difference:

Bonus: we added $nuxt.isOnline and $nuxt.isOffline which is reactive, so you can use it directly inside your components (see this example).

You can learn more about this feature in the associated PR #4574 and in the documentation.

HMR & best practices for store/ 👀

Save more development time with full HMR support for the store (mutations, getters, and actions).

nuxt-vuex-hmr

This feature has been implemented by @manniL & @Atinux on PRs #4589, #4582 and #4791

Autocomplete for VS Code (via. Vetur extension) ✅

If you are using VS Code, with this version, you will now have autocomplete for Nuxt.js components:

nuxt-vs-autocomplete

This feature has been implemented by @octref & @Atinux on PR #4524

Port taken? Nuxt got your back! 💪

If Nuxt wants to listen on a port which is already used, it will warn you in development and listen to a free port instead:

49249621-efe2e780-f431-11e8-90fb-ba48e67ba5c9

In production it will throw an error instead to avoid unwanted behavior:

49249634-f8d3b900-f431-11e8-9f51-afbf3ffc68ed

This feature has been implemented by @ricardogobbosouza on PR #4428 with the help of @pi0 and @manniL.

Suggest installing missing dependencies or mismatches 💯

Nuxt requires all peer like dependencies as a dependency for easier usage. Sometimes this causes unwanted behaviors when users explicitly add a specific version in their package.json which is incompatible with nuxt. This could also help to resolve popular Vue packages version mismatch error (#198, #669, #1084, #1414, #1851, #2079, #2406, #3454).

Nuxt is now able to automatically self-verify installed dependencies and warn with a proper message in case of detecting problems.

image

This feature has been implemented by @pi0 in PR #4669

Auto-detection of modern bundles 🥇

When running nuxt start, Nuxt will automatically detect if you built your app modern mode enabled. No need to run nuxt start --modernexplicitly anymore 🌟

screenshot 2018-11-30 at 16 55 48

This detection was created by @clarkdo on PR #4422

Plugin modes and file extensions 💅

Until now, you used ssr: false in your plugin declarations to disable server-side rendering. We decided to deprecate that option and introduce a mode instead, which can be 'all', 'client' or 'server'. No worries, ssr is still working (until Nuxt 3).

The new feature coming with the mode is that you can define it by using the file suffix:

  • plugins/plugin.server.js
  • plugins/plugin.client.js
  • plugins/plugin.js

By adding the plugins to your nuxt.config.js:

plugins: [
  '~/plugins/plugin.server.js',
  '~/plugins/plugin.client.js',
  '~/plugins/plugin.js'
]

The declaration will be internally transformed to:

plugins: [
  { mode: 'server', src: '~/plugins/plugin.server.js' },
  { mode: 'client', src: '~/plugins/plugin.client.js' },
  { mode: 'all', src: '~/plugins/plugin.js' }
]

(If you specify the mode manually, it will overwrite the suffix detection)

This feature has been implemented by @clarkdo on PR #4592

Module commands 🖥

Nuxt modules can now include bin scripts that are recognized by Nuxt's CLI.

Here's an example of my-module/bin/command.js:

#!/usr/bin/env node

const consola = require('consola')
const { NuxtCommand } = require('@nuxt/cli')

NuxtCommand.run({
name: 'command',
description: 'My Module Command',
usage: 'command <foobar>',
options: {
foobar: {
alias: 'fb',
type: 'string',
description: 'Simple test string'
}
},
run(cmd) {
consola.info(cmd.argv)
}
})

The command could be run with:

npx nuxt command arg1 arg2

You can learn more about that in the modules command documentation.

⚠️ Experimental: We are waiting for your feedback to keep improving it and breaking changes can occur without a semver major release. However, all changes will be documented properly <3

This feature has been implemented by @galvez on PR #4314 with the help of @pi0.

PostCSS in Vue Components 💃

You can now use lang="postcss" in your Vue components. Postcss has applied to all your styles anyway (e.g. to resolve aliases like ~) but the lang attribute enables autocomplete and syntax highlighting for some IDEs.

nuxt-postcss

This feature has been implemented by @manniL on PR #4417.

No more extensions for Stylesheets needed 🦅

stylesheet extensions

We are concerned to improve the Developer Experience ("DX") with each release. This small change allows you to omit the file extension for CSS/SCSS/Postcss/Less/Stylus/... files listed in the css array inside your nuxt.config.js. For the plugins or serverMiddleware key, this is already possible.

This feature has been implemented by @manniL on PR #4671.

SSR Bundle improvements 🔹

We made a full rewrite of how SSR bundle is packaged.

This means better performance, less memory overhead, fewer OOM crashes and easier SSR bundle debugging.

_ Before After Diff
Dist 8.2M 7.2M -1M / 12%
Dev 281 MB (RSS: 439 MB) 237 MB (RSS: 354 MB) -44M / 16% (RSS: -85M / 19%)
Start 106 MB (RSS: 169 MB) 71.7 MB (RSS: 137 MB) -34M / 32% (RSS: -32M / 19%)

This feature has been implemented by @pi0 on PR #4439.

Other changes 🌔

  • process.modern can be used for distinguishing modern environment.
  • Add server.timing to give Server-Timing header, useful for monitoring and performances overview (PR #4800)
  • ⚠️ Experimental: Enable HardSourceWebpackPlugin by hardSource: true in hardSource of nuxt.config.js
  • You can now set scrollToTop to false in pages (PR #4564)
  • Aliases for nuxt-link and nuxt-child (n-link and n-child) are available now (PR #4525)
  • Components can now be used in PascalCase as recommended by the Vue styleguide (PR #4396)
  • VueMetas headAttrs are now supported for the appTemplate (PR #4536)
  • More browsers are added to the list of modern browsers (PR #4516, PR #4775)
  • Loaded resources can now have a crossorigin attribute (PR #4472)
  • Modern mode resources are preloaded and will be pushed via HTTP2 server push if set (PR #4508)
  • Add option to disable the compression middleware (PR #4381)
  • Add option to disable the FriendlyErrorsWebpackPlugin overlay (PR #4381)
  • Add exclude option to exclude pages from being generated (in static mode) but still get rendered via fallback/SPA (PR #4754)
  • Support build.hotMiddleware.client (PR #4796)
  • New examples have been added:
  • Internal changes:
    • feat: use runInNewContext: true for nuxt dev (#4508)
    • feat: check modern build file in modern mode (#4467)
    • refactor: migrate to extract-css-chunks-webpack-plugin (#4495)

Further Patches (30+) 🔍

  • hotfix(vue-app): ReferenceError error passed with routeChanged (PR #4444)
  • fix(vue-app): properly serialize head functions (PR #4558 #4585)
  • fix(vue-app): Handle middleware correctly when using Vue.extend in layout (fix #4724)
  • fix (vue-renderer): remove undefined script in modern mode & generated (0a21d4b)
  • fix: add option to rewatch on path after raw fs event (PR #4717)
  • fix(builder, module): addLayout and nuxt.config precedence over auto-scanned layouts (PR #4702)
  • fix: Support plugins with a directory and index.js (PR #4714)
  • fix: use case insensitive regex for webpack loader rules (PR #4728)
  • fix: require postcss module via resolver (PR #4737)
  • fix: Safari fix is not injected in client modern mode (ecf76d9)
  • fix(server): allow rendering urls with unicode characters (#4512)
  • fix(builder): add lodash inside templates (PR #4368)
  • fix: fall back to default value when publicPath is falsy (PR #4365)
  • fix: modern=true or false not work as expected (PR #4378)
  • fix: empty error message in dev mode (3d990fe)
  • fix(progress-bar): allow 0 for values and remove duplicate defaults (PR #4397)
  • fix(vue-app): allow passing custom props to error function (PR #4462)
  • fix(webpack): deepClone before calling extendConfig (PR #4464)
  • fix(vue-app): router.meta is null on extendRoutes(PR #4478)
  • fix: merge route.meta into options.meta (PR #4479)
  • fix: improvements for build and dev stability (PR #4470)
  • fix(vue-app): Fix route meta to handle order (45be638)
  • fix(dev): Show correct path when webpack watched files changed (25dea5f)
  • fix(webpack): allow changing devtool with extend (PR #4515)
  • fix: keepAliveProps broken in (PR #4521)
  • fix: csp SHA hashes accumulate when using custom script-src rules (#4519)
  • fix: duplicate style in extractCSS (#4546)
  • fix: hmr in modern mode (#4623)
  • fix: wrong devMiddleware in non-modern dev mode (3515115)
  • fix(ts): fix $nuxt.$loading typedefs (#4778)
  • fix(ts): Add missing loading property to Component options (#4786)
  • fix: match subdir under node_module in transpile (#4850)
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
Copy link
Contributor Author

greenkeeper bot commented Jan 30, 2019

  • The dependency nuxt-start was updated from 2.4.0 to 2.4.1.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.4.1

Bugfixes

  • Handle async components correctly when using nuxt-ts (PR #4886)
  • Fix extractCSS in dev mode (PR #4892)
  • Correctly apply class when using linkPrefetchedClass (PR #4893)

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jan 30, 2019

  • The dependency nuxt-start was updated from 2.4.1 to 2.4.2.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.4.2

Bugfixes

  • Handle async components correctly when using nuxt-ts (PR #4886)
  • Fix extractCSS in dev mode (PR #4892)
  • Correctly apply class when using linkPrefetchedClass (PR #4893)

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Feb 6, 2019

  • The dependency nuxt-start was updated from 2.4.2 to 2.4.3.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

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
Copy link
Contributor Author

greenkeeper bot commented Feb 26, 2019

  • The dependency nuxt-start was updated from 2.4.3 to 2.4.5.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

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
Copy link
Contributor Author

greenkeeper bot commented Mar 21, 2019

  • The dependency nuxt-start was updated from 2.5.0 to 2.5.1.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

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
Copy link
Contributor Author

greenkeeper bot commented Apr 4, 2019

  • The dependency nuxt-start was updated from 2.5.1 to 2.6.0.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

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
Copy link
Contributor Author

greenkeeper bot commented Apr 4, 2019

  • The dependency nuxt-start was updated from 2.6.0 to 2.6.1.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 15, 2019

  • The dependency nuxt-start was updated from 2.6.1 to 2.6.2.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.6.2

Fixes

  • cli: Apply nuxt.config.js changes and watch for all imported files (#5500)
  • cli: Fix problem for users that have tsconfig.json but do not use typescript (#5478)
  • cli: Show memory usage after build for nuxt dev (#5514)
  • server Fix bug with SPA mode with CSP enabled (#5474)
  • vue-renderer: Use modulepreload for modern mode when using spa generate (#5489)
  • webpack: Suggest using official @nuxtjs/style-resources package (#5499)
  • Custom router.base support for banner url and loading screen (#5470) (nuxt/loading-screen#8)

Security Fixes

Thanks to our awesome contributors to this release

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 25, 2019

  • The dependency nuxt-start was updated from 2.6.2 to 2.6.3.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.6.3

Fixes

  • cli: Watch and reload nuxt.config (#5574)
  • utils: serialize inline functions (#5051) (#5580)
  • vue-app: Fix context req and res types (#5560)
  • webpack: Fix production font preloading (#5436)
  • Don't customize esm options (91c3642)

Dependency Upgrades

  • Update webpackbar to ^3.2.0
  • Update vue-router to ^3.0.6
  • Update @nuxt/loading-screen to ^0.5.0

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 14, 2019

  • The dependency nuxt-start was updated from 2.6.3 to 2.7.0.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.7.0

DX Improvements 💅

SSR logs in your browser 🖥️

We all know the console.log debugging method, but when working with universal applications, you have to remember that sometimes, your logs are in your terminal and not in your browser console.

This can be really annoying when developing a Nuxt.js application, starting with this version and running nuxt dev, the ssr logs are now reported to your browser console:

nuxt-logs-ssr

Detecting store/ creation 👀

Nuxt.js now detects when you created a store/ directory and will reload himself auto-magically so you don't have to restart it anymore.

nuxt-store-watch

PS: We also improved the serverMiddleware watch to restart Nuxt.js and clean their cache

Fixes ✔️

  • builder: corretly detect mode of hashed plugins (#5695)
  • builder: call watch:restart after watch:fileChanged hook (#5620)
  • utils: node v8 not support dotAll in regex (#5608)
  • vue-app: properly catch component loading error (#5687) (#5688) (#5690)
  • vue-app: consider watchQuery option in routerViewKey (#5516)
  • vue-renderer: await on spa:templateParams hook (#5619)
  • webpack: set log level to warn for HardSourcePlugin (#5653)
  • vue-app: properly catch loading error in component prefetching (#5688) (#5690)
  • vue-app: avoid using aliases in templates (#5656)
  • builder: watch store dir and serverMiddleware paths (#5681)

Features 🚀

  • vue-app: rename transition to pageTransition and deprecate it (#5558)
  • vue-renderer/vue-app: report SSR console logs to the browser with consola (#5673)
  • webpack: suppress not found typescript warnings (#5635)
  • webpack: extendable babel.presets and babel envName (#5637)
  • configurable aliases (#5655)

Refactors 🧹

  • server: exclude dist files request from browser detection (#5571)
  • vue-renderer: remove chalk in renderer (#5609)
  • vue-renderer: split renderer into ssr, spa and modern (#5559)
  • move modern detection from server to utils (#5584)

Examples 📚

  • auth-routes: fix typo (#5651)
  • babel-preset-app: add core-js@3 example in the readme (#5633)
  • docker: fix Dockerfile casing (#5705)

Typescript 👷

Only for typescript users, Nuxt.js v2.7 dropped support for node < 8.6 relate to ts-loader v6

  • add babel config types (#5666)
  • upgrade ts-loader to v6 (#5691)
  • fix context.app type (#5701)
  • fix extendRoutes method type (#5700)
  • prevent ts-node to register twice (#5699)

Thanks to 🙏

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 14, 2019

  • The dependency nuxt-start was updated from 2.7.0 to 2.7.1.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.7.1

Fixes

  • builder: use warn only for mismatched dependencies (#5723)
  • webpack: correctly resolve consola for the client bundle (#5729)

Dependency Upgrades

Thanks to

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 30, 2019

  • The dependency nuxt-start was updated from 2.7.1 to 2.8.0.

Your tests are still failing with this version. Compare changes

Release Notes for v2.8.0

😎 Developer Experience

  • #5770 Add a group for SSR logs to avoid polluting the browser console
  • #5810 Fancier browser logs with consola

nuxt-ssr-logs-2

  • #5820, #5832, #5834 Show build indicator in the browser when rebuilding code:

nuxt-hmr-indicator

  • #5753 Watch for pages/ creation when default page displayed
  • #5812 Only listen for file changes for supported extensions
  • #5753 Re-use the same port when randomly assigned when restarting in dev mode

🐛 Bug Fixes

  • vue-renderer
    • #5807 Add User-Agent‍ to Vary header in modern server mode
    • #5764 Safe format SSR logs
  • server
    • #5793 Preserve random port when restarting
    • Return listener when calling listen
  • builder
    • #5753 Watch for pages/ creation when default page displayed
    • #2812 Only listen for file changes for supported extensions
  • generator
    • #5791 Minify spa fallback
  • types
    • #5785 Add type definition for functional babel.presets
  • vue-app
    • #5757 Reuse page component with watchQuery
    • #5746 Remove trailing slash in vue-router non-strict mode
    • #5752 Don't attach catch handler to already loaded component
    • #5824 fixPrepatch in-out transition fix (issue #5797)
  • utils
    • #5754 Handle serializeFunction edge case

🚀 Features

  • vue-renderer
    • #5745 Add render.injectScripts option
    • #5784 Support render.ssrLog for controlling SSR logs

💅 Refactors

  • core
    • #5796 Use require.resolve instead of Module internals
  • builder
    • #5792 Pass nuxt options to template as nuxtOptions
  • vue-app
    • #5770 Add a group for SSR logs
    • #5826 simplify mount error log
  • general
    • #5748 Small readability improvements

📝 Examples

  • auth-jwt
    • #5775 Use named store export to prevent warning
  • typescript
    • #5742 Add missing ts-node dependency

🏡 Chore

  • ci
    • #5802 Upload test report to CircleCI and Azure
    • Add flags for codecov
    • Enable audit
  • general
    • Remove unused dependency cross-env
    • Add FUNDING.md
    • Improve links in readme

♻️ Tests

  • general
    • #5790 Add unit tests for core/resolver.js
    • #5782 Remove duplicate unit tests in packages/core/test/resolver

⚓ Dependency upgrades

💖 Thanks to

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 4, 2019

  • The dependency nuxt-start was updated from 2.8.0 to 2.8.1.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.8.1

🐛 Bug Fixes

  • vue-renderer
    • #5867 Fix exception on property access of undefined object
    • #5863 Prevent "can't set headers after they are sent" error in modern server mode
  • vue-app
    • #5864 Reduce consola direct access and don't override browser console.log
  • cli
    • #5865 Don't mutate options export to prevent ESM regression with nuxt.config in mixed (cjs + esm) mode (TIP: never mix them as is non-standard and may be unsupported in any future version)

💅 Refactors

  • typescript
    • #5854 Prepare for external typescript support

💖 Thanks to

  • Rafał Chłodnicki (@rchl)

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 20, 2019

  • The dependency nuxt-start was updated from 2.8.1 to 2.9.0.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.9.0

⚠️ Important Notes

  • 👉 Minimum required node version is 8.9.0
  • 👉 Typescript support is now externalized. Refer to official docs and migration guide.
  • 👉 vue-meta upgraded to 2.0.0. Please refer to the changelog to review notable changes.
  • 👉 scrollBehavior option is deprecated in favor of app/router.scrollBehavior.js (#6055)
  • 👉 devModules option is deprecated in favor of buildModules (#6203)

🐛 Bug Fixes

  • general
    • #6118 Fix modulepreload warnings
    • #6075 Throw error when building failed in quiet mode
    • #6070 Support babel corejs config for modern mode
    • #6021 Babel polyfill can not be disabled
  • renderer
    • #6033 Correctly load nomodule scripts in safari 10
  • cli
    • #6020 Prevent both nuxt & nuxt-edge being installed
  • vue-app
    • #6012 Emit triggerScroll to support hash navigation
    • #5920 Fix font-size and make width bigger
    • #5891 Always finish transition.leave asynchronously
    • #5890 Fix position of the build indicator when page scrolled
  • vue-renderer
    • #6223 Call render:resourcesLoaded hook before createRenderer
    • #5964 Clone SPA meta to prevent cache modification
  • webpack
    • #5906 Extract css breaks hmr and source-maps

🚀 Features

  • cli
  • server
    • #6178 Allow passing loadingTimeout and other arguments to renderAndGetWindow
  • webpack
    • #6120 Allow function entries for build.transpile
  • vue-app
    • #6194 Add $nuxt.refresh
    • #6186 Use EventSource instead of WebSocket for build indicator
    • #6055 Support app/router.scrollBehavior.js and deprecate scrollBehavior
    • #5941 Add <client-only> alias for <no-ssr>
    • #5844 Allow customizing loading indicator
    • #6194 Add $nuxt.refresh() method or refresh the actual page asyncData and fetch
    • #6231 Export router options
    • #6222 Support functional watchQuery
  • vue-renderer
    • #5975 Add csp option for csp v1 compatibility
    • #6134 Support prepend/append body tags during ssr for all allowed tag types
  • typescript
    • #5858 Externalize typescript support

💅 Refactors

  • config
    • #6203 Rename devModules to buildModules
  • babel-preset-app
    • #6197 Remove babel-plugin-dynamic-import-node
  • webpack
    • #6179 Simplify transpile normalization
  • general

🏡 Chore

  • general
    • #6065 Fix typo
    • #5990 Inverse wording of error message
    • #5910 Update opencollective infos
    • #5869 Rename backers -> nuxters
  • babel-preset-app
    • #5897 Fix typo in babel-preset readme

⚓ Dependency Upgrades

  • file-loader@4
  • url-loader@2
  • cache-loader@4
  • css-loader@3
  • vue-meta@2
  • fs-extra@8

💖 Thanks to

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 20, 2019

  • The dependency nuxt-start was updated from 2.9.0 to 2.9.1.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.9.1

🐛 Bug Fixes

📝 Examples

  • CoffeeScript
    • #6248 Update module for using additionalExtensions

💖 Thanks to

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 28, 2019

  • The dependency nuxt-start was updated from 2.9.1 to 2.9.2.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.9.2

🐛 Bug Fixes

  • general
    • #6257 Improve watching experience for generated files
  • builder
    • #6283 fix(builder): apply overrides from app dir only
  • server
    • #6265 Treat https: null as https: undefined
  • nuxt-start
    • #6267 Add missing vue-client-only dependency
  • vue-app
    • #6264 Only overwrite leave listener when none provided or without done arg
    • #6255 Enforce default css when used with frameworks
  • config
    • #6258 Provide typescript backward compatibility

💅 Refactors

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 2, 2019

  • The dependency nuxt-start was updated from 2.9.2 to 2.10.0.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.10.0

🌟Highlights

  • Support for improved typescript runtime
  • Experimental support for feature toggling for SUPER slim builds!
  • Mitigate problems with nuxt server stocking during development
  • Fix issues with internet-explorer in development mode
  • Upgrade to terser webpack plugin v2
  • Improved stability of loading-screen. No more endless loops (nuxt/loading-screen#44) and show fatal errors (nuxt/loading-screen#45) for the initial build

🐛 Bug Fixes

  • core
    • #6490 Clear resolver cache for project files dev mode
  • vue-app
    • #6479 Error page layout not correctly applied in client-side rendering
    • #6473 Pass vm as arg to support data() with arrow function
    • #6433 Fix asyncData hydration when features.transition is false
    • #6430 Clear idle callback
    • #6217 Prevent looping on error during render of error page
  • webpack
    • #6298 Fix consola IE compatibility
    • Revert pause/resume
    • #6460 Correct sass options for sass-loader@8
    • #6448 Don't push to compilersWatching in callback
  • cli
    • #6441 Server should not be initialized in nuxt build
  • babel-preset-app
    • #6435 Use loose mode for babel class plugin
  • vue-renderer
    • #6429 Dont mutate options.head
  • config
    • #6371 Enable total timing by default when server.timing is enabled
  • config, vue-app
    • #6379 Add module declaration for config and vue-app

🚀 Features

  • cli, config
    • #6399 cli.bannerColor option
  • config
    • #6414 serverMiddleware as a simple key/value object
  • builder
    • #6368 followSymlinks option to allow for symlinks
    • #6285 extendPlugins option and builder:extendPlugins hook
    • #6329 Add builder:prepared hook
    • #6342 Support adding custom middleware
  • cli
    • #6475 Catch build errors with cli:buildError hook
  • webpack
    • #6477 Use vue-meta browser build for client bundle
    • #6398 Upgrade terser-webpack-plugin to v2
    • #6350 Add webpack:config hook
  • server
    • #6438 Add config option to define etag hash function
  • vue-app
    • #6292 Add prefetch prop to <nuxt-link>
    • #6287 Support configurable features
    • #6297 Function watchQuery
  • general
    • #6432 Support setting (non-essential) vue-meta options by user
  • utils
    • #6277 Export sort routes
  • builder, router
    • #6331 Enforce uniform trailing slash handling

💅 Refactors

  • cli
    • #6353 Call setup hook in run command with more args
  • builder
    • #6352 Await build.createRoutes to allow async functions inside it
  • babel-preset-app
    • #6087 Simplify babel preset config

📝 Examples

  • with-sockets
    • #6396 Create server inside the export function

🏡 Chore

  • general
    • Fix example in babel-preset-app readme
    • #6390 Lint vue-app templates
    • #6363 Rename setup hook to run:before

💖 Thanks to

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 11, 2019

  • The dependency nuxt-start was updated from 2.10.0 to 2.10.1.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.10.1

🐞 Fixes

  • vue-app, webpack
    • #6504 Remove consola from client
  • utils
    • #6515 Fix error when router.trailingSlash is false
  • generator
    • #6362 Remove trailing slash when no subFolders are used
  • webpack
    • #6520 chunkhash and contenthash not work with extractCSS
  • cli
    • #6525 Enable server for nuxt build when pages should be generated

🏡 Chore

  • readme
    • #6511 Remove deprecated starter template

⚓ Dependency Upgrades

  • vue-meta: Upgraded to v2.3 which fixes duplicated tags in SPA mode

💖 Thanks to

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 17, 2019

  • The dependency nuxt-start was updated from 2.10.2 to 2.11.0.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.11.0

🐛 Bug Fixes

  • utils
    • #6777 Add catch statement to non function block in serializeFunction
    • #6791 Fix flatRoutes regex for nested routes with trailing slash enabled
  • vue-app
    • #6658 Pass router mode to getLocation
    • #6683 Apply path-to-regexp options to tokensToFunction
    • #6650 Layout in error.vue not work for Vue.extend component
    • #6623 Add prefetched class to <nuxt-link> after chunk loaded
  • general
    • #6685 context.route issue in plugins and splitChunks.pages === false
    • #6590 Collapsed SSR log
  • webpack
    • #6495 Enable devtool for dev mode
    • #6566 Normalize devtool for terser compatibility
  • config
    • #6583 Typo in unsafeInlineCompatibility name

🚀 Features

  • vue-app
    • #6722 Upgrade vue-router to 3.1.x
  • general
    • #6149 Optionally strip non-client or non-server code
  • vue-renderer
    • #6505 Support evaluation in templates
  • config
    • #6597 Add ignoreOptions for node-ignore

💅 Refactors

  • server
    • #6771 Only append not empty allowed sources to csp

🔥 Performance

  • webpack
    • #6632 Prefer using contenthash

📝 Examples

  • with-sockets
    • #6586 Fix cannot read property 'app' of undefined on nuxt build

🏡 Chore

  • general
    • #6732 Update @nuxtjs/eslint-config to v2 and fix lint errors
    • #6686 Fix typo in middleware readme
    • #6649 Limit stale bot to only issues
    • #6637 Remove unused dependencies
    • #6630 Use .github/config.yml for issue template
  • docs
    • #6719 Update code-of-conduct
  • ci
    • #6739 Remove coverage collection in fixtures
    • #6747 Use LTS Node.js instead of latest
    • #6737 Separate dev test and unit test
  • github
    • #6657 Add chinese translation for issue template

👓 Tests

  • general
    • #6752 Pass array to allowedSources
    • #6740 Use got instead of request
    • #6638 Fix chrome detection in macOS Catalina
    • #6596 SSR log

💖 Thanks to

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 17, 2020

  • The dependency nuxt-start was updated from 2.11.0 to 2.12.0.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.12.0

🚀 Features

  • general
    • #6950 Support crossorigin attribute in SSR script and preload tags
    • #6868 Improve programmatic usage
    • #7029 Expose webpack config
    • #6272 Allow disabling loading-screen
  • wepack
    • #6987 Support @import using ~assets in css files
    • #6272 Allow disabling loading-screen
  • vue-app
    • #6880 New fetch syntax
    • #6939 Pass error as param to nuxt-loading fail method
    • #6244 Trigger watchParam when param is changed in same route
  • cli
    • #6855 Pass context when nuxt.config exports a function

👌 DX

  • builder
    • #6924 Analyze mode warning rewording
  • general
  • generator
    • #6882 Log message or full error for unhandled error without stack trace
  • cli
    • #6904 Display listening URLs after build
  • vue-app
    • #7032 Improve missing inject value error message
    • #6775 Middleware not executing on double browser back navigation
  • core
    • #7079 Better module not found handling

🔥 Performance

  • vue-renderer
    • #6973 Early return render when redirect happens
    • #6846 Don't serialize session when injectScripts is false

🐛 Bug Fixes

  • core
    • #7002 Deprecated render:context and render:routeContext hooks was not being called
  • babel-preset-app
    • #7070 TypeError when import cjs in webpack building
  • vue-app
    • #6946 Use child transition name when navigating to parent
    • #6854 Add fallback context for errors
    • #6803 Resolve leave transition on child routes
    • #6807 Move head to the index to avoid global state
  • webpack
    • #6864 Provide global URL and URLSearchParams

💅 Refactors

  • general
    • #6954 Use scope variable memo for modern utils
  • utils
    • #6953 Eliminate side effect from modern utils

📝 Examples

  • cached-components
    • #6997 Remove non-existing link

🏡 Chore

  • general
    • #6816 Simplifies Code Contributions & Reviews
  • ci
    • #6857 Support Github actions

👓 Tests

  • general
    • Fix socket-hang-up test
    • Separate dev and unit test
    • Avoid unexpected outside stderr assertion count
    • Fix uncompressed resource size
    • Wrap error test with consola to make output clear

💖 Thanks to

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 25, 2020

  • The dependency nuxt-start was updated from 2.12.0 to 2.12.1.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.12.1

🐛 Bug Fixes

  • vue-app
    • #7129 Avoid multiple $fetch calls
    • #7103 Use globals.nuxt for fetch client mixin
    • #7128 Set default name to layout to avoid multi mounted calls
  • builder
    • #7097 Ensure entry is in the graph for HMR

🏡 Chore

  • readme
    • #7092 Simplify readme and add gitpod in contributing section
  • examples
    • #7098 Avoid warning with legacy postcss.config.js

💖 Thanks to

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 31, 2020

  • The dependency nuxt-start was updated from 2.12.1 to 2.12.2.

Your tests for group default are passing again with this update. Explicitly upgrade default to this version 🚀

Release Notes for v2.12.2

🐛 Bug Fixes

  • server
    • #7146 HMR for sub-app serverMiddleware without path
  • vue-app
    • #7139 Sanitize layouts after resolve for splitChunks.layout
  • core
    • #7131 Join with os native sep in the resolver

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

No branches or pull requests

0 participants