pooya parsa
888bd7c145
feat(nuxt): payload rendering support ( #6455 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-09-10 15:57:16 +02:00
Daniel Roe
9c3bef4a01
fix(nuxt): allow abortMiddleware
to receive a nuxt error or error options ( #7335 )
2022-09-08 10:52:00 +02:00
Alex Kozack
6b3a1a4256
feat(nuxt): filter support for clearNuxtData
( #7323 )
2022-09-07 15:25:37 +02:00
Alex Kozack
b2f573f685
feat(nuxt): add clearNuxtData
( #5227 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 13:20:09 +02:00
Vl4dimyr
fc2be9ed42
feat(nuxt): add immediate
option for useAsyncData
and useFetch
( #5500 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-09-07 11:47:40 +02:00
Daniel Roe
5a69f48244
fix(nuxt): don't try to set cookie after redirect ( #7288 )
2022-09-07 10:34:16 +02:00
Damian Głowala
3e9f1efb1e
fix(nuxt): update default redirect code of navigateTo
to 302 Found
( #7189 )
2022-09-03 14:30:03 +02:00
Daniel Roe
b90d286631
feat(nuxt): add setPageLayout
utility ( #6826 ) ( #7075 )
...
Co-authored-by: HomWang <516310460@qq.com>
2022-08-31 10:02:48 +02:00
pooya parsa
afc9d9bfc8
perf(nuxt): tree-shake asyncData client logic from server ( #7056 )
...
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:48:26 +02:00
pooya parsa
5a17458af5
fix(nuxt): use shared state for asyncData ( #7055 )
...
Co-authored-by: Ohb00 <43827372+OhB00@users.noreply.github.com>
2022-08-30 12:34:09 +02:00
Anthony Fu
9db2229f70
refactor: enable strict type checking everywhere ( #6943 )
2022-08-26 17:47:29 +02:00
Daniel Roe
403e0e6e6d
fix(nuxt): lazy composables shouldn't block setup in ssr: false
( #6901 )
2022-08-24 21:05:28 +02:00
Alexander Lichter
a4dfe232f0
feat(nuxt): navigateTo
supports external redirects ( #5022 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-24 18:04:56 +02:00
Daniel Roe
f3499d788a
feat(nuxt): allow programmatically prefetching global components ( #6661 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 21:12:22 +02:00
Anthony Fu
e1e39b7e79
refactor(nuxt, kit): improve type strictness ( #6685 )
2022-08-22 12:12:02 +02:00
Daniel Roe
33e7fc1752
fix(nuxt): don't set asyncData to existing payload on CSR if initialCache
is disabled ( #6640 )
2022-08-15 15:55:46 +02:00
Anthony Fu
f350a70775
refactor(nuxt): enable strict type checking ( #6368 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-12 19:47:58 +02:00
Daniel Roe
5232c1b5b4
fix(nuxt): immediately call asyncData
handler ( #6472 )
2022-08-09 23:48:48 +02:00
YuTin Liu
03cd6717ce
fix(nuxt): handle immediate errors when calling useAsyncData
( #6441 )
2022-08-09 10:01:25 +02:00
Daniel Roe
46f36a4038
fix(nuxt): use payload error state as source of truth ( #6389 )
2022-08-08 16:33:31 +02:00
pooya parsa
4ec68db323
fix(nuxt): do not log 404
and showError
as fatal by default ( #6437 )
2022-08-08 14:11:50 +02:00
Daniel Roe
4623525f3f
fix(nuxt): type useRoute
return ( #6395 )
2022-08-07 06:57:11 +02:00
Daniel Roe
4732d2ce3a
fix(nuxt): better equality check for json cookies ( #6352 )
2022-08-04 12:58:15 +02:00
Daniel Roe
4379e9d922
feat(nuxt): add setResponseStatus
utility ( #6306 )
2022-08-02 18:01:59 +02:00
Daniel Roe
c72093b1f2
fix(nuxt): separate routes for different suspense forks ( #6275 )
2022-08-02 11:58:03 +02:00
David Tai
3a822c7177
refactor(nuxt): enhance useFetch
and useLazyFetch
request type ( #4825 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-07-25 14:37:39 +02:00
Daniel Roe
78618f1f21
feat(nuxt): improve error dx for users ( #4539 )
...
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-21 16:29:03 +02:00
Daniel Roe
23546a270c
feat(nuxt): automatically generate unique keys for keyed composables ( #4955 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-07 18:26:04 +02:00
Pooya Parsa
8d2f805770
fix(nuxt): handle undefined
when applying defaults for useAsyncData
...
issue appeared as a regression of #5660
2022-07-07 00:12:31 +02:00
mrauhu
93d60a30de
feat(nuxt): allow passing custom fetch options to useFetch
( #5660 )
2022-07-06 21:17:59 +02:00
Daniel Roe
b5f5f7d5ba
perf(nuxt)!: remove legacy app context ( #5630 )
2022-07-06 21:15:00 +02:00
Daniel Roe
f09d1d88da
fix(nuxt): update useFetch
key warning to include any function or blob ( #5710 )
...
* fix(nuxt): update `useFetch` key warning to include any function or blob
* Update packages/nuxt/src/app/composables/fetch.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-07-06 21:09:46 +02:00
Daniel Roe
490d686fe6
fix(nuxt): useRequestHeaders
type should allow for undefined
values ( #5748 )
2022-07-06 21:00:08 +02:00
Anthony Fu
eafd92c457
fix(types): tidy types for useAsyncData
( #5340 )
2022-06-08 21:45:12 +02:00
Daniel Roe
822928b07e
fix(nuxt): add ssrContext
types on NuxtApp
( #5333 )
2022-06-08 21:37:50 +02:00
Daniel Roe
1fda73267a
fix(nuxt): respect navigateTo
options using server middleware in server-side ( #5145 )
2022-06-01 00:09:32 +02:00
Anthony Fu
fca2ed7cc5
fix(nuxt): default statusCode of navigateTo
from 301
to 302
( #5173 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-05-31 23:28:52 +02:00
Daniel Roe
cad4edd5a3
fix(nuxt): respect baseurl when redirecting (and universal router) ( #4933 )
...
* fix(nuxt): respect baseurl when redirecting (and universal router)
* test: add test case for redirect
2022-05-11 19:33:29 +02:00
renovate[bot]
7e89fe8f6c
chore(deps): update all non-major dependencies ( #4914 )
...
* chore(deps): update all non-major dependencies
* update lock
* fix: update types
* fix: update error type
* test: update useFetch url
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-05-11 14:32:05 +02:00
Daniel Roe
87c62513fa
fix(nuxt): await asyncData if ssr: false
( #4791 )
2022-05-06 13:04:01 +02:00
pooya parsa
ebc27ce997
fix(nuxt): ensure url is not empty string ( #4781 )
2022-05-05 22:46:54 +02:00
Alex Liu
eb903bd66e
fix(nuxt3): improve error types for useAsyncData
and useFetch
( #4210 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-29 20:42:22 +02:00
Anthony Fu
256df28124
chore: enable typecheck ci for packages ( #4664 )
2022-04-29 11:38:22 +02:00
Daniel Roe
7e912e7bf4
fix(nuxt): warn to provide a key for useFetch
with transform
option ( #4590 )
2022-04-27 18:19:10 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt ( #4449 )
2022-04-20 10:52:39 +02:00