1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-09 03:03:18 +00:00
Commit Graph

686 Commits

Author SHA1 Message Date
Divine
83314f1c95
feat(nuxt): custom loading reset/hide delay + force finish() () 2024-03-06 16:27:05 +00:00
Julien Huang
6d93014c52
feat(nuxt): allow using nuxt-client in all components () 2024-03-06 15:26:19 +00:00
Bogdan Kostyuk
230f6b4f19
feat(nuxt): client-only pages () 2024-03-06 14:38:39 +00:00
Daniel Roe
b4bce578c6
fix(nuxt): don't refetch server components in initial html () 2024-03-06 11:55:06 +00:00
renovate[bot]
75278ca8fb
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-04 11:28:26 +00:00
Daniel Roe
4fbbc10f62
fix(nuxt): skip vue style blocks in unctx transform () 2024-03-03 21:36:12 +00:00
Julien Huang
196223c0fb
feat(nuxt): server-only pages () 2024-02-26 17:39:26 +00:00
renovate[bot]
c05239901a
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-26 17:33:54 +00:00
Michael Brevard
ff1bb56e3f
perf: early return chained functions with falsy values () 2024-02-26 16:08:45 +00:00
Mateusz Kulpa
b5981f6840
fix(nuxt): add missing type for head in defineNuxtComponent () 2024-02-22 11:11:44 +00:00
OnlyWick
e817655c14
fix(nuxt): in dev, don't link css files with ?inline query () 2024-02-16 17:04:37 +00:00
Anthony Fu
3f882c95f6
ci: typecheck code samples in docs () 2024-02-15 10:07:39 +00:00
renovate[bot]
936ad91b0a
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-14 10:56:21 +00:00
Daniel Roe
29b338f8aa
fix(nuxt): don't add extra baseURL on server useRequestURL () 2024-02-13 10:30:39 +00:00
renovate[bot]
eb1593ceba
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-09 22:59:41 +00:00
Daniel Roe
4f3391fc0a
fix(nuxt): remove undefined keys in route object () 2024-02-07 10:00:19 +00:00
renovate[bot]
44b66f2a1b
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-02-06 16:03:26 +00:00
Hendrik Heil
9af0e35ffc
fix(nuxt): export refreshCookie () 2024-02-05 20:25:11 +00:00
Daniel Roe
e33cec9580
chore: use pathe in internal tests 2024-02-05 11:24:39 +00:00
Julien Huang
7dd0225007
fix(nuxt): fetch non-server rendered islands when hydrating () 2024-02-05 10:36:20 +00:00
Daniel Roe
e8d1219886
fix(nuxt): remove key from useId type signature () 2024-02-04 22:11:53 +00:00
Enkot
876d910c3f
fix(nuxt): broadcast cookie change in correct format () 2024-02-03 23:15:26 +00:00
Bobbie Goede
67445550b0
ci: retry flaky test when using Webpack () 2024-02-01 11:03:47 +00:00
Bobbie Goede
f665434781
ci: retry flaky test when running in Windows with Webpack () 2024-01-31 19:06:53 +00:00
Bobbie Goede
f3c1c3e381
ci: retry flaky test when running in Windows with Webpack () 2024-01-31 17:49:35 +00:00
Daniel Roe
f1fe97fc8a
fix(nuxt): prioritise later items in pages:routerOptions hook () 2024-01-30 13:55:18 +00:00
Якин Никита
658a0ffed7
feat(nuxt): useId composable ()
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Sébastien Chopin <seb@nuxt.com>
2024-01-30 09:10:13 +00:00
renovate[bot]
7d65769496
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-29 16:53:25 +00:00
Daniel Roe
73421483f6
fix(nuxt): improve return type of useRequestEvent () 2024-01-29 11:48:35 +00:00
Enkot
034d1aaa6f
feat(nuxt): refreshCookie + experimental CookieStore support () 2024-01-29 10:37:32 +00:00
Daniel Roe
c446602529
fix(vite): extract styles for shared chunks () 2024-01-28 21:25:42 +00:00
Julien Huang
de0ceaa72a
fix(nuxt): add runtime check to filter plugins in dependsOn () 2024-01-27 22:14:18 +00:00
Becem
aa4faaab3c
fix(nuxt): do not rerun synchronous callOnce callbacks () 2024-01-25 14:29:50 +00:00
Daniel Roe
1daf92b3de
test: avoid explicit timeouts () 2024-01-24 11:49:47 +00:00
Julien Huang
48ce560901
fix(nuxt): preserve instance.attrs in client-only components () 2024-01-23 10:22:45 +00:00
hitochan777
95a5213766
fix(nuxt): handle plugin dependencies with mixed load state () 2024-01-22 09:57:17 +00:00
Julien Huang
89541f4164
test: remove miswritten test () 2024-01-21 11:31:29 +00:00
Julien Huang
83c9146af3
test(nuxt): add test for data-island-uid replacement () 2024-01-21 11:30:54 +00:00
Becem
a551b216ea
fix(nuxt): use default export for raw components () 2024-01-20 20:43:11 +00:00
Becem
10af369436
fix(nuxt): use named import for lazy components () 2024-01-19 21:43:19 +00:00
Julien Huang
a57b428587
fix(nuxt): overwrite island payload instead of merging () 2024-01-19 12:21:42 +00:00
renovate[bot]
92ba515549
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-19 10:20:46 +00:00
Julien Huang
ce7845cbcf
fix(nuxt): allow omitting fallback in island response () 2024-01-18 22:20:01 +00:00
Pooya Parsa
dab2188d58
feat: experimental client-side Node.js compatibility () 2024-01-18 16:09:27 +00:00
Danila Rodichkin
6b651cf7bf
feat(nuxt): tryUseNuxtApp composable () 2024-01-18 09:59:59 +00:00
renovate[bot]
37e57c747a
chore(deps): update devdependency @nuxt/test-utils to v3.10.0 (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-17 17:58:23 +00:00
Danila Rodichkin
6ca3a6fecb
fix(nuxt): don't share object between raw cookie and cookie ref () 2024-01-17 11:53:14 +00:00
Anthony Fu
6c6032782f
test: add separate suspense test suite () 2024-01-17 11:46:13 +00:00
renovate[bot]
23a772ad26
chore(deps): update all non-major dependencies to ^1.8.10 (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-16 17:00:27 +00:00
Daniel Roe
430e207bc4
refactor(nuxt): rename to data-island-component () 2024-01-16 16:33:45 +00:00
Julien Huang
986786a4a9
refactor(nuxt): refactor island response + improve rendering () 2024-01-16 13:22:50 +00:00
Daniel Roe
20e88bb171
fix(nuxt): render user-inserted links in island responses () 2024-01-16 12:36:26 +00:00
renovate[bot]
91ff987004
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-12 12:38:47 +00:00
renovate[bot]
7b946864ed
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-09 13:47:37 +00:00
renovate[bot]
840b6b628d
chore(deps): update codspeedhq/action action to v2.0.3 (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-04 22:29:14 +00:00
renovate[bot]
3cdef69dbd
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-04 13:03:12 +00:00
renovate[bot]
36b910691f
chore(deps): update all non-major dependencies to v3.4.4 (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-03 13:05:15 +00:00
Daniel Roe
653856627c
fix(nuxt): reuse intermediate setup state in <ClientOnly> ()
Co-authored-by: julien huang <julien.huang@outlook.fr>
2024-01-02 21:04:58 +00:00
Daniel Roe
7087a06c6d
fix(nuxt): clone cookie to detect changes within object () 2024-01-02 15:37:19 +00:00
renovate[bot]
4dd87f6e28
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-01-01 22:12:24 +00:00
Julien Huang
4d40e2e996
test: start listening for requests earlier () 2024-01-01 12:33:11 +00:00
renovate[bot]
34b5299412
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-29 08:53:46 +00:00
Alexander Lichter
9de21173a8
test: add missing payload checks () 2023-12-26 20:04:14 +00:00
Daniel Roe
32d2c99c5f
refactor(schema): introduce future and features namespace () 2023-12-25 14:03:29 +00:00
Julien Huang
1b93e604d3
feat(nuxt): allow client components within NuxtIsland () 2023-12-19 12:21:29 +00:00
renovate[bot]
dce7227b18
chore(deps): update all non-major dependencies to v3.3.13 (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-19 12:17:25 +00:00
Sébastien Chopin
d26822f3df
feat(nuxt): add callOnce util to allow running code only once () 2023-12-19 11:00:11 +00:00
Julien Huang
9cd6c922e5
feat(nuxt): move loading api behind hooks () 2023-12-19 10:18:10 +00:00
Harlan Wilton
642d4dc9de
fix(nuxt): eager load island components map () 2023-12-19 10:07:34 +00:00
renovate[bot]
1f8aac0160
chore(deps): update all non-major dependencies (main) ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-12-18 19:06:22 +01:00
Daniel Roe
d5c95ad472
fix(nuxt): revert async transform of setup within defineComponent () 2023-12-16 11:09:41 +00:00
Daniel Roe
db3a9f0554
feat(nuxt): transform setup within defineComponent options () 2023-12-14 21:00:36 +00:00
Julien Huang
5877e11c89
feat(nuxt): allow plugins to specify dependencies () 2023-12-14 17:11:08 +00:00
Damian Głowala
72c8503236
fix(nuxt): ensure error in useAsyncData has correct type () 2023-12-14 12:41:40 +00:00
Eugen Guriev
8ccafb182d
feat(nuxt): add dedupe option for data fetching composables () 2023-12-14 11:08:43 +00:00
Julien Huang
17b5ed9ad8
feat(nuxt): expose refresh on islands and server components () 2023-12-14 11:07:54 +00:00
Alper Doğan
3cc333690b
feat(nuxt): layers support for spa loading template () 2023-12-13 11:54:56 +00:00
Daniel Roe
7827f1843b
feat(kit): load /module or /nuxt module subpath if it exists () 2023-12-12 17:55:21 +00:00
Alexander Lichter
70dea8b83c
feat(nuxt): add path to error.data when throwing 404 errors () 2023-12-11 20:30:59 +00:00
Daniel Roe
2026543a5b
chore: update vitest dependencies () 2023-12-11 18:20:11 +00:00
renovate[bot]
7a32eaf873
chore(deps): update all non-major dependencies (main) ()
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) ()
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 () 2023-11-28 22:06:32 +00:00
Daniel Roe
e3b8b84a24
feat(nuxt): allow readonly option for useCookie () 2023-11-28 13:35:43 +00:00
renovate[bot]
2820dfee52
chore(deps): update all non-major dependencies (main) ()
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) () 2023-11-27 23:02:02 +00:00
Pooya Parsa
1012dc0dbd
fix(nuxt): avoid recursive ssr errors () 2023-11-22 09:58:29 +00:00
renovate[bot]
abbcaf6b20
chore(deps): update all non-major dependencies (main) ()
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 () 2023-11-20 18:10:58 +00:00
Luke Nelson
6e44b1b6b6
fix(nuxt): respect custom timeout in useFetch () 2023-11-20 13:59:41 +00:00
webfansplz
55e0f38dde
fix(nuxt): do not compute useFetch key from headers (reverts ) () 2023-11-16 14:04:48 +00:00
renovate[bot]
a087b87d3f
chore(deps): update dependency ufo to v1.3.2 (main) ()
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 () 2023-11-15 19:40:55 +00:00
Luke Nelson
6ec267be87
fix(schema): use scule types for runtimeConfig type hints () 2023-11-15 18:58:00 +00:00
Aaron_Zhou
5493d60c4a
fix(nuxt): provide route component names to KeepAlive cache () 2023-11-14 16:56:31 +00:00
Daniel Roe
b301b639e1
test(nuxt): add additional unit tests for composables () 2023-11-14 12:44:39 +00:00
Daniel Roe
c1ddb359e3
chore: update to use @nuxt/eslint-config ()
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 () 2023-11-09 03:21:19 +00:00
Damian Głowala
61dd849aa7
fix(nuxt): wrap caught asyncData error in createError ()
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 () 2023-11-06 15:38:45 +00:00