Commit Graph

758 Commits

Author SHA1 Message Date
Alexander Lichter
70dea8b83c
feat(nuxt): add path to error.data when throwing 404 errors (#24674) 2023-12-11 20:30:59 +00:00
Daniel Roe
2026543a5b
chore: update vitest dependencies (#24659) 2023-12-11 18:20:11 +00:00
renovate[bot]
7a32eaf873
chore(deps): update all non-major dependencies (main) (#24645)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-09 08:24:11 +01:00
renovate[bot]
4981e3259d
chore(deps): update all non-major dependencies (main) (#24580)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-05 15:52:34 +00:00
Harlan Wilton
0f705f3d4a
fix(nuxt): island components with number prefix (#24469) 2023-11-28 22:06:32 +00:00
Daniel Roe
e3b8b84a24
feat(nuxt): allow readonly option for useCookie (#24503) 2023-11-28 13:35:43 +00:00
renovate[bot]
2820dfee52
chore(deps): update all non-major dependencies (main) (#24440)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-11-28 10:12:02 +00:00
Julien Huang
0eb9caf0c2
fix(nuxt): remove experimental reactivityTransform (vue 3.4) (#24477) 2023-11-27 23:02:02 +00:00
Pooya Parsa
1012dc0dbd
fix(nuxt): avoid recursive ssr errors (#24399) 2023-11-22 09:58:29 +00:00
renovate[bot]
abbcaf6b20
chore(deps): update all non-major dependencies (main) (#24384)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-11-21 22:08:24 +00:00
Pooya Parsa
63685431d8
chore(deps): upgrade to nitro 2.8 (#24370) 2023-11-20 18:10:58 +00:00
Luke Nelson
6e44b1b6b6
fix(nuxt): respect custom timeout in useFetch (#24364) 2023-11-20 13:59:41 +00:00
webfansplz
55e0f38dde
fix(nuxt): do not compute useFetch key from headers (reverts #23462) (#24333) 2023-11-16 14:04:48 +00:00
renovate[bot]
a087b87d3f
chore(deps): update dependency ufo to v1.3.2 (main) (#24316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-11-15 22:41:08 +00:00
Daniel Roe
562532778b
fix(nuxt): deeply unwrap headers/query for useFetch key (#24307) 2023-11-15 19:40:55 +00:00
Luke Nelson
6ec267be87
fix(schema): use scule types for runtimeConfig type hints (#23696) 2023-11-15 18:58:00 +00:00
Aaron_Zhou
5493d60c4a
fix(nuxt): provide route component names to KeepAlive cache (#24024) 2023-11-14 16:56:31 +00:00
Daniel Roe
b301b639e1
test(nuxt): add additional unit tests for composables (#24289) 2023-11-14 12:44:39 +00:00
Daniel Roe
c1ddb359e3
chore: update to use @nuxt/eslint-config (#24209)
Co-authored-by: Damian Głowala <damian.glowala.rebkow@gmail.com>
2023-11-09 18:01:13 +01:00
Daniel Roe
9bab21edbc
test: add route-provider e2e test (#24195) 2023-11-09 03:21:19 +00:00
Damian Głowala
61dd849aa7
fix(nuxt): wrap caught asyncData error in createError (#24093)
Co-authored-by: Bogdan Kostyuk <contact@bogdankostyuk.xyz>
2023-11-08 13:28:52 +00:00
Daniel Roe
75cf1914ba
chore: extract @nuxt/test-utils to separate repo (#24146) 2023-11-06 15:38:45 +00:00
renovate[bot]
9ef94d6afb
chore(deps): update all non-major dependencies (main) (#24053)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-11-03 22:05:25 +00:00
webfansplz
ea3ce937e6
fix(nuxt): handle async children in ClientFallback (#24086) 2023-11-03 21:04:26 +00:00
renovate[bot]
f6deb518c2
chore(deps): update all non-major dependencies (main) (#24021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-31 14:30:44 +01:00
Daniel Roe
ebb5767b9c
fix(kit): fix addServerImportsDir implementation (#24000) 2023-10-31 14:16:01 +01:00
Daniel Roe
dce8ebb336
test: await before asserting console logs (#24051) 2023-10-31 13:56:28 +01:00
renovate[bot]
410cecd93e
chore(deps): update all non-major dependencies (main) (#23987)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-30 11:35:49 +09:00
renovate[bot]
22f8432089
chore(deps): update all non-major dependencies (main) (#23904)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-25 11:04:27 +09:00
ordago
995cba84a2
docs: fix typos (#23921) 2023-10-25 09:36:04 +09:00
Julien Huang
a037512562
fix(nuxt): render a div when client-only hydrates w/o element (#23899) 2023-10-25 09:34:22 +09:00
Bjorn Lu
88ce9abbdf
test: update basic fixture config for vite 5 (#23859) 2023-10-22 10:08:43 +02:00
Daniel Roe
7b8e7f176d
fix(nuxt): handle relative baseURL in nitro runtime config (#23841) 2023-10-21 19:17:53 +01:00
renovate[bot]
6f27016763
chore(deps): update all non-major dependencies to v3.3.6 (main) (#23825)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-20 20:27:54 +01:00
Daniel Roe
3d6ab2e4fe
fix(nuxt): use .json extension for server components (#23802) 2023-10-20 16:58:02 +01:00
renovate[bot]
af1b5a0181
chore(deps): update all non-major dependencies to v3.3.5 (main) (#23808)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-20 11:32:05 +01:00
Julien Huang
b06a559e72
test(nuxt): test remote islands for NuxtIsland (#23801) 2023-10-20 09:38:51 +01:00
Daniel Roe
108b1bdf72 fix(nuxt): restore prerenderedAt behaviour pending next patch 2023-10-19 15:24:38 +01:00
Daniel Roe
8d62c2add2 test: update prerender test 2023-10-19 15:15:00 +01:00
Daniel Roe
91c62d6c3e
fix(nuxt): don't use prerenderedAt to override app manifest (#23781) 2023-10-19 14:32:23 +01:00
Pooya Parsa
bfaf56ceac
chore: update to nitropack 2.7.0 (#23780) 2023-10-19 14:31:17 +01:00
Daniel Roe
9dd304628a
feat(nuxt): allow configuring default <NuxtLink> options (#23724) 2023-10-18 13:43:42 +01:00
Sébastien Chopin
f26a801775
docs: update to new website (#23743)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-18 12:59:43 +02:00
renovate[bot]
cef4b38852
chore(deps): update all non-major dependencies (main) (#23627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-17 10:14:11 +01:00
Daniel Roe
ae630c599f
fix(nuxt): don't mark redirected routes as prerendered (#23707) 2023-10-16 23:28:42 +01:00
Dario Ferderber
b52548d915
feat(nuxt): custom cache support for data fetching composables (#20747) 2023-10-16 20:54:39 +01:00
warflash
f4d67a9bcd
fix(nuxt): refetch both undefined/null values in useAsyncData (#23351) 2023-10-16 20:20:02 +01:00
Julien Huang
24b629e82e
fix(nuxt): skip hydration mismatches with client components (#19231) 2023-10-16 14:09:54 +01:00
Alex Liu
732507b41f
fix(nuxt): resolve type error in options of useFetch (#23693) 2023-10-16 12:56:37 +01:00
Daniel Roe
458acbb8e1
fix(nuxt): give priority to later middleware when deduping (#23552) 2023-10-12 23:21:02 +01:00
renovate[bot]
a5dad0d2e8
chore(deps): update devdependency eslint-plugin-jsdoc to v46 (main) (#23614)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-11 13:31:22 +01:00
Ezra Adeyinka
8db82af3a9
chore: fix various typos and update to US English (#23580) 2023-10-10 12:14:55 +01:00
renovate[bot]
46be076751
chore(deps): update all non-major dependencies (main) (#23506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-07 08:30:10 +02:00
renovate[bot]
6ce94a0762
chore(deps): update all non-major dependencies (main) (#23403)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-10-01 20:15:06 +01:00
Albert Brand
df90d4234c
fix(nuxt): ignore prefix if clearNuxtState called w/o keys (#23483) 2023-10-01 09:37:53 +01:00
Daniel Roe
4063b498d3
feat(nuxt): enable appManifest by default (#23448) 2023-09-30 10:58:55 +01:00
Daniel Roe
a06d5247ca
feat(nuxt): add prerenderRoutes ssr composable (#22863) 2023-09-28 11:54:22 +01:00
Julien Huang
2b273fa8e1
feat(kit): add addServerImports and addServerImportsDir (#23288) 2023-09-28 11:08:02 +01:00
Arsen Goian
17e6c1f7fb
fix(nuxt): apply scoped styles to islands (#23386) 2023-09-28 08:36:13 +01:00
Damian Głowala
7005a66d9a
fix(nuxt): initialise asyncData errors with null (#23428) 2023-09-27 14:43:53 +01:00
renovate[bot]
f4b0e3d3b5
chore(deps): update all non-major dependencies (main) (#23346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-22 22:00:03 +02:00
renovate[bot]
025fbdf6ba
chore(deps): update lycheeverse/lychee-action digest to 2ac9f03 (main) (#23303)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-19 23:08:48 +01:00
Daniel Roe
7dce07653c
fix(nuxt): experimental build manifest + client route rules (#21641) 2023-09-19 22:31:18 +01:00
Pooya Parsa
2bf9028f7e
refactor(kit,nuxt,schema): use consola and improve test dx (#23302) 2023-09-19 22:26:15 +01:00
renovate[bot]
ac380ad053
chore(deps): update all non-major dependencies (main) (#23248)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-18 10:28:13 +01:00
Daniel Roe
137c0b6054
fix(nuxt): don't incl overridden layer pages as nested children (#23238) 2023-09-16 09:53:37 +01:00
Joaquín Sánchez
bc8a1fa614
fix(nuxt): load layer middlewares before project middlewares (#22925) 2023-09-16 09:39:51 +01:00
renovate[bot]
f27c708bcd
chore(deps): update all non-major dependencies (main) (#23196)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-15 13:21:37 +01:00
Daniel Roe
e729406805
fix(nuxt): use original escapes/quotes in page re-exports (#23191) 2023-09-14 07:06:07 +01:00
renovate[bot]
cf59564cae
chore(deps): update all non-major dependencies (main) (#23173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-13 23:41:45 +01:00
Daniel Roe
a95fd28725
fix(nuxt): allow importing server components from #components (#23188) 2023-09-13 23:35:53 +01:00
renovate[bot]
6afbdc349e
chore(deps): update all non-major dependencies to ^1.7.0 (main) (#23161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-13 09:06:35 +01:00
renovate[bot]
7f122cc809
chore(deps): update all non-major dependencies (main) (#23063)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-12 11:02:10 +01:00
Daniel Roe
15e6dfb560
fix(nuxt): allow granularly overriding pages in layers (#23134) 2023-09-12 10:46:35 +01:00
Daniel Roe
63d189a0c7
ci: update fixtures to node 18 (#23122) 2023-09-11 14:05:14 +01:00
Julien Huang
3f9fa008d9
fix(nuxt): exclude data-v attrs from server component props (#23095) 2023-09-10 09:06:11 +01:00
renovate[bot]
5660a36a06
chore(deps): update all non-major dependencies (main) (#23022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-09-07 10:47:47 +01:00
Julien Huang
48fb6e243b
fix(nuxt): scroll to top by default on dynamic routes (#22403) 2023-09-06 20:44:59 +01:00
Saman
beb7410777
fix(nuxt): always use increment for id with client side islands (#22975) 2023-09-05 11:27:00 +01:00
Harlan Wilton
19145386e3
fix(nuxt): resolve head instance from Nuxt app (#22973) 2023-09-05 11:25:46 +01:00
Joaquín Sánchez
89c4436ae1
fix(nuxt): load layer plugins before project plugins (#22889) 2023-09-04 23:41:51 +01:00
Daniel Roe
4e98ac1746
perf(nuxt): decrease default bundle size (#22999) 2023-09-04 22:30:24 +01:00
Harlan Wilton
4e05650cde
fix(nuxt): unpause dom updates on error (#22945) 2023-09-01 15:00:20 +01:00
Alex Liu
2d46971162
fix(nuxt): ensure middleware is processed when returning true (#22905) 2023-08-31 10:19:26 +01:00
renovate[bot]
d905e5f519
chore(deps): update all non-major dependencies (main) (#22822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-27 23:06:15 +01:00
Maik Kowol
a256c87406
fix(nuxt): ensure typed layout prop persists through build (#22855) 2023-08-27 20:44:43 +01:00
Daniel Roe
a352d59a58
fix(nuxt): default spaLoadingTemplate to false (#22798) 2023-08-25 13:26:23 +01:00
Daniel Roe
54a6eab406
feat(kit,nuxt): respect nuxt ignore patterns in nitro (#22808) 2023-08-25 13:08:38 +01:00
renovate[bot]
f06ee59d4a
chore(deps): update all non-major dependencies (main) (#22777)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-24 20:33:21 +01:00
Daniel Roe
b5ce892864
fix(nuxt): respect ignorelist when scanning auto-imports (#22782) 2023-08-24 13:42:15 +01:00
Jongmin Yoon
6f7d86be78
fix(nuxt): recreate asyncData when immediate is disabled (#20980) 2023-08-24 13:06:29 +01:00
renovate[bot]
330900bcbe
chore(deps): update dependency ofetch to v1.3.2 (main) (#22772)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-23 21:40:42 +01:00
Daniel Roe
29f4eeff69
feat(nuxt): add support for routeRules defined within pages (#20391) 2023-08-23 21:38:17 +01:00
Daniel Roe
815230c1b5
test: add regression test for escaping payload (#22774) 2023-08-23 21:03:10 +01:00
renovate[bot]
585c26e973
chore(deps): update all non-major dependencies (main) (#22770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-23 18:44:33 +01:00
renovate[bot]
16a200a65a
chore(deps): update all non-major dependencies (main) (#22721)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-23 09:11:00 +01:00
pooya parsa
a2f2a4748e
feat(nuxt): upgrade nitro + reduce node-specific usage (#22515)
Co-authored-by: Heb <xsh4k3@gmail.com>
2023-08-23 08:30:53 +01:00
renovate[bot]
3d78c79e3d
chore(deps): update all non-major dependencies (main) (#22677)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-18 17:05:38 +02:00
anhao
4e538a03e2
fix(vite): use '' key for root scope in variable collector (#22679) 2023-08-17 15:35:28 +02:00
renovate[bot]
e04596ad2e
chore(deps): update all non-major dependencies (main) (#22647)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-16 17:39:02 +02:00
renovate[bot]
aa111330bb
chore(deps): update all non-major dependencies (main) (#22640)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-15 10:56:35 +01:00
Pooya Parsa
c8cba7a062 test: reduce verbose log outputs 2023-08-15 07:35:56 +01:00
Harlan Wilton
d50a416304
feat(nuxt): add experimental.headNext unhead integration (#22620) 2023-08-14 20:33:00 +01:00
Daniel Roe
e93195a317
test: refactor test suite and reduce networkidle dependency (#22596) 2023-08-12 08:18:58 +01:00
renovate[bot]
afd8126b65
chore(deps): update all non-major dependencies (main) (#22579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-11 13:20:42 +01:00
Daniel Roe
b2cea4927e
feat(nuxt): allow experimental global: 'sync' components (#22558) 2023-08-09 12:19:00 +01:00
renovate[bot]
2562c0dbd9
chore(deps): update all non-major dependencies (main) (#22537)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-08 22:31:55 +01:00
Daniel Roe
53c706b575
test: remove JS payload test + add non-async context test (#22530) 2023-08-08 10:45:37 +01:00
pooya parsa
554f868bce
feat(nuxt): experimental native async context support (#20918)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-08 00:57:35 +02:00
Lucas Vargas
ffd0223583
feat(vite,webpack): tree-shakable import.meta.* build flags (#22428) 2023-08-07 23:03:40 +01:00
Daniel Roe
ae8314b236
chore: refresh lockfile (#22518) 2023-08-07 14:03:41 +01:00
renovate[bot]
d4c9ac6fee
chore(deps): update all non-major dependencies (main) (#22459)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-03 18:39:40 +01:00
Daniel Roe
caf8329151
test: remove separate test for baseurl (#22467) 2023-08-03 14:25:26 +01:00
renovate[bot]
69b07a03b7
chore(deps): update all non-major dependencies (main) (#22423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-08-03 10:34:19 +01:00
Harlan Wilton
ac93558aa6
fix(nuxt): broken capo.js injectHead usage (#22447) 2023-08-03 07:15:43 +01:00
Harlan Wilton
a49ce7f494
perf(nuxt): experimental support of capo.js head tag order (#22431) 2023-08-01 20:47:31 +01:00
anhao
17461fb03b
fix(nuxt): support uppercase route methods in useFetch (#22418) 2023-07-31 23:56:37 +01:00
renovate[bot]
24afefdb48
chore(deps): update all non-major dependencies (main) (#22404)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-31 13:22:42 +01:00
renovate[bot]
40fdff8b68
chore(deps): update dependency vue-bundle-renderer to v2 (main) (#22408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-31 11:34:34 +01:00
Daniel Roe
5926bbeff8
feat(nuxt): allow 'lazy' (non-blocking) server components (#21918) 2023-07-31 09:51:09 +01:00
Julien Huang
0f839dd723
feat(nuxt): environment-specific plugin execution for islands (#20726) 2023-07-30 22:36:11 +01:00
Harlan Wilton
9b09b4d112
feat(nuxt): render all head tags on server with unhead (#22179) 2023-07-30 19:46:16 +01:00
renovate[bot]
9e92c74d07
chore(deps): update all non-major dependencies (main) (#22315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-30 16:45:37 +01:00
Daniel Roe
2f734df9b5
fix(nuxt): disallow redirects to more script protocols (#22366)
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2023-07-30 11:09:16 +01:00
Anthony Fu
e3437c67d6
fix(nuxt): components auto-import for JSX (#22330) 2023-07-26 05:30:44 +01:00
Daniel Roe
03fbd30d1c
fix(nuxt): allow validate return typing to be either error or boolean (#22323) 2023-07-25 16:09:41 +00:00
Julien Huang
2e6c4519cf
fix(nuxt): bind createClientOnly render function to ctx (#22289) 2023-07-24 09:00:31 +01:00
Maik Kowol
7046930a67
fix(nuxt): add overloads for asyncData generic + default (#22258) 2023-07-23 09:24:54 +01:00
renovate[bot]
1f1de38d03
chore(deps): update all non-major dependencies (main) (#21979)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-20 10:43:33 +01:00
Daniel Roe
0f16cd6124
perf(nuxt,schema): do not watch buildDir and node_modules (#22214) 2023-07-19 15:43:28 +01:00
Daniel Roe
5b409f8579
fix(nuxt): avoid premature hydration when using async layouts (#22198) 2023-07-19 07:55:53 +01:00
Daniel Roe
449a01526a
fix(nuxt): ensure we only increment hydrating count once (#22200) 2023-07-18 16:21:53 +01:00
Julien Huang
f4ec04f520
fix(nuxt): add baseURL to island fetch requests (#22009) 2023-07-18 16:07:35 +01:00
Daniel Roe
a07cfb8663
refactor(cli,schema): add bundler module resolution flag (#22142) 2023-07-14 14:46:40 +01:00
Daniel Roe
b06ae969f6
fix(test-utils): export from core playwright package (#22122) 2023-07-13 18:26:04 +01:00
Daniel Roe
c10a624052 chore: add explicit vue dependency in fixtures 2023-07-06 13:07:17 +01:00
Daniel Roe
d0dde6426f
fix(nuxt): preserve old vnode when leaving nested route (#21823) 2023-07-05 12:39:39 +02:00
renovate[bot]
00fb33379c
chore(deps): update all non-major dependencies (main) (#21939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-05 12:18:44 +02:00
anhao
e70ff83e72
fix(vite): fix issue detecting shadowed keyed composables (#21891) 2023-07-05 11:35:45 +02:00
ChronicStone
fd2b36a64d
fix(nuxt): support custom route name meta with typedPages (#21659) 2023-07-04 06:24:50 +01:00
renovate[bot]
d15df420a3
chore(deps): update all non-major dependencies (main) (#21851)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-07-03 21:08:25 +01:00
Julien Huang
9f5130d06b
fix(nuxt): stop loading indicator on navigation failure (#21751) 2023-07-03 12:14:17 +01:00
Daniel Roe
6a9fbbfe46
test: add nuxt-vitest and composable unit tests (#21884) 2023-07-02 09:59:16 +01:00
renovate[bot]
07a0e9d412
chore(deps): update all non-major dependencies (main) (#21833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-28 15:43:04 +01:00
Daniel Roe
e023c06353
fix(nuxt, vite): do not use cjs utils to resolve/alias vue (#21837) 2023-06-28 14:49:50 +01:00
Daniel Roe
489b088836
fix(nuxt): only redirect if path is not the same as initial url (#21815) 2023-06-27 11:15:35 +01:00
Daniel Roe
9c8746f2a6
chore: prune internal unused code and exports (#21809) 2023-06-27 10:38:40 +01:00
Daniel Roe
4a7134f9b4
fix(nuxt): use starting index when transforming islands (#21795) 2023-06-26 19:32:02 +01:00
Daniel Roe
e69837d6a7 test: bump bundle size 2023-06-26 13:40:52 +01:00
renovate[bot]
d9a3ab80e0
chore(deps): update all non-major dependencies (main) (#21776)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-26 13:24:21 +01:00
Daniel Roe
12403d160f
fix(vite): emit assets referenced in inline css (#21790) 2023-06-26 13:11:12 +01:00
renovate[bot]
c0ba36fcd6
chore(deps): update dependency esbuild to ^0.18.8 (main) (#21736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-25 23:51:03 +01:00
Daniel Roe
dd913ce0d8
fix(vite): resolve css files without importer id first (#21770) 2023-06-25 22:51:31 +01:00
Daniel Roe
4cc9a7135d
fix(nuxt): inline global css with ssr: false route rule (#21763) 2023-06-25 22:50:42 +01:00
Daniel Roe
88bc32d42a
fix(nuxt): proxy headers to islands + returned prerender hints (#21740) 2023-06-25 17:38:15 +01:00
Anthony Fu
adb1c122a7
fix(nuxt): fix error on layout switching (#21450)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-23 11:02:01 +01:00
Daniel Roe
dd5dff37d5
fix(nuxt,schema): prefer unknown rather than any for signatures (#21700) 2023-06-22 14:14:21 +01:00
Daniel Roe
be3f6f7018
feat(nuxt): update devdependency nitropack to v2.5.1 (#21696)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 10:38:26 +01:00
renovate[bot]
c30b91ada8
chore(deps): update all non-major dependencies (main) (#21660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-21 12:28:17 +01:00
Daniel Roe
c3c56c14ab
fix(nuxt): guard res.end() calls with check if event is handled (#21665) 2023-06-21 07:07:02 +01:00
Daniel Roe
c66c82e6a0
feat(nuxt): allow configuring spa loading indicator (#21640) 2023-06-20 19:55:20 +01:00
Daniel Roe
343a46d5f9
fix(nuxt): inline css directly in root component (#21573) 2023-06-20 19:28:44 +01:00
Daniel Roe
2abcc16cfb
perf(nuxt): extract and apply plugin order at build time (#21611) 2023-06-20 00:00:03 +01:00
Daniel Roe
bb4ed5e406
fix(nuxi): add back default baseUrl in tsconfig.json (#21632) 2023-06-19 23:29:09 +01:00
Daniel Roe
0e575ad5ab
feat(nuxt): expose useNuxtApp to window for convenience (#21636) 2023-06-19 17:17:15 +01:00
Inesh Bose
c73bed8c6d
feat(kit): allow direct function in defineNuxtModule (#20763) 2023-06-16 15:47:38 +01:00
Nicolas Payot
187230b0c5
fix(nuxt): abort navigation when updating window.location (#21521) 2023-06-14 15:37:21 +01:00
Daniel Roe
f97052cbaf test: skip instance error test in vite ecosystem CI 2023-06-14 11:21:12 +01:00
Daniel Roe
19fc2828fb
perf(nuxt): use prerendered islands to serialise/revive payload (#21461) 2023-06-14 10:09:27 +01:00
renovate[bot]
3b0b924946
chore(deps): update dependency destr to v2 (main) (#21536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-12 20:43:13 +01:00
Daniel Roe
05a8c2d955
fix(nuxt): respect query/hash for external routes in navigateTo (#21500) 2023-06-11 22:27:02 +01:00
Daniel Roe
ce4f46385f chore: bump bundle size 🤔 2023-06-10 23:32:43 +01:00
Julien Huang
41d34ca67d
feat(nuxt): allow accessing NuxtLayout ref via layoutRef (#19465) 2023-06-10 23:17:14 +01:00
Julien Huang
319935fc95
feat(nuxt): allow accessing NuxtPage ref via pageRef (#19403) 2023-06-10 23:13:33 +01:00
Daniel Roe
08df73801a test: update bundle size 2023-06-10 10:19:03 +01:00
Edward Hibbert
13aae836e8 perf(nuxt): import error component synchronously (#21406) 2023-06-10 10:11:26 +01:00
Nicolas Payot
c884a95f0f
feat(nuxt): return status from useAsyncData (#21045) 2023-06-09 22:38:14 +01:00
Hebilicious
ee6869b1ba
feat(kit): addTypeTemplate helper with auto-registration (#21331) 2023-06-09 22:24:03 +01:00
Jongmin Yoon
31a1b98f3f
feat(nuxt): provide clearNuxtState composable (#21409) 2023-06-09 22:22:21 +01:00
Daniel Roe
c6a7527e51
ci: move bundle skipping logic to workflow (#21448) 2023-06-07 21:07:58 +01:00
Wilson Pinto
c4e5ac83bf
feat(nuxt): add open option in navigateTo helper (#21333) 2023-06-07 20:27:00 +01:00
pooya parsa
05f3decfa9
fix(nuxt): avoid early returning renderer with empty response (#21439) 2023-06-07 14:11:59 +01:00
renovate[bot]
f0ade90645
chore(deps): update all non-major dependencies (main) (#21410)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-07 13:30:41 +01:00
Daniel Roe
7710ed30fa
fix(nuxt): skip vue render when redirecting (#21412) 2023-06-07 13:18:50 +01:00
renovate[bot]
5872015be3
fix(vite): remove resolveId workaround and update vite-node (#21423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-06-07 12:42:59 +01:00
Anthony Fu
6d59a027c7
perf(nuxt): mark define functions as side-effect free at source (#21434) 2023-06-07 11:11:24 +01:00
Asher White
0bc38b7e19
fix(nuxt): replace BigInt literal with BigInt constructor (#21427) 2023-06-07 09:57:44 +01:00
Daniel Roe
370b84e909
fix(nuxt): handle page rendering on different path (#21408) 2023-06-06 22:47:32 +01:00
anhao
67f2232014
fix(vite): skip generating keys for locally scoped functions (#20955) 2023-06-05 20:15:12 +01:00
Daniel Roe
ec72066f91
fix(nuxt): key distinct pages differently for legacy asyncData (#21263) 2023-06-05 19:36:26 +01:00
Daniel Roe
c9adf700a4
fix(nuxt): handle serialising empty bigint (#21257)
Co-authored-by: lorado <eugen.sacharow@gmx.de>
2023-05-30 13:53:04 +02:00
Daniel Roe
3bc3aeaf62 test: close out some missing browser contexts 2023-05-28 10:47:03 -05:00
Louis Haftmann
92bc999d0e
fix(nuxt): omit Set-Cookie header if value is null (#21072) 2023-05-26 14:42:12 -05:00
renovate[bot]
1879e1cd4d
chore(deps): update all non-major dependencies (main) (#20984)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-25 16:38:10 -05:00
Alexander
e50cabfed1
fix(nuxt): show error page after fatal abortNavigation (#21047) 2023-05-25 13:29:22 -05:00
Daniel Roe
fd30cc1e89
test: refactor type tests into a separate fixture (#21007) 2023-05-22 20:44:03 +01:00
Daniel Roe
980728275a
fix(nuxt): use resolvePath to handle edge cases for modules (#20975) 2023-05-20 23:29:32 +01:00
Julien Huang
2d680455ae
fix(nuxt): skip middleware for islands components (#20924) 2023-05-20 23:26:29 +01:00
Haruaki OTAKE
b88aab049f
fix(nuxt): use default type for initial value for composables (#20968) 2023-05-20 23:19:50 +01:00
Daniel Roe
26861e68ce
fix(kit): resolve relative module paths when installing (#20896) 2023-05-20 23:10:52 +01:00
Daniel Roe
b2a769a863 chore: remove outdated todo comment 2023-05-19 08:28:39 +01:00
Daniel Roe
dda338a1dc
fix(nuxt): resolve layer assets in relation to layer directory (#20932) 2023-05-18 15:10:12 +01:00
Daniel Roe
2cdc22a746
fix(nuxt): don't refresh when hydrating when data is present (#20916) 2023-05-17 14:23:52 +01:00
Daniel Roe
d2e14b678b
fix(nuxt): prioritise vue app context when available (#20910) 2023-05-17 13:26:16 +01:00
Gypsophyllite
f39eb6e981
fix(nuxt): infer useFetch method when generic is passed (#20797) 2023-05-17 12:56:47 +01:00
Anthony Fu
433b52930a
feat(nuxt): support parallel plugins (#20460) 2023-05-16 09:50:43 +01:00
Julien Huang
70c5ec86d2
feat(nuxt): full scoped slots support for server components (#20284) 2023-05-15 23:43:53 +01:00
Daniel Roe
33e2bd3dc0
feat(nuxt): support separate server tsconfig (#20559) 2023-05-15 16:36:30 +01:00
Daniel Roe
aee1218e61 ci: add conditional for node 16 test 2023-05-15 11:31:13 +01:00
Julien Huang
603e7e7fb1
feat(nuxt): allow keeping fallback for NuxtClientFallback (#20336) 2023-05-14 22:22:54 +01:00
Daniel Roe
7006064567
feat(kit): addBuildPlugin for builder-agnostic implementation (#20587) 2023-05-14 12:55:26 +01:00
Inesh Bose
d077c10c41
feat(nuxt): allow fallback production content in <DevOnly> (#20817) 2023-05-13 23:32:31 +01:00
Julien Huang
900ee6dc8b
fix(nuxt): transform client fallbacks directly on SFCs (#20835) 2023-05-13 22:39:50 +01:00
Sébastien Chopin
6a052b583b
feat(nuxt): add useRequestURL helper (#20765) 2023-05-13 22:09:37 +01:00
Daniel Roe
7f0fe2fbe7
fix(nuxt): allow serialising undefined refs (#20828) 2023-05-13 20:49:05 +01:00
Daniel Roe
5e74fe4e0b
fix(nuxt): enable suspensible behaviour for nested pages (#20777) 2023-05-11 18:57:18 +01:00
Daniel Roe
93ba5e7cd2
feat(nuxt): use runWithContext within callWithNuxt (#20775) 2023-05-11 12:39:08 +01:00
Daniel Roe
f170075c79
feat(deps): update vue to v3.3 (#20478) 2023-05-11 09:37:32 +01:00
Daniel Roe
95a0e17898
feat(schema): enable rich json payloads by default (#20770) 2023-05-10 23:31:13 +01:00
Daniel Roe
53fef72031
fix(nuxt): deduplicate global components before registration (#20743) 2023-05-10 13:57:27 +01:00
Eckhardt (Kaizen) Dreyer
10e9d71070
chore: fix typo in pnpm-workspace.yaml (#20751) 2023-05-10 09:15:11 +01:00
Eduardo San Martin Morote
5781cf1569
feat(nuxt): add experimental typedPages option (#20367) 2023-05-09 18:08:07 +01:00
Daniel Roe
80d7899f49
fix(nuxt): prevent treeshaking hooks with composable names (#20745) 2023-05-09 17:47:46 +01:00
Daniel Roe
1da25c8069
fix(nuxt): allow resolving client nuxt app to singleton (#20639) 2023-05-09 11:22:38 +01:00
renovate[bot]
7cb4c69935
feat(deps): upgrade to nitropack v2.4 (#20688)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-05-06 09:44:07 +01:00
Daniel Roe
47591c92ec
test: test with bundler module resolution (#20629)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2023-05-04 10:38:02 +01:00
Daniel Roe
566fa85fc8
fix(nuxt): run page meta plugin on all pages (and only pages) (#20628)
Co-authored-by: Julien Huang <julien.huang@outlook.fr>
2023-05-03 15:14:12 +01:00
Daniel Roe
da3357449f
feat(nuxt): add nuxtApp.runWithContext (#20608) 2023-05-03 11:02:07 +01:00
Anthony Fu
84559e84aa
feat(kit): support passing getter to addVitePlugin and addWebpackPlugin (#20525) 2023-05-02 12:17:41 +01:00
Daniel Roe
16bf228437
fix(nuxt): ensure useError is called with nuxt app context (#20585) 2023-05-01 23:55:24 +01:00
Daniel Roe
8b86d39e30
refactor(schema): move runtimeCompiler option out of experimental (#20606) 2023-05-01 17:39:07 +01:00
Daniel Roe
6ef2e1caea
fix(nuxt): remove backwards-compatible runtimeConfig proxy (#20340) 2023-04-29 23:38:40 +01:00
Daniel Roe
f73bb1de0a
fix(nuxt): return RenderResponse for redirects (#20496) 2023-04-28 11:18:03 +01:00
Anthony Fu
98b20c45c8
fix(nuxt): transform #components imports into direct component imports (#20547)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-28 10:14:42 +01:00
Julien Huang
ecf41537ca
fix(nuxt): throw errors when running legacy asyncData (#20535) 2023-04-27 11:51:33 +01:00
Daniel Roe
197de3ecbb
fix(nuxt): call app:error in SSR before rendering error page (#20511) 2023-04-26 14:36:59 +01:00
Daniel Roe
dd0d13d425
fix(nuxt): improved typing support for app config (#20526) 2023-04-26 14:30:05 +01:00
Daniel Roe
200cb2787e
fix(nuxt): throw 404 when accessing /__nuxt_error directly (#20497) 2023-04-25 15:47:02 +01:00
Daniel Roe
ac598e4f4d test: update snapshot 2023-04-25 11:26:45 +01:00
Daniel Roe
ba320a5589 test: exclude default error pages from bundle test 2023-04-25 10:20:11 +01:00
Julien Huang
e8e01bac13
fix(nuxt): use key to force server component re-rendering (#19911) 2023-04-20 22:41:20 +01:00
Daniel Roe
12f347a928
fix(nuxt): clone app config on server (#20278) 2023-04-20 13:33:45 +01:00
Daniel Roe
83f0103a47
fix(schema): rely on installed telemetry types (#19640) 2023-04-19 22:02:15 +01:00
Daniel Roe
c7be5b4ec6
refactor(nuxt): rework and use isJS and isVue utilities consistently (#20344) 2023-04-19 19:17:36 +01:00
Preet Mishra
48b48dec00
fix(nuxt): handle pages with no content and log warning (#20373) 2023-04-19 17:58:43 +01:00
renovate[bot]
6b75cceb3d
chore(deps): update all non-major dependencies (main) (#20395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-19 17:03:51 +01:00
Daniel Roe
574a5616b4
perf: remove unused deps and add implicit deps (#20356) 2023-04-19 16:45:13 +01:00
renovate[bot]
fe441a1364
chore(deps): update all non-major dependencies (main) (#20364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-04-18 16:52:31 +01:00
Daniel Roe
8aa86559c8
fix(nuxt): mark useRequestHeaders keys as optional (#20286) 2023-04-15 15:43:19 +01:00
Daniel Roe
3754591257
fix(nuxt): return type directly if not picking asyncData (#20288) 2023-04-15 11:03:09 +01:00