Pooya Parsa
93ace55481
feat(nuxt): native async-context in vue's withAsyncContext
( #23526 )
2023-10-05 16:46:53 +02:00
Hendrik Heil
3bde91439a
fix(nuxt): compute fetch cache key with headers ( #23462 )
2023-10-02 11:31:38 +01:00
Albert Brand
df90d4234c
fix(nuxt): ignore prefix if clearNuxtState
called w/o keys ( #23483 )
2023-10-01 09:37:53 +01:00
Hendrik Heil
b95c85b552
fix(nuxt): stringify cookie values before broadcasting them ( #23449 )
2023-09-29 11:59:47 +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
Maxime Pauvert
aa73cbeaf9
fix(nuxt): include method when creating useFetch
auto key ( #23086 )
2023-09-11 09:14:01 +01:00
Daniel Roe
1a08079710
fix(nuxt): use destr
in more places over JSON.parse
( #22997 )
2023-09-05 09:42:16 +01:00
Daniel Roe
4e98ac1746
perf(nuxt): decrease default bundle size ( #22999 )
2023-09-04 22:30:24 +01:00
Jongmin Yoon
6f7d86be78
fix(nuxt): recreate asyncData
when immediate
is disabled ( #20980 )
2023-08-24 13:06:29 +01:00
pooya parsa
a2f2a4748e
feat(nuxt): upgrade nitro + reduce node-specific usage ( #22515 )
...
Co-authored-by: Heb <xsh4k3@gmail.com>
2023-08-23 08:30:53 +01:00
Eduardo San Martin Morote
f0cc923609
fix(nuxt): correct revive payload data type ( #22667 )
2023-08-16 16:16:06 +02:00
Lucas Vargas
ffd0223583
feat(vite,webpack): tree-shakable import.meta.*
build flags ( #22428 )
2023-08-07 23:03:40 +01:00
Daniel Roe
ae8314b236
chore: refresh lockfile ( #22518 )
2023-08-07 14:03:41 +01:00
Peter Graugaard
a4e58bc352
fix(nuxt): correctly update object cookies in useCookie
( #22474 )
2023-08-03 17:33:34 +01:00
anhao
17461fb03b
fix(nuxt): support uppercase route methods in useFetch
( #22418 )
2023-07-31 23:56:37 +01:00
Damian Głowala
0991e885fd
feat(nuxt): autocomplete layouts in setPageLayout
/<NuxtLayout>
( #22362 )
2023-07-31 09:50:55 +01:00
Daniel Roe
2f734df9b5
fix(nuxt): disallow redirects to more script protocols ( #22366 )
...
Co-authored-by: Damian Głowala <48835293+DamianGlowala@users.noreply.github.com>
2023-07-30 11:09:16 +01:00
OhB00
ae8a2fb521
fix(nuxt): use computed path value for useFetch
hash ( #22378 )
2023-07-29 06:23:08 +02:00
Maik Kowol
7046930a67
fix(nuxt): add overloads for asyncData
generic + default ( #22258 )
2023-07-23 09:24:54 +01:00
Daniel Roe
d0dde6426f
fix(nuxt): preserve old vnode when leaving nested route ( #21823 )
2023-07-05 12:39:39 +02:00
Daniel Roe
dd5dff37d5
fix(nuxt,schema): prefer unknown rather than any for signatures ( #21700 )
2023-06-22 14:14:21 +01:00
Daniel Roe
b57d841614
fix(nuxt): post non-proxied cookie value via BroadcastChannel
( #21653 )
2023-06-20 17:02:13 +01:00
Nicolas Payot
187230b0c5
fix(nuxt): abort navigation when updating window.location
( #21521 )
2023-06-14 15:37:21 +01:00
Daniel Roe
05a8c2d955
fix(nuxt): respect query/hash for external routes in navigateTo
( #21500 )
2023-06-11 22:27:02 +01:00
Nicolas Payot
c884a95f0f
feat(nuxt): return status
from useAsyncData
( #21045 )
2023-06-09 22:38:14 +01:00
Jongmin Yoon
31a1b98f3f
feat(nuxt): provide clearNuxtState
composable ( #21409 )
2023-06-09 22:22:21 +01:00
Wilson Pinto
c4e5ac83bf
feat(nuxt): add open
option in navigateTo
helper ( #21333 )
2023-06-07 20:27:00 +01:00
Daniel Roe
7710ed30fa
fix(nuxt): skip vue render when redirecting ( #21412 )
2023-06-07 13:18:50 +01:00
Anthony Fu
6d59a027c7
perf(nuxt): mark define functions as side-effect free at source ( #21434 )
2023-06-07 11:11:24 +01:00
Alexander B
a31899af65
feat(nuxt): sync useCookie
state between tabs ( #20970 )
2023-06-06 23:21:51 +01:00
Daniel Roe
ec72066f91
fix(nuxt): key distinct pages differently for legacy asyncData ( #21263 )
2023-06-05 19:36:26 +01:00
Louis Haftmann
92bc999d0e
fix(nuxt): omit Set-Cookie
header if value is null ( #21072 )
2023-05-26 14:42:12 -05:00
Alexander
e50cabfed1
fix(nuxt): show error page after fatal abortNavigation
( #21047 )
2023-05-25 13:29:22 -05:00
Lucie
a672cd7a42
fix(nuxt): await nuxt ready state before refreshNuxtData
( #21008 )
2023-05-23 00:09:05 +01:00
Haruaki OTAKE
bb28819d3c
fix(nuxt): fix useLazyFetch types ( #20989 )
2023-05-22 08:25:50 +01:00
Haruaki OTAKE
b88aab049f
fix(nuxt): use default
type for initial value for composables ( #20968 )
2023-05-20 23:19:50 +01:00
Daniel Roe
2cdc22a746
fix(nuxt): don't refresh
when hydrating when data is present ( #20916 )
2023-05-17 14:23:52 +01:00
Gypsophyllite
f39eb6e981
fix(nuxt): infer useFetch
method when generic is passed ( #20797 )
2023-05-17 12:56:47 +01:00
Sébastien Chopin
6a052b583b
feat(nuxt): add useRequestURL
helper ( #20765 )
2023-05-13 22:09:37 +01:00
Daniel Roe
93ba5e7cd2
feat(nuxt): use runWithContext
within callWithNuxt
( #20775 )
2023-05-11 12:39:08 +01:00
Eduardo San Martin Morote
5781cf1569
feat(nuxt): add experimental typedPages
option ( #20367 )
2023-05-09 18:08:07 +01:00
Daniel Roe
da3357449f
feat(nuxt): add nuxtApp.runWithContext
( #20608 )
2023-05-03 11:02:07 +01:00
Daniel Roe
16bf228437
fix(nuxt): ensure useError
is called with nuxt app context ( #20585 )
2023-05-01 23:55:24 +01:00
Daniel Roe
f73bb1de0a
fix(nuxt): return RenderResponse
for redirects ( #20496 )
2023-04-28 11:18:03 +01:00
Julien Huang
ecf41537ca
fix(nuxt): throw errors when running legacy asyncData
( #20535 )
2023-04-27 11:51:33 +01:00
Daniel Roe
197de3ecbb
fix(nuxt): call app:error
in SSR before rendering error page ( #20511 )
2023-04-26 14:36:59 +01:00
Andrew Luca
ea1c5b2550
fix(nuxt): use event.node.req
in cookie utility ( #20474 )
2023-04-24 21:25:36 +01:00
Daniel Roe
8aa86559c8
fix(nuxt): mark useRequestHeaders
keys as optional ( #20286 )
2023-04-15 15:43:19 +01:00
Daniel Roe
3754591257
fix(nuxt): return type directly if not picking asyncData ( #20288 )
2023-04-15 11:03:09 +01:00
Daniel Roe
f366ab4eb8
chore: remove @ts-ignore
and fix some issues ( #20273 )
2023-04-14 13:53:21 +01:00
Daniel Roe
b011d3d76f
fix(nuxt): improve handling of redirects within middleware ( #20244 )
2023-04-13 02:58:25 -07:00
Daniel Roe
d6c3c2439a
feat(nuxt): support async transform of object properties ( #20182 )
2023-04-10 14:57:13 -07:00
Daniel Roe
9878c5b6e4
style: enable sort-imports
eslint rule ( #20133 )
2023-04-07 09:02:47 -07:00
pooya parsa
9e503be0f2
feat(nuxt): experimental option for rich json payloads ( #19205 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-04-07 03:34:35 -07:00
cany748
4f0b3c7223
fix(nuxt): add undefined
type for useCookie
return value
2023-04-07 01:45:44 -07:00
Aleksandar Trpkovski
1ae30ba474
fix(nuxt): throw error on protocol relative path in useFetch
( #20052 )
2023-04-04 15:04:38 -07:00
Daniel Roe
ee8d3f6ea6
feat(nuxt): support disabling watch
with useFetch
( #19823 )
2023-04-03 05:36:14 -07:00
Daniel Roe
61699f864e
feat(nuxt): warn in dev when useRoute
is used in middleware ( #20050 )
2023-04-03 03:36:17 -07:00
Daniel Roe
822202239c
fix(nuxt): sync setResponseStatus
signature with h3 ( #19987 )
2023-03-31 07:02:26 -07:00
Daniel Roe
ebd7dcd4ba
fix(nuxt): handle external navigation to api routes ( #19829 )
2023-03-20 17:15:01 +00:00
Daniel Roe
3055ce35b1
fix(nuxt): use h3
utilities to set response status/code ( #19713 )
2023-03-19 16:20:04 -07:00
Daniel Roe
4b2cb52f8a
fix(nuxt): fix default injection type for plugins ( #19669 )
2023-03-14 06:08:43 -07:00
Daniel Roe
0f6276dc6e
fix(nuxt): mark non-augmented NuxtApp properties as unknown ( #19643 )
2023-03-14 03:09:50 -07:00
Xin Du (Clark)
4de4de1a71
fix(nuxt): improve types for data fetching with transform
( #19487 )
2023-03-11 14:36:10 -08:00
Daniel Roe
e6bbf71fd5
chore: improve internal type safety ( #19599 )
2023-03-11 18:22:29 +00:00
Harlan Wilton
c91e4d7933
feat(nuxt): add useHeadSafe
and remove layer around head imports ( #19548 )
2023-03-10 00:01:21 -08:00
Daniel Roe
9a5e3e3044
chore(nuxt): update to new hasProtocol
options format ( #19555 )
2023-03-09 18:37:18 +00:00
Daniel Roe
d469740105
fix(nuxt): dedupe payload cache by payload url ( #19563 )
2023-03-09 18:36:54 +00:00
Daniel Roe
df3ae8cb4e
feat(nuxt): enable chunk error handling by default ( #19086 )
2023-03-08 12:17:22 +00:00
Alex Liu
ca32852122
feat(nuxt): enable preloading object-syntax routes ( #19120 )
2023-03-06 03:34:17 -08:00
Daniel Roe
a420369c90
fix(nuxt): don't print layout warning if page is not ssr ( #19434 )
2023-03-03 08:47:08 -08:00
Daniel Roe
af55b9882e
fix(nuxt): test generated pathname
2023-02-16 17:16:51 +00:00
Daniel Roe
e9ff34ace4
fix(nuxt): restore previous check on payload url
2023-02-16 16:59:06 +00:00
Daniel Roe
7aa35ff958
fix(nuxt): validate no //
in path when constructing payload url ( #19085 )
2023-02-16 06:40:51 -08:00
Lioness100
b25b6c82c7
docs: fix typos ( #18976 )
2023-02-12 19:16:42 +00:00
Daniel Roe
71d67ad47f
chore: combine import statements
2023-02-09 09:13:48 +01:00
Daniel Roe
9a035a15c5
refactor(nuxt): within nuxt app, import directly from source file ( #18902 )
2023-02-08 22:26:41 -08:00
pooya parsa
9845467421
feat(nuxt): upgrade to nitropack 2.2 ( #18889 )
2023-02-09 07:02:07 +01:00
Dany Sluijk
bae73c3650
feat(nuxt): infer useFetch
return based on the method ( #18526 )
2023-02-07 06:01:31 -08:00
Alex Liu
526a78095a
fix(nuxt): defer adding route path to preloaded record ( #18862 )
2023-02-07 06:01:03 -08:00
Daniel Roe
cb0860ba6c
fix(nuxt): make onNuxtReady
safe to run on server-side ( #18706 )
2023-02-02 05:27:48 -08:00
Daniel Roe
de4086f6ed
fix(nuxt): let router handle internal redirects within middleware ( #18445 )
2023-01-23 11:18:33 +00:00
Alan Poulain
50e23bad35
fix(nuxt): use query for hashing the fetch key ( #18411 )
2023-01-20 18:05:10 +00:00
renovate[bot]
0b1cdcc70d
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12 ( #9086 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-14 01:13:48 +00:00
Mehdi HosseinZade
04c8625843
feat(nuxt): deep watch useCookie
ref value by default ( #9664 )
...
* feat(nuxt): useCookie add deep watch option
* docs(api): useCookie add deepWatch option
* feat(nuxt): useCookie change deepWatch to watch option
* boolean|shallow
* enable watch by default
* docs: fix example
* docs(api): update useCookie example
Co-authored-by: Pooya Parsa <pooya@pi0.io>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-19 12:50:46 +01:00
renovate[bot]
3733f123df
chore(deps): update all non-major dependencies ( #9670 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-12-12 16:45:15 +00:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports ( #9225 )
2022-12-11 21:44:52 +00:00
Evgeny Yurkin
4641e8e504
fix(nuxt): await plugin asyncdata promises in nuxt hook ( #9616 )
2022-12-10 22:44:29 +00:00
Mahdi Boomeri
9c478ee16e
feat: useNuxtData
composable ( #9262 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-12-05 14:07:33 +01:00
Daniel Roe
4c4249dc33
feat(nuxt): add onNuxtReady
composable ( #9478 )
2022-12-05 11:09:58 +01:00
Daniel Roe
c26979a047
fix(nuxt): useCookie
with defaults should return non-null value ( #9449 )
2022-12-02 10:45:33 +01:00
Toby Faux
32044dc8a5
fix(nuxt): allow union type arguments for useAsyncData
( #9061 )
2022-11-16 15:27:24 +01:00
pooya parsa
5ac9d85a49
refactor!: remove deprecated api ( #9029 )
2022-11-16 03:26:35 +01:00
Daniel Roe
f7850526e8
fix(nuxt)!: include request url and params in useFetch
key ( #6632 )
2022-11-15 17:47:41 +01:00
Daniel Roe
2c2fbdffc9
refactor(nuxt)!: move head
option support into defineNuxtComponent
( #8901 )
2022-11-15 15:47:17 +01:00
pooya parsa
b49f2a8147
refactor: update unjs dependencies to stable v1 ( #9011 )
2022-11-15 15:33:43 +01:00
Daniel Roe
e6351349c0
feat(nuxt): add onBeforeRouteLeave
and onBeforeRouteUpdate
composables ( #8889 )
2022-11-10 14:52:04 +01:00
pooya parsa
52c2bffa76
fix(nuxt)!: remove initialCache
option ( #8885 )
2022-11-10 14:27:59 +01:00
Daniel Roe
17099348e7
fix(nuxt)!: only add $f
fetch prefix to auto-keys ( #8852 )
2022-11-10 09:39:49 +01:00
Alexander Lichter
0cf0f59bc5
fix(ssr): ensure useRequestHeaders are case-insensitive ( #8805 )
...
Co-authored-by: Haruaki OTAKE <aaharu@hotmail.com>
2022-11-09 10:04:19 +01:00
Daniel Roe
e76ebdddd0
fix(nuxt): allow cookies to be set to null
to unset them ( #8769 )
...
Co-authored-by: Magyar Balázs <magyarb94@gmail.com>
2022-11-09 09:59:23 +01:00
pooya parsa
19a2cd1492
fix(nuxt): ensure payload url has no protocol ( #8675 )
2022-11-03 23:28:13 +01:00
Daniel Roe
bdacfa6ffe
fix(nuxt): pass async-data errors through to client ( #8521 )
2022-11-02 10:07:28 +01:00
Daniel Roe
1d795f0274
fix(nuxt): call data refresh hook in parallel ( #8470 )
2022-10-25 17:29:35 +02:00
Daniel Roe
91eab1b312
feat(nuxt): add dev warnings when setPageLayout
is used incorrectly ( #8464 )
2022-10-25 14:25:49 +02:00
Daniel Roe
69a6a86d7c
feat(nuxt): make useFetch
options reactive ( #8374 )
2022-10-21 10:13:14 +02:00
Daniel Roe
d3f3f9f348
fix(nuxt): don't use or assignment ( #8299 )
2022-10-19 09:55:32 +02:00
Daniel Roe
2a4ebfb18b
perf(nuxt): improve link prefetching ( #8225 )
2022-10-17 13:15:29 +02:00
pooya parsa
895ecc7677
feat!: upgrade to nitropack@0.6
and h3@0.8
( #8218 )
2022-10-15 20:42:57 +02:00
Daniel Roe
d862a6bfdd
fix(nuxt)!: refresh
to override previous requests by default ( #8190 )
2022-10-15 13:02:23 +02:00
Daniel Roe
2083ed4a63
perf(nuxt): remove vue-router
dependency from minimal app ( #8188 )
2022-10-14 10:36:03 +02:00
Daniel Roe
385674494d
feat(nuxt): refresh override for data fetching composables ( #7864 )
2022-10-10 11:33:16 +01:00
Daniel Roe
6d904663a4
fix(nuxt): use correct cache and add baseURL to payload ( #7984 )
2022-10-09 15:22:19 +01:00
菜狗
a68a7fe07d
refactor(nuxt): use unref
in fetch.ts
( #7813 )
2022-09-26 11:13:30 +02:00
Daniel Roe
2894a75bc8
fix(nuxt): respect immediate option in useFetch
( #7720 )
2022-09-22 15:55:29 +02:00
Daniel Roe
a9a8571e35
fix(nuxt): export and auto-import clearNuxtData
( #7710 )
2022-09-21 11:53:38 +02:00
Julien Huang
c4fe8525ef
fix(nuxt): add missing process.client
for early redirect in navigateTo ( #7625 )
2022-09-19 10:54:35 +02:00
Daniel Roe
ee75b48526
refactor(nuxt): use relative imports into composables ( #7487 )
2022-09-14 11:22:03 +02:00
Daniel Roe
563cf7c1c9
fix(nuxt): use more specific FetchError
for useFetch
errors ( #7435 )
2022-09-12 11:23:19 +02:00
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