Commit Graph

707 Commits

Author SHA1 Message Date
Guillaume Chau
c0ecf746da
fix(nuxt): check if nuxt link observer is null (#30038) 2024-11-26 13:33:57 +00:00
Daniel Roe
c4ede9bee3
refactor(nuxt): define layouts as async vue components (#29957) 2024-11-17 22:26:04 -05:00
Damian Głowala
59c28d5a5a
feat(nuxt): add useRuntimeHook composable (#29741) 2024-11-02 23:14:02 +00:00
Nils
b2accc6de7
feat(nuxt): allow chunk error or manifest update -> reload (#28160) 2024-11-02 23:14:01 +00:00
Michael Brevard
9e23aceb6a
perf(kit,nuxt,vite,webpack): hoist regex patterns (#29620) 2024-10-22 15:38:26 +01:00
Julien Huang
088beaa90b
perf(nuxt): remove unneeded second call to useNuxtApp (#29514) 2024-10-16 11:52:13 +01:00
Julien Huang
4bb023cd4b
fix(nuxt): allow islands to manipulate head client-side (#29186) 2024-10-11 23:39:30 +01:00
Jelmer
613340edcf
feat(nuxt): add useResponseHeader composable (#27131) 2024-10-09 15:04:09 +02:00
Daniel Roe
43f80f134b
fix(nuxt): pass absolute external link urls to link:prefetch (#29321) 2024-10-09 08:28:27 +02:00
Daniel Roe
6a39c657f5
chore: add more checks around indexed access (#29060) 2024-09-19 13:26:25 +01:00
DarkVen0m
da019ba39a
fix(nuxt): pass DOMException as fetch abort exception (#29058) 2024-09-19 13:21:18 +01:00
Daniel Roe
04f1062af9
fix(nuxt): defer unsetting error handler until suspense resolves (#29037) 2024-09-19 13:21:18 +01:00
Artem Maslov
870e4f6b4a
fix(nuxt): correct type for useError (#28996) 2024-09-15 21:44:48 +01:00
Daniel Roe
8209086964
fix(nuxt): catch chunk errors directly in navigation 2024-09-13 12:57:44 +01:00
Daniel Roe
1b53df5bfb
refactor(nuxt): use vite:preloadError event (#28862) 2024-09-11 11:48:58 +01:00
Daniel Roe
66d0b8ccdc
fix(nuxt): set inheritAttrs: false for fragment components (#28939) 2024-09-11 11:48:58 +01:00
Julien Huang
32a66364cb
fix(nuxt): make runWithContext generic (#28926) 2024-09-10 23:08:37 +01:00
Daniel Roe
ac7d010587
chore(deps): upgrade typescript 2024-09-10 19:51:51 +01:00
Daniel Roe
0e8f5ae59d
perf(nuxt): remove interop default for dynamic components (#28912) 2024-09-10 19:42:34 +01:00
Daniel Roe
73d833f0ce
chore: enable noUncheckedSideEffectImports (#28903) 2024-09-10 19:40:37 +01:00
Daniel Roe
667fe86956
fix(nuxt): do not accept attrs on <NuxtErrorBoundary> (#28901) 2024-09-09 20:41:46 +01:00
Daniel Roe
468ab2dc0b
fix(nuxt): don't override vue instance with legacy asyncData (#28842) 2024-09-09 10:27:51 +01:00
Daniel Roe
74985a5251
fix(nuxt): ensure injected route has enumerable keys (#28841) 2024-09-09 10:27:50 +01:00
Julien Huang
c5f3292d63
fix(nuxt): fix ssr log querySelector (#28864) 2024-09-06 08:53:57 +02:00
Gianluca Di Francesco
083946fe40
fix(nuxt): improve isNuxtError type inference (#28814) 2024-09-04 10:06:24 +01:00
Daniel Roe
26ba7a3d88
refactor(nuxt): update to vue v3.5 + native useId (#28285) 2024-09-03 14:39:01 +01:00
Daniel Roe
90f4447b37
perf(nuxt): use reducer array + handle modified proto (#28768) 2024-09-03 14:35:21 +01:00
Gianluca Di Francesco
3c4949acfb
fix(nuxt): allow updating appConfig with non-iterable objects (#28773) 2024-09-03 14:35:21 +01:00
Eckhardt (Kaizen) Dreyer
2d9e1442d8
fix(nuxt): handle deleted cookies from CookieStore events (#28760) 2024-09-03 14:35:21 +01:00
Julien Huang
b305e53639
perf(nuxt): use ServerPlaceholder for ssr client components (#28563) 2024-08-28 22:40:52 +01:00
Daniel Roe
9ad735a349
fix(nuxt): do not pass listeners to custom NuxtLink (#28738) 2024-08-28 22:20:09 +01:00
Daniel Roe
a0124712f3
fix(nuxt): revert back to object syntax for island head (#28656) 2024-08-22 14:58:58 +01:00
Julien Huang
3f1db54b80
feat(nuxt): allow server islands to manipulate head (#27987) 2024-08-22 13:10:17 +01:00
Daniel Roe
4dfbec8e0f
fix(nuxt): do not provide default prefetchOn prop (#28630) 2024-08-21 16:37:04 +01:00
Nicolas Payot
1eb9b0a402
feat(nuxt): namespace __NUXT__ when using multi-app (#27263) 2024-08-20 11:38:53 +01:00
Daniel Roe
2fcadda2e5
fix(nuxt): don't warn when data fetching in middleware (#28604) 2024-08-20 11:36:14 +01:00
Kewin Szlezingier
dba2b972bd
feat(nuxt): allow defining triggers for prefetching links (#27846) 2024-08-20 11:36:14 +01:00
Daniel Roe
60948c8426
fix(nuxt): only augment vue, not sub-packages (#28542) 2024-08-16 10:12:22 +01:00
Martin André
b13582205a
perf(nuxt): avoid multiple calls to getCachedData (#28472) 2024-08-13 20:45:27 +01:00
Mike Laumann Bellika
fe954c434c
fix(nuxt): add reason when aborting request in useFetch (#28517) 2024-08-13 20:44:00 +01:00
Julien Huang
a4ef08059d
perf(nuxt): avoid making client-only component setup async (#28334) 2024-08-13 20:43:58 +01:00
Adam DeHaven
0a6e5e1caa
feat(nuxt): custom enable/disable hooks for usePreviewMode (#28371) 2024-08-13 20:43:57 +01:00
Potter
6c2abcdfdb
perf(nuxt): call cookie decode function only for named cookie (#28215) 2024-08-13 20:43:55 +01:00
Daniel Roe
5132ef8c81
fix(nuxt): augment @vue/runtime-core and @vue/runtime-dom (#28446) 2024-08-13 20:43:09 +01:00
Martin Masevski
219653e2c6
fix(nuxt): update renamed stub composables from nuxt/scripts (#28449) 2024-08-13 20:43:09 +01:00
Daniel Roe
93801def67
fix(nuxt): ensure runtimeConfig.public is reactive on client (#28443) 2024-08-13 20:43:08 +01:00
Tobias Diez
45d92d67ee
feat(nuxt): allow specifying app id when creating a nuxt app (#28392) 2024-08-08 11:11:14 +01:00
renovate[bot]
17ff2d5c98
chore(deps): update all non-major dependencies (3.x) (#28302)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-08-06 15:16:20 +01:00
Daniel Roe
b7da949cab
fix(nuxt): prevent duplicate set-cookie headers (#28211) 2024-07-18 22:07:41 +01:00
Daniel Roe
1843ffa328
refactor(nuxt): use errx to handle dev log traces (#28027) 2024-07-18 21:10:41 +01:00
Daniel Roe
2417848bf2
fix(nuxt): use addEventListener to register cookie store listener (#28193) 2024-07-18 21:08:27 +01:00
Julien Huang
a6af09eba4
fix(nuxt): allow getCachedData to return undefined (#28187) 2024-07-18 21:08:14 +01:00
Daniel Roe
d10cea11be
fix(nuxt): revert change to getCachedData null response 2024-07-18 21:06:08 +01:00
xjccc
e21f68140c
fix(nuxt): only warn when useAsyncData returns undefined (#28154) 2024-07-18 21:05:11 +01:00
renovate[bot]
a2fd0518ab
chore(deps): update all non-major dependencies (3.x) (#28058) 2024-07-18 15:56:19 +01:00
xjccc
0ce16ac8c9
docs: deprecate pending and emphasis undefined (#28113) 2024-07-15 14:03:05 +01:00
Julien Huang
a3476157ec
refactor(nuxt): remove _registeredComponents from ssrContext (#27819) 2024-07-05 10:52:12 +01:00
Daniel Roe
fceb74906d
perf(kit,nuxt,schema,vite,webpack): use explicit exports (#27998) 2024-07-05 10:52:12 +01:00
Seno
3057a04ef0
fix(nuxt): improve async data warning (#27874) (#27934) 2024-07-01 10:25:24 +01:00
Alex Liu
3c2eebd5b9
perf(nuxt): ensure prefetchComponents is treeshaken on server (#27905) 2024-06-29 21:46:12 +01:00
Daniel Roe
5831e9aacb
fix(nuxt): move app augments to core nuxt types (#27900) 2024-06-28 16:10:07 +02:00
Daniel Roe
8f1376093d
fix(nuxt): use URL to encode redirected URLs (#27822) 2024-06-26 11:59:23 +02:00
Dominic
0d854d9a06
fix(nuxt): handle external links to named route objects (#27829) 2024-06-26 11:59:22 +02:00
renovate[bot]
77d32cdcec
chore(deps): update all non-major dependencies (main) (#27767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-06-24 23:44:34 +02:00
Daniel Roe
866a5319a3
fix(nuxt): defer registering inp handler until nuxt is mounted 2024-06-24 23:44:32 +02:00
Daniel Roe
27435a6ed0
fix(nuxt): delay navigation until user input is acknowledged (#27743) 2024-06-21 11:32:59 +01:00
Daniel Roe
e6940dbdf5
fix(nuxt): resolve routes when navigateTo called with open (#27742) 2024-06-21 11:32:26 +01:00
Damian Głowala
523a1fad8f
fix(nuxt): flag async data promise as cancelled only if defined (#27690) 2024-06-18 15:05:32 +01:00
Julien Huang
a05b5343a4
fix(nuxt): add missing script stubs (#27640) 2024-06-15 23:14:59 +01:00
Leo Osa
a3d8f005a6
fix(nuxt): reset cookie timeoutLength after expiration (#27632) 2024-06-15 12:24:15 +01:00
Daniel Roe
6a19aa79f7
fix(nuxt): warn when async data doesn't return a value (#27599) 2024-06-14 23:11:25 +01:00
Daniel Roe
02945b9fa6
chore: add extra types for empty array definitions 2024-06-13 22:54:50 +01:00
Daniel Roe
95458af9a1
fix(nuxt): handle more edge cases with external/custom links (#27487) 2024-06-13 16:39:37 +01:00
Valerii Strilets
803100e34e
fix(nuxt): remove backticks around runtimeConfig warning log (#27549) 2024-06-12 19:51:09 +01:00
Okuto Oyama
1321c56483
fix(nuxt): export useRouteAnnouncer (#27562) 2024-06-12 17:46:17 +01:00
Daniel Roe
9e56b60c6b
fix(nuxt): only log warning once per runtimeConfig key 2024-06-12 12:39:40 +01:00
Daniel Roe
b17aa3f08e
fix(nuxt): manually assign payload reactivity when ssr: false (#27542) 2024-06-11 19:59:48 +01:00
Harlan Wilton
14fecc9f73
fix(nuxt): call onNuxtReady callback without arguments (#27428) 2024-06-11 14:33:22 +01:00
Daniel Roe
13fec55c10
fix(nuxt): handle symbol keys in wrapped runtime config 2024-06-10 23:43:01 +01:00
Maik Kowol
9655ce6f62
fix(nuxt): add parent scopeId to server components (#27497) 2024-06-10 23:20:27 +01:00
Daniel Roe
11a79359b8
fix(nuxt): remove boolean value for dedupe in v4 compat (#27511) 2024-06-10 21:51:40 +01:00
Hendrik Heil
1d34594b9e
feat(nuxt): register plugin hooks before executing plugins (#27449) 2024-06-10 19:41:36 +01:00
André Luiz da Silva
c3deaec4b6
fix(nuxt): use buildAssetsDir in island teleport dev chunk (#27469) 2024-06-07 21:46:46 +01:00
nopeless
601a2620b8
feat(nuxt): warn when accessing private runtimeConfig on client (#26441) 2024-06-07 16:55:49 +01:00
Israel Ortuño
5bff730614
feat(nuxt): allow configuring interval for checking app update (#27324) 2024-06-07 16:42:32 +01:00
Daniel Roe
e109d81d40
fix(nuxt): handle errors loading app manifest (#27441) 2024-06-07 10:56:48 +01:00
Daniel Roe
b6d797591d
build(ui-templates): directly copy templates on build (#27430) 2024-06-03 21:15:54 +01:00
Daniel Roe
a549b46e90
feat(nuxt): add URL serialiser for dev server logs 2024-05-24 14:24:57 +01:00
Daniel Roe
0e90e87ef7
fix(nuxt): defer shared asyncData promises to next tick (#27329) 2024-05-23 17:40:23 +01:00
Daniel Roe
47c47c9b42
fix(nuxt): add VNode reviver & don't deduplicate dev logs (#27309) 2024-05-23 16:25:06 +01:00
Miha Sedej
59ad152ae3
fix(nuxt): respect app.cdnURL for extracted payloads (#26668) 2024-05-23 09:18:31 +01:00
Daniel Roe
f256210d55
fix(nuxt): provide default data type values in nuxt/app dir (#27314) 2024-05-22 22:33:10 +01:00
Daniel Roe
69430aa26c
fix(nuxt): clear timeout when asyncData request finishes/aborts (#27308) 2024-05-22 16:00:03 +01:00
Daniel Roe
811bfc18a1
feat(nuxt): respect defaults when clearing asyncData (#27295) 2024-05-22 15:42:19 +01:00
Daniel Roe
eb0bebc46d
perf(nuxt): abort vue render when plugins throw error (#27304) 2024-05-22 15:40:19 +01:00
Daniel Roe
8a759bc6fe
fix(nuxt): use undefined rather than null for data fetching defaults (#27294) 2024-05-21 23:58:38 +01:00
Julien Huang
a618a5c1d1
fix(nuxt): encode location header in navigateTo (#27280) 2024-05-20 21:02:46 +01:00
Daniel Roe
3c42e13b68
feat(nuxt,schema): add appId and improve chunk determinism (#27258) 2024-05-16 22:41:31 -05:00
Deth
58423772a1
feat(nuxt): allow displaying error state in loading indicator (#27176) 2024-05-16 09:23:18 -05:00
Daniel Roe
c545c1da5b
perf(nuxt): mark payload as shallowReactive (#27214) 2024-05-16 09:14:25 -05:00