Skip to content

Releases: nextcloud-libraries/nextcloud-axios

v2.6.0

Choose a tag to compare

@susnux susnux released this 21 Apr 11:19
06dfd2b

2.6.0 - 2026-04-21

Notes

Deprecations

Axios.CancelToken is now deprecated, this was deprecated by upstream Axios since 0.22.0.
Please migrate to the native AbortController API using the signal attribute within the Axios request configuration.

Behavior changes

This package now only contains Javascript module (ESM) files, meaning the CommonJS files have been dropped.
All app bundling tools we provide and support (Vite or Webpack 5+) will keep working without any changes needed. For unit tests vitest will keep working as well, for Jest you might need to adjust the transformIgnorePatterns.

Fixed

  • fix: fetch token using @nextcloud/auth which updates the token on context (#913)
  • fix: axios does not preserve symbols in its config (#916)

Changed

  • Updated development dependencies
  • build(deps): Removed dependency on @nextcloud/router
  • build(deps): Added dependency on @nextcloud/auth 2.6.0+
  • build(deps): Bump axios to 1.15.0
  • ci: update all workflow templates from organization template repository (#905)
  • chore: deprecate Axios.CancelToken (#918)
  • chore: drop cjs and migrate building to vanilla Typescript (#919)

v2.5.2

Choose a tag to compare

@susnux susnux released this 20 Sep 10:35
d041508

2.5.2 - 2025-09-20

Fixed

  • fix: add missing config interface typing for reloadExpiredSession

Changed

  • refactor: add SPDX headers
  • refactor: migrate REUSE to TOML format
  • refactor: resolve Typescript errors and stabilize tests
  • chore: migrate to ESLint v9
  • chore: allow wider engine version range
  • chore: adjust package.json
    • make order consistent with other libraries
    • update maintainer information
    • fix wrong URLs
  • ci: update reuse.yml workflow from organization
  • ci: update npm-publish.yml workflow from template
  • ci: update workflows from organization
  • Bump @nextcloud/auth to 2.5.1
  • Bump axios to 1.12.2

v2.5.1

Choose a tag to compare

@AndyScherzinger AndyScherzinger released this 18 Sep 20:40
v2.5.1
3b5ca76

2.5.1 - 2024-09-18

Fixed

  • Make license info SPDX compliant: GPL-3.0-or-later

v2.5.0

Choose a tag to compare

@susnux susnux released this 30 Apr 10:18
0de2dee

2.5.0 - 2024-04-30

Added

  • Export isAxiosError and Axios types - So in most cases you do not need to also depend on vanilla Axios

Fixed

  • fix: Set X-Requested-With header on all requests to avoid browser auth dialogs

Changed

  • Update NPM to v10 for LTS Node version 20
  • Bump axios from 1.5.0 to 1.6.8
  • Bump @nextcloud/router from 2.1.2 to 3.0.1
  • Bump @nextcloud/auth from 2.1.0 to 2.3.0
  • Migrate to vite and vitest
  • Adjust badges and links in README

v2.4.0

Choose a tag to compare

@skjnldsv skjnldsv released this 03 Jul 09:08

2.4.0 – 2023-06-28

Fixed

  • Fix package exports to allow Typescript projects with module
    resolution of Node16 or NodeNext to import the package

Changed

  • Axios upgrade from v0.27 to v1.4
  • Update node engines to next LTS (node 20 / npm 9)
  • Dependency updates

v2.3.0 – 2022-12-13

Choose a tag to compare

@susnux susnux released this 08 Mar 05:56
cdc5a68

v2.3.0 – 2022-12-13

Changed

  • Dependency updates

Fixed

  • Cancelled request handling in interceptors
  • External rollup dependency @nextcloud/router

v2.2.0

Choose a tag to compare

@susnux susnux released this 08 Mar 05:55
7942097

2.2.0 – 2022-11-24

Added

  • Session expiry handler (opt-in)

Changed

  • Dependency updates

v2.1.0

Choose a tag to compare

@nickvergessen nickvergessen released this 14 Oct 08:47

Added

  • Maintenance mode retry handler
  • Expired CSRF token retry handler

Changed

  • Dependency updates

v2.0.0

Choose a tag to compare

@juliusknorr juliusknorr released this 11 Aug 18:46
667aba5

Added

  • Use rollup as bundler
  • Add ESM Support
  • Run tests in more Node versions

Changed

  • Remove babel

v1.11.0

Choose a tag to compare

@skjnldsv skjnldsv released this 10 Aug 09:31
b70a35e

1.11.0 – 2022-08-10

Changed

  • Require Node 16 with NPM 7 or NPM 8
  • Dependency updates