Commit Graph

24 Commits

Author SHA1 Message Date
Sébastien Chopin d26822f3df
feat(nuxt): add `callOnce` util to allow running code only once (#24787) 2023-12-19 11:00:11 +00:00
Julien Huang 9cd6c922e5
feat(nuxt): move loading api behind hooks (#24010) 2023-12-19 10:18:10 +00:00
Julien Huang 5877e11c89
feat(nuxt): allow plugins to specify dependencies (#24127) 2023-12-14 17:11:08 +00:00
Eugen Guriev 8ccafb182d
feat(nuxt): add `dedupe` option for data fetching composables (#24564) 2023-12-14 11:08:43 +00:00
Julien Huang 17b5ed9ad8
feat(nuxt): expose `refresh` on islands and server components (#24261) 2023-12-14 11:07:54 +00:00
Daniel Roe 2026543a5b
chore: update vitest dependencies (#24659) 2023-12-11 18:20:11 +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
Daniel Roe 562532778b
fix(nuxt): deeply unwrap headers/query for `useFetch` key (#24307) 2023-11-15 19:40:55 +00:00
Daniel Roe b301b639e1
test(nuxt): add additional unit tests for composables (#24289) 2023-11-14 12:44:39 +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
Julien Huang b06a559e72
test(nuxt): test remote islands for `NuxtIsland` (#23801) 2023-10-20 09:38:51 +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
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
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
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
Daniel Roe 7dce07653c
fix(nuxt): experimental build manifest + client route rules (#21641) 2023-09-19 22:31:18 +01:00
Julien Huang 3f9fa008d9
fix(nuxt): exclude `data-v` attrs from server component props (#23095) 2023-09-10 09:06:11 +01:00
Daniel Roe 6a9fbbfe46
test: add `nuxt-vitest` and composable unit tests (#21884) 2023-07-02 09:59:16 +01:00