Commit Graph

508 Commits

Author SHA1 Message Date
renovate[bot]
dd600bbb66
chore(deps): update all non-major dependencies (#8779) 2022-11-10 10:43:24 +01:00
Daniel Roe
17099348e7
fix(nuxt)!: only add $f fetch prefix to auto-keys (#8852) 2022-11-10 09:39:49 +01:00
Daniel Roe
4bbd2618ce
feat(nuxt): auto-import utils/ directory (#8817) 2022-11-09 10:43:16 +01:00
Daniel Roe
3839dba06a
refactor(nuxt): explicitly import app in nuxt-root (#8729) 2022-11-09 10:14:15 +01:00
Daniel Roe
453ce78300
fix(nuxt): swallow issues with query selectors (#8843) 2022-11-09 10:10:32 +01:00
Daniel Roe
aec07f4255
style: lint Route interface (#8822) 2022-11-09 10:08:50 +01:00
Daniel Roe
5a32927935
fix(nuxt): do not render page if we are throwing error (#8821) 2022-11-09 10:08:37 +01:00
Daniel Roe
4d1be089d7
chore(nuxt): remove unused plugins (#8819) 2022-11-09 10:07:22 +01:00
Daniel Roe
10c2272f4f
refactor(nuxt)!: remove support for 404.vue shorthand (#8809) 2022-11-09 10:05:22 +01:00
Alexander Lichter
0cf0f59bc5
fix(ssr): ensure useRequestHeaders are case-insensitive (#8805)
Co-authored-by: Haruaki OTAKE <aaharu@hotmail.com>
2022-11-09 10:04:19 +01:00
Alexander Lichter
15d4cea97e
feat(nuxt-link): add isExternal to slot props (#8800) 2022-11-09 10:02:11 +01:00
Daniel Roe
30d99477ce
fix(nuxt): add catchall paths to prerender list (#8782) 2022-11-09 10:00:34 +01:00
Daniel Roe
e76ebdddd0
fix(nuxt): allow cookies to be set to null to unset them (#8769)
Co-authored-by: Magyar Balázs <magyarb94@gmail.com>
2022-11-09 09:59:23 +01:00
Agénor Debriat
b60f1364c5
refactor(nuxt)!: fix typo for NuxtRenderHTMLContext.bodyPrepend (#8712) 2022-11-07 11:29:41 +01:00
Sébastien Chopin
fe433a4222
fix(nuxt): check if global transitions are activated for scroll behavior (#8700) 2022-11-04 19:09:28 +01:00
pooya parsa
bde9694733
v3.0.0-rc.13 (#8657) 2022-11-04 12:37:49 +01:00
pooya parsa
19a2cd1492
fix(nuxt): ensure payload url has no protocol (#8675) 2022-11-03 23:28:13 +01:00
pooya parsa
9eb6a62471
fix: resolve ids to support pnpm (#8671) 2022-11-03 22:48:51 +01:00
pooya parsa
253c8f7ee0
fix(nuxt): disallow directly rendering error page (#8673) 2022-11-03 22:48:29 +01:00
pooya parsa
ea17148a6b
feat(kit, nuxt): support prerender:routes and addPrerenderRoutes (#8670) 2022-11-03 22:03:12 +01:00
Pooya Parsa
5a43e68e77 chore: update nitropack to 0.6.1 2022-11-03 21:21:03 +01:00
Daniel Roe
cda498b070
fix(nuxt): do not inline global styles in html response (#8666) 2022-11-03 20:17:43 +01:00
renovate[bot]
cda89b36e1
chore(deps): update all non-major dependencies (#8660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-03 17:36:19 +01:00
Daniel Roe
71ecffa234
fix(nuxt): don't force prerender / if user doesn't have that route (#8639)
* fix(nuxt): don't force prerender `/` if user doesn't have `~/pages/index.vue`

* docs: add code comment
2022-11-03 15:52:03 +01:00
Daniel Roe
496fa14468
feat(nuxt): allow setting name and path for a route in definePageMeta (#8633) 2022-11-03 15:05:38 +01:00
Daniel Roe
491d02f6ca
fix(nuxt)!: use parser to generate page metadata (#8536) 2022-11-02 11:28:41 +01:00
Daniel Roe
bdacfa6ffe
fix(nuxt): pass async-data errors through to client (#8521) 2022-11-02 10:07:28 +01:00
Daniel Roe
28ffb7fea0
fix(nuxt): add vue-router to optimized deps (#8544) 2022-11-02 09:53:23 +01:00
renovate[bot]
80871e7235
chore(deps): update all non-major dependencies (#8531)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-02 09:52:28 +01:00
pooya parsa
1f6b3be7d4
fix(nuxt, nuxi): improve pages creation and removal dx (#8502) 2022-10-27 17:50:24 +02:00
pooya parsa
265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
renovate[bot]
24b06309ec
chore(deps): update all non-major dependencies (#8507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-27 12:29:20 +02:00
Sacha STAFYNIAK
b010e3e861
feat: add dev-only component (#7950) 2022-10-26 14:43:37 +02:00
renovate[bot]
8e1bcae8c6
chore(deps): update all non-major dependencies (#8435)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-26 13:16:56 +02:00
Anthony Fu
bbea416c23
feat: upgrade unimport to 0.7.0 (#8483) 2022-10-26 10:28:00 +02:00
Daniel Roe
12808f175b
fix(nuxt): allow responding with custom headers from error.vue (#8469) 2022-10-26 10:25:27 +02:00
Daniel Roe
1d795f0274
fix(nuxt): call data refresh hook in parallel (#8470) 2022-10-25 17:29:35 +02:00
Daniel Roe
91eab1b312
feat(nuxt): add dev warnings when setPageLayout is used incorrectly (#8464) 2022-10-25 14:25:49 +02:00
Daniel Roe
59d8c51b5b
refactor(schema)!: disable app.pageTransition and app.layoutTransition by default (#8436) 2022-10-24 17:23:49 +02:00
Daniel Roe
5a88510cb7
feat(kit): add updateTemplates utility (#8413) 2022-10-24 10:53:02 +02:00
renovate[bot]
5e93604546
chore(deps): update all non-major dependencies (#8399)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-24 10:44:32 +02:00
Daniel Roe
6bcd9cdeb1
fix(nuxt): avoid directly importing vue-router inside <NuxtLayout> (#8421) 2022-10-24 10:36:49 +02:00
Daniel Roe
e1ab5cf6d6
fix(nuxt): don't load payloads for external urls (#8370) 2022-10-21 10:27:58 +02:00
Christian Burkhart
a0a59e2157
fix(nuxt): routerBehavior comparison for hash block (#8383) 2022-10-21 10:27:40 +02:00
Daniel Roe
69a6a86d7c
feat(nuxt): make useFetch options reactive (#8374) 2022-10-21 10:13:14 +02:00
pooya parsa
0f2ef5d412
perf(nuxt): use simple JSON.stringify to compare params (#8340) 2022-10-19 17:31:05 +02:00
Johann Schopplich
7b16719649
fix(nuxt): router defaults overwrite custom options always (#8334) 2022-10-19 16:48:16 +02:00
Sébastien Chopin
0106e09e32
fix(nuxt): scroll to top on dynamic routes with different params (#8327)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-19 16:33:01 +02:00
pooya parsa
418b5671ff
fix: update h3 (#8329) 2022-10-19 15:59:11 +02:00
Daniel Roe
3333ef8dae
chore(nuxt): add type for headers (#8326) 2022-10-19 15:28:38 +02:00
Dmitriy
d82d145a0b
fix(nuxt): pass original request headers to the error page (#7340) 2022-10-19 15:03:01 +02:00
Daniel Roe
ea7890c6b2
build(pkg): support node 19 (#8324) 2022-10-19 14:58:45 +02:00
Joel Wenzel
ba3a11800c
feat(nuxt): default router scroll behavior (#3851)
Co-authored-by: joel <joel.wenzel@flexagon.com>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-19 14:43:03 +02:00
renovate[bot]
0bd6ecb71c
chore(deps): update dependency destr to ^1.2.0 (#8321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-19 12:41:33 +02:00
Daniel Roe
d3f3f9f348
fix(nuxt): don't use or assignment (#8299) 2022-10-19 09:55:32 +02:00
Daniel Roe
09e553467e
v3.0.0-rc.12 (#8067)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-18 20:47:21 +02:00
Pooya Parsa
05fd222219 update nitropack to final 0.6.0 2022-10-18 20:10:41 +02:00
pooya parsa
2b2a5f3f89
fix(nuxt): ignore cache rules for middleware and errors (#8291) 2022-10-18 20:01:23 +02:00
renovate[bot]
e0d6812b66
chore(deps): update all non-major dependencies (#8286)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 18:14:29 +02:00
Daniel Roe
cfaa46201a
fix(nuxt): lazy-load entry CSS (#8278) 2022-10-18 18:13:50 +02:00
renovate[bot]
290bbd392b
chore(deps): update dependency h3 to ^0.8.3 (#8277)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-18 12:46:31 +02:00
renovate[bot]
c14f9f5638
chore(deps): update all non-major dependencies (#8265)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-18 12:36:48 +02:00
Anthony Fu
e18da780a8
chore: upgrade unplugin to 0.10.x (#8271) 2022-10-18 11:36:06 +02:00
Daniel Roe
96a8807abf
fix(nuxt): allow disabling early hints (#8264) 2022-10-17 22:20:13 +02:00
Daniel Roe
a90b303d97
fix(nuxt): avoid preloading external routes (#8255) 2022-10-17 19:54:32 +02:00
Daniel Roe
7ebd1558ee
refactor: use getRouteRules (#8251) 2022-10-17 15:55:29 +02:00
Daniel Roe
2a4ebfb18b
perf(nuxt): improve link prefetching (#8225) 2022-10-17 13:15:29 +02:00
renovate[bot]
2cf9009d33
chore(deps): update all non-major dependencies (#8222) 2022-10-17 12:23:51 +02:00
Daniel Roe
9388e65971
refactor(nuxt): use h3 early hints util (#8245) 2022-10-17 11:16:19 +02:00
Pooya Parsa
573ed5ccda chore: update nitropack and lock 2022-10-16 15:51:47 +02:00
renovate[bot]
0cfc5a2dd3
chore(deps): update all non-major dependencies (#8217) 2022-10-15 20:44:42 +02:00
pooya parsa
895ecc7677
feat!: upgrade to nitropack@0.6 and h3@0.8 (#8218) 2022-10-15 20:42:57 +02:00
Harlan Wilton
c0e9f428f4
fix(nuxt): avoid head dom update on same route click (#8206) 2022-10-15 18:57:58 +02:00
Daniel Roe
5e7dfc2338
refactor(nuxt): deprecate <Script> component tag in template (#8197) 2022-10-15 13:20:24 +02:00
renovate[bot]
b54df90f1d
chore(deps): update all non-major dependencies (#8189)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-15 13:14:05 +02:00
Benicio Cardozo
b9d6f37dfd
fix(nuxt): enable router when app/router.options.ts file is present (#8193) 2022-10-15 13:04:06 +02:00
Daniel Roe
d862a6bfdd
fix(nuxt)!: refresh to override previous requests by default (#8190) 2022-10-15 13:02:23 +02:00
Daniel Roe
6dcff8e428
feat(nuxt): add hook debug mode (#7690) 2022-10-15 12:56:15 +02:00
renovate[bot]
e6fee7b963
chore(deps): update all non-major dependencies (#8176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-14 10:46:53 +02:00
Julien Huang
23ad303f19
feat(nuxt)!: add <NuxtPage> to #components (#8145) 2022-10-14 10:36:52 +02:00
Daniel Roe
2083ed4a63
perf(nuxt): remove vue-router dependency from minimal app (#8188) 2022-10-14 10:36:03 +02:00
Benicio Cardozo
9fa147dc22
types: include nuxt-link target types (#8172)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-13 19:51:26 +02:00
Harlan Wilton
577573f3e8
perf(nuxt)!: use component loader to add meta components (#8167)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-13 17:54:06 +02:00
Harlan Wilton
9e6d292ba6
feat(nuxt): migrate to latest @vueuse/head (#8000) 2022-10-12 18:00:17 +01:00
Alex
6ef6eae2c7
fix(nuxt): don't inline styles for per-request ssr: false (#8106)
Co-authored-by: Alex C <alex.canals@jkweb.ch>
2022-10-12 09:50:16 +01:00
renovate[bot]
723efb8266
chore(deps): update all non-major dependencies (#8090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-11 22:54:33 +01:00
Daniel Roe
5f003a9738
feat(nuxt): add ssr route rule to enable SPA mode (#7938) 2022-10-11 17:03:52 +01:00
Julien Huang
ee41bb6d5d
feat(nuxt): wrap #components client exports with createClientOnly (#7412)
Co-authored-by: jhuang@hsk-partners.com <jhuang@hsk-partners.com>
2022-10-11 16:26:03 +01:00
Daniel Roe
26b1c9ca0e
feat(nuxt): parse html to treeshake client-only components (#7527) 2022-10-10 16:48:23 +01:00
Daniel Roe
5a2616cfee
perf(nitro): respond with early hints in node-based environments (#7893) 2022-10-10 12:02:35 +01:00
renovate[bot]
9521fc7234
chore(deps): update dependency @nuxt/telemetry to ^2.1.6 (#8084)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 12:01:08 +01:00
renovate[bot]
c3cda557f3
chore(deps): update all non-major dependencies (#8073)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-10 11:51:29 +01:00
Daniel Roe
81a8a25834
feat(schema, nuxt): allow user-configurable serverDir (#7868) 2022-10-10 11:49:44 +01:00
Daniel Roe
385674494d
feat(nuxt): refresh override for data fetching composables (#7864) 2022-10-10 11:33:16 +01:00
Daniel Roe
829a550580
feat(pages): add validate hook for definePageMeta (#7870) 2022-10-10 11:18:20 +01:00
Daniil Chudo
75f4a54f7e
feat(nuxt): add default slot to <NuxtLoadingIndicator> (#7128)
Co-authored-by: Alexander Lichter <github@lichter.io>
2022-10-10 11:12:36 +01:00
renovate[bot]
085f90a3d3
chore(deps): update dependency unplugin to ^0.9.6 (#8070)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 21:11:47 +01:00
renovate[bot]
abe94529db
chore(deps): update all non-major dependencies (#7842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-09 20:33:19 +01:00
Daniel Roe
6d904663a4
fix(nuxt): use correct cache and add baseURL to payload (#7984) 2022-10-09 15:22:19 +01:00
mmis1000
c404cb1be4
fix(nuxt): page hydration and double load (#7940)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-10-08 16:18:57 +02:00