Skip to content

Latest commit

 

History

History
758 lines (320 loc) · 26.8 KB

CHANGELOG.md

File metadata and controls

758 lines (320 loc) · 26.8 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

5.12.1 (2020-08-05)

Bug Fixes

  • plugin: hide progress-bar on cancelled requests (#398) (2061721)

5.12.0 (2020-07-10)

Features

Bug Fixes

  • 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)

Features

  • experimental runtimeConfig support (07ca13c)

Bug Fixes

  • plugin: always get global $nuxt while loading (#364) (e848b9d)

5.10.3 (2020-04-30)

Bug Fixes

  • globalName fallback for nuxt < 2.2.0 (12da6c8)

5.10.2 (2020-04-27)

Bug Fixes

  • plugin: add missing $ prefix to globalName (#356) (47788bd)

5.10.1 (2020-04-22)

5.10.0 (2020-04-21)

Features

  • plugin: enable server brotli if supported (closes #276) (074f98c)

Bug Fixes

  • 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)

Bug Fixes

  • plugin: don't convert falsy urls to string (#347) (b8a510e)

5.9.6 (2020-03-27)

Bug Fixes

  • module: always set protocol to https when https: true is set (#344) (6f82570)

5.9.5 (2020-02-02)

Bug Fixes

5.9.4 (2020-01-30)

Bug Fixes

5.9.3 (2020-01-11)

Bug Fixes

5.9.2 (2020-01-02)

5.9.1 (2020-01-02)

5.9.0 (2019-12-17)

Features

  • add CancelToken and isCancel 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)

Bug Fixes

  • docs: should be response.code instead of code (#197) (d07102e)
  • headers: don't proxy content-md5 and content-type (#300) (46c49e2)
  • progress: handle canceled requests (#301) (2903fd5)
  • types: correct Vuex Store instance (#227) (e5747eb)
  • use Axios for isCancel (fixes #301) (4f71479)

5.8.0 (2019-10-23)

Features

  • add CancelToken and isCancel to axios instance (#292) (b9335b1)

5.7.1 (2019-10-22)

Bug Fixes

5.7.0 (2019-10-22)

Features

  • add function helper setBaseURL (#296) (1028bbc)
  • allow adding custom headers with nuxt config (#294) (3e38906)

Bug Fixes

  • headers: don't proxy content-md5 and content-type (#300) (f959c58)
  • progress: handle canceled requests (#301) (5096060)

5.6.0 (2019-08-20)

Features

5.5.4 (2019-06-05)

Bug Fixes

  • ignore content-length header (41ff27a)

5.5.3 (2019-05-30)

Bug Fixes

5.5.2 (2019-05-26)

Bug Fixes

5.5.1 (2019-05-23)

Bug Fixes

  • don't toLowerCase headers for setHeader and setToken (#250) (93469f0)

5.5.0 (2019-05-22)

Bug Fixes

  • lowercase accept-encoding header (nuxt/http#43) (c17fec2)

Features

  • 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)

Bug Fixes

5.4.0 (2019-03-02)

Bug Fixes

  • types: onResponseError typo (#203) (5fc1441)
  • types: add AxiosError interface (efb7191)
  • types: move types in types folder (deb2834)

Features

  • types: add Context interface (7f8952a)
  • types: add types for helper functions (#193) (79909cc)

5.3.6 (2018-11-08)

Bug Fixes

  • correctly ignore brotli encoding on server-side (#180) (4a52bfd)

5.3.5 (2018-11-07)

Bug Fixes

  • defaults: ignore cf-ray and cf-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)

Bug Fixes

  • package: add missing types from index.d.ts (3a06503)

5.3.2 (2018-09-21)

Bug Fixes

  • types: replace AxiosPromise to Promise (#162) (5fd9214)

5.3.1 (2018-03-31)

5.3.0 (2018-03-31)

Features

5.2.0 (2018-03-31)

Bug Fixes

  • progress: onProgress when currentRequests is zero (#118) (a90236e)

Features

5.1.1 (2018-03-06)

Bug Fixes

5.1.0 (2018-03-05)

Features

  • allow disable progress per request. closes #112. (1530bb6)
  • disable https for localhost url (#93) (dd67734)

5.0.1 (2018-02-08)

Bug Fixes

  • don't mutate env.API_URL (a8ea331)

5.0.0 (2018-02-04)

Bug Fixes

  • progress: finish on fail (ea7b569)

Features

5.0.0-rc.2 (2018-01-29)

Bug Fixes

5.0.0-rc.1 (2018-01-28)

Bug Fixes

  • progress: ensure $loading is valid (cbdc586)

5.0.0-rc.0 (2018-01-28)

Features

5.0.0-alpha.1 (2018-01-28)

Features

  • integrate with nuxt progress bar (41a0964)

5.0.0-alpha.0 (2018-01-28)

Code Refactoring

  • a better and more stable way to specify baseURL and browserBaseURL options (533cf4e)

Features

BREAKING CHANGES

  • 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)

Bug Fixes

Features

4.4.0 (2017-09-30)

Features

  • proxyHeader: proxyHeadersIgnore option (7c13655)

4.3.1 (2017-09-28)

4.3.0 (2017-09-11)

Features

  • don't rely on hostname for default values (dadd7d8)

4.2.1 (2017-09-08)

4.2.0 (2017-09-08)

Features

  • pass ctx to errorHandlers (c70749a)

4.1.1 (2017-09-06)

Bug Fixes

4.1.0 (2017-09-06)

Bug Fixes

  • inject $axios in current ctx (356b31f)

Features

Performance Improvements

  • move init outside of plugin (bcd4710)

4.0.1 (2017-09-04)

Bug Fixes

  • package: make nuxt devDependency (a36a886)

4.0.0 (2017-08-30)

Features

  • better baseURL message (61432a1)
  • responseInterceptor and errorHandler (b16d6bf)
  • upgrade for nuxt rc8 (a341185)

BREAKING CHANGES

  • app.axios is not available anymore (without $) should always use app.$axios

3.1.4 (2017-08-13)

Bug Fixes

  • create fresh objects for all default header scopes (7ba3ae8)

3.1.3 (2017-08-13)

Bug Fixes

  • headers: fix security bug with default request headers (9355228)

3.1.1 (2017-08-13)

(repository moved from nuxt-community/modules)

Features

  • axios: fetch style requests

3.0.1 (2017-07-25)

Bug Fixes

  • axios: typo in default headers (9697559)

3.0.0 (2017-07-25)

Code Refactoring

  • axios: remove $ shortcut mixins (1ab2bd6)

BREAKING CHANGES

  • axios: You have to explicitly use this.$axios.[method] instead of this.$[method]

2.3.0 (2017-07-24)

Features

  • axios: optionally disable error handling (#74) (a195feb)
  • axios: redirectError (4ce1a1c)

2.2.4 (2017-07-20)

Bug Fixes

2.2.3 (2017-07-19)

Bug Fixes

  • axios: don't proxy Host header from request (#72, #39) (61462ca)

2.2.2 (2017-07-19)

Bug Fixes

  • axios: don't proxy Host header from request (#72, #39) (61462ca)

2.2.1 (2017-07-15)

Bug Fixes

  • axios: problems related to #65 (4e7dd3f)

2.0.3 (2017-06-10)

Bug Fixes

  • axios: Handle relative baseURL (19b8453)
  • handle 0.0.0.0 host (610e0f5)

2.0.2 (2017-06-09)

Bug Fixes

  • axios: Node 6.x support (54deac0)

2.0.1 (2017-06-09)

Bug Fixes

  • axios: ensure store exists before injecting (23ad7b7)

2.0.0 (2017-06-09)

Bug Fixes

  • axios: install using Vue.use (184651b)
  • axios: req typo (16f28b1)
  • axios: use relative API_URL if same host and port else API_URL (3421d19)

Features

  • 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)

BREAKING CHANGES

  • axios: API_PREFIX is deprecated.

1.0.2 (2017-05-29)

Bug Fixes

  • axios: remove extra function call on computed prop (cd9da0b)

1.0.1 (2017-05-26)

Bug Fixes

  • axios: remove extra function call on computed prop (cd9da0b)

1.0.0 (2017-05-26)

Features

  • initial migration to 1.0.0-alpha1 (05c1b7a)

BREAKING CHANGES

  • New modules system is backward incompatible with nuxt-helpers style modules

0.0.1 (2017-05-10)