Commit Graph

149 Commits

Author SHA1 Message Date
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
Pooya Parsa 2bf9028f7e
refactor(kit,nuxt,schema): use `consola` and improve test dx (#23302) 2023-09-19 22:26:15 +01:00
Daniel Roe e729406805
fix(nuxt): use original escapes/quotes in page re-exports (#23191) 2023-09-14 07:06:07 +01:00
Julien Huang 48fb6e243b
fix(nuxt): scroll to top by default on dynamic routes (#22403) 2023-09-06 20:44:59 +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
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
anhao 4e538a03e2
fix(vite): use `''` key for root scope in variable collector (#22679) 2023-08-17 15:35:28 +02:00
Pooya Parsa c8cba7a062 test: reduce verbose log outputs 2023-08-15 07:35:56 +01:00
Daniel Roe b2cea4927e
feat(nuxt): allow experimental `global: 'sync'` components (#22558) 2023-08-09 12:19:00 +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
Daniel Roe 5926bbeff8
feat(nuxt): allow 'lazy' (non-blocking) server components (#21918) 2023-07-31 09:51:09 +01:00
Julien Huang 2e6c4519cf
fix(nuxt): bind `createClientOnly` render function to ctx (#22289) 2023-07-24 09:00:31 +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
Daniel Roe d0dde6426f
fix(nuxt): preserve old vnode when leaving nested route (#21823) 2023-07-05 12:39:39 +02:00
anhao e70ff83e72
fix(vite): fix issue detecting shadowed keyed composables (#21891) 2023-07-05 11:35:45 +02:00
Julien Huang 9f5130d06b
fix(nuxt): stop loading indicator on navigation failure (#21751) 2023-07-03 12:14:17 +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 343a46d5f9
fix(nuxt): inline css directly in root component (#21573) 2023-06-20 19:28:44 +01:00
Daniel Roe 19fc2828fb
perf(nuxt): use prerendered islands to serialise/revive payload (#21461) 2023-06-14 10:09:27 +01:00
Daniel Roe 05a8c2d955
fix(nuxt): respect query/hash for external routes in `navigateTo` (#21500) 2023-06-11 22:27:02 +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
Nicolas Payot c884a95f0f
feat(nuxt): return `status` from `useAsyncData` (#21045) 2023-06-09 22:38:14 +01:00
Daniel Roe 7710ed30fa
fix(nuxt): skip vue render when redirecting (#21412) 2023-06-07 13:18:50 +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
Louis Haftmann 92bc999d0e
fix(nuxt): omit `Set-Cookie` header if value is null (#21072) 2023-05-26 14:42:12 -05:00
Alexander e50cabfed1
fix(nuxt): show error page after fatal `abortNavigation` (#21047) 2023-05-25 13:29:22 -05: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
Julien Huang 70c5ec86d2
feat(nuxt): full scoped slots support for server components (#20284) 2023-05-15 23:43:53 +01:00
Julien Huang 603e7e7fb1
feat(nuxt): allow keeping fallback for `NuxtClientFallback` (#20336) 2023-05-14 22:22:54 +01:00
Inesh Bose d077c10c41
feat(nuxt): allow fallback production content in `<DevOnly>` (#20817) 2023-05-13 23:32:31 +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
Eduardo San Martin Morote 5781cf1569
feat(nuxt): add experimental `typedPages` option (#20367) 2023-05-09 18:08:07 +01:00
Daniel Roe f73bb1de0a
fix(nuxt): return `RenderResponse` for redirects (#20496) 2023-04-28 11:18:03 +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
Julien Huang e8e01bac13
fix(nuxt): use key to force server component re-rendering (#19911) 2023-04-20 22:41:20 +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