Commit Graph

1409 Commits

Author SHA1 Message Date
Pooya Parsa bde4c5f6b0 v2.14.12 2020-12-16 14:13:06 +01:00
pooya parsa a25bdd622d
fix: fix issues with url handling (#8494) 2020-12-16 14:12:16 +01:00
Daniel Roe 1269773d9d
fix(vue-app): do not preserve state when registering client-side dynamic module (#8486) 2020-12-14 10:52:02 +01:00
Sébastien Chopin dd7f767d13
fix(generator): ensure manifest dir exists (#8474) 2020-12-11 13:34:13 +01:00
Pooya Parsa 07a6bbe2b0 chore: fix router base handling with dev-middleware (closes #8440)
[release]
2020-12-10 11:40:20 +01:00
Pooya Parsa 568f9fddd9 chore: add missing url-polyfill dependency 2020-12-10 11:35:56 +01:00
renovate[bot] 31483310f0
chore(deps): update all non-major dependencies (#8449)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-10 11:34:28 +01:00
Pooya Parsa 79c6cb5ee3 v2.14.11 [hotfix] 2020-12-10 00:25:44 +01:00
Pooya Parsa d85f4b9264 v2.14.11 [release] 2020-12-10 00:20:26 +01:00
pooya parsa 966796fbdf
fix: fix issues with route normalization (#8462)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-10 00:19:31 +01:00
Pooya Parsa 85bb97906c v2.14.10 [hotfix] 2020-12-07 11:37:14 +01:00
Pooya Parsa e97051adfa v2.14.10 [release] 2020-12-07 11:28:46 +01:00
pooya parsa fc51ca3330
fix: normalize routes and decode resolved query (#8430) 2020-12-06 18:32:39 +01:00
renovate[bot] 31d6abcdb8
chore(deps): update all non-major dependencies (#8441)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 16:38:42 +01:00
renovate[bot] f4ed68360e
chore(deps): update dependency execa to v5 (#8434)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-03 12:01:55 +01:00
renovate[bot] 47c4054d23
chore(deps): update all non-major dependencies (#8424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-03 12:01:23 +01:00
renovate[bot] f8c616037e
chore(deps): update dependency chalk to v4 (#8428)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-03 12:01:13 +01:00
Pooya Parsa dad4590613 chore: 2.14.9 hotfix 2020-12-02 11:39:55 +01:00
Pooya Parsa e9f380c9e6 v2.14.9 [release] 2020-12-02 11:34:18 +01:00
pooya parsa 49c293b25f
fix: only encode non dynamic path params (#8421) 2020-12-01 16:01:25 +01:00
renovate[bot] 8139352afe
chore(deps): update all non-major dependencies (#8418)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 13:03:21 +01:00
Xin Du (Clark) ab039f051a
feat: update all dependencies that require node 10.x (#8346) 2020-12-01 12:40:50 +01:00
Daniel Roe 8d9d6a94d2
feat(vue-renderer): allow adding async attribute to `<script>` tags (#8347) 2020-12-01 12:10:44 +01:00
Pooya Parsa 68d8fb8487 v2.14.8 [release] 2020-12-01 12:05:12 +01:00
renovate[bot] c0ec003da5
chore(deps): update all non-major dependencies (#8417)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 10:15:00 +01:00
Perlover 0bd21413cb
fix(server): remove `virtualConsole` option when disabled (#8263) 2020-12-01 10:14:45 +01:00
Pooya Parsa 3b19e3f4b8 chore: update tests 2020-11-30 23:54:30 +01:00
pooya parsa c15fc421ab
refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00
padinko da38f96f03
fix(webpack): allow transpiling package in nested `node_modules` (#8205) 2020-11-30 23:26:46 +01:00
Pooya Parsa a8cc430574 chore: remove extra import 2020-11-30 23:25:44 +01:00
renovate[bot] 8d20da91c3
chore(deps): update all non-major dependencies (#8396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-30 23:18:57 +01:00
pooya parsa cc1f6d94b5
fix: handle route encoding (#8325)
Co-authored-by: farnabaz <farnabaz@users.noreply.github.com>
2020-11-30 23:10:02 +01:00
Ahad Birang 7cac3c7fc9
fix(vue-router): force chidren to be required if default child is present (#8394) 2020-11-30 23:08:33 +01:00
Daniel Roe 09748d489e
fix(cli): respect `router.trailingSlash` when serving static files (#8398) 2020-11-30 15:57:37 +01:00
Pooya Parsa e02fecdf5b chore(pkg): removed unused dependency @nuxt/static 2020-11-25 15:53:32 +01:00
Cain Hall b80056c96c
fix(generator): nested route missing trailingSlash (#8237)
[release]
2020-11-25 15:24:13 +01:00
Zuckjet 135456f051
fix(csp): apply right csp header when status code is 304 (#8352) 2020-11-25 15:22:32 +01:00
Sébastien Chopin 691f21c683
fix(vue-app): handle missing payloads on full static (#8314)
* fix(vue-app): handle missing payloads on full static

Fixes #7717

* chore: rename routesManifest to manifest

* chore: remove console.log

* chore(vue-app): don't have staticAssetsBase if undefined

* chore: add manifest option

* test: update snapshot

* chore: use foundRoute to avoid multiple vars name

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2020-11-25 15:19:29 +01:00
renovate[bot] e635cc5044
chore(deps): update all non-major dependencies (#8326)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 15:15:58 +01:00
Daniel Roe 9ce75c5dfe
fix(types): correct vue.config types (#8362) 2020-11-18 10:30:54 +01:00
Daniel Roe 7278b10112
fix(vue-app): warn if promises and functions are in fetch state (#8348) 2020-11-16 09:43:20 +01:00
Mathieu TUDISCO f36a6a0ff6
fix(types): add missing `isFetching` and nbFetching to `NuxtApp` interface (#8349) 2020-11-16 09:31:21 +01:00
renovate[bot] 57aa7cc54d
chore(deps): update dependency node-html-parser to v2 (#8329) 2020-11-14 23:20:24 +00:00
Daniel Roe b050861332
fix(generator): respect publicPath for static assets (#8344)
* fix: respect publicPath for static assets

* test: add test for correct `publicPath` URL handling
2020-11-14 23:10:16 +01:00
renovate[bot] e934da3c36
chore(deps): update devdependency @nuxtjs/eslint-config to v5 (#8345)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-11-14 17:10:53 +00:00
Audrius Jakumavicius 80571bc05d
fix(cli): handle `generate.cache.ignore` as a function in `ensureBuild` (#8337) 2020-11-12 15:03:06 +01:00
Pooya Parsa 8b8eb84c89 chore: pin vue-router to 3.4.8 2020-11-09 20:01:54 +01:00
Orkhan Alikhanov 3e480fdadc fix(types): `NuxtOptionsHead` can be a function (#8319)
[deprecated]
2020-11-09 18:26:38 +01:00
Sébastien Chopin e601f0a0d6
chore(server): redirect if `router.base` specified in development (#8313) 2020-11-09 18:17:32 +01:00
renovate[bot] 63f5a0ed8c
chore(deps): update all non-major dependencies (#8300)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-09 18:11:56 +01:00
Pim 2c6610cfb8
fix(vue-app): triggerScroll when transitions is disabled (#8225) 2020-11-06 09:38:08 +01:00
Daniel Roe 005daebfce
fix(types): add missing `ssrContext` and `next` typings to `Context` (#8302)
closes #8296
2020-11-06 09:36:40 +01:00
renovate[bot] 8a25a91b60
chore(deps): update all non-major dependencies (#8267) 2020-11-04 13:59:02 +00:00
Xin Du (Clark) 418405c216
chore(actions): speed up windows build (#8265) 2020-11-04 13:38:38 +00:00
Daniel Roe 442b6c07c9
fix(vue-app): use nuxt globalName correctly in nuxt-link and fetch mixin (#8289) 2020-11-04 13:35:29 +00:00
Daniel Roe e14b7201b4
fix(vue-app): prevent redirection loop with uri encoded path (#8280) 2020-11-04 13:35:12 +00:00
renovate[bot] 44df8cc1b1
chore(deps): update dependency caniuse-lite to ^1.0.30001154 (#8264)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-29 22:15:26 +00:00
renovate[bot] 918b589772
chore(deps): update all non-major dependencies (#8224)
* chore(deps): update all non-major dependencies

* fix lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-10-29 21:47:05 +00:00
renovate[bot] d5c05054fe
chore(deps): update all non-major dependencies (#8211)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-19 11:59:14 +02:00
Steve Perkins 2547605164
fix(cli): grammatical errors (#8219)
* Fixed grammatical errors

* Update packages/cli/src/commands/generate.js

Co-authored-by: Daniel Roe <daniel@roe.dev>

Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2020-10-19 11:58:42 +02:00
pooya parsa 265d0e7aac v2.14.7
[release]
2020-10-15 18:17:49 +02:00
Sébastien Chopin 7e7190b90d
fix: add better logs for DX with target option (#8206)
* fix: add better logs for DX with target option

* chore: add warning for old nuxt build in ssr false

* Update generator.js

* Update generate.js

* chore: better logs

* fix: update
2020-10-15 18:12:06 +02:00
renovate[bot] 044d07cb17
chore(deps): update all non-major dependencies to ^7.12.0 (#8207)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-15 13:11:27 +02:00
pooya parsa c75ac80f36
fix(babel-preset-app): always transpile optional chaining and nullish-coalescing for server (#8203) 2020-10-14 16:02:13 +02:00
pooya parsa d9f48228fe
fix(cli): rebuild if process.env changes in nuxt.config (#8200) 2020-10-14 10:30:44 +02:00
renovate[bot] b533877b6a
chore(deps): update all non-major dependencies (#8197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-13 21:07:29 +02:00
pooya parsa 819afcdeb4
fix(cli): avoid error about `nuxt-edge` if installed in parent `node_modules` (#8194) 2020-10-13 12:20:04 +02:00
renovate[bot] 5b87d1cfc0
chore(deps): update all non-major dependencies (#8177)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-13 12:19:36 +02:00
Daniel Roe 9c4dac3c61
fix(vue-app): use getter to provide `this.$nuxt` (#8170) 2020-10-13 12:19:08 +02:00
Daniel Roe a748cf0ca3
fix(types): add type for `serverMiddleware` object format (#8182) 2020-10-11 00:34:37 +02:00
renovate[bot] 00c9dc3fc2
chore(deps): update dependency @types/node to ^12.12.67 (#8171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-09 12:03:26 +02:00
Daniel Roe 81030bef6b
fix(types): make `NuxtConfig` an interface (#8169) 2020-10-09 12:03:04 +02:00
renovate[bot] 1b1ef37fcb
chore(deps): update dependency upath to v2 (#8157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-08 16:36:19 +02:00
renovate[bot] f0c1375477
chore(deps): update all non-major dependencies (#8137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-08 16:34:45 +02:00
Xin Du (Clark) 202f35584b
fix(cli): mode deprecation with explicit spa or universal flag (#8134) 2020-10-08 16:30:02 +02:00
Sébastien Chopin 34f32113b4
fix(generator): handle when no `routes.json` defined (#8166) 2020-10-08 16:29:30 +02:00
Clark Du 61e93d01f9 Revert "fix(vue-app): use mixin to provide `this.$nuxt` (#8068)"
This reverts commit 8abdc177be.
2020-09-30 12:08:57 +01:00
Daniel Roe 8abdc177be
fix(vue-app): use mixin to provide `this.$nuxt` (#8068)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-09-30 11:16:16 +01:00
Dmitriy 79440f3ce5
fix(vue-app): scrollRestoration hasn't set (#8055) 2020-09-30 10:57:36 +01:00
renovate[bot] 3aa02cf00c
chore(deps): update all non-major dependencies (#8131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-30 10:55:52 +01:00
renovate[bot] d7a8548d53
chore(deps): update all non-major dependencies (#8101) 2020-09-28 10:57:10 +01:00
pooya parsa 41176577ad v2.14.6
[release]
2020-09-21 12:30:19 +02:00
Yihao Gao 4374e541ee
fix(babel-preset-app): allow to specify `corejs.version` as string (#8085) 2020-09-21 12:21:39 +02:00
renovate[bot] 761d2abb7f
chore(deps): update all non-major dependencies (#8086)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 12:21:07 +02:00
renovate[bot] b9b55de654
chore(deps): update all non-major dependencies (#8083)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-16 12:51:11 +02:00
Daniel Roe 89a64161d0
fix(vue-app): always import error layout (#8067) 2020-09-15 18:33:26 +02:00
renovate[bot] 3eff45477f
chore(deps): update all non-major dependencies (#8058)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-15 16:03:42 +01:00
Dmitriy 45b7838710
fix(vue-app): empty `$fetch` function for SSR with static target (#8053) 2020-09-10 21:16:00 +02:00
renovate[bot] b93ba5c688
chore(deps): update all non-major dependencies (#8052)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-10 19:44:09 +02:00
renovate[bot] 7f8b3a9550
chore(deps): update dependency serialize-javascript to ^5.0.1 (#8051)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-10 15:11:13 +02:00
pooya parsa 3b037720f2 v2.14.5
[release]
2020-09-10 14:35:08 +02:00
pooya parsa d864b2bd75
chore(config): deprecate mode option (#8044) 2020-09-09 16:39:20 +02:00
renovate[bot] c9513010eb
chore(deps): update dependency serialize-javascript to v5 (#8045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 16:11:47 +02:00
Dmitriy 757d5d46da
fix(vue-app): missing layout in error page with `splittedChunks.layout` (#8016) 2020-09-09 12:32:10 +02:00
remigermain 7e3532ea59
fix(config): normalize `build.indicator: true` to default value (#8030)
* fix(config): indicator set to true

* fix eslint

* Update options.js

* indicator is not ad-hoc

Co-authored-by: rgermain <germain.remi@protonmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-09-09 11:37:49 +02:00
pooya parsa 7961e539da
fix(utils): support chaining functions with promise (#8038) 2020-09-09 11:22:43 +02:00
pooya parsa 4de44e6c52
fix(config): avoid recursion when interpolating env (#8014) 2020-09-09 10:50:27 +02:00
pooya parsa a3d836401c
fix: revert production js chunk names (#8012) 2020-09-09 10:49:31 +02:00
renovate[bot] 0bafd77306
chore(deps): update all non-major dependencies (#8005)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 10:22:44 +02:00
pooya parsa a7da6fd56f
fix(config): don't interpolate variables with undefined value (#8013) 2020-09-03 13:42:17 +02:00