Commit Graph

135 Commits

Author SHA1 Message Date
Jay
c9aca75257 Releasing v0.26.0 2022-02-13 16:20:24 +02:00
CookieMr
c5bdbd436d Update follow-redirects dependency due to Vurnerbility
Previous version of follow-redirects dependency is reported
by Snyk to have a vurnerbility.
https://app.snyk.io/test/npm/follow-redirects/1.14.7
2022-02-11 14:58:12 +01:00
Jay
63dfce85ab Releasing v0.25 2022-01-18 09:13:27 +02:00
Gustavo Sales
51f3ccb08e
Updating follow-redirects with security updates (#4379)
Co-authored-by: Gustavo Sales <gustavo@blastradius.ai>
2022-01-13 07:56:28 +02:00
Jay
6d613b4fe4 Updated changelog 2021-10-25 19:46:09 +02:00
Jay
1025d1231a Release v0.23.0 2021-10-12 17:34:26 +02:00
Remco Haszing
94a9344799
Test types (#4140)
* Distinguish request and response data types

* Fix Axios headers type

`axios.headers` is not of the same type as `request.headers`, so a new type
`AxiosDefaults` was introduced

* Replace grunt-ts with dtslint

This asserts that the type definitions are valid in the specified TypeScript
version and above. This is the same tool that is used by DefinitelyTyped.

* Remove grunt-ts

* Restore typescript dependency

* Fix missing semicolons

Co-authored-by: Claas Augner <github@caugner.de>
Co-authored-by: Jay <jasonsaayman@gmail.com>
2021-10-12 09:53:10 +02:00
Jay
76f09afc03
Release/v0.22.0 (#4107)
* fix/Avoid package.json import; (#4041)

* Added auto-generated config module `env/data.js` for importing package environment vars without importing the whole `package.json`;
Refactored `http.js` to use `env/data.js` instead of package.json;

* Added `env/data.js`;
Added `env/README.md`;

* Feat/export package version constant (#4065)

* Added auto-generated config module `env/data.js` for importing package environment vars without importing the whole `package.json`;
Refactored `http.js` to use `env/data.js` instead of package.json;

* Added `env/data.js`;
Added `env/README.md`;

* Export package version constant;

* Fixed cancelToken leakage; Added AbortController support; (#3305)

* Fixed cancelToken leakage;
Added AbortController support;

* Fixed typings;

* Documented `signal` option;

* Added processing of early cancellation using AbortController without sending a request;

Co-authored-by: Jay <jasonsaayman@gmail.com>

* Updating CI to run on release branches

* Fixed default transitional config for custom Axios instance; (#4052)

Refactored `/core/mergeConfig`;

Co-authored-by: Jay <jasonsaayman@gmail.com>

* Prepping v0.22.0 for release

* Updated date

Co-authored-by: Dmitriy Mozgovoy <robotshara@gmail.com>
2021-10-01 08:02:13 +02:00
Jay
4091b075f6
Release/0.21.4 (#4025)
* fix json transform when data is pre-stringified (#4020)

* [Updating] incorrect JSON syntax in README.md

* [Releasing] v0.21.4

Co-authored-by: Guillaume FORTAINE <guillaume+github@fortaine.com>
2021-09-06 17:35:06 +02:00
howel52
c26762f898
Adding types entry in package.json (#2831)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2021-09-05 12:35:24 +02:00
Jay
e367be54dc [Releasing] 0.21.3 2021-09-04 21:01:50 +02:00
Jay
619bb465da [Releasing] v0.21.2 2021-09-04 11:28:54 +02:00
Brian Anglin
e9965bfafc
Fixing the sauce labs tests (#3813) 2021-05-27 07:44:43 +02:00
Jay
59fa6147eb
[Updated] follow-redirects to the latest version (#3771) 2021-04-29 18:08:00 +02:00
Jay
d99d5faac2
Fix/karma sauce errors (#3717)
* [Updated] karma sauce launcher which should fix suace tests that are no longer showing as passed and rather completed

* [Updated] karma config to follow es-lint rules of axios

* [Updated] karma version to latest

* [Added] propper browsers when testing local
2021-04-01 07:41:15 +02:00
Jay
c461ae9e97
[Updated] karma sauce launcher which should fix suace tests that are no longer showing as passed and rather completed (#3712) 2021-03-30 08:23:47 +02:00
Jay
364867edd2
[Updated] follow-redirects version (#3694)
I have updated the version of follow redirects to see if this will fix a potential memory leak that has been noted by a couple users. This is also being updated to see if it will pass building.
2021-03-23 16:47:51 +02:00
Jake
5c122b7eaf
Change homepage link to https://axios-http.com (#3681) 2021-03-15 17:17:33 +02:00
Xianming Zhong
7d3b626a59
Merge branch 0.21.1 into master (#3610)
* Updating changelog for 0.21.1 release

* Releasing 0.21.1

Co-authored-by: Emily Morehouse <emily@cuttlesoft.com>
2021-01-31 20:17:04 +02:00
Xianming Zhong
9a4d7ac236
Fix the missing launcher (#3538)
Co-authored-by: Jay <jasonsaayman@gmail.com>
2021-01-29 08:34:49 +02:00
Daniel Lopretto
59ab559386
Update dev dependencies (#3401)
- Everything still works as expected.
  - Remove bundlesize
    - It still uses libtorb which is deprecated and broken on Win and
      requires a full suite of build tools on Mac. Keeping it in the
      package makes it difficult for anyone filing issues to run tests.
    - See: #3396
  - Update grunt and it's plugins
  - Update karma to v4...so much faster!
    - Changed the karma config. Better changes: #3394
  - Update Webpack
    - Uses terser over uglify
  - Update eslint
    - Caused an error in util.js from the `global` directive so the
      directive is removed (it was not needed).
  - Update typescript
    - The old version of tsc didn't know about new features in
      @types/node (like `asserts value`).

Co-authored-by: Jay <jasonsaayman@gmail.com>
2020-12-16 10:25:06 +02:00
Emily Morehouse
94ca24b5b2
Releasing 0.21.0 2020-10-23 10:26:35 -06:00
Emily Morehouse
0d87655624
Releasing 0.20.0 2020-08-20 21:11:58 -06:00
Emily Morehouse
ffea03453f
Releasing 0.20.0-0 2020-07-15 10:04:59 -06:00
Xianming Zhong
56b72bbd2c
Compatible with follow-redirect aborts the request (#2689)
* Compatible with follow-redirect aborts the request

* Use the error code
2020-02-15 13:41:08 +08:00
JounQin
371d8eac79
chore: add jsdelivr and unpkg support (#2443) 2020-01-31 10:20:12 -08:00
Emily Morehouse
2a0ff479f9
Releasing 0.19.2 2020-01-21 21:24:50 -07:00
Emily Morehouse
960e1c8798
Releasing 0.19.1 2020-01-07 10:21:04 -07:00
Alanscut
a17c70cb5a Fix CI build failure (#2570) 2019-11-26 11:09:42 -08:00
Angelos Chalaris
1a32ca0601 Remove dependency on is-buffer (#1816)
* Remove dependency on is-buffer from package.json
2019-11-17 22:53:27 -08:00
Felipe Martins
097948698a
Revert "Update Webpack + deps, remove now unnecessary polyfills" (#2479)
* Revert "Update Webpack + deps, remove now unnecessary polyfills (#2410)"

This reverts commit 189b34c45a.

* Fix build (#2496)

* Change syntax to see if build passes

* Test commit

* Test with node 10

* Test adding all browsers in travis

* remove other browsers when running on travis
2019-10-25 11:34:47 -03:00
Avindra Goolcharan
189b34c45a Update Webpack + deps, remove now unnecessary polyfills (#2410)
* Update deps

 * handles webpack 1 -> 4 migration

* remove promise helpers from dev files

assume `Promise` is available, or polyfilled by
the consumer

* Remove isArray util. `isArray` has good coverage, even
   in IE9. So lets remove the custom polyfill.

 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray

also resolves a few lint issues

* Remove trim util

String.protoype.trim has good coverage (including IE9)

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim

Also, the http adapter already uses the native method.
2019-10-21 15:56:29 -03:00
Emily Morehouse
8d0b92b267
Releasing 0.19.0 2019-05-30 10:10:06 -06:00
grumblerchester
2eeb59af4d Fixing Mocha tests by locking follow-redirects version to 1.5.10 (#1993) 2019-02-08 21:27:36 -07:00
Emily Morehouse
527381198e
Releasing 0.19.0-beta.1 2018-08-09 12:39:17 -06:00
Justin Beckwith
98080381fa
test: use mocha instead of nodeunit (#1655) 2018-07-05 22:41:13 -07:00
Justin Beckwith
ae1c2c3006 chore: update to latest version of a few dev dependencies 2018-04-07 15:16:14 -07:00
Justin Beckwith
4d90e231f0 chore: update to latest version of sinon 2018-04-07 15:16:14 -07:00
Justin Beckwith
f620a0d4af chore: update to latest version of typescript 2018-04-07 15:16:14 -07:00
Justin Beckwith
aa61bc85eb chore: update a few dev dependencies 2018-04-07 15:16:14 -07:00
Justin Beckwith
78926c308e chore: update runtime dependencies 2018-04-07 15:16:14 -07:00
Justin Beckwith
aaed16ca3c
Revert "fix: update a bunch of dependencies" (#1464)
This change broke the saucelabs tests for IE9.  Instead of updating all the things at once, I'm going to do one PR per dependency, making sure I don't break stuff along the way :) This reverts commit 152b063513.
2018-04-07 14:29:15 -07:00
Justin Beckwith
22c2baf205 chore: upgrade eslint and add fix command 2018-04-06 21:50:26 -07:00
Justin Beckwith
152b063513 fix: update a bunch of dependencies 2018-04-06 21:19:49 -07:00
Emily Morehouse
d59c70fdfd Releasing v0.18.0 2018-02-19 16:23:58 -07:00
Emily Morehouse
839b9ab3e7 Fixes #1286 - also updating follow-redirects version in package.json to ensure that maxBodyLength option is supported 2018-02-11 13:27:46 -06:00
38elements
ade3c705d4
Removing unused dependencies
PhantomJS is not used in axios.
2017-11-18 00:42:43 +09:00
Nick Uraltsev
ad1195f070 Releasing 0.17.1 2017-11-11 15:24:16 -08:00
Eduardo San Martin Morote
1e58b69df1
security: upgrade follow-redirects
This would prevent tools like nsp to complain about a security issue from axios. It's something that got fixed in the package debug, and in order to benefit from that fix, it's necessary to upgrade to at least follow-redirects@1.2.5
2017-11-07 18:00:42 +01:00
Nick Uraltsev
2c0e318321 Releasing 0.17.0 2017-10-21 11:00:45 -07:00