Commit Graph

473 Commits

Author SHA1 Message Date
Pooya Parsa
cd1fc6277f chore(deps): update ufo to 0.7.4
https://github.com/unjs/ufo/issues/19 fixing https://github.com/nuxt/nuxt.js/pull/9283/checks?check_run_id=2558629137
2021-05-11 20:57:53 +02:00
renovate[bot]
a80ddeee6f
chore(deps): update all non-major dependencies (#9281)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-11 20:06:25 +02:00
Pooya Parsa
9de997f164 v2.15.5 [release] 2021-05-09 10:19:03 +02:00
renovate[bot]
65e62b96a3
chore(deps): update all non-major dependencies (#9188)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 10:53:43 +02:00
Thomas Beduneau
330e5c99bc
fix(vue-app): use route.replace instead of router.push to trigger navigation guards (#9201) 2021-05-03 10:51:18 +02:00
renovate[bot]
8e2cad5a8f
chore(deps): update all non-major dependencies (#9160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 20:47:34 +02:00
renovate[bot]
8ebb92a9f6
chore(deps): update all non-major dependencies (#8806)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 20:14:54 +01:00
Pooya Parsa
18d1cd086a v2.15.4 [release] 2021-04-01 13:25:16 +02:00
Thomas Beduneau
04d33829f9
fix(vue-app): use app.context.route for resolving components (#9050) 2021-04-01 12:00:51 +02:00
vcordes79
c04a793b4a
fix(vue-app): fallback to global nuxt instance of $root is not available (#9008) 2021-03-31 19:52:32 +02:00
Daniel Roe
ca020cf9cb
refactor: move internal app runtime config to _app namespace (#9075) 2021-03-30 18:38:51 +02:00
rinu
3fb9194416
fix(vue-app): reload page once after loading chunk error (#8978) 2021-03-28 20:25:05 +02:00
Daniel Roe
2c4cc04b49
fix(vue-app): re-call $fetch if data is missing in payload (#9026) 2021-03-23 19:04:54 +01:00
Daniel Roe
bc3b21a9bb
fix(vue-app): handle redirect functions in routes (#9024)
closes #8979
2021-03-22 11:29:27 +01:00
Thomas Beduneau
e8ea37673f
fix(vue-app): use app.context.route to match components in server 2021-03-22 11:24:34 +01:00
ChangJoo Park(박창주)
0921ceeb2e
chore(lint): add indent result of createApp (#8982) 2021-03-16 21:41:57 +00:00
Pooya Parsa
f08f4efcde v2.15.3 2021-03-10 13:28:36 +01:00
Daniel Roe
69b5264ef3
fix: allow relative public paths (#8935) 2021-03-10 12:48:41 +01:00
renovate[bot]
0bcf5b8dbe
chore(deps): update all non-major dependencies (#8917)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-05 18:10:19 +01:00
Pooya Parsa
b7f9cdc2a4 v2.15.2 [release] 2021-02-23 10:16:01 +01:00
renovate[bot]
308fd426d3
chore(deps): update all non-major dependencies (#8870)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-23 09:37:12 +01:00
Pooya Parsa
608a380e1d v2.15.1 [release] 2021-02-19 17:36:59 +01:00
pooya parsa
1b9a9d6449
fix(renderer): deep merge runtimeConfig for server (#8856) 2021-02-19 17:33:00 +01:00
Pooya Parsa
dcfb42b772 v2.15.0 [release] 2021-02-15 12:04:09 +01:00
Daniel Roe
e277bb284b
fix(vue-app): align client fetch key with server (#8809) 2021-02-12 12:55:27 +01:00
Daniel Roe
9d33456e69
fix(vue-app): add leading slash for payload hydration (#8802) 2021-02-10 13:18:27 +01:00
renovate[bot]
c221f60780
chore(deps): update dependency ufo to ^0.6.5 (#8805)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 12:33:54 +01:00
Daniel Roe
119091c8d1
refactor(utils, vue-app): use ufo to parse queries and join urls (#8765) 2021-02-09 17:01:37 +01:00
Daniel Roe
c8a4b91ad4
fix: ignore trailing slash in static payloads manifest (#8794) 2021-02-09 16:58:49 +01:00
renovate[bot]
87ec80603a
chore(deps): update dependency ufo to ^0.6.2 (#8791)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 11:54:41 +01:00
Daniel Roe
1196c17a2a
fix(vue-app): enable dynamic publicPath on server-side (#8759) 2021-02-04 21:56:18 +01:00
Daniel Roe
07dd2cce9b
fix(server, vue-app): address encoding issues with query params (#8748)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-02-04 18:52:13 +00:00
renovate[bot]
be79532715
chore(deps): update all non-major dependencies (#8751)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-03 13:26:37 +00:00
Daniel Roe
6a8339e4c4
fix: encoding issues with payload paths (#8738)
- fix(generator): decode full static filesystem paths
- fix(vue-app): check decoded path against manifest
- fix(vue-app): prevent double encoding for urls

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-02-02 13:38:54 +01:00
pooya parsa
febd7ee43c
fix(vue-app): static payload fetching bugfixes (#8701) 2021-01-27 11:26:34 +01:00
Xin Du (Clark)
dc551f9709
fix(dev): clearnup vue installed plugins from server in dev mode (#8697) 2021-01-27 11:26:08 +01:00
renovate[bot]
db29fcdbc3
chore(deps): update all non-major dependencies (#8698)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-26 23:07:49 +01:00
renovate[bot]
592342fe72
chore(deps): update all non-major dependencies (#8694)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-26 09:32:27 +00:00
Alexander Lichter
cff123cc9d
chore(types): lint types (#8630) 2021-01-13 12:22:49 +01:00
Xin Du (Clark)
2b3eefc3a1
refactor(vue-app): simplify scrollToTop checking (#8621) 2021-01-12 09:47:29 +00:00
Daniel Roe
3265e94979
fix(vue-app): check for Page.options before looking within (#8612)
closes #8234
2021-01-11 17:04:33 +00:00
renovate[bot]
db5cea1d17
chore(deps): update all non-major dependencies (#8595) 2021-01-11 16:54:27 +00:00
Daniel Roe
71a3df8443
fix(vue-app): don't remove req/res/query unless in full static mode (#8611)
closes #7965
2021-01-11 11:11:00 +01:00
Daniel Roe
3bba4c6a7f
fix(vue-app): check that link.__prefetch exists before calling it (#8608)
closes #8173
2021-01-08 19:23:55 +01:00
Ahad Birang
746b14319a
fix(vue-app): add id attribute to noopApp (#8596) 2021-01-05 14:14:39 +01:00
Beorn Facchini
ac762299a1
fix(vue-app): scroll to top on route changes only (#8557) 2020-12-26 20:19:33 +01:00
Pooya Parsa
108cd8216a chore: reorder deps 2020-12-22 18:40:31 +01:00
Pooya Parsa
7529d65d75 chore: migrate from @nuxt/ufo to ufo 2020-12-22 18:20:41 +01:00
Daniel Roe
9681a8937d
feat(config, vue-app, vue-renderer): support dynamic base and publicPath (#8520)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-12-22 18:15:59 +01:00
pooya parsa
dec8f99fc3
feat: support plug-and-play, typescript runtime and native modules (#8389)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-22 18:07:50 +01:00
Daniel Roe
8c8793073f
fix(vue-app): set push on router instance rather than prototype (#8523)
resolves #7479
resolves #8522
2020-12-20 12:21:20 +01:00
Daniel Roe
fb191d2fbd
fix(vue-app, vue-renderer, utils): respect trailingSlash setting for payloads (#8489)
* fix(utils): don't inject a trailing slash on catchall routes (e.g. `/*/`)

closes #8488

* fix(vue-app, vue-renderer): respect `trailingSlash` setting for payloads

* refactor: use new ufo `parsePath` utility

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-12-17 12:51:14 +01:00
Daniel Roe
92018e586b
feat(vue-app): support custom fetchKey for full static generation (#8466)
[release]
2020-12-17 12:49:59 +01:00
renovate[bot]
5a5161aa52
chore(deps): update dependency @nuxt/ufo to ^0.5.2 (#8499)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 15:22:23 +01:00
renovate[bot]
fedba22f73
chore(deps): update all non-major dependencies (#8463)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 14:42:38 +01:00
Pooya Parsa
a78427c165 v2.14.12 [hotfix] [release] 2020-12-16 14:21:30 +01:00
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
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
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
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
Pooya Parsa
68d8fb8487 v2.14.8 [release] 2020-12-01 12:05:12 +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
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
7278b10112
fix(vue-app): warn if promises and functions are in fetch state (#8348) 2020-11-16 09:43:20 +01: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
Pooya Parsa
8b8eb84c89 chore: pin vue-router to 3.4.8 2020-11-09 20:01:54 +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
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]
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
pooya parsa
265d0e7aac v2.14.7
[release]
2020-10-15 18:17:49 +02:00
Daniel Roe
9c4dac3c61
fix(vue-app): use getter to provide this.$nuxt (#8170) 2020-10-13 12:19:08 +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
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
Daniel Roe
89a64161d0
fix(vue-app): always import error layout (#8067) 2020-09-15 18:33:26 +02:00
Dmitriy
45b7838710
fix(vue-app): empty $fetch function for SSR with static target (#8053) 2020-09-10 21:16:00 +02:00
pooya parsa
3b037720f2 v2.14.5
[release]
2020-09-10 14:35:08 +02:00
Dmitriy
757d5d46da
fix(vue-app): missing layout in error page with splittedChunks.layout (#8016) 2020-09-09 12:32:10 +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
1a77fba4eb v2.14.4 2020-08-27 12:25:35 +02:00
Florent Catiau-Tristant
51b037fea6
fix(vue-app): var names shadowing in chrome debugger (#7939)
* fix: var names shadowing in debug

* fix: new appropriate variable name

Co-authored-by: florent.catiau <florent.catiau@veepee.com>
2020-08-25 21:31:36 +02:00
renovate[bot]
e72d03a49a
chore(deps): update all non-major dependencies (#7929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-25 15:11:17 +01:00
pooya parsa
5e9d759d7b v2.14.3 [release] 2020-08-16 19:03:06 +02:00
pooya parsa
34c56722c8 v2.14.2 [release] 2020-08-16 12:57:53 +02:00
Jonas Galvez
fe0498cecd
fix(vue-app): prevent router.registerModule reallocation (#7915) (#7916) 2020-08-15 22:29:17 +02:00