Closed12
axios 1.0.0 の変更点をカテゴライズする
Add とか Changed とかでドキュメントか機能なのかよくわかってないので自分なりにカテゴライズしてみる意図の Scraps です。変更自体の具体的な内容には触れません。
偉大なる(?)先人様
機能に関するもの
axios 本体に関する機能における追加・修正・リファクタリングなど(多すぎるので更に分類しました)
機能追加・拡張
- Updating AxiosError to include stack trace by despreston · Pull Request #4624 · axios/axios
- Interceptor clear by Landro3 · Pull Request #4248 · axios/axios
- Adding HTTP status code for transformResponse by kaishuu0123 · Pull Request #4580 · axios/axios
- Added
blob
to the list of protocols supported by the browser; by DigitalBrainJS · Pull Request #4678 · axios/axios - Resolving proxy from env on redirect by mbargiel · Pull Request #4436 · axios/axios
- Added enhanced
toFormData
implementation with additional options by DigitalBrainJS · Pull Request #4704 · axios/axios - Adding
Canceler
parameters config and request by aweikalee · Pull Request #4711 · axios/axios - Added automatic payload serialization to
application/x-www-form-urlencoded
by DigitalBrainJS · Pull Request #4714 · axios/axios - Added the ability for the
url-encoded-form
serializer to respect theformSerializer
config; by DigitalBrainJS · Pull Request #4721 · axios/axios - Added data URL support for node.js; by DigitalBrainJS · Pull Request #4725 · axios/axios
- URL params serializer; by DigitalBrainJS · Pull Request #4734 · axios/axios
- Added
axios.formToJSON
method; by DigitalBrainJS · Pull Request #4735 · axios/axios - feat: brower platform add
data
protocol. by 0x30 · Pull Request #4804 · axios/axios - Include request and config when creating a
CanceledError
. by arthurfiorette · Pull Request #4659 · axios/axios
機能修正
- opt: opt judgment code of cancel by zh-lx · Pull Request #4587 · axios/axios
- Fixed race condition on immediate requests cancellation by DigitalBrainJS · Pull Request #4261 · axios/axios
- Fixing Z_BUF_ERROR when no content by lejahmie · Pull Request #4701 · axios/axios
- Fixing proxy beforeRedirect regression by mbargiel · Pull Request #4708 · axios/axios
- Fixed
AxiosError
stack capturing; by DigitalBrainJS · Pull Request #4718 · axios/axios - Fix/4263/maxbodylength defaults by mitsos1os · Pull Request #4731 · axios/axios
- Fixed bug #4727 : toFormData Blob issue on node>v17; by DigitalBrainJS · Pull Request #4728 · axios/axios
- Fixing content-type header repeated by joaoGabriel55 · Pull Request #4745 · axios/axios
- Fix #4440, #3549 - Request ignores false, 0 and '' as body values (v1.x) by visortelle · Pull Request #4785 · axios/axios
- Fixed missed minified builds; by DigitalBrainJS · Pull Request #4805 · axios/axios
リファクタリング
- Use WHATWG URL API instead of url.parse() by felipedamin · Pull Request #4852 · axios/axios
- Replacing deprecated substr() with slice() by JLL32 · Pull Request #4468 · axios/axios
- The better trim() polyfill. by catscarlet · Pull Request #4072 · axios/axios
- Axios ES2017 by DigitalBrainJS · Pull Request #4787 · axios/axios
- don't need to transform arguments to array by baozouai · Pull Request #4544 · axios/axios
-
Removed unused imports by lpizzinidev · Pull Request #4949 · axios/axios
- 使われていない imports の削除
-
chore: simplify the import path of AxiosError by chentsulin · Pull Request #4875 · axios/axios
- パス読み込みを修正
TypeScript 関連
- fix(type): add AxiosError to AxiosStatic by xiaoyu-tamu · Pull Request #4654 · axios/axios
- Added generic TS types for the exposed
toFormData
helper; by DigitalBrainJS · Pull Request #4668 · axios/axios - Added generic
AxiosAbortSignal
TS interface to avoid importing AbortController polyfill by DigitalBrainJS · Pull Request #4229 · axios/axios - add
string[]
toAxiosRequestHeaders
type by estarossa0 · Pull Request #4322 · axios/axios - fix: add isCancel type assert by chenjigeng · Pull Request #4293 · axios/axios
- Adding types for progress event callbacks by JohannCooper · Pull Request #4675 · axios/axios
- feat: add enum containing Http Status Codes to typings. by mia-z · Pull Request #4903 · axios/axios
- Improve typing of timeout in index.d.ts by mrcwbr · Pull Request #4934 · axios/axios
- Make AxiosError.config optional in the type definition by tusbar · Pull Request #4665 · axios/axios
- fix(types): allow to specify partial default headers for instance cre… by lukashroch · Pull Request #4185 · axios/axios
- Expand isAxiosError types by Argeento · Pull Request #4344 · axios/axios
- types: allow type definition for axios instance methods by jelleschutter · Pull Request #4224 · axios/axios
- Use type alias instead of interface for AxiosPromise by phloose · Pull Request #4505 · axios/axios
- Fix TS definition for AxiosRequestTransformer by brianhelba · Pull Request #4201 · axios/axios
- Fixing instance.defaults.headers type by spalger · Pull Request #4557 · axios/axios
- Fixed
AxiosError
status code type; by DigitalBrainJS · Pull Request #4717 · axios/axios - Fixing AxiosRequestHeaders typings by turisap · Pull Request #4334 · axios/axios
- fix type error by hcwhan · Pull Request #4815 · axios/axios
- Typings: SerializerOptions.indexes allows
boolean | null | undefined
by gfoidl · Pull Request #4862 · axios/axios - Require interceptors to return values by jennings · Pull Request #4874 · axios/axios
その他(カテゴライズがむずかしい)
内部開発ツール(バンドル・静的解析・GitHub Actions など)に関するもの
- Replaced Webpack in favor of Rollup. by DigitalBrainJS · Pull Request #4596 · axios/axios
- Changed
func-names
eslint rule toas-needed
; by DigitalBrainJS · Pull Request #4492 · axios/axios - Updated eslint config; by DigitalBrainJS · Pull Request #4722 · axios/axios
- Replaced Webpack in favor of Rollup. by DigitalBrainJS · Pull Request #4596 · axios/axios
- chore: Set permissions for GitHub actions by neilnaveen · Pull Request #4765 · axios/axios
- chore: Included githubactions in the dependabot config by naveensrinivasan · Pull Request #4770 · axios/axios
- chore(deps): Included dependency review by naveensrinivasan · Pull Request #4771 · axios/axios
- chore: remove unnecessary spaces by techbirds · Pull Request #4854 · axios/axios
ドキュメントの更新
- docs: add to installing using pnpm by reslear · Pull Request #4207 · axios/axios
- Include axios-url-template in ECOSYSTEM.md by rafw87 · Pull Request #4238 · axios/axios
- docs(ecosystem): add react hook plugin by wangcch · Pull Request #4319 · axios/axios
- Emphasize the URLSearchParam built-in interface by tredondo · Pull Request #4590 · axios/axios
- Updating HTTP links in README.md to use HTTPS by Schweinepriester · Pull Request #4387 · axios/axios
- Updated Docs; by DigitalBrainJS · Pull Request #4742 · axios/axios
- Fix grammar in README by danmooney · Pull Request #4649 · axios/axios
- Update README.md by yxwzaxns · Pull Request #4599 · axios/axios
- fix url to defaults.js by sashsvamir · Pull Request #4532 · axios/axios
-
Fix some word spelling and Lint style in comment by MageeLin · Pull Request #4500 · axios/axios
- コードのコメント部分修正
- Edited readme with 3 updated browser icons of chrome, firefox and safari. by Kr-Shanu · Pull Request #4414 · axios/axios
- Fix grammatical issues in README by afzalsayed96 · Pull Request #4232 · axios/axios
- update security.md by psmoros · Pull Request #4784 · axios/axios
- docs: fix Gitpod dead link by kingyue737 · Pull Request #4941 · axios/axios
- docs: enable syntax highlighting for a code block by huyenltnguyen · Pull Request #4970 · axios/axios
- Using Logo Axios in Readme.md by raihan71 · Pull Request #4993 · axios/axios
- Fix markup for note in README by lyrixx · Pull Request #4825 · axios/axios
- Fix typo and formatting, add colons by karlhorky · Pull Request #4853 · axios/axios
- Fix: typo in readme by usman250994 · Pull Request #4942 · axios/axios
- Update SECURITY.md by JamieSlome · Pull Request #4687 · axios/axios
サンプルコード(example)に関するもの
このスクラップは2022/10/16にクローズされました