master
1299 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
e3ba5578fe | chore: apply Khoajs naming transformations (upstream sync) | ||
|
|
4ec52ed9c8 | chore: apply Khoajs naming transformations (upstream sync) | ||
|
|
f1f0137022 | chore: apply Khoajs naming transformations (upstream sync) | ||
|
|
efdda86d48 | chore: apply Khoajs naming transformations (upstream sync) | ||
|
|
2f16d196c0 | chore: apply Khoajs naming transformations (upstream sync) | ||
|
|
71774c68e1 | chore: apply Khoajs naming transformations (upstream sync) | ||
|
|
f6ef692642 | chore: apply Khoajs naming transformations (upstream sync) | ||
|
|
7b59e2d8ec | chore: apply Khoajs naming transformations (upstream sync) | ||
|
|
e876a21378 | chore: apply Khoajs naming transformations (upstream sync) | ||
|
|
1f4bbea3d9 | chore: apply Khoajs naming transformations (upstream sync) | ||
|
|
e0ba8ef39d | 3.2.0 | ||
|
|
2503a1fb14 |
feat: defer AsyncLocalStorage creation for v8 startup snapshots (#1946)
## Summary - Defer `AsyncLocalStorage` creation when `v8.startupSnapshot.isBuildingSnapshot()` is true, making Koa compatible with Node.js startup snapshots - Register a `v8.startupSnapshot.addDeserializeCallback` to properly initialize `ctxStorage` after snapshot restoration - Extract `getAsyncLocalStorage()` helper to consolidate creation logic ## Test plan - [x] All 429 existing tests pass with 0 failures - [x] `currentContext` tests verify both `asyncLocalStorage: true` and custom `AsyncLocalStorage` instance paths work correctly - [x] Normal (non-snapshot) code path is unchanged — `v8.startupSnapshot?.isBuildingSnapshot?.()` returns `undefined` in regular execution 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|
|
d3ea8bf964 |
chore: Add workflow_dispatch trigger to npm-publish workflow (#1930)
Enables manual triggering of the npm publish workflow with a specific tag input, so tags created from non-default branches (e.g. `v2.x`) can be published. - Added `workflow_dispatch` trigger with a required `tag` string input - Updated checkout step to use `inputs.tag || github.ref` — manual runs check out the specified tag, tag-push runs retain existing behavior Note: GitHub Actions `workflow_dispatch` does not support dynamic dropdowns, so the tag is a free-text input field. <!-- START COPILOT CODING AGENT TIPS --> --- 🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. [Learn more about Advanced Security.](https://gh.io/cca-advanced-security) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com> |
||
|
|
3b0508e8d0 |
build(deps-dev): bump qs from 6.14.1 to 6.14.2 (#1927)
Bumps [qs](https://github.com/ljharb/qs) from 6.14.1 to 6.14.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ljharb/qs/blob/main/CHANGELOG.md">qs's changelog</a>.</em></p> <blockquote> <h2><strong>6.14.2</strong></h2> <ul> <li>[Fix] <code>parse</code>: mark overflow objects for indexed notation exceeding <code>arrayLimit</code> (<a href="https://redirect.github.com/ljharb/qs/issues/546">#546</a>)</li> <li>[Fix] <code>arrayLimit</code> means max count, not max index, in <code>combine</code>/<code>merge</code>/<code>parseArrayValue</code></li> <li>[Fix] <code>parse</code>: throw on <code>arrayLimit</code> exceeded with indexed notation when <code>throwOnLimitExceeded</code> is true (<a href="https://redirect.github.com/ljharb/qs/issues/529">#529</a>)</li> <li>[Fix] <code>parse</code>: enforce <code>arrayLimit</code> on <code>comma</code>-parsed values</li> <li>[Fix] <code>parse</code>: fix error message to reflect arrayLimit as max index; remove extraneous comments (<a href="https://redirect.github.com/ljharb/qs/issues/545">#545</a>)</li> <li>[Robustness] avoid <code>.push</code>, use <code>void</code></li> <li>[readme] document that <code>addQueryPrefix</code> does not add <code>?</code> to empty output (<a href="https://redirect.github.com/ljharb/qs/issues/418">#418</a>)</li> <li>[readme] clarify <code>parseArrays</code> and <code>arrayLimit</code> documentation (<a href="https://redirect.github.com/ljharb/qs/issues/543">#543</a>)</li> <li>[readme] replace runkit CI badge with shields.io check-runs badge</li> <li>[meta] fix changelog typo (<code>arrayLength</code> → <code>arrayLimit</code>)</li> <li>[actions] fix rebase workflow permissions</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
fd111407e9 |
docs: remove dead Job Board links (#1926)
## Checklist - [x] I have ensured my pull request is not behind the main or master branch of the original repository. - [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first. - [x] I have written a commit message that passes commitlint linting. - [x] I have ensured that my code changes pass linting tests. - [x] I have ensured that my code changes pass unit tests. - [x] I have described my pull request and the reasons for code changes along with context if necessary. ## Summary - Remove the "Job Board" section from README as all links are dead (404) ## Details The `astro.netlify.com` service was added by TJ Holowaychuk in April 2017 as a private job board sponsorship service for open source projects. This service is no longer operational - all URLs return 404 errors. The affected links pointed to: - Automattic - Segment - Auth0 The Backers and Sponsors sections using OpenCollective remain functional and are preserved. ## Test plan - [x] Verified all `astro.netlify.com` URLs return 404 - [x] Confirmed OpenCollective links still work Issues: [[docs] Job Board three link and image not show in readme #1911](https://github.com/koajs/koa/issues/1911) |
||
|
|
c5a52e056d | 3.1.2 | ||
|
|
55ab9bab04 |
Merge commit from fork
When a malformed Host header containing @ symbol (e.g., "evil.com:fake@legitimate.com") is received, use URL parser to correctly extract the actual host portion instead of naively splitting by colon which would return attacker-controlled value. Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> |
||
|
|
fecd464ae7 |
build(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 (#1922)
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.0 to 4.1.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md">js-yaml's changelog</a>.</em></p> <blockquote> <h2>[4.1.1] - 2025-11-12</h2> <h3>Security</h3> <ul> <li>Fix prototype pollution issue in yaml merge (<<) operator.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
d2066cf2a5 |
build(deps): bump content-disposition from 0.5.4 to 1.0.1 (#1917)
Bumps [content-disposition](https://github.com/jshttp/content-disposition) from 0.5.4 to 1.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jshttp/content-disposition/releases">content-disposition's releases</a>.</em></p> <blockquote> <h2>1.0.1</h2> <h2>What's Changed</h2> <ul> <li>Remove dependency <code>safe-buffer</code> by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/53">jshttp/content-disposition#53</a></li> <li>fix: update package.json engines field to reflect minimum supported node version by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/56">jshttp/content-disposition#56</a></li> <li>tests: Spelling by <a href="https://github.com/jsoref"><code>@jsoref</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/59">jshttp/content-disposition#59</a></li> <li>chore: upgrade scorecard workflow pinned action versions by <a href="https://github.com/carpasse"><code>@carpasse</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/65">jshttp/content-disposition#65</a></li> <li>Fix badges by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/55">jshttp/content-disposition#55</a></li> <li>ci: updated github actions ci workflow by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/69">jshttp/content-disposition#69</a></li> <li>Replace var with const in example code by <a href="https://github.com/Binilkks"><code>@Binilkks</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/67">jshttp/content-disposition#67</a></li> <li>replace <code>mocha</code> and <code>nyc</code> with native node test runner and <code>c8</code> by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/54">jshttp/content-disposition#54</a></li> <li>ci: add dependabot by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/73">jshttp/content-disposition#73</a></li> <li>ci: add CodeQl (SAST) by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/71">jshttp/content-disposition#71</a></li> <li>build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/content-disposition/pull/75">jshttp/content-disposition#75</a></li> <li>build(deps): bump github/codeql-action from 3.27.9 to 3.28.18 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/content-disposition/pull/80">jshttp/content-disposition#80</a></li> <li>build(deps): bump ossf/scorecard-action from 2.4.1 to 2.4.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/content-disposition/pull/81">jshttp/content-disposition#81</a></li> <li>chore: add funding to package.json by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/84">jshttp/content-disposition#84</a></li> <li>build(deps): bump actions/upload-artifact from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/content-disposition/pull/94">jshttp/content-disposition#94</a></li> <li>build(deps): bump actions/download-artifact from 4 to 6 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/content-disposition/pull/93">jshttp/content-disposition#93</a></li> <li>build(deps): bump github/codeql-action from 3.28.18 to 4.31.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/content-disposition/pull/92">jshttp/content-disposition#92</a></li> <li>Release: 1.0.1 by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/58">jshttp/content-disposition#58</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/content-disposition/pull/53">jshttp/content-disposition#53</a></li> <li><a href="https://github.com/jsoref"><code>@jsoref</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/content-disposition/pull/59">jshttp/content-disposition#59</a></li> <li><a href="https://github.com/Binilkks"><code>@Binilkks</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/content-disposition/pull/67">jshttp/content-disposition#67</a></li> <li><a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] made their first contribution in <a href="https://redirect.github.com/jshttp/content-disposition/pull/75">jshttp/content-disposition#75</a></li> <li><a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/content-disposition/pull/58">jshttp/content-disposition#58</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jshttp/content-disposition/compare/v1.0.0...v1.0.1">https://github.com/jshttp/content-disposition/compare/v1.0.0...v1.0.1</a></p> <h2>1.0.0</h2> <h2>Breaking Changes</h2> <ul> <li>drop support to node <18 versions <a href="https://redirect.github.com/jshttp/content-disposition/pull/50">jshttp/content-disposition#50</a></li> </ul> <h2>What's Changed</h2> <ul> <li>Fix CI GH action by <a href="https://github.com/carpasse"><code>@carpasse</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/48">jshttp/content-disposition#48</a></li> <li>Add OSSF scorecard pipeline by <a href="https://github.com/carpasse"><code>@carpasse</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/49">jshttp/content-disposition#49</a></li> <li>Replace deprecated String.prototype.substr() by <a href="https://github.com/CommanderRoot"><code>@CommanderRoot</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/42">jshttp/content-disposition#42</a></li> <li>fix(ci)!:drop node <18 and update ci by <a href="https://github.com/wesleytodd"><code>@wesleytodd</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/50">jshttp/content-disposition#50</a></li> <li>Support decode 'utf8' (no dash) by <a href="https://github.com/alexstrat"><code>@alexstrat</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/13">jshttp/content-disposition#13</a></li> <li>1.x Staging PR by <a href="https://github.com/wesleytodd"><code>@wesleytodd</code></a> in <a href="https://redirect.github.com/jshttp/content-disposition/pull/51">jshttp/content-disposition#51</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/CommanderRoot"><code>@CommanderRoot</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/content-disposition/pull/42">jshttp/content-disposition#42</a></li> <li><a href="https://github.com/wesleytodd"><code>@wesleytodd</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/content-disposition/pull/50">jshttp/content-disposition#50</a></li> <li><a href="https://github.com/alexstrat"><code>@alexstrat</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/content-disposition/pull/13">jshttp/content-disposition#13</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jshttp/content-disposition/compare/v0.5.4...v1.0.0">https://github.com/jshttp/content-disposition/compare/v0.5.4...v1.0.0</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jshttp/content-disposition/blob/master/HISTORY.md">content-disposition's changelog</a>.</em></p> <blockquote> <h1>1.0.1 / 2025-11-18</h1> <ul> <li>Updated <code>engines</code> field to Node@18 or higher (fixed reference, see 1.0.0)</li> <li>Remove dependency <code>safe-buffer</code></li> </ul> <h1>1.0.0 / 2024-08-31</h1> <ul> <li>drop node <18</li> <li>allow utf8 as alias for utf-8</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
8694a06eb6 |
docs: use correct term "Server-Sent Events" in guide (#1920)
This PR updates the terminology in `docs/guide.md` from **"Server-Side Events"** to the correct term **"Server-Sent Events" (SSE)**. Changes: - Rename the section heading from `Server-Side Events` to `Server-Sent Events`. - Update the description text to use “server-sent events” consistently. This aligns the docs with the standard naming used in the HTML specification and MDN Web Docs, and should make it easier for readers to search for related resources (e.g. “Server-Sent Events”, “SSE”, `EventSource`). ## Checklist - [x] I have ensured my pull request is not behind the main or master branch of the original repository. - [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first. - [x] I have written a commit message that passes commitlint linting. - [x] I have ensured that my code changes pass linting tests. - [x] I have ensured that my code changes pass unit tests. - [x] I have described my pull request and the reasons for code changes along with context if necessary. |
||
|
|
096682b315 |
build(deps): bump mime-types from 3.0.1 to 3.0.2 (#1918)
Bumps [mime-types](https://github.com/jshttp/mime-types) from 3.0.1 to 3.0.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jshttp/mime-types/releases">mime-types's releases</a>.</em></p> <blockquote> <h2>v3.0.2</h2> <h2>What's Changed</h2> <ul> <li>fix: use <code>ubuntu-latest</code> as ci runner by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://redirect.github.com/jshttp/mime-types/pull/143">jshttp/mime-types#143</a></li> <li>[StepSecurity] Apply security best practices by <a href="https://github.com/step-security-bot"><code>@step-security-bot</code></a> in <a href="https://redirect.github.com/jshttp/mime-types/pull/141">jshttp/mime-types#141</a></li> <li>fix: mime-score logic for mp4 types by <a href="https://github.com/broofa"><code>@broofa</code></a> in <a href="https://redirect.github.com/jshttp/mime-types/pull/140">jshttp/mime-types#140</a></li> <li>🧪 add engines test by <a href="https://github.com/ctcpip"><code>@ctcpip</code></a> in <a href="https://redirect.github.com/jshttp/mime-types/pull/136">jshttp/mime-types#136</a></li> <li>chore: add funding to package.json by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/mime-types/pull/158">jshttp/mime-types#158</a></li> <li>build(deps): bump github/codeql-action from 3.27.9 to 3.30.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/mime-types/pull/163">jshttp/mime-types#163</a></li> <li>build(deps): bump actions/checkout from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/mime-types/pull/164">jshttp/mime-types#164</a></li> <li>build(deps): bump actions/setup-node from 4 to 5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/mime-types/pull/166">jshttp/mime-types#166</a></li> <li>build(deps): bump github/codeql-action from 3.30.0 to 3.30.5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/mime-types/pull/168">jshttp/mime-types#168</a></li> <li>build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/mime-types/pull/167">jshttp/mime-types#167</a></li> <li>build(deps-dev): bump eslint-plugin-promise from 6.1.1 to 6.6.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/mime-types/pull/150">jshttp/mime-types#150</a></li> <li>build(deps): bump coverallsapp/github-action from 1.2.5 to 2.3.6 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/mime-types/pull/144">jshttp/mime-types#144</a></li> <li>build(deps-dev): bump eslint-plugin-markdown from 3.0.0 to 3.0.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/mime-types/pull/148">jshttp/mime-types#148</a></li> <li>build(deps-dev): bump mocha from 10.2.0 to 10.8.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/mime-types/pull/149">jshttp/mime-types#149</a></li> <li>build(deps): bump actions/upload-artifact from 4.5.0 to 4.6.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/mime-types/pull/147">jshttp/mime-types#147</a></li> <li>fix: update JSDoc to convey only false return by <a href="https://github.com/kellyselden"><code>@kellyselden</code></a> in <a href="https://redirect.github.com/jshttp/mime-types/pull/152">jshttp/mime-types#152</a></li> <li>build(deps-dev): bump eslint-plugin-import from 2.27.5 to 2.32.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/mime-types/pull/155">jshttp/mime-types#155</a></li> <li>Release: 3.0.2 by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://redirect.github.com/jshttp/mime-types/pull/169">jshttp/mime-types#169</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/step-security-bot"><code>@step-security-bot</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/mime-types/pull/141">jshttp/mime-types#141</a></li> <li><a href="https://github.com/ctcpip"><code>@ctcpip</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/mime-types/pull/136">jshttp/mime-types#136</a></li> <li><a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/mime-types/pull/158">jshttp/mime-types#158</a></li> <li><a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] made their first contribution in <a href="https://redirect.github.com/jshttp/mime-types/pull/163">jshttp/mime-types#163</a></li> <li><a href="https://github.com/kellyselden"><code>@kellyselden</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/mime-types/pull/152">jshttp/mime-types#152</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jshttp/mime-types/compare/v3.0.1...v3.0.2">https://github.com/jshttp/mime-types/compare/v3.0.1...v3.0.2</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jshttp/mime-types/blob/master/HISTORY.md">mime-types's changelog</a>.</em></p> <blockquote> <h1>3.0.2 / 2025-11-20</h1> <ul> <li>Fix: update JSDoc to reflect that functions return only <code>false</code> or <code>string</code>, not <code>boolean|string</code>.</li> <li>Fix: refined mime-score logic so <code>.mp4</code> resolves correctly</li> <li>Fix:reflect the current Node.js version supported to ≥ 18 (See 3.0.0 for more details).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
8215c2e389 |
build(deps): bump http-errors from 2.0.0 to 2.0.1 (#1919)
Bumps [http-errors](https://github.com/jshttp/http-errors) from 2.0.0 to 2.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jshttp/http-errors/releases">http-errors's releases</a>.</em></p> <blockquote> <h2>v2.0.1</h2> <h2>What's Changed</h2> <ul> <li>Add support for OSSF scorecard reporting by <a href="https://github.com/carpasse"><code>@carpasse</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/107">jshttp/http-errors#107</a></li> <li>refactor: improve <code>toClassName</code> function readability and JSDoc completeness by <a href="https://github.com/Ayoub-Mabrouk"><code>@Ayoub-Mabrouk</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/112">jshttp/http-errors#112</a></li> <li>chore: upgrade scorecard workflow pinned action versions by <a href="https://github.com/carpasse"><code>@carpasse</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/113">jshttp/http-errors#113</a></li> <li>Add test for extending native errors w/o altering prototype by <a href="https://github.com/jonchurch"><code>@jonchurch</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/106">jshttp/http-errors#106</a></li> <li>remove --bail from test script by <a href="https://github.com/jonchurch"><code>@jonchurch</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/114">jshttp/http-errors#114</a></li> <li>[StepSecurity] Apply security best practices by <a href="https://github.com/step-security-bot"><code>@step-security-bot</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/116">jshttp/http-errors#116</a></li> <li>build(deps): bump actions/checkout from 2.7.0 to 4.2.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/117">jshttp/http-errors#117</a></li> <li>build(deps): bump ossf/scorecard-action from 2.4.0 to 2.4.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/118">jshttp/http-errors#118</a></li> <li>build(deps): bump coverallsapp/github-action from 1.2.5 to 2.3.6 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/119">jshttp/http-errors#119</a></li> <li>build(deps): bump actions/upload-artifact from 4.5.0 to 4.6.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/121">jshttp/http-errors#121</a></li> <li>build(deps): bump github/codeql-action from 3.27.9 to 3.28.18 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/123">jshttp/http-errors#123</a></li> <li>fix: use <code>ubuntu-latest</code> as ci runner by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/124">jshttp/http-errors#124</a></li> <li>remove --bail by <a href="https://github.com/jonchurch"><code>@jonchurch</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/125">jshttp/http-errors#125</a></li> <li>deps: update statuses and switch fixed versions to tilde (~) by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/126">jshttp/http-errors#126</a></li> <li>chore: add funding to package.json by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/130">jshttp/http-errors#130</a></li> <li>build(deps): bump github/codeql-action from 3.28.18 to 3.29.5 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/131">jshttp/http-errors#131</a></li> <li>ci: add nodejs v18 - v24 to test matrix by <a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/127">jshttp/http-errors#127</a></li> <li>build(deps-dev): bump eslint-plugin-import from 2.25.3 to 2.32.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/129">jshttp/http-errors#129</a></li> <li>build(deps): bump github/codeql-action from 3.29.7 to 3.29.11 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/133">jshttp/http-errors#133</a></li> <li>build(deps): bump actions/checkout from 4.2.2 to 5.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/132">jshttp/http-errors#132</a></li> <li>build(deps): bump actions/upload-artifact from 4.6.2 to 5.0.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/138">jshttp/http-errors#138</a></li> <li>build(deps): bump github/codeql-action from 3.29.11 to 4.31.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/137">jshttp/http-errors#137</a></li> <li>build(deps): bump ossf/scorecard-action from 2.4.2 to 2.4.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] in <a href="https://redirect.github.com/jshttp/http-errors/pull/134">jshttp/http-errors#134</a></li> <li>Release: 2.0.1 by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://redirect.github.com/jshttp/http-errors/pull/140">jshttp/http-errors#140</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Ayoub-Mabrouk"><code>@Ayoub-Mabrouk</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/http-errors/pull/112">jshttp/http-errors#112</a></li> <li><a href="https://github.com/jonchurch"><code>@jonchurch</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/http-errors/pull/106">jshttp/http-errors#106</a></li> <li><a href="https://github.com/step-security-bot"><code>@step-security-bot</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/http-errors/pull/116">jshttp/http-errors#116</a></li> <li><a href="https://github.com/dependabot"><code>@dependabot</code></a>[bot] made their first contribution in <a href="https://redirect.github.com/jshttp/http-errors/pull/117">jshttp/http-errors#117</a></li> <li><a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/http-errors/pull/124">jshttp/http-errors#124</a></li> <li><a href="https://github.com/Phillip9587"><code>@Phillip9587</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/http-errors/pull/126">jshttp/http-errors#126</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jshttp/http-errors/compare/v2.0.0...v2.0.1">https://github.com/jshttp/http-errors/compare/v2.0.0...v2.0.1</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jshttp/http-errors/blob/master/HISTORY.md">http-errors's changelog</a>.</em></p> <blockquote> <h1>2.0.1 / 2025-11-20</h1> <ul> <li>deps: use tilde notation for dependencies</li> <li>deps: update statuses to 2.0.2</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
cfe5ec6aea |
build(deps-dev): bump qs from 6.14.0 to 6.14.1 (#1921)
Bumps [qs](https://github.com/ljharb/qs) from 6.14.0 to 6.14.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ljharb/qs/blob/main/CHANGELOG.md">qs's changelog</a>.</em></p> <blockquote> <h2><strong>6.14.1</strong></h2> <ul> <li>[Fix] ensure arrayLength applies to <code>[]</code> notation as well</li> <li>[Fix] <code>parse</code>: when a custom decoder returns <code>null</code> for a key, ignore that key</li> <li>[Refactor] <code>parse</code>: extract key segment splitting helper</li> <li>[meta] add threat model</li> <li>[actions] add workflow permissions</li> <li>[Tests] <code>stringify</code>: increase coverage</li> <li>[Dev Deps] update <code>eslint</code>, <code>@ljharb/eslint-config</code>, <code>npmignore</code>, <code>es-value-fixtures</code>, <code>for-each</code>, <code>object-inspect</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
0a6afa5a61 |
fix: typo in troubleshooting.md (#1916)
## Checklist - [x] I have ensured my pull request is not behind the main or master branch of the original repository. - [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first. - [x] I have written a commit message that passes commitlint linting. - [x] I have ensured that my code changes pass linting tests. - [x] I have ensured that my code changes pass unit tests. - [x] I have described my pull request and the reasons for code changes along with context if necessary. Signed-off-by: WuMingDao <146366930+WuMingDao@users.noreply.github.com> |
||
|
|
2e52fb589c | 3.1.1 | ||
|
|
863c2118f0 |
fix: only original value destroy if the new value is not a stream (#1914)
close https://github.com/koajs/koa/issues/1913 |
||
|
|
1c642f4e4f | 3.1.0 | ||
|
|
27df3b6e00 |
fix: adds steam clean up (#1910)
**Adds stream clean-up** in addition to nullish value clean-up. - update from @fengmk2's identified issue [here](https://github.com/koajs/koa/pull/1893#discussion_r2455395874). - https://github.com/koajs/koa/pull/1893#discussion_r2455395874 - Stackblitz display issue + fix [here](https://stackblitz.com/~/github.com/yowainwright/koa-patch-ISSUE-1834_discussion_r2455395874?file=patch/koa/lib/response.js). - https://stackblitz.com/~/github.com/yowainwright/koa-patch-ISSUE-1834_discussion_r2455395874?file=patch/koa/lib/response.js |
||
|
|
49a32077f6 |
feat: fixes mem leak relating to issue-1834 (#1893)
## Description - closes #1834 - closes #1882 - closes #1889 ## Checklist - [x] I have ensured my pull request is not behind the main or master branch of the original repository. - [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first. - [x] I have written a commit message that passes commitlint linting. - [x] I have ensured that my code changes pass linting tests. - [x] I have ensured that my code changes pass unit tests. - [x] I have described my pull request and the reasons for code changes along with context if necessary. ## Checklist for 1834 (before re-pinging team) - [x] Update stackblitz - [stackblitz demostrating error and fix](https://stackblitz.com/edit/koa-patch-starter-pwupm4kr?file=README.md,index.js,patch%2Fkoa%2Flib%2Fapplication.js,vendor%2Fkoa%2Flib%2Fapplication.js) - [x] Address comments - [x] Re-review after merging 2 issues together |
||
|
|
ffd497a190 | 3.0.3 | ||
|
|
769fd75cc6 |
fix: normalize referer before redirect (#1908)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
||
|
|
433b20c9e5 | 3.0.2 | ||
|
|
307013b5fa |
chore: use NPM trusted publishing with semver tag triggers (#1907)
This PR adds an automated NPM publishing workflow that leverages GitHub's trusted publishing feature to securely publish the Koa package whenever a semantic versioning tag is pushed. ## Overview The new `.github/workflows/npm-publish.yml` workflow automates the release process with enhanced security through NPM provenance, ensuring packages are verifiably linked to their source code. ## Key Features ### 🏷️ Semver Tag Triggers The workflow triggers **only** when tags matching semantic versioning format are pushed: - **Standard versions**: `v1.0.0`, `v2.10.15` - **Pre-releases**: `v3.0.0-alpha`, `v3.0.0-beta.1` - **Release candidates**: `v4.0.0-rc.2` Tags without the `v` prefix, incomplete versions (e.g., `v1.0`), or non-semver formats are ignored. ### 🔐 NPM Trusted Publishing Implements NPM's trusted publishing with provenance: - **`--provenance` flag**: Generates cryptographic attestations linking the published package to the GitHub repository and specific commit - **OIDC authentication**: Uses GitHub's OpenID Connect provider instead of long-lived tokens, reducing security risks - **Supply chain transparency**: Allows users to verify package authenticity and build provenance ### ✅ Quality Gates Before publishing, the workflow automatically: 1. Runs the linter (`npm run lint`) 2. Executes the full test suite (`npm test`) 3. Only publishes if all checks pass This ensures only quality-validated releases reach NPM. ### 🛠️ Best Practices - Uses `npm ci` for reproducible, consistent builds - Runs on Node.js 20.x LTS - Uses latest stable GitHub Actions (v4) - Includes comprehensive inline documentation ## Setup Requirements To use this workflow, repository maintainers need to: 1. **Add NPM token to GitHub Secrets** - Navigate to Settings → Secrets and variables → Actions - Create a new secret named `NPM_TOKEN` with your NPM automation token 2. **Configure NPM account for trusted publishing** - Ensure the NPM account has access to publish the package - Verify the package is configured for public access (or remove `--access public` from the workflow) ## Usage To publish a new version: ```bash # Create a semver tag git tag v3.0.2 git push origin v3.0.2 ``` The workflow will automatically: - Trigger on tag push - Run quality checks - Publish to NPM with provenance - Generate attestations linking the package to this repository ## Technical Details The workflow uses three tag patterns to cover common semver formats while working within GitHub Actions' glob pattern limitations: 1. `v[0-9]+.[0-9]+.[0-9]+` - Standard semver (v1.0.0) 2. `v[0-9]+.[0-9]+.[0-9]+-[a-zA-Z0-9]+` - Pre-release (v1.0.0-alpha) 3. `v[0-9]+.[0-9]+.[0-9]+-[a-zA-Z0-9]+.[0-9]+` - Pre-release with number (v1.0.0-beta.1) Permissions are configured for trusted publishing: - `contents: read` - Access repository code - `id-token: write` - Generate OIDC tokens for NPM authentication This implementation enhances the project's release automation while improving security and supply chain transparency for all Koa users. <!-- START COPILOT CODING AGENT SUFFIX --> <details> <summary>Original prompt</summary> > Create a github action workflow that uses npm trusted publish and triggers this workflow only when a tag is created and the tag name meets the semver format. </details> <!-- START COPILOT CODING AGENT TIPS --> --- 💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click [here](https://survey3.medallia.com/?EAHeSx-AP01bZqG0Ld9QLQ) to start the survey. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: fengmk2 <156269+fengmk2@users.noreply.github.com> Co-authored-by: MK <fengmk2@gmail.com> |
||
|
|
83128eb6cc |
fix: fixes response.attachment behavior leads to Content-Type Sniffing (#1904)
## Checklist Added security-focused tests to verify: 1. Content-Type is preserved when already set 2. Content-Type is still set when not previously defined (backwards compatibility) 3. The fix prevents XSS vulnerabilities with HTML and SVG files credit "Luca Carettoni of Doyensec LLC" as [requested in the advisory](https://github.com/koajs/koa/security/advisories/GHSA-c5vw-j4hf-j526). |
||
|
|
1ddb048adc | 3.0.1 | ||
|
|
422c551c63 |
Merge commit from fork
https://github.com/koajs/koa/security/advisories/GHSA-jgmv-j7ww-jx2x close https://github.com/koajs/koa/issues/1892 |
||
|
|
6e51eb1516 |
build(deps-dev): bump form-data from 4.0.3 to 4.0.4 (#1894)
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.3 to 4.0.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/form-data/form-data/blob/master/CHANGELOG.md">form-data's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/form-data/form-data/compare/v4.0.3...v4.0.4">v4.0.4</a> - 2025-07-16</h2> <h3>Commits</h3> <ul> <li>[meta] add <code>auto-changelog</code> <a href=" |
||
|
|
d378e5c5f9 |
build(deps-dev): bump supertest from 7.1.1 to 7.1.4 (#1895)
Bumps [supertest](https://github.com/ladjs/supertest) from 7.1.1 to 7.1.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ladjs/supertest/releases">supertest's releases</a>.</em></p> <blockquote> <h2>v7.1.4</h2> <ul> <li>chore: bump deps 6021ec8</li> <li>Merge pull request <a href="https://redirect.github.com/ladjs/supertest/issues/865">#865</a> from forwardemail/dependabot/npm_and_yarn/form-data-4.0.4 ceca508</li> <li>chore(deps): bump form-data from 4.0.3 to 4.0.4 b1fb983</li> </ul> <hr /> <p><a href="https://github.com/ladjs/supertest/compare/v7.1.3...v7.1.4">https://github.com/ladjs/supertest/compare/v7.1.3...v7.1.4</a></p> <h2>v7.1.3</h2> <ul> <li>fix: revert automatic server closing (per <a href="https://redirect.github.com/ladjs/supertest/issues/651">#651</a>) b6fd281</li> <li>fix: rename ci file 75bcbc9</li> </ul> <hr /> <p><a href="https://github.com/ladjs/supertest/compare/v7.1.2...v7.1.3">https://github.com/ladjs/supertest/compare/v7.1.2...v7.1.3</a></p> <h2>v7.1.2</h2> <ul> <li>feat: fix server lifecycle, callback handling, and SuperAgent v10 compatibility 6d060e3</li> <li>Merge pull request <a href="https://redirect.github.com/ladjs/supertest/issues/862">#862</a> from noritaka1166/fix-typo-test 0413057</li> <li>Merge pull request <a href="https://redirect.github.com/ladjs/supertest/issues/841">#841</a> from viniciusamc/master e2be0e1</li> <li>chore: fix typo in test b7f985b</li> <li>feat(bearer):bearer auth token method 411f7ce</li> </ul> <hr /> <p><a href="https://github.com/ladjs/supertest/compare/v7.1.1...v7.1.2">https://github.com/ladjs/supertest/compare/v7.1.1...v7.1.2</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
cb22d8dcde |
build(deps): bump statuses from 2.0.1 to 2.0.2 (#1888)
Bumps [statuses](https://github.com/jshttp/statuses) from 2.0.1 to 2.0.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jshttp/statuses/releases">statuses's releases</a>.</em></p> <blockquote> <h2>v2.0.2</h2> <h2>What's Changed</h2> <ul> <li>Ci/add missing node versions by <a href="https://github.com/carpasse"><code>@carpasse</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/32">jshttp/statuses#32</a></li> <li>chore: add support for OSSF scorecard reporting by <a href="https://github.com/inigomarquinez"><code>@inigomarquinez</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/24">jshttp/statuses#24</a></li> <li>chore: pin dependencies and specify permissions in the pipeline by <a href="https://github.com/inigomarquinez"><code>@inigomarquinez</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/25">jshttp/statuses#25</a></li> <li>docs: add openssf badge in readme file by <a href="https://github.com/inigomarquinez"><code>@inigomarquinez</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/29">jshttp/statuses#29</a></li> <li>chore: add codeql pipeline by <a href="https://github.com/inigomarquinez"><code>@inigomarquinez</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/26">jshttp/statuses#26</a></li> <li>chore: add dependency review tool by <a href="https://github.com/inigomarquinez"><code>@inigomarquinez</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/27">jshttp/statuses#27</a></li> <li>chore: add dependabot by <a href="https://github.com/inigomarquinez"><code>@inigomarquinez</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/28">jshttp/statuses#28</a></li> <li>fix: use <code>ubuntu-latest</code> as ci runner by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/33">jshttp/statuses#33</a></li> <li>Replace deprecated String.prototype.substr() by <a href="https://github.com/CommanderRoot"><code>@CommanderRoot</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/23">jshttp/statuses#23</a></li> <li>ci: modernize pipelines by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/34">jshttp/statuses#34</a></li> <li>fix: typo in pipeline by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/39">jshttp/statuses#39</a></li> <li>build(deps-dev): bump raw-body from 2.4.1 to 2.5.2 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/35">jshttp/statuses#35</a></li> <li>build(deps-dev): bump eslint-plugin-promise from 4.2.1 to 4.3.1 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/36">jshttp/statuses#36</a></li> <li>build(deps-dev): bump csv-parse from 4.15.1 to 4.16.3 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/37">jshttp/statuses#37</a></li> <li>build(deps-dev): bump eslint-plugin-import from 2.23.2 to 2.31.0 by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/38">jshttp/statuses#38</a></li> <li>Release: 2.0.2 by <a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> in <a href="https://redirect.github.com/jshttp/statuses/pull/40">jshttp/statuses#40</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/carpasse"><code>@carpasse</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/statuses/pull/32">jshttp/statuses#32</a></li> <li><a href="https://github.com/inigomarquinez"><code>@inigomarquinez</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/statuses/pull/24">jshttp/statuses#24</a></li> <li><a href="https://github.com/UlisesGascon"><code>@UlisesGascon</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/statuses/pull/33">jshttp/statuses#33</a></li> <li><a href="https://github.com/CommanderRoot"><code>@CommanderRoot</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/statuses/pull/23">jshttp/statuses#23</a></li> <li><a href="https://github.com/dependabot"><code>@dependabot</code></a> made their first contribution in <a href="https://redirect.github.com/jshttp/statuses/pull/35">jshttp/statuses#35</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/jshttp/statuses/compare/v2.0.1...v2.0.2">https://github.com/jshttp/statuses/compare/v2.0.1...v2.0.2</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jshttp/statuses/blob/master/HISTORY.md">statuses's changelog</a>.</em></p> <blockquote> <h1>2.0.2 / 2025-06-06</h1> <ul> <li>Migrate to <code>String.prototype.slice()</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
0acad8ff37 |
feat: replace cache-content-type with mime-types directly (#1886)
## Checklist - [x] I have ensured my pull request is not behind the main or master branch of the original repository. - [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first. - [x] I have written a commit message that passes commitlint linting. - [x] I have ensured that my code changes pass linting tests. - [x] I have ensured that my code changes pass unit tests. - [x] I have described my pull request and the reasons for code changes along with context if necessary. |
||
|
|
2f6e8147db |
feat: replace debug module with pure node:util::debuglog (#1885)
## Checklist - [x] I have ensured my pull request is not behind the main or master branch of the original repository. - [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first. - [x] I have written a commit message that passes commitlint linting. - [x] I have ensured that my code changes pass linting tests. - [x] I have ensured that my code changes pass unit tests. - [x] I have described my pull request and the reasons for code changes along with context if necessary. |
||
|
|
8620ced588 |
build(deps): bump debug from 4.4.0 to 4.4.1 (#1880)
Bumps [debug](https://github.com/debug-js/debug) from 4.4.0 to 4.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/debug-js/debug/releases">debug's releases</a>.</em></p> <blockquote> <h2>4.4.1</h2> <h2>What's Changed</h2> <ul> <li>fix(Issue-996): replace whitespaces in namespaces string with commas globally by <a href="https://github.com/pdahal-cx"><code>@pdahal-cx</code></a> in <a href="https://redirect.github.com/debug-js/debug/pull/997">debug-js/debug#997</a></li> <li>fixes <a href="https://redirect.github.com/debug-js/debug/issues/987">#987</a> fallback to localStorage.DEBUG if debug is not defined by <a href="https://github.com/lzilioli"><code>@lzilioli</code></a> in <a href="https://redirect.github.com/debug-js/debug/pull/988">debug-js/debug#988</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/pdahal-cx"><code>@pdahal-cx</code></a> made their first contribution in <a href="https://redirect.github.com/debug-js/debug/pull/997">debug-js/debug#997</a></li> <li><a href="https://github.com/lzilioli"><code>@lzilioli</code></a> made their first contribution in <a href="https://redirect.github.com/debug-js/debug/pull/988">debug-js/debug#988</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/debug-js/debug/compare/4.4.0...4.4.1">https://github.com/debug-js/debug/compare/4.4.0...4.4.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
dec1ffcbda |
build(deps-dev): bump supertest from 7.1.0 to 7.1.1 (#1879)
Bumps [supertest](https://github.com/ladjs/supertest) from 7.1.0 to 7.1.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/ladjs/supertest/releases">supertest's releases</a>.</em></p> <blockquote> <h2>v7.1.1</h2> <ul> <li>Merge pull request <a href="https://redirect.github.com/ladjs/supertest/issues/858">#858</a> from ByteOPCode/master f553845</li> <li>feat: update superagent version d37d197</li> </ul> <p><a href="https://github.com/ladjs/supertest/compare/v7.1.0...v7.1.1">https://github.com/ladjs/supertest/compare/v7.1.0...v7.1.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
9057541332 |
chore: removes done callbacks in tests [CHORE-1870] (#1875)
## Checklist Chore: removes done callback; prefer async - [x] I have ensured my pull request is not behind the main or master branch of the original repository. - [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first. - [x] I have written a commit message that passes commitlint linting. - [x] I have ensured that my code changes pass linting tests. - [x] I have ensured that my code changes pass unit tests. - [x] I have described my pull request and the reasons for code changes along with context if necessary. --------- Co-authored-by: jongleberry <jonathanrichardong@gmail.com> Co-authored-by: Jeff Wainwright <jeffry@tuta.com> |
||
|
|
61bf494594 |
build(deps-dev): bump formidable from 3.5.2 to 3.5.4 (#1878)
Bumps [formidable](https://github.com/node-formidable/formidable) from 3.5.2 to 3.5.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/node-formidable/formidable/releases">formidable's releases</a>.</em></p> <blockquote> <h2>v3.5.3</h2> <h2>What's Changed</h2> <ul> <li> <p>Fix existing test failure by <a href="https://github.com/ryhmrt"><code>@ryhmrt</code></a> in <a href="https://redirect.github.com/node-formidable/formidable/pull/990">node-formidable/formidable#990</a></p> </li> <li> <p>update Ryan Dahl x account link by <a href="https://github.com/moetezch"><code>@moetezch</code></a> in <a href="https://redirect.github.com/node-formidable/formidable/pull/989">node-formidable/formidable#989</a></p> </li> <li> <p>update failing tests</p> </li> <li> <p>update CI/CD workflows and actions;</p> </li> <li> <p>update CodeQL github action for security analysis</p> </li> <li> <p>update readme, links and badges</p> </li> <li> <p>update to use cuid2 (battle-tested <code>@paralleldrive/cuid2</code> package) for better random names - should not be breaking anything since it's still 25 characters long, but a lot safer and faster.</p> </li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/ryhmrt"><code>@ryhmrt</code></a> made their first contribution in <a href="https://redirect.github.com/node-formidable/formidable/pull/990">node-formidable/formidable#990</a></li> <li><a href="https://github.com/moetezch"><code>@moetezch</code></a> made their first contribution in <a href="https://redirect.github.com/node-formidable/formidable/pull/989">node-formidable/formidable#989</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/node-formidable/formidable/compare/v3.5.2...v3.5.3">https://github.com/node-formidable/formidable/compare/v3.5.2...v3.5.3</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/node-formidable/formidable/blob/master/CHANGELOG.md">formidable's changelog</a>.</em></p> <blockquote> <h3>3.5.4</h3> <ul> <li>fix the <code>os.machine</code> breaking some dependents, fix <a href="https://redirect.github.com/node-formidable/formidable/issues/994">#994</a></li> <li>add Node 16, 18, 20, 22 to CI/CD</li> </ul> <h3>3.5.3</h3> <ul> <li>security report by ZAST.AI help for some vulnerabilities addressing (primarily the random names generation)</li> <li>update failing tests</li> <li>update CI/CD workflows and actions;</li> <li>update CodeQL github action for security analysis</li> <li>update readme, links and badges</li> <li>update to use cuid2 (battle-tested <code>@paralleldrive/cuid2</code> package) for better random names - should not be breaking anything since it's still 25 characters long, but a lot safer and faster.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/node-formidable/formidable/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/koajs/koa/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
|
9746a8f7e0 |
chore: adds initial doc text refresh; migration guide [CHORE-1870] (#1877)
## Checklist Adds initial migration guide from v2 to v3. - [x] I have ensured my pull request is not behind the main or master branch of the original repository. - [x] I have rebased all commits where necessary so that reviewing this pull request can be done without having to merge it first. - [x] I have written a commit message that passes commitlint linting. - [x] I have ensured that my code changes pass linting tests. - [x] I have ensured that my code changes pass unit tests. - [x] I have described my pull request and the reasons for code changes along with context if necessary. --- @jonathanong should I try to make a reasonable codemod for this? |
||
|
|
f7b9a1835f | feat: add custom asyncLocalStorage support | ||
|
|
44b568f90f | docs++ | ||
|
|
e63b22d50c | package: remove experimental | ||
|
|
ead934d8f2 | 3.0.0 |