Commit Graph

57 Commits

Author SHA1 Message Date
Daniel Roe
c628975efc
fix(nuxt): use URL to encode redirected URLs (#27822) 2024-06-26 11:58:45 +02:00
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
Maik Kowol
9655ce6f62
fix(nuxt): add parent scopeId to server components (#27497) 2024-06-10 23:20:27 +01:00
Hendrik Heil
1d34594b9e
feat(nuxt): register plugin hooks before executing plugins (#27449) 2024-06-10 19:41:36 +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
Pooya Parsa
fdbfed1280
chore: fix small typos (#26907) 2024-04-23 13:53:11 +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
Julien Huang
f0442d0ddb
feat(nuxt): emit error if <NuxtIsland> can't fetch island (#25798) 2024-03-06 16:45:43 +00:00
Divine
83314f1c95
feat(nuxt): custom loading reset/hide delay + force finish() (#25932) 2024-03-06 16:27:05 +00:00
Julien Huang
6d93014c52
feat(nuxt): allow using nuxt-client in all components (#25479) 2024-03-06 15:26:19 +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
Julien Huang
de0ceaa72a
fix(nuxt): add runtime check to filter plugins in dependsOn (#25409) 2024-01-27 22:14:18 +00:00
Becem
aa4faaab3c
fix(nuxt): do not rerun synchronous callOnce callbacks (#25431) 2024-01-25 14:29:50 +00:00
Julien Huang
48ce560901
fix(nuxt): preserve instance.attrs in client-only components (#25381) 2024-01-23 10:22:45 +00:00
hitochan777
95a5213766
fix(nuxt): handle plugin dependencies with mixed load state (#25318) 2024-01-22 09:57:17 +00:00
Julien Huang
83c9146af3
test(nuxt): add test for data-island-uid replacement (#25346) 2024-01-21 11:30:54 +00:00
Julien Huang
a57b428587
fix(nuxt): overwrite island payload instead of merging (#25299) 2024-01-19 12:21:42 +00:00
Julien Huang
1b93e604d3
feat(nuxt): allow client components within NuxtIsland (#22649) 2023-12-19 12:21:29 +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
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