Skip to content

docs: apply v1.20.0/v1.21.0 release notes, docs site, and clear pre-release files - #11390

Merged
jasonsaayman merged 7 commits into
v1.xfrom
chore/clear-prerelease-docs
Oct 27, 2026
Merged

jasonsaayman merged 7 commits into
v1.xfrom
chore/clear-prerelease-docs

Conversation

@jasonsaayman

@jasonsaayman jasonsaayman commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Summary

v1.21.0 has been released. This PR finishes the release documentation:

  • adds the v1.21.0 release notes to CHANGELOG.md;
  • applies the 13 pending PRE_RELEASE_DOCS.md entries to the docs site in English, Spanish, French, and Chinese;
  • clears PRE_RELEASE_CHANGELOG.md, and reduces PRE_RELEASE_DOCS.md to the README updates that are still pending.

Five of the pending entries shipped in v1.20.0 (#11082, #11121, #11141), but their docs were never applied. The upgrade guide therefore gets both a v1.21.0 and a v1.20.0 section.

Linked issue

None. This is post-release documentation work for v1.20.0/v1.21.0.

Changes

  • CHANGELOG.md: added the v1.21.0 release notes. The file's existing CRLF line endings are kept and earlier entries are unchanged.
  • Docs site (docs/pages, docs/es/pages, docs/fr/pages, docs/zh/pages; 13 pages per language):
    • Response duration: response schema, error handling, adapters
    • Opt-in UTF-8 Basic auth usernames: authentication, request config auth and transitional
    • Cookie Store XSRF reads (XHR only): request config
    • https.globalAgent TLS options through CONNECT tunnels; NO_PROXY CIDR ranges: request config proxy
    • Method-named literal headers and the custom-class defaults migration: headers, config defaults, upgrade guide
    • Interceptor IDs and recovery from a nullish handler: interceptors
    • Config objects returned by interceptors are normalized: interceptors, adapters, upgrade guide
    • Fetch maxContentLength errors, custom Response stream requirements, maxRedirects: 0, filtered custom-fetch arguments: fetch adapter, request config, upgrade guide
    • HTTP/2 custom lookup and proxy behavior (explicit proxies reject with ERR_NOT_SUPPORT; environment proxies are ignored): HTTP/2, upgrade guide
    • RFC 9110 ContentTooLarge / UnprocessableContent status names: API reference, upgrade guide
    • Reading streaming data in download progress events: progress capturing
    • Wrapped error stacks (Caused by:): error handling, API reference
  • PRE_RELEASE_CHANGELOG.md: released entries removed and section skeletons kept. One Documentation entry records this PR.
  • PRE_RELEASE_DOCS.md: docs-site work is done, so those entries are removed. Nine entries whose targets also include README.md stay as Pending README-only follow-ups. Each one points to the docs-site section that holds the final wording.

Validation

  • English content was checked against the implementation in lib/ and index.d.ts. The config-normalization examples were run against utils.toSafeFlatObject.
  • Review follow-up (e5677f7): corrected interceptor config reuse and copying (lib/utils.js toSafeFlatObject), and documented late maxContentLength errors for fetch responseType: 'stream' (lib/adapters/fetch.js and lib/helpers/trackStream.js). Both fixes are in all four languages.
  • Link check: a script reimplementing VitePress's default heading slugify checked all 88 links this PR adds in the four languages. Every link points to an existing heading and stays within its own locale.
  • npx prettier --check: PRE_RELEASE_*.md pass. In the touched docs pages, Prettier reports exactly the same set of issues as before this PR, so the additions add none. CHANGELOG.md was already failing and was not reformatted, which keeps the diff limited to the new section.
  • Not run:
    • The VitePress docs build, because docs/node_modules is not installed locally.
    • Lint, build, unit, and browser checks, because only Markdown changed.
  • GitHub Actions: pending on the latest commit.

Compatibility and documentation

No semver impact and no runtime, public API, or type changes. README.md is not updated in this PR. Its remaining updates are tracked in PRE_RELEASE_DOCS.md.

Known issue, not fixed here: many older in-page links in the translated docs use /pages/... without the locale prefix, so they open the English pages. Links added in this PR use the /es/, /fr/, and /zh/ prefixes.

Checklist

  • Scope, target branch, and linked issue/rationale checked
  • PRE_RELEASE_CHANGELOG.md entry added or updated (or AGENTS.md's automated release-preparation exception explained)
  • Regression tests and relevant negative/platform cases covered (or N/A with reason): N/A, documentation-only change
  • Applicable local checks completed, with actual commands and results recorded above
  • Deferred release docs and ESM/CJS types/tests updated where needed (or N/A with reason): docs applied; no type changes
  • Semver impact stated and intentional breaking changes explained
  • Final diff reviewed for security, unrelated changes, generated artifacts, and test/debug leftovers
  • Latest GitHub Actions status recorded separately from review/security bot results (pending)

🤖 Generated with Claude Code

@jasonsaayman jasonsaayman added the ai-assisted This PR was created with or in conjunction with AI label Oct 26, 2026
@jasonsaayman jasonsaayman changed the title chore(release): clear pre-release notes after v1.21.0 docs(changelog): add v1.21.0 notes and clear pre-release files Oct 26, 2026
@jasonsaayman jasonsaayman self-assigned this Oct 26, 2026
@greptile-apps

greptile-apps Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] Safe to merge based on the reviewed scope; no blocking findings remain.

Summary

Adds v1.21.0 release notes and applies released documentation across English, Spanish, French, and Chinese.

  • The release notes move into the changelog and docs site.
  • The response docs explain how long an adapter takes.
  • XHR and Fetch docs explain opting into UTF-8 Basic usernames.
  • Method-named headers can be documented as literal values or defaults.
  • Interceptor docs explain stable IDs and returned config objects.
  • Fetch docs explain response size limits and manual redirects.
  • Custom Fetch docs explain filtered options and stream-ready Responses.
  • Proxy docs explain CIDR bypasses, tunnel TLS options, and HTTP/2 limits.
  • Error docs explain when wrapped stacks include the original error.
  • The API docs recommend the RFC 9110 names for status codes 413 and 422.
  • The request docs explain XHR's asynchronous Cookie Store path.
  • Progress docs show how to read response text as it arrives.

Reviews (5) · Last reviewed commit: "docs: limit fetch stream size-limit note..." · Reviewed by Greptile

Comment thread PRE_RELEASE_CHANGELOG.md Resolved
Comment thread PRE_RELEASE_DOCS.md Resolved
Comment thread CHANGELOG.md Resolved
Document response duration, UTF-8 Basic auth usernames, Cookie Store
XSRF reads, CONNECT-tunnel TLS options, method-named header defaults,
interceptor IDs, fetch response size errors, config replacement
hardening, NO_PROXY CIDR ranges, fetch/HTTP2 option consistency,
RFC 9110 status names, streaming progress reads, and wrapped error
stacks in English, Spanish, French, and Chinese.
@jasonsaayman jasonsaayman changed the title docs(changelog): add v1.21.0 notes and clear pre-release files docs: apply v1.20.0/v1.21.0 release notes, docs site, and clear pre-release files Oct 26, 2026
jasonsaayman and others added 2 commits October 26, 2026 16:47
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Comment thread docs/pages/advanced/interceptors.md Resolved
Comment thread docs/pages/advanced/fetch-adapter.md Resolved
…idance

A writable null-prototype config returned by an interceptor is reused,
not copied, even when it differs from the incoming config. Fetch
stream/response responses can fail the maxContentLength check while
the stream is read, after the request has resolved.
Comment thread docs/pages/advanced/fetch-adapter.md Resolved
Comment thread PRE_RELEASE_CHANGELOG.md Resolved
Move the prerelease entry for this documentation PR under Documentation.
@jasonsaayman
jasonsaayman force-pushed the chore/clear-prerelease-docs branch from d10b455 to 3612894 Compare October 27, 2026 07:09
@jasonsaayman
jasonsaayman merged commit d5c49bf into v1.x Oct 27, 2026
29 checks passed
@jasonsaayman
jasonsaayman deleted the chore/clear-prerelease-docs branch October 27, 2026 07:18
markharding pushed a commit to futo-org/Harbor that referenced this pull request Nov 17, 2026
This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [axios](https://axios-http.com) ([source](https://github.com/axios/axios)) | [`1.21.0` → `1.21.1`](https://renovatebot.com/diffs/npm/axios/1.21.0/1.21.1) | ![age](https://developer.mend.io/api/mc/badges/age/npm/axios/1.21.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/axios/1.21.0/1.21.1?slim=true) |

---

> ⚠️ **Warning**
>
> Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/2097) for more information.

---

### Release Notes

<details>
<summary>axios/axios (axios)</summary>

### [`v1.21.1`](https://github.com/axios/axios/releases/tag/v1.21.1)

[Compare Source](axios/axios@v1.21.0...v1.21.1)

#### v1.21.1 — November 9, 2026

This release raises the minimum `follow-redirects` version to fix a published CVE, fixes a Next.js prerendering failure caused by the response duration timer, corrects the `getAdapter` typings, and includes documentation corrections, new test coverage, CI runner changes and dependency updates.

#### 🔒 Security Fixes

- **follow-redirects:** Raised the `follow-redirects` range from `^1.16.0` to `^1.16.2` to fix CVE-2026-116689 (GHSA-mrwp-f3q8-3g9p). In the vulnerable versions, `sensitiveHeaders` arrays from another realm were ignored and custom credentials could follow redirects. Only the Node.js HTTP adapter is affected, and there are no API changes. (**[#&#8203;11410](axios/axios#11410)

#### 🐛 Bug Fixes

- **Response Duration:** `dispatchRequest` now measures `response.duration` with `performance.now()` and uses `Date.now()` only when `performance.now()` isn't available. In v1.21.0, any axios request from a Server Component failed Next.js production builds with Cache Components (`cacheComponents: true`), because Next.js rejects `Date.now()` while prerendering. The duration is still a whole number of milliseconds, and system clock changes no longer affect it. (**[#&#8203;11411](axios/axios#11411)
- **TypeScript:** `getAdapter` now accepts an optional `config?: AxiosRequestConfig` in `index.d.ts` and `index.d.cts`, matching what it does at runtime. You can now call `getAdapter('fetch', { env: { fetch: myFetch } })` without a cast. (**[#&#8203;11404](axios/axios#11404)

#### 🔧 Maintenance & Chores

- **Documentation Corrections:** Brought the README and docs site in line with how axios actually behaves:

  - `transformRequest` runs for every method, and transformers receive `(data, headers, status)`.
  - `responseType` and `Content-Type` have no default value.
  - `AxiosHeaders#get` and `#normalize` are described correctly.
  - Errors should be identified with `axios.isAxiosError()`, not by `name`.
  - The error tables now list `ECONNREFUSED` and `ERR_FORM_DATA_DEPTH_EXCEEDED`, and note that FormData parsing has a fixed depth limit that `maxDepth` doesn't change.
  - New notes cover what `redact` doesn't scan, which adapters enforce `maxContentLength` / `maxBodyLength`, and how `formToJSON()` handles field name collisions.

  (**[#&#8203;11374](axios/axios#11374, **[#&#8203;11373](axios/axios#11373, **[#&#8203;11389](axios/axios#11389, **[#&#8203;11419](axios/axios#11419, **[#&#8203;11429](axios/axios#11429, **[#&#8203;11430](axios/axios#11430)
- **Docs Site:** Added a Partners page, a shared card design for sponsors and partners, a Namespace sponsor badge, and a blog whose first post announces HeroDevs Never-Ending Support for Axios v0. Also applied the v1.20.0/v1.21.0 release notes to the docs, and fixed internal links in the es, fr and zh translations so they keep their locale prefix. (**[#&#8203;11390](axios/axios#11390, **[#&#8203;11399](axios/axios#11399, **[#&#8203;11400](axios/axios#11400, **[#&#8203;11412](axios/axios#11412, **[#&#8203;11401](axios/axios#11401)
- **Test Coverage:** Added cancellation tests across the HTTP, fetch and XHR adapters. They cover `AbortSignal`, `CancelToken`, cancelling while a request interceptor is pending, and timeout precedence. Also added tests for `no_proxy` edge cases in `shouldBypassProxy`, such as internationalized domain names, malformed CIDR and IPv4 entries, and port-qualified entries. Neither changes runtime behavior. (**[#&#8203;11376](axios/axios#11376, **[#&#8203;11431](axios/axios#11431)
- **CI:** GitHub Actions jobs now run on Namespace runners. The npm publish job stays on GitHub-hosted runners, because npm provenance and trusted publishing (OIDC) only work there. (**[#&#8203;11396](axios/axios#11396)
- **Dependencies:** Updated development and tooling dependencies, including `vitest` and `@vitest/*` (to 5.x at the root), `typescript` (7.x at the root), `vite`, `rollup`, `eslint`, `playwright`, `@commitlint/*`, `@rollup/plugin-alias`, `@rollup/plugin-terser`, `body-parser`, `multer`, `serialize-javascript`, `fast-uri`, `qs`, `zizmorcore/zizmor-action`, and `follow-redirects` in `/docs`. (**[#&#8203;11383](axios/axios#11383, **[#&#8203;11375](axios/axios#11375, **[#&#8203;11372](axios/axios#11372, **[#&#8203;11345](axios/axios#11345, **[#&#8203;11392](axios/axios#11392, **[#&#8203;11387](axios/axios#11387, **[#&#8203;11386](axios/axios#11386, **[#&#8203;11385](axios/axios#11385, **[#&#8203;11391](axios/axios#11391, **[#&#8203;11388](axios/axios#11388, **[#&#8203;11395](axios/axios#11395, **[#&#8203;11421](axios/axios#11421, **[#&#8203;11422](axios/axios#11422, **[#&#8203;11426](axios/axios#11426)
- **Release:** Prepared the 1.21.1 release. (**[#&#8203;11435](axios/axios#11435)

#### 🌟 New Contributors

We are thrilled to welcome our new contributors. Thank you for helping improve axios:

- **[@&#8203;Ghoscro](https://github.com/Ghoscro)** (**[#&#8203;11374](axios/axios#11374)
- **[@&#8203;pei711](https://github.com/pei711)** (**[#&#8203;11373](axios/axios#11373)
- **[@&#8203;ivanhapaz](https://github.com/ivanhapaz)** (**[#&#8203;11399](axios/axios#11399)
- **[@&#8203;aelmanaa](https://github.com/aelmanaa)** (**[#&#8203;11404](axios/axios#11404)
- **[@&#8203;Aryapatel-007](https://github.com/Aryapatel-007)** (**[#&#8203;11429](axios/axios#11429, **[#&#8203;11430](axios/axios#11430)
- **[@&#8203;umair-ghafoor-ai](https://github.com/umair-ghafoor-ai)** (**[#&#8203;11376](axios/axios#11376)
- **[@&#8203;yxshee](https://github.com/yxshee)** (**[#&#8203;11389](axios/axios#11389)
- **[@&#8203;malinele](https://github.com/malinele)** (**[#&#8203;11401](axios/axios#11401)
- **[@&#8203;AnantDuhan](https://github.com/AnantDuhan)** (**[#&#8203;11431](axios/axios#11431)

[Full Changelog](axios/axios@v1.21.0...v1.21.1)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - "before 9am on tuesday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjcuNCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyNy40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==-->

Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2336
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted This PR was created with or in conjunction with AI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant