1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-03-09 03:03:18 +00:00
Commit Graph

628 Commits

Author SHA1 Message Date
Daniel Roe
23546a270c
feat(nuxt): automatically generate unique keys for keyed composables ()
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 
2022-07-07 00:12:31 +02:00
mrauhu
93d60a30de
feat(nuxt): allow passing custom fetch options to useFetch () 2022-07-06 21:17:59 +02:00
Daniel Roe
b5f5f7d5ba
perf(nuxt)!: remove legacy app context () 2022-07-06 21:15:00 +02:00
Daniel Roe
f09d1d88da
fix(nuxt): update useFetch key warning to include any function or blob ()
* 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 () 2022-07-06 21:00:08 +02:00
Daniel Roe
fe508f5d20
fix(nuxt): pass attrs and props to client-only components () 2022-06-30 16:08:05 +02:00
Daniel Roe
8c2c80e43e
feat(nuxt)!: support universal global middleware () 2022-06-27 14:10:29 +02:00
Daniel Roe
d7d97cd7d1
fix(nuxt): prefer nuxt app context over getCurrentInstance () 2022-06-15 14:00:34 +02:00
Anthony Fu
eafd92c457
fix(types): tidy types for useAsyncData () 2022-06-08 21:45:12 +02:00
Daniel Roe
822928b07e
fix(nuxt): add ssrContext types on NuxtApp () 2022-06-08 21:37:50 +02:00
Daniel Roe
1fda73267a
fix(nuxt): respect navigateTo options using server middleware in server-side () 2022-06-01 00:09:32 +02:00
Anthony Fu
fca2ed7cc5
fix(nuxt): default statusCode of navigateTo from 301 to 302 ()
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) ()
* 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 ()
* 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
Sébastien Chopin
9e5a3cdc6f
fix(nuxt): avoid redirect with different encoding and trailing slash ()
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-06 18:02:50 +02:00
Jalil Wahdatehagh
5816fee892 fix(nuxt): add missing import to client only wrapper () 2022-05-06 15:32:29 +02:00
Daniel Roe
87c62513fa
fix(nuxt): await asyncData if ssr: false () 2022-05-06 13:04:01 +02:00
Daniel Roe
b29f635646
fix(nuxt): normalise window location for universal router () 2022-05-06 13:02:35 +02:00
Daniel Roe
750460693e
fix(nuxt): check if default slot is provided before calling it () 2022-05-06 12:52:08 +02:00
Daniel Roe
27d67360e4
fix(nuxt): clear errors after navigation () 2022-05-06 12:50:54 +02:00
pooya parsa
ebc27ce997
fix(nuxt): ensure url is not empty string () 2022-05-05 22:46:54 +02:00
Daniel Roe
4826918ed0
fix(nuxt): process middleware after plugins () 2022-05-02 12:00:08 +02:00
Alex Liu
eb903bd66e
fix(nuxt3): improve error types for useAsyncData and useFetch ()
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 () 2022-04-29 11:38:22 +02:00
Daniel Roe
7e912e7bf4
fix(nuxt): warn to provide a key for useFetch with transform option () 2022-04-27 18:19:10 +02:00
Daniel Roe
7b091abcea
fix(nuxt3): default client-side fetch to use baseURL () 2022-04-20 14:35:33 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt () 2022-04-20 10:52:39 +02:00