Commit Graph

40 Commits

Author SHA1 Message Date
Daniel Roe
57e84086cc
fix(nuxt)!: improve default asyncData value behaviour (#27718) 2024-06-19 18:04:40 +01:00
Okuto Oyama
1321c56483
fix(nuxt): export useRouteAnnouncer (#27562) 2024-06-12 17:46:17 +01:00
Daniel Roe
27945b4925
chore: improve types in tests (#27293) 2024-06-07 16:57:37 +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
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
3169c5cec7
feat(nuxt): add onPrehydrate lifecycle hook (#27037) 2024-05-07 15:04:21 +01:00
Ivan Kalachikov
4fea6da1ae
feat(nuxt): add <NuxtRouteAnnouncer> and useRouteAnnouncer (#25741) 2024-04-17 16:58:13 +01:00
Anthony Fu
f209158352
chore: cleanup eslint rules with latest @nuxt/eslint-config (#26653) 2024-04-05 19:08:32 +01:00
Damian Głowala
02d6838293
feat(nuxt): add clear utility to useAsyncData/useFetch (#26259) 2024-03-16 17:19:44 -07:00
Horu
f9fe282506
feat(nuxt): add nuxtMiddleware route rule (#25841) 2024-03-16 11:53:01 -07:00
Daniel Roe
205d0e2fa5
test: also run composables test with appManifest off 2024-03-16 11:07:30 -07:00
Maik Kowol
a6d6fde9df
fix(nuxt): access shared asyncData state with useNuxtData (#22277) 2024-03-15 09:40:00 -07:00
Daniel Roe
7252b56d52 chore: add back stylistic rules and lint project 2024-03-09 06:48:15 +00:00
renovate[bot]
e1b3c5e482
chore(deps): update all non-major dependencies (main) (#26157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-03-08 23:03:01 +00:00
Daniel Roe
6407cea620
fix(nuxt): watch custom cookieRef values deeply (#26151) 2024-03-08 17:03:31 +00:00
Bogdan Kostyuk
98aa2c222f
feat(nuxt): usePreviewMode composable (#21705) 2024-03-06 17:14:15 +00:00
Divine
83314f1c95
feat(nuxt): custom loading reset/hide delay + force finish() (#25932) 2024-03-06 16:27:05 +00:00
Hendrik Heil
9af0e35ffc
fix(nuxt): export refreshCookie (#25635) 2024-02-05 20:25:11 +00:00
Якин Никита
658a0ffed7
feat(nuxt): useId composable (#23368)
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
Becem
aa4faaab3c
fix(nuxt): do not rerun synchronous callOnce callbacks (#25431) 2024-01-25 14:29:50 +00:00
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
Eugen Guriev
8ccafb182d
feat(nuxt): add dedupe option for data fetching composables (#24564) 2023-12-14 11:08:43 +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
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
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
Daniel Roe
6a9fbbfe46
test: add nuxt-vitest and composable unit tests (#21884) 2023-07-02 09:59:16 +01:00