Nuxt/CHANGELOG.md
pooya parsa 0e51676731 v2.6.0
2019-04-04 21:36:17 +04:30

45 KiB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

2.6.0 (2019-04-04)

Bug Fixes

  • revert node-externals disabling in dev mode (#5452) (6ce99d2)
  • webpack: prefer main over module field for server config (#5446) (e155ea4)
  • disable node-externals for dev mode (#5414) (a5a1657)
  • not override externals set by build.extend (#5444) (1ae4333)
  • build: disable loading babel.config.js by default (#5365) (64fa424)
  • builder: await for renderer to load resources (#5341) (caf5198)
  • cli: catch all possible errors thrown from proper-filelock (#5347) (39bbe46)
  • renderer: retry render if renderer is in loading or created state (#5417) (8b99695)
  • vue-app: prevent mounting page twice on redirect (#5361) (2d73e8a)
  • vue-renderer: add the csp hash if unsafe-inline hasn't been specified (#5387) (97db6a4)
  • add type definition for configuring forkTsChecker (2c1444d)
  • fail in case of missing core-js dependency (#5342) (439b914)
  • memory leak in dev mode (#5399) (04ddcac)
  • SyntaxError Unexpected token export in importing babel runtime helper (#5401) (3b85dd9)
  • vue-app: decode uri in getlocation (#5337) (77dcfe6)

Features

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

Reverts

  • core: call ready to prevent breaking changes (#5413) (001ba77)

2.5.1 (2019-03-21)

Bug Fixes

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

Features

Performance Improvements

BREAKING CHANGES

  • ts: build.useForkTsChecker renamed to build.typescript.typeCheck

2.4.4 (2019-02-26)

Bug Fixes

  • deps: update serve-placeholder and esm (#4970) (111455f)
  • hotfix: preload modern resource in spa modern mode (#5043) (3516580)
  • nuxt-ts: error catch in nuxt-ts binary (#5086) (4f887f6)
  • types: reflect chainlable NuxtLoading methods (#5104) (66273f4)
  • vue-app: fix asyncData memory leak on client-side (#4966) (4086800)
  • vue-app: use browser to handle scrolling position on page reload and back-navigation from other sites (#5080) (7001312)
  • bundle resources other than js(x)/json in node_modules (#4913) (71a70fe)
  • dont force exit when it was explicitly disabled (#4973) (4b82aa9)
  • vue-app: fix getNuxtChildComponents method (#4969) (dbf7099)

Features

2.4.3 (2019-02-06)

Bug Fixes

Features

  • module: support src as a function in addModule (#4956) (e2c811a)

2.4.2 (2019-01-30)

Note: Version bump only for package nuxt.js

2.4.1 (2019-01-30)

Bug Fixes

2.4.0 (2019-01-28)

Bug Fixes

  • $nuxt is used instead of globalName (#4743) (fe57a5a)
  • add iron browser as modern (#4775) (9eab558)
  • add option to rewatch on path after raw fs event (#4717) (9c6df49)
  • allow keepAliveProps for nuxt component (#4610) (8dc15d0)
  • allow pcss ending for webpack loader (#4530) (8e0b508)
  • apply store HMR to whole store (#4589) (81cf09c)
  • correct renderer.noSSR name (6990efc)
  • csp SHA hashes accumulate when using custom script-src rules (#4519) (683dbba)
  • detect plugin without extension (#4579) (e7df65b)
  • hotfix for vuex hmr (#4801) (5f0b34f)
  • rollup: temporary ignore rollup-plugin-license deprecated warns (49a7d0c)
  • empty error message in dev mode (3d990fe)
  • enable FriendlyErrorsPlugin when build.friendlyErrors is true (30fef5d)
  • exit with proper error code on errors (#4806) (a7ba73e)
  • fall back to default value when publicPath is falsy (#4365) (e0537d5)
  • hmr in modern mode (#4623) (df9b32a)
  • improvements for build and dev stability (#4470) (fe05169)
  • invalid plugin mode warning for all (9b3e7be)
  • keepAliveProps broken in (#4521) (431cc15)
  • loading.throttle can not be 0 (2d74804)
  • match subdir under node_module in transpile (#4850) (43ce8e9)
  • merge route.meta into options.meta (#4479) (5a8e6e4)
  • modern=true or false not work as expected (#4378) (4c27088)
  • nested-components example (#4535) (6315bd7)
  • no false positives for plugins with index.js (#4714) (eef2af3), closes #4713
  • No need to use process.client here (be5e057)
  • builder: add lodash inside templates (#4368) (27e79be)
  • builder: js layout (#4701) (af76e07)
  • builder: layouts condition (#4641) (6436e3b)
  • builder, module: addLayout and nuxt.config precedence over auto-scanned layouts (#4702) (f85ac94)
  • ci: [release] manually does not work (052512e)
  • ci: deprecated --skip-git has been replaced by --no-git-tag-version --no-push (056704f)
  • ci: env can not be in workflow (0e9eca2)
  • ci: env in circle is not executable [release] (a4c503b)
  • ci: reduce jest workers i CircleCI (5ec0c8d)
  • ci: release edge with push and tag (678b4ab)
  • ci: release is ignored in all commits (d7bd99e)
  • ci: release is ignored in all commits (b3ff7a1)
  • ci: run in bound for now (89f097e)
  • ci: setupFilesAfterEnv is array (6d8da0e)
  • ci: support skip release in commit body (4eff50f)
  • ci: swap COMMIT_MSG between commit and nightly release (d455408)
  • ci: typo (#4400) (b6b7c43)
  • ci: use full message for COMMIT_MSG (cc358b5)
  • ci: use skip-git for edge release (5235471)
  • circleci: keep using --forceExit (085ff82)
  • cli: disable lerna commit and tag (955b5d4)
  • common: remove extra @nuxt/config dependency (a2d4270)
  • config: define once default nuxt config filename (#4814) (06a18ca)
  • deps: update all non-major dependencies (#4358) (45fdae0)
  • deps: update dependency vue-no-ssr to ^1.1.0 (#4372) (e731250)
  • dev: Show correct path when webpack watched files changed (25dea5f)
  • dist: use -edge suffix to require cli (98c1922)
  • edge, next: -t ~> --tag (2b46d3e)
  • eslint: amp tags not support pascal case (6a4808f)
  • example: lint error (ccf3264)
  • examples: add pug dependencies (#4824) (4b32144)
  • examples: deps [skip ci] (#4782) (f70610b)
  • examples: deps [skip ci] (#4827) (6542dff)
  • examples: fix deps on codesandbox (#4828) (ee7ad77)
  • examples: Ugrade vue-property-decorator in typescript examples (#4767) (73507b8)
  • examples: Update config for better mobile handling (3b7ac3c)
  • examples: use testURL and module names (#4777) (c83bcb0)
  • exmaple: typescript example (7cf9f80)
  • layout-middleware: Fix issue #4724 (521ac20)
  • nuxt-start: include all vue-app dependencies to prevent breaking changes (c664e3d)
  • pkg: add serialize-javascript to common/package.json (#4565) (6b95eff)
  • pkg: move opencollective dependency nuxt and nuxt-legacy (#4415) (f680e36)
  • pkg: preferConst -> output.preferConst (7fc4ba2)
  • pkg: skip invalid workspace packages (ba50d3b)
  • progress-bar: allow 0 for values and remove duplicate defaults (#4397) (ecdc7bc)
  • renderer: ignore invalid sourcemaps (4b643b9)
  • resolver: resolve dir if no index found #4568 (#4569) (85b5359)
  • resolver: resolvedPath/index.[ext] resolution (#4548) (b413bc1)
  • rollup: set correct output options (fc1ab1e)
  • scrollBehavior: emit triggerScroll event after changing layer (#4399) (330301c), closes #4080
  • server: allow listening on number 0 port (#4781) (602cf12)
  • server: allow rendering urls with unicode characters (#4512) (c3128ea)
  • server: Cannot read property client of null when webpackHMR & restarting Nuxt (8a200f7)
  • server: delete all non-js assets (6589670)
  • server: process browser version with non semver versions (#4673) (d3b9396)
  • server, jsdom: fix timeout error message (#4412) (ab6367b)
  • server, vue-app: allow unicode page names (#4402) (949785f)
  • test: downgrade jest to 23 (d88e448)
  • test: fallback to config if no config.default (2f2ec7a)
  • test: jest describe.skip does not work fine (d0aadd4)
  • test: remove local paths (d02eb2f)
  • test: typescirpt modern mode only check once (70775e1)
  • test: wrong route in error-handler-object test (#4363) (0db1f26)
  • test/utils: check both ts and js for nuxt.config (5b66afc)
  • ts: Add missing loading property to Component options (#4786) (db4001d)
  • ts: better tsconfig.json handling & improve tests (#4856) (f18ce4e)
  • ts: fix $nuxt.$loading typedefs (#4778) (6694cf7)
  • ts: fix default tsconfig.json (#4842) (c39cf84)
  • ts: fix missing process type definitions and refactor types tests (#4798) (45afc3f)
  • ts: fix nuxt-ts binary when running nuxt commands (#4844) (6e60aa4)
  • ts: keep baseUrl property in generated tsconfig.json (#4843) (55dc7f4)
  • thread-loader slow building (4fb220c)
  • ts: missing tsconfig.json on npm published version (#4840) (e57c20a)
  • ts: prevent checking types twice in modern mode & use consola as logger (#4803) (b202361)
  • ts: set ts-node register compilerOptions.module to 'commonjs' (#4752) (e22e14b)
  • watch custom patterns only when it exists (#4823) (3966b26)
  • ts: switch from babel preset to ts-loader (#4563) (75e3df6)
  • vue-app: add type definition for ComponentOptions.middleware (#4531) (da0a379)
  • vue-app: allow passing custom props to error function (#4462) (a6fed0a), closes #4460
  • require serverMiddleware object with path and handler (#4656) (8786ff7)
  • vue-app: Call Vue.config.errorHandler instead of simply logging the error (6c4280f)
  • vue-app: Fix default error handler in production (96892c5)
  • vue-app: Fix route meta to handle order (45be638)
  • vue-app: Fix test on size-limit (4a77de8)
  • vue-app: Fix Vuex HMR & refactor for better modules usage (#4791) (deadc48)
  • vue-app: router.meta is null on extendRoutes(#4478) (e2ab1b4), closes #4154
  • Vue.component(RouterLink) is undefined in vue-router 3.0.0 (#4668) (7ff4058)
  • vue-app: Set window. equals to window.{globalName} when defined (951e745)
  • vue-renderer: improve ready handling (#4511) (f0cb654)
  • vue-renderer: parse JSON values before passing to bundle-renderer (c0721c0), closes #4439
  • server build failed in dev mode (89f8866)
  • webpack: allow changing devtool with extend (#4515) (33edef2)
  • not use deprecated option esm in resolver (5f6361f)
  • offer a new port and listen if already used, use consola on server error (#4428) (1d78027)
  • plugins for modern mode (#4659) (867e8e1)
  • prevent matching native statements in serializeFunction (#4585) (5b58272)
  • properly serialize head functions (#4558) (7831e57), closes #4079
  • remove unnecessary isDev in template/server (a51ba8d)
  • replace nuxtDir with module.paths (#4448) (d66e1ec)
  • require postcss module via resolver (#4737) (4b9e8e7)
  • router Expected "0" to be defined (#4394) (39b1b8e)
  • SafariFix is not injected in client modern mode (ecf76d9)
  • tests failed in windows (8163a9e)
  • thread-loader memory leak (d34a9e2)
  • undefined script in modern mode (0a21d4b)
  • webpack: deepClone before calling extendConfig (#4464) (06ddfbb)
  • webpack: prevent terser mangling html/vue reserved tags (#4821) (6a68f4e)
  • use case insensitive regex for webpack loader rules (#4728) (68d8d54)
  • use triple equals in loading.throttle [release] (e77c2db)
  • wait error hook (36ca945)
  • wrong devMiddleware in non-modern dev mode (3515115)
  • wrong type checking for loading.duration (0c15b29)

Features

Performance Improvements

  • pkg: remove lodash dependency from packages (#4411) (d7851b3)
  • ssr: remove extra imprts from server.js (6178c47)

2.3.4 (2018-11-26)

Bug Fixes

  • pkg: move opencollective dependency nuxt and nuxt-legacy (#4415) (4a85c03)
  • progress-bar: allow 0 for values and remove duplicate defaults (#4397) (8030ca1)
  • scrollBehavior: emit triggerScroll event after changing layer (#4399) (0c6c69b), closes #4080
  • server, jsdom: fix timeout error message (#4412) (e1c1240)
  • server, vue-app: allow unicode page names (#4402) (d187793)
  • empty error message in dev mode (47f02ae)
  • modern=true or false not work as expected (#4378) (ff7c083)
  • router Expected "0" to be defined (#4394) (54d2737)

Performance Improvements

  • pkg: remove lodash dependency from packages (#4411) (7e1beed)