Skip to content

Commit 3b7635a

Browse files
[Release] v0.28.0 (#6211)
1 parent 27c0076 commit 3b7635a

16 files changed

Lines changed: 4401 additions & 2239 deletions

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# Changelog
22

3+
## [0.28.0](https://github.com/axios/axios/compare/v0.27.2...v0.28.0) (2024-02-12)
4+
5+
## Release notes:
6+
### Bug Fixes
7+
8+
* fix(security): fixed CVE-2023-45857 by backporting `withXSRFToken` option to v0.x (#6091)
9+
10+
### Backports from v1.x:
11+
12+
* Allow null indexes on formSerializer and paramsSerializer v0.x (#4961)
13+
* Fixing content-type header repeated #4745
14+
* Fixed timeout error message for HTTP 4738
15+
* Added `axios.formToJSON` method (#4735)
16+
* URL params serializer (#4734)
17+
* Fixed toFormData Blob issue on node>v17 #4728
18+
* Adding types for progress event callbacks #4675
19+
* Fixed max body length defaults #4731
20+
* Added data URL support for node.js (#4725)
21+
* Added isCancel type assert (#4293)
22+
* Added the ability for the `url-encoded-form` serializer to respect the `formSerializer` config (#4721)
23+
* Add `string[]` to `AxiosRequestHeaders` type (#4322)
24+
* Allow type definition for axios instance methods (#4224)
25+
* Fixed `AxiosError` stack capturing; (#4718)
26+
* Fixed `AxiosError` status code type; (#4717)
27+
* Adding Canceler parameters config and request (#4711)
28+
* fix(types): allow to specify partial default headers for instance creation (#4185)
29+
* Added `blob` to the list of protocols supported by the browser (#4678)
30+
* Fixing Z_BUF_ERROR when no content (#4701)
31+
* Fixed race condition on immediate requests cancellation (#4261)
32+
* Added a clear() function to the request and response interceptors object so a user can ensure that all interceptors have been removed from an Axios instance https://github.com/axios/axios/pull/4248
33+
* Added generic AxiosAbortSignal TS interface to avoid importing AbortController polyfill (#4229)
34+
* Fix TS definition for AxiosRequestTransformer (#4201)
35+
* Use type alias instead of interface for AxiosPromise (#4505)
36+
* Include request and config when creating a CanceledError instance (#4659)
37+
* Added generic TS types for the exposed toFormData helper (#4668)
38+
* Optimized the code that checks cancellation (#4587)
39+
* Replaced webpack with rollup (#4596)
40+
* Added stack trace to AxiosError (#4624)
41+
* Updated AxiosError.config to be optional in the type definition (#4665)
42+
* Removed incorrect argument for NetworkError constructor (#4656)
43+
344
## 0.27.2 (April 27, 2022)
445

546
Fixes and Functionality:

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "axios",
33
"main": "./dist/axios.js",
4-
"version": "0.27.2",
4+
"version": "0.28.0",
55
"homepage": "https://axios-http.com",
66
"authors": [
77
"Matt Zabriskie"

0 commit comments

Comments
 (0)