Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge origin fork. #1

Merged
merged 122 commits into from
Jun 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
da3a855
Add react-hooks-axios to Libraries section of ECOSYSTEM.md (#1925)
int64ago Feb 4, 2019
71032ab
Update README.md. - Add Querystring library note (#1896)
airs0urce Feb 4, 2019
e122c80
Add issue templates
emilyemorehouse Feb 4, 2019
2eeb59a
Fixing Mocha tests by locking follow-redirects version to 1.5.10 (#1993)
grumblerchester Feb 9, 2019
283d7b3
docs(ECOSYSTEM): add axios-api-versioning (#2020)
Mar 4, 2019
047501f
Makes Axios error generic to use AxiosResponse (#1738)
sumanla13a May 7, 2019
0d4fca0
Destroy stream on exceeding maxContentLength (fixes #1098) (#1485)
May 7, 2019
b7a9744
Clarify what values responseType can have in Node (#2121)
May 7, 2019
48c43d5
Update README.md. - Change `.then` to `.finally` in example code (#2090)
ordinarycas May 7, 2019
ddcc2e4
Fixing spacing for README.md (#2066)
May 7, 2019
92d2313
Update README.md - Add instructions for installing with yarn (#2036)
victorhermes May 7, 2019
fd0c959
Unzip response body only for statuses != 204 (#1129)
drawski May 15, 2019
299e827
Add r2curl in ECOSYSTEM (#2141)
uyu423 May 15, 2019
6b0ccd1
Update ECOSYSTEM.md - Add Axios Endpoints (#2176)
renancaraujo May 28, 2019
5250e6e
Add DELETE to list of methods that allow data as a config option (#2169)
sericaia May 28, 2019
f28ff93
Add information about auth parameter to README (#2166)
xlaguna May 28, 2019
3f7451c
Update Changelog for release (0.19.0)
emilyemorehouse May 30, 2019
8d0b92b
Releasing 0.19.0
emilyemorehouse May 30, 2019
2ee3b48
Fix typo in CHANGELOG.md - s/issue/issues (#2193)
ikea-dless May 31, 2019
98e4acd
Fix travis CI build (#2386)
felipewmartins Sep 5, 2019
6fe506f
Do not modify config.url when using a relative baseURL (resolves #162…
multicolaure Sep 5, 2019
f0f68af
Fix a typo in README (#2384)
gamtiq Sep 6, 2019
b9931e0
Fix grammar in README.md (#2271)
MichaelFoss Sep 6, 2019
89bd3ab
Axios create url bug (#2290)
dhrubesh Sep 6, 2019
e50a08b
Fixing set `config.method` after mergeConfig for Axios.prototype.requ…
bushuai Sep 6, 2019
a11cdf4
Fixing custom config options (#2207)
rafaelrenanpacheco Sep 7, 2019
6a4a85c
Doc fixes, minor examples cleanup (#2198)
avindra Sep 7, 2019
f5704fc
Update response interceptor docs (#2399)
SAGARACH65 Sep 13, 2019
c282e7e
Fix cancellation error on build master. #2290 #2207 (#2407)
felipewmartins Sep 13, 2019
f7e2a99
docs: minor tweak (#2404)
jamesgeorge007 Sep 13, 2019
488a459
Sintaxe alternative to send data into the body (#2317)
portolucas Sep 13, 2019
e3a7116
upadating README: notes on CommonJS autocomplete (#2256)
the-vampiire Sep 13, 2019
c454e9f
updating spelling and adding link to docs (#2212)
heloflier Sep 13, 2019
1b07fb9
Fixing issue 2195 - order of if/else blocks is causing unit tests moc…
masterots Sep 13, 2019
d74385f
🐛Fix request finally documentation in README (#2189)
a-tokyo Sep 13, 2019
93e6962
Fixing socket hang up error on node side for slow response. (#1752)
ryouaki Sep 16, 2019
88dbb82
Fix word 'sintaxe' to 'syntax' in README.md (#2432)
fureweb-com Sep 26, 2019
006b604
Add toJSON property to AxiosError type (#2427)
trodrigues Sep 26, 2019
00cd480
Make redirection from HTTP to HTTPS work (#2426)
JitixPhotobox Sep 26, 2019
85c9d4f
fix: Fixing subdomain handling on no_proxy (#2442)
felipewmartins Sep 28, 2019
4f189ec
Add license badge (#2446)
Maskedman99 Oct 4, 2019
19969b4
Fixing Vulnerability A Fortify Scan finds a critical Cross-Site Scrip…
Oct 9, 2019
ccca5e0
Add error toJSON example (#2466)
yasuf Oct 16, 2019
6284abf
custom timeout prompt copy (#2275)
IVLIU Oct 16, 2019
ee60ee3
Fixing missing words in docs template (#2259)
crhistianramirez Oct 16, 2019
29da6b2
Fix to prevent XSS, throw an error when the URL contains a JS script …
yasuf Oct 16, 2019
189b34c
Update Webpack + deps, remove now unnecessary polyfills (#2410)
avindra Oct 21, 2019
494d817
Change syntax to see if build passes (#2488)
yasuf Oct 25, 2019
0979486
Revert "Update Webpack + deps, remove now unnecessary polyfills" (#2479)
felipewmartins Oct 25, 2019
fa68fd3
Update README.md (#2504)
helios1101 Nov 4, 2019
b0afbed
Adding Typescript HTTP method definition for LINK and UNLINK. (#2444)
marlonbarcarol Nov 4, 2019
86d7750
Update docs with no_proxy change, issue #2484 (#2513)
yasuf Nov 4, 2019
55aaebc
Document fix (#2514)
yasuf Nov 4, 2019
bbfd5b1
Adding options typings (#2341)
lukepolo Nov 4, 2019
8414664
Fix XSS logic that matched some valid urls (#2529)
yasuf Nov 8, 2019
0cc22c2
Fix badge, use master branch (#2538)
yasuf Nov 16, 2019
1a32ca0
Remove dependency on is-buffer (#1816)
Chalarangelo Nov 18, 2019
a17c70c
Fix CI build failure (#2570)
Nov 26, 2019
fa6cf01
fixing Travis link (#2540)
Dec 9, 2019
13c948e
Remove 'includes' API, fix CI build failure (#2574)
Dec 9, 2019
dc4bc49
fix: fix ignore set withCredentials false (#2582)
xchunzhao Dec 9, 2019
03e6f4b
Fixing invalid agent issue (#1904)
Dec 25, 2019
ee47120
If this place is false, it will report an error, so you should delete…
notbucai Dec 25, 2019
8a9421d
Fixing typo in CHANGELOG.md: s/Functionallity/Functionality (#2639)
Jan 7, 2020
960e1c8
Releasing 0.19.1
emilyemorehouse Jan 7, 2020
351cf29
Fix link formatting in CHANGELOG.md to display PR number in parens as…
emilyemorehouse Jan 7, 2020
c7488c7
Remove unnecessary XSS check introduced by #2451 (#2679)
chinesedfan Jan 20, 2020
17cc1d6
Updating changlog for 0.19.2 release
emilyemorehouse Jan 20, 2020
2a0ff47
Releasing 0.19.2
emilyemorehouse Jan 22, 2020
7df84a7
Revert `finally` as `then` (#2683)
chinesedfan Jan 22, 2020
371d8ea
chore: add `jsdelivr` and `unpkg` support (#2443)
JounQin Jan 31, 2020
77f0ae4
Fix merging of params (#2656)
textbook Feb 15, 2020
56b72bb
Compatible with follow-redirect aborts the request (#2689)
chinesedfan Feb 15, 2020
2034c1d
Fix tests in browsers (#2748)
chinesedfan Feb 15, 2020
12e00b8
Fixing issue for HEAD method and gziped repsonse (#2666)
galkin Feb 15, 2020
9267d4d
Fixing unit test failure in Windows OS (#2601)
jennynju Feb 15, 2020
2cf6ae4
Adding jsDelivr link in README (#1110)
LukasDrgon Feb 15, 2020
17a9671
Adding responseEncoding to mergeConfig (#1745)
ehrhart Feb 15, 2020
3d6cafb
Update ' sign to ` in proxy spec (#2778)
jimmy-liao-gogoro Feb 25, 2020
b139abf
Add `onUploadProgress` and `onDownloadProgress` are browser only (#2763)
ianwijma Feb 26, 2020
67e560d
Added Response header access instructions (#1901)
unguul Feb 26, 2020
8cd470c
Include axios-hooks in ECOSYSTEM.md (#2003)
simoneb Feb 26, 2020
ac777b1
Fixing CHANGELOG.md issue link (#2784)
Fonger Feb 28, 2020
5214445
Add test for redirecting with too large response (#2695)
chinesedfan Feb 29, 2020
6642ca9
Add independent `maxBodyLength` option (#2781)
gualopezb Mar 6, 2020
42eb9df
Adding option to disable automatic decompression (#2661)
sazzy4o Mar 6, 2020
c98ce7d
Adding tests for method `options` type definitions (#1996)
grumblerchester Mar 7, 2020
5189aff
Allow PURGE method in typings (#2191)
iwata Mar 7, 2020
885ada6
Fixing getting local files (file://) failed (#2470)
Alanscut Mar 23, 2020
c120f44
Fixing 'progressEvent' type (#2851)
bennycode Mar 28, 2020
5e0fb5f
Updating documentation for usage form-data (#2805)
remcohaszing Apr 5, 2020
16b5718
Update README.md about validateStatus (#2912)
lmeraki Apr 22, 2020
fd57956
Documentation update to clear up ambiguity in code examples (#2928)
jasonsaayman May 5, 2020
021e741
Add CDNJS version badge in README.md (#878)
sufuf3 May 22, 2020
1cdf9e4
Fixing Cookie Helper with Asyc Components (#1105) (#1107)
rbown May 22, 2020
920510b
Bug/allow header to contain http verb keys #1252 (#1258)
May 22, 2020
cbda785
Revert "Bug/allow header to contain http verb keys #1252 (#1258)" (#2…
jasonsaayman May 22, 2020
a98755c
fix 'Network Error' in react native android (#1487)
huangzuizui May 23, 2020
5effc08
Fixing password encoding with special characters in basic authenticat…
1pm May 26, 2020
8a8c534
Fixing special char encoding (#1671)
cygnusss May 27, 2020
a9a3b5e
Fixing default transformRequest with buffer pools (#1511)
delventhalz May 27, 2020
029c36e
Include swagger-taxos-codegen in ECOSYSTEM.md (#2162)
michalzaq12 May 27, 2020
b03f161
Fixing an issue that type 'null' is not assignable to validateStatus …
cprayer May 27, 2020
6d36dbe
Update README.md (#2887)
marcinx May 27, 2020
d35b5b5
Remove axios.all() and axios.spread() from Readme.md (#2727)
ohtaeg May 27, 2020
f2b478f
Revert "Fixing default transformRequest with buffer pools (#1511)" (#…
jasonsaayman May 27, 2020
f3cc053
Fixing overwrite Blob/File type as Content-Type in browser. (#1773)
Gerhut May 28, 2020
3f2ef03
Allow opening examples in Gitpod (#1958)
svenefftinge May 29, 2020
17a6886
Include axios-data-unpacker in ECOSYSTEM.md (#2080)
anubhavsrivastava May 29, 2020
ee46dff
docs(): Detailed config options environment. (#2088)
zgayjjf May 29, 2020
0077205
Adding console log on sandbox server startup (#2210)
precto1285 May 29, 2020
4b3947a
Add test with Node.js 12 (#2860)
chinesedfan Jun 2, 2020
4879416
Allow unsetting headers by passing null (#382) (#1845)
codeclown Jun 4, 2020
0d69a79
Refactor mergeConfig without utils.deepMerge (#2844)
chinesedfan Jun 8, 2020
36f0ad2
Replace 'blacklist' with 'blocklist' (#3006)
rockcs1992 Jun 10, 2020
a9010e4
Add GitHub actions to close invalid issues (#3022)
chinesedfan Jun 17, 2020
3dbf6a1
Add GitHub actions to close stale issues/prs (#3029)
chinesedfan Jun 17, 2020
1768c23
Update close-issues.yml (#3031)
jasonsaayman Jun 17, 2020
5b08fc4
Add days and change name to work (#3035)
jasonsaayman Jun 18, 2020
c70fab9
Fix stale bot config (#3049)
chinesedfan Jun 23, 2020
bed6783
add table of content (preview) (#3050)
frustak Jun 25, 2020
c4300a8
Adding support for URLSearchParams in node (#1900)
mindriven Jun 25, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<!-- Click "Preview" for a more readable version -->

#### Instructions
<!-- Click "Preview" for a more readable version --

Please read and follow the instructions before submitting an issue:

Expand All @@ -9,9 +7,12 @@ Please read and follow the instructions before submitting an issue:
- If you aren't sure that the issue is caused by axios or you just need help, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/axios) or [our chat](https://gitter.im/mzabriskie/axios).
- If you're reporting a bug, ensure it isn't already fixed in the latest axios version.
- If you need a new feature there's a chance it's already implemented in a [library](https://github.com/axios/axios/blob/master/ECOSYSTEM.md) or you can implement it using [interceptors](https://github.com/axios/axios#interceptors).
- Don't remove any title of the issue template, or it will be treated as invalid by the bot.

**⚠️👆 Delete the instructions before submitting the issue 👆⚠️**

-->

#### Summary

Describe your issue here, including as much detail as necessary.
Expand All @@ -20,7 +21,11 @@ If you're reporting a bug, include the relevant code and stack traces to debug i

If you're requesting a feature, include some context and examples of code using it.

#### Context

- axios version: *e.g.: v0.16.0*
- Environment: *e.g.: node v6.9.4, chrome 54, windows 7*
#### Environment
- Axios Version [e.g. 0.18.0]
- Adapter [e.g. XHR/HTTP]
- Browser [e.g. Chrome, Safari]
- Browser Version [e.g. 22]
- Node.js Version [e.g. 13.0.1]
- OS: [e.g. iOS 12.1.0, OSX 10.13.4]
- Additional Library Versions [e.g. React 16.7, React Native 0.58.0]
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/---bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: "\U0001F41E Bug Report"
about: Report a reproducible bug
title: ''
labels: 'status:possible bug'
assignees: ''

---

<!-- Click "Preview" for a more readable version --

Please read and follow the instructions before submitting an issue:

- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue.
- Ensure your issue isn't already [reported](https://github.com/axios/axios/issues?utf8=%E2%9C%93&q=is%3Aissue).
- If you aren't sure that the issue is caused by Axios or you just need help, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/axios) or [our chat](https://gitter.im/mzabriskie/axios).
- If you're reporting a bug, ensure it isn't already fixed in the latest Axios version.
- Don't remove any title of the issue template, or it will be treated as invalid by the bot.

⚠️👆 Feel free to these instructions before submitting the issue 👆⚠️
-->

#### Describe the bug
A clear and concise description of what the bug is. **If your problem is not a bug, please file under Support or Usage Question**

#### To Reproduce
Code snippet to reproduce, ideally that will work by pasting into something like https://npm.runkit.com/axios, a hosted solution, or a repository that illustrates the issue. **If your problem is not reproducible, please file under Support or Usage Question**

```js
// Example code here
```

#### Expected behavior
A clear and concise description of what you expected to happen.

#### Environment
- Axios Version [e.g. 0.18.0]
- Adapter [e.g. XHR/HTTP]
- Browser [e.g. Chrome, Safari]
- Browser Version [e.g. 22]
- Node.js Version [e.g. 13.0.1]
- OS: [e.g. iOS 12.1.0, OSX 10.13.4]
- Additional Library Versions [e.g. React 16.7, React Native 0.58.0]

#### Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
26 changes: 26 additions & 0 deletions .github/ISSUE_TEMPLATE/---documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: "\U0001F4DA Documentation"
about: Report an error or area that needs clarification
title: ''
labels: 'type:documentation'
assignees: ''

---

<!-- Click "Preview" for a more readable version --

If you found an area that needs clarification, feel free to open a PR or list the section/content that could be improved below

Don't remove any title of the issue template, or it will be treated as invalid by the bot.

⚠️👆 Feel free to refer to these instructions before submitting the issue 👆⚠️
-->

#### Section/Content To Improve
Quote or link to section

#### Suggested Improvement
Identify what is confusing or incorrect and what could make it better

#### Relevant File(s)
[e.g. README.md]
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/---feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: "✨ Feature Request"
about: Suggest an idea or feature
title: ''
labels: 'type:feature'
assignees: ''

---

<!-- Click "Preview" for a more readable version --

Please read and follow the instructions before submitting an issue:

- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue.
- Ensure your issue isn't already [reported](https://github.com/axios/axios/issues?utf8=%E2%9C%93&q=is%3Aissue).
- If you aren't sure that the issue is caused by Axios or you just need help, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/axios) or [our chat](https://gitter.im/mzabriskie/axios).
- If you're reporting a bug, ensure it isn't already fixed in the latest Axios version.
- Don't remove any title of the issue template, or it will be treated as invalid by the bot.

⚠️👆 Feel free to these instructions before submitting the issue 👆⚠️
-->

#### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

#### Describe the solution you'd like
A clear and concise description of what you want to happen.

#### Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

#### Additional context
Add any other context or screenshots about the feature request here.
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/---support-or-usage-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: "\U0001F914 Support or Usage Question"
about: Get help using Axios
title: ''
labels: 'type:question'
assignees: ''

---

<!-- Click "Preview" for a more readable version --

Please read and follow the instructions before submitting an issue:

- Read all our documentation, especially the [README](https://github.com/axios/axios/blob/master/README.md). It may contain information that helps you solve your issue.
- Ensure your issue isn't already [reported](https://github.com/axios/axios/issues?utf8=%E2%9C%93&q=is%3Aissue).
- If you aren't sure that the issue is caused by Axios or you just need help, please use [Stack Overflow](https://stackoverflow.com/questions/tagged/axios) or [our chat](https://gitter.im/mzabriskie/axios).
- If you're reporting a bug, ensure it isn't already fixed in the latest Axios version.
- Don't remove any title of the issue template, or it will be treated as invalid by the bot.

⚠️👆 Feel free to these instructions before submitting the issue 👆⚠️
-->

#### Describe the issue
A clear and concise description of what the issue is.

#### Example Code
Code snippet to illustrate your question

```js
// Example code here
```

#### Expected behavior, if applicable
A clear and concise description of what you expected to happen.

#### Environment
- Axios Version [e.g. 0.18.0]
- Adapter [e.g. XHR/HTTP]
- Browser [e.g. Chrome, Safari]
- Browser Version [e.g. 22]
- Node.js Version [e.g. 13.0.1]
- OS: [e.g. iOS 12.1.0, OSX 10.13.4]
- Additional Library Versions [e.g. React 16.7, React Native 0.58.0]

#### Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
17 changes: 17 additions & 0 deletions .github/workflows/close-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Close Invalid Issues'

on:
issues:
types: [opened]

jobs:
auto_close_issues:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Automatically close issues that don't follow the issue template
uses: lucasbento/auto-close-issues@v1.0.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-close-message: 'Hello! :wave: \n\nThis issue is being automatically closed because it does not follow the issue template. Please read the issue template carefully and follow all of the instructions when opening a new issue. \n\nThanks'
31 changes: 31 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'Close Stale'

on:
schedule:
- cron: '0 0 * * 1'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Close Stale Issues
uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: |
Hello! :wave:

This issue is being automatically marked as stale because it has not been updated in a while. Please confirm that the issue is still present and reproducible. If no updates or new comments are received the issue will be closed in a few days.

Thanks.
stale-pr-message: |
Hello! :wave:

This pull request is being automatically marked as stale because it has not been updated in a while. Please confirm that the issue is still present and reproducible. If no updates or new comments are received the pull request will be closed in a few days.

Thanks.
stale-issue-label: 'status:stale'
stale-pr-label: 'status:stale'
only-labels: 'status:more info needed'
days-before-stale: 30
days-before-close: 14
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
services:
- xvfb
language: node_js
node_js:
- 10
- 12
- node
email:
on_failure: change
on_success: never
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
after_success:
- npm run coveralls
env:
Expand Down
100 changes: 100 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,105 @@
# Changelog

### 0.19.2 (Jan 20, 2020)

- Remove unnecessary XSS check ([#2679](https://github.com/axios/axios/pull/2679)) (see ([#2646](https://github.com/axios/axios/issues/2646)) for discussion)

### 0.19.1 (Jan 7, 2020)

Fixes and Functionality:

- Fixing invalid agent issue ([#1904](https://github.com/axios/axios/pull/1904))
- Fix ignore set withCredentials false ([#2582](https://github.com/axios/axios/pull/2582))
- Delete useless default to hash ([#2458](https://github.com/axios/axios/pull/2458))
- Fix HTTP/HTTPs agents passing to follow-redirect ([#1904](https://github.com/axios/axios/pull/1904))
- Fix ignore set withCredentials false ([#2582](https://github.com/axios/axios/pull/2582))
- Fix CI build failure ([#2570](https://github.com/axios/axios/pull/2570))
- Remove dependency on is-buffer from package.json ([#1816](https://github.com/axios/axios/pull/1816))
- Adding options typings ([#2341](https://github.com/axios/axios/pull/2341))
- Adding Typescript HTTP method definition for LINK and UNLINK. ([#2444](https://github.com/axios/axios/pull/2444))
- Update dist with newest changes, fixes Custom Attributes issue
- Change syntax to see if build passes ([#2488](https://github.com/axios/axios/pull/2488))
- Update Webpack + deps, remove now unnecessary polyfills ([#2410](https://github.com/axios/axios/pull/2410))
- Fix to prevent XSS, throw an error when the URL contains a JS script ([#2464](https://github.com/axios/axios/pull/2464))
- Add custom timeout error copy in config ([#2275](https://github.com/axios/axios/pull/2275))
- Add error toJSON example ([#2466](https://github.com/axios/axios/pull/2466))
- Fixing Vulnerability A Fortify Scan finds a critical Cross-Site Scrip… ([#2451](https://github.com/axios/axios/pull/2451))
- Fixing subdomain handling on no_proxy ([#2442](https://github.com/axios/axios/pull/2442))
- Make redirection from HTTP to HTTPS work ([#2426](https://github.com/axios/axios/pull/2426)) and ([#2547](https://github.com/axios/axios/pull/2547))
- Add toJSON property to AxiosError type ([#2427](https://github.com/axios/axios/pull/2427))
- Fixing socket hang up error on node side for slow response. ([#1752](https://github.com/axios/axios/pull/1752))
- Alternative syntax to send data into the body ([#2317](https://github.com/axios/axios/pull/2317))
- Fixing custom config options ([#2207](https://github.com/axios/axios/pull/2207))
- Fixing set `config.method` after mergeConfig for Axios.prototype.request ([#2383](https://github.com/axios/axios/pull/2383))
- Axios create url bug ([#2290](https://github.com/axios/axios/pull/2290))
- Do not modify config.url when using a relative baseURL (resolves [#1628](https://github.com/axios/axios/issues/1098)) ([#2391](https://github.com/axios/axios/pull/2391))
- Add typescript HTTP method definition for LINK and UNLINK ([#2444](https://github.com/axios/axios/pull/2444))

Internal:

- Revert "Update Webpack + deps, remove now unnecessary polyfills" ([#2479](https://github.com/axios/axios/pull/2479))
- Order of if/else blocks is causing unit tests mocking XHR. ([#2201](https://github.com/axios/axios/pull/2201))
- Add license badge ([#2446](https://github.com/axios/axios/pull/2446))
- Fix travis CI build [#2386](https://github.com/axios/axios/pull/2386)
- Fix cancellation error on build master. #2290 #2207 ([#2407](https://github.com/axios/axios/pull/2407))

Documentation:

- Fixing typo in CHANGELOG.md: s/Functionallity/Functionality ([#2639](https://github.com/axios/axios/pull/2639))
- Fix badge, use master branch ([#2538](https://github.com/axios/axios/pull/2538))
- Fix typo in changelog [#2193](https://github.com/axios/axios/pull/2193)
- Document fix ([#2514](https://github.com/axios/axios/pull/2514))
- Update docs with no_proxy change, issue #2484 ([#2513](https://github.com/axios/axios/pull/2513))
- Fixing missing words in docs template ([#2259](https://github.com/axios/axios/pull/2259))
- 🐛Fix request finally documentation in README ([#2189](https://github.com/axios/axios/pull/2189))
- updating spelling and adding link to docs ([#2212](https://github.com/axios/axios/pull/2212))
- docs: minor tweak ([#2404](https://github.com/axios/axios/pull/2404))
- Update response interceptor docs ([#2399](https://github.com/axios/axios/pull/2399))
- Update README.md ([#2504](https://github.com/axios/axios/pull/2504))
- Fix word 'sintaxe' to 'syntax' in README.md ([#2432](https://github.com/axios/axios/pull/2432))
- upadating README: notes on CommonJS autocomplete ([#2256](https://github.com/axios/axios/pull/2256))
- Fix grammar in README.md ([#2271](https://github.com/axios/axios/pull/2271))
- Doc fixes, minor examples cleanup ([#2198](https://github.com/axios/axios/pull/2198))

### 0.19.0 (May 30, 2019)

Fixes and Functionality:

- Added support for no_proxy env variable ([#1693](https://github.com/axios/axios/pull/1693/files)) - Chance Dickson
- Unzip response body only for statuses != 204 ([#1129](https://github.com/axios/axios/pull/1129)) - drawski
- Destroy stream on exceeding maxContentLength (fixes [#1098](https://github.com/axios/axios/issues/1098)) ([#1485](https://github.com/axios/axios/pull/1485)) - Gadzhi Gadzhiev
- Makes Axios error generic to use AxiosResponse ([#1738](https://github.com/axios/axios/pull/1738)) - Suman Lama
- Fixing Mocha tests by locking follow-redirects version to 1.5.10 ([#1993](https://github.com/axios/axios/pull/1993)) - grumblerchester
- Allow uppercase methods in typings. ([#1781](https://github.com/axios/axios/pull/1781)) - Ken Powers
- Fixing building url with hash mark ([#1771](https://github.com/axios/axios/pull/1771)) - Anatoly Ryabov
- This commit fix building url with hash map (fragment identifier) when parameters are present: they must not be added after `#`, because client cut everything after `#`
- Preserve HTTP method when following redirect ([#1758](https://github.com/axios/axios/pull/1758)) - Rikki Gibson
- Add `getUri` signature to TypeScript definition. ([#1736](https://github.com/axios/axios/pull/1736)) - Alexander Trauzzi
- Adding isAxiosError flag to errors thrown by axios ([#1419](https://github.com/axios/axios/pull/1419)) - Ayush Gupta

Internal:

- Fixing .eslintrc without extension ([#1789](https://github.com/axios/axios/pull/1789)) - Manoel
- Fix failing SauceLabs tests by updating configuration - Emily Morehouse
- Add issue templates - Emily Morehouse

Documentation:

- Consistent coding style in README ([#1787](https://github.com/axios/axios/pull/1787)) - Ali Servet Donmez
- Add information about auth parameter to README ([#2166](https://github.com/axios/axios/pull/2166)) - xlaguna
- Add DELETE to list of methods that allow data as a config option ([#2169](https://github.com/axios/axios/pull/2169)) - Daniela Borges Matos de Carvalho
- Update ECOSYSTEM.md - Add Axios Endpoints ([#2176](https://github.com/axios/axios/pull/2176)) - Renan
- Add r2curl in ECOSYSTEM ([#2141](https://github.com/axios/axios/pull/2141)) - 유용우 / CX
- Update README.md - Add instructions for installing with yarn ([#2036](https://github.com/axios/axios/pull/2036)) - Victor Hermes
- Fixing spacing for README.md ([#2066](https://github.com/axios/axios/pull/2066)) - Josh McCarty
- Update README.md. - Change `.then` to `.finally` in example code ([#2090](https://github.com/axios/axios/pull/2090)) - Omar Cai
- Clarify what values responseType can have in Node ([#2121](https://github.com/axios/axios/pull/2121)) - Tyler Breisacher
- docs(ECOSYSTEM): add axios-api-versioning ([#2020](https://github.com/axios/axios/pull/2020)) - Weffe
- It seems that `responseType: 'blob'` doesn't actually work in Node (when I tried using it, response.data was a string, not a Blob, since Node doesn't have Blobs), so this clarifies that this option should only be used in the browser
- Update README.md. - Add Querystring library note ([#1896](https://github.com/axios/axios/pull/1896)) - Dmitriy Eroshenko
- Add react-hooks-axios to Libraries section of ECOSYSTEM.md ([#1925](https://github.com/axios/axios/pull/1925)) - Cody Chan
- Clarify in README that default timeout is 0 (no timeout) ([#1750](https://github.com/axios/axios/pull/1750)) - Ben Standefer

### 0.19.0-beta.1 (Aug 9, 2018)

**NOTE:** This is a beta version of this release. There may be functionality that is broken in
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Commit messages should be verb based, using the following pattern:

### Testing

Please update the tests to reflect your code changes. Pull requests will not be accepted if they are failing on [Travis CI](https://travis-ci.org/mzabriskie/axios).
Please update the tests to reflect your code changes. Pull requests will not be accepted if they are failing on [Travis CI](https://travis-ci.org/axios/axios).

### Documentation

Please update the docs accordingly so that there are no discrepencies between the API and the documentation.
Please update the [docs](README.md) accordingly so that there are no discrepancies between the API and the documentation.

### Developing

Expand Down
4 changes: 2 additions & 2 deletions COOKBOOK.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Cookbook

In an effort to keep axios as light weight as possible, and to avoid a rats nest of code for supporting every possible integration, it is often necessary to say no to feature requests. This doesn't mean that those use cases aren't legitimate, but rather that they are easily supported by augmenting axios with other libraries.
This cookbook contains recipes for some commonly requested features.

The following are the recipes for some of the commonly requested features.
In order to keep axios as lightweight as possible, it is often necessary to say no to feature requests. Many of these use cases can be supported by augmenting axios with other libraries.

### Promise.prototype.done

Expand Down
Loading