All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
5.12.1 (2020-08-05)
5.12.0 (2020-07-10)
- types: add axios-retry type def for more options (#378) (40a0c58)
- types: add prefix, port, host options to axios types (#381) (301805b)
5.11.0 (2020-06-05)
- experimental runtimeConfig support (07ca13c)
5.10.3 (2020-04-30)
- globalName fallback for nuxt < 2.2.0 (12da6c8)
5.10.2 (2020-04-27)
5.10.1 (2020-04-22)
5.10.0 (2020-04-21)
- module: browserBaseURL as empty string (fixes #303) (18afe5c)
- plugin: preserve default headers (fixes #323) (6c5605d)
- plugin: use
globalName
instead of$nuxt
(fixes #345) (fd1f8ec)
5.9.7 (2020-03-30)
5.9.6 (2020-03-27)
5.9.5 (2020-02-02)
5.9.4 (2020-01-30)
5.9.3 (2020-01-11)
5.9.2 (2020-01-02)
5.9.1 (2020-01-02)
5.9.0 (2019-12-17)
- add
CancelToken
andisCancel
to axios instance (#292) (474910b) - add function helper
setBaseURL
(#296) (c429d55) - allow adding custom headers with nuxt config (#294) (af1e86d)
- allow creating new instances (#306) (2ca95e5)
- docs: should be response.code instead of code (#197) (d07102e)
- headers: don't proxy
content-md5
andcontent-type
(#300) (46c49e2) - progress: handle canceled requests (#301) (2903fd5)
- types: correct Vuex Store instance (#227) (e5747eb)
- use
Axios
forisCancel
(fixes #301) (4f71479)
5.8.0 (2019-10-23)
5.7.1 (2019-10-22)
5.7.0 (2019-10-22)
- add function helper
setBaseURL
(#296) (1028bbc) - allow adding custom headers with nuxt config (#294) (3e38906)
- headers: don't proxy
content-md5
andcontent-type
(#300) (f959c58) - progress: handle canceled requests (#301) (5096060)
5.6.0 (2019-08-20)
5.5.4 (2019-06-05)
- ignore content-length header (41ff27a)
5.5.3 (2019-05-30)
- bump axios to ^0.19.0 (ee8f999)
5.5.2 (2019-05-26)
5.5.1 (2019-05-23)
5.5.0 (2019-05-22)
- convert header names to lowercase (nuxt/http#45) (2e514a4)
- use
server
of nuxt.config.js to set default baseURL (#245) (e1120a9)
5.4.1 (2019-03-05)
5.4.0 (2019-03-02)
- types:
onResponseError
typo (#203) (5fc1441) - types: add AxiosError interface (efb7191)
- types: move types in types folder (deb2834)
5.3.6 (2018-11-08)
5.3.5 (2018-11-07)
- defaults: ignore
cf-ray
andcf-connecting-ip
headers on server side (#20) (#175) (3ae5416) - defaults: set proper Accept-Encoding for server side (#176) (c84fb56)
5.3.4 (2018-10-30)
5.3.3 (2018-09-28)
- package: add missing types from index.d.ts (3a06503)
5.3.2 (2018-09-21)
5.3.1 (2018-03-31)
5.3.0 (2018-03-31)
- CLI improvements (481e6da)
5.2.0 (2018-03-31)
- consola integration (4ec3b5d)
5.1.1 (2018-03-06)
5.1.0 (2018-03-05)
- allow disable progress per request. closes #112. (1530bb6)
- disable https for localhost url (#93) (dd67734)
5.0.1 (2018-02-08)
- don't mutate env.API_URL (a8ea331)
5.0.0 (2018-02-04)
- progress: finish on fail (ea7b569)
- https option (#57) (9ecb547)
- passing options via proxy option (a923db3)
- support retry with axios-retry (7221cac), closes #77
5.0.0-rc.2 (2018-01-29)
- package: require @nuxtjs/proxy as a peerDependency (fd1ef47)
- support dynamic API_URL for SSR (ea4882a)
5.0.0-rc.1 (2018-01-28)
- progress: ensure $loading is valid (cbdc586)
5.0.0-rc.0 (2018-01-28)
- support proxy (0d3be17)
5.0.0-alpha.1 (2018-01-28)
- integrate with nuxt progress bar (41a0964)
5.0.0-alpha.0 (2018-01-28)
- a better and more stable way to specify baseURL and browserBaseURL options (533cf4e)
- prefix should be set to
/api
for backward compability. refer to new docs.
4.5.2 (2017-12-29)
4.5.1 (2017-12-29)
4.5.0 (2017-11-16)
- link to the proxy page (5449939)
4.4.0 (2017-09-30)
- proxyHeader: proxyHeadersIgnore option (7c13655)
4.3.1 (2017-09-28)
4.3.0 (2017-09-11)
- don't rely on hostname for default values (dadd7d8)
4.2.1 (2017-09-08)
4.2.0 (2017-09-08)
- pass ctx to errorHandlers (c70749a)
4.1.1 (2017-09-06)
4.1.0 (2017-09-06)
- inject $axios in current ctx (356b31f)
- add options.init (8e0c0e8)
- move init outside of plugin (bcd4710)
4.0.1 (2017-09-04)
- package: make nuxt devDependency (a36a886)
4.0.0 (2017-08-30)
- better baseURL message (61432a1)
- responseInterceptor and errorHandler (b16d6bf)
- upgrade for nuxt rc8 (a341185)
- app.axios is not available anymore (without $) should always use app.$axios
3.1.4 (2017-08-13)
- create fresh objects for all default header scopes (7ba3ae8)
3.1.3 (2017-08-13)
- headers: fix security bug with default request headers (9355228)
(repository moved from nuxt-community/modules)
- axios: fetch style requests
3.0.1 (2017-07-25)
- axios: typo in default headers (9697559)
3.0.0 (2017-07-25)
- axios: remove $ shortcut mixins (1ab2bd6)
- axios: You have to explicitly use
this.$axios.[method]
instead ofthis.$[method]
2.3.0 (2017-07-24)
2.2.4 (2017-07-20)
- axios: temporary fix for nuxt/nuxt#1127 (499b639), closes nuxt/nuxt.js#1127
2.2.3 (2017-07-19)
- axios: don't proxy Host header from request (#72, #39) (61462ca)
2.2.2 (2017-07-19)
- axios: don't proxy Host header from request (#72, #39) (61462ca)
2.2.1 (2017-07-15)
- axios: problems related to #65 (4e7dd3f)
2.0.3 (2017-06-10)
2.0.2 (2017-06-09)
- axios: Node 6.x support (54deac0)
2.0.1 (2017-06-09)
- axios: ensure store exists before injecting (23ad7b7)
2.0.0 (2017-06-09)
- axios: install using Vue.use (184651b)
- axios: req typo (16f28b1)
- axios: use relative
API_URL
if same host and port elseAPI_URL
(3421d19)
- axios: AXIOS_CREDENTIALS, AXIOS_SSR_HEADERS (4dfdc2d)
- axios: don't append optional config into env (fe189e8)
- axios: Easier API (f54a434)
- axios: New API (0194226)
- axios: nuxt friendly errors for SSR (65bc50f)
- axios: API_PREFIX is deprecated.
1.0.2 (2017-05-29)
- axios: remove extra function call on computed prop (cd9da0b)
1.0.1 (2017-05-26)
- axios: remove extra function call on computed prop (cd9da0b)
- initial migration to 1.0.0-alpha1 (05c1b7a)
- New modules system is backward incompatible with nuxt-helpers style modules