Commit Graph

116 Commits

Author SHA1 Message Date
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