Releases

v5.13.6 6/2/2021

Bug Fixes

  • setHeader function returns after the first scope element (#507) (cb5e29d)

v5.13.5 6/2/2021

Bug Fixes

  • only transpile defu for client bundle (resolves #501) (ec2eb0a)

v5.13.4 5/18/2021

Bug Fixes

  • build.transpile guard for nuxt@1.x (fixes #498) (66d56ab)

v5.13.3 5/17/2021

Bug Fixes

v5.13.2 5/17/2021

Dependencies:

  • Update defu to 5.x

v5.13.1 2/8/2021

Bug Fixes

v5.13.0 2/1/2021

Features

  • Support baseUrl and browserBaseUrl to handle casing typos (8904847)

Bug Fixes

  • Add x-forwarded-port and x-forwarded-proto to proxyHeaderIgnore defaults (#465) (a1a1894)

v5.12.5 1/4/2021

Bug Fixes

  • add x-forwarded-host to proxyHeaderIgnore defaults (#462) (433548b), closes #456

Dependencies

v5.12.4 12/14/2020

Bug Fixes

  • Preserve default headers with custom headers (#452) (55f994f) (resolves resolves #411, #444)

Dependencies

  • Update @nuxtjs/proxy to 2.1.0 (less warnings and typescript rewrite)

Thanks

  • Gábor Egyed (@1ed)

v5.12.3 12/14/2020

Bug Fixes

v5.12.2 8/25/2020

Bug Fixes

  • types: extend Axios.AxiosRequestConfig with "progress" option (#408) (ea4ea7e)

Docs

  • Migrate docs to nuxt/content (#404)

v5.12.1 8/5/2020

Bug Fixes

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

v5.12.0 7/13/2020

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)

v5.11.0 6/5/2020

Features

  • Upgrade @nuxtjs/proxy to v2
  • Add typings to axios config in nuxt.config (#357)

Bug Fixes

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

v5.10.3 4/30/2020

Bug Fixes

  • globalName fallback for nuxt < 2.2.0 (12da6c8)

v5.10.2 4/27/2020

5.10.2 (2020-04-27)

Bug Fixes

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

v5.10.0 4/21/2020

Features

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

Bug Fixes

  • module: Allow browserBaseURL as empty string (fixes #303) (18afe5c)
  • plugin: preserve default headers (fixes #323) (6c5605d)
  • plugin: use globalName instead of $nuxt (fixes #345) (fd1f8ec)

v5.9.7 3/30/2020

Bug Fixes

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

v5.9.5 3/27/2020

Bug Fixes

v5.9.6 3/27/2020

Bug Fixes

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

v5.9.4 1/30/2020

Bug Fixes

Dependency upgrades

  • update dependency axios to ^0.19.2 (#327)

v5.9.3 1/11/2020

Bug Fixes

  • axios: Upgrade to 0.19.1 with lots of bug fixes. (changelog)
  • types: extend from AxiosStatic (#319) (9223a57)

v5.9.0 12/17/2019

Features

v5.8.0 10/23/2019

Features

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

Thanks to @3b3ziz, @SaulIO, @ricardogobbosouza, @Amrmak for this feature and docs ❤️

v5.7.1 10/22/2019

Bug Fixes

v5.7.0 10/22/2019

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)

v5.6.0 8/20/2019

Features

v5.5.4 6/5/2019

Bug Fixes

  • ignore content-length header (41ff27a)

v5.5.3 5/30/2019

⚠️ This release force bumps axios dependency to ^0.19.0. Upgrading is highly recommended as of known vulnerability recently discovered in this package (CVE-2019-10742)

⚠️ If you also manually specified axios in your package.json dependencies or devDependencies, it is also advised to change it to ^0.19.0

v5.5.2 5/30/2019

Bug Fixes