Skip to content

Commit

Permalink
chore(release): update monorepo packages versions
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 10, 2025
1 parent eb1ab5b commit 29ebf3b
Show file tree
Hide file tree
Showing 14 changed files with 109 additions and 62 deletions.
5 changes: 0 additions & 5 deletions .changeset/@whatwg-node_fetch-1929-dependencies.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/@whatwg-node_node-fetch-1929-dependencies.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/seven-forks-tease.md

This file was deleted.

31 changes: 0 additions & 31 deletions .changeset/warm-plums-grin.md

This file was deleted.

8 changes: 8 additions & 0 deletions e2e/aws-lambda/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @e2e/aws-lambda

## 0.0.36

### Patch Changes

- Updated dependencies
[[`b88b85c`](https://github.com/ardatan/whatwg-node/commit/b88b85c301923719f4722bdfe070728725bcc1b5)]:
- @whatwg-node/fetch@0.10.2

## 0.0.35

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions e2e/aws-lambda/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@e2e/aws-lambda",
"version": "0.0.35",
"version": "0.0.36",
"private": true,
"scripts": {
"build": "node scripts/bundle.js",
"e2e": "ts-node -r tsconfig-paths/register scripts/e2e.ts"
},
"dependencies": {
"@e2e/shared-scripts": "0.0.0",
"@whatwg-node/fetch": "0.10.1",
"@whatwg-node/fetch": "0.10.2",
"aws-lambda": "1.0.7"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions e2e/shared-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @e2e/shared-server

## 0.0.127

### Patch Changes

- Updated dependencies
[[`b88b85c`](https://github.com/ardatan/whatwg-node/commit/b88b85c301923719f4722bdfe070728725bcc1b5)]:
- @whatwg-node/fetch@0.10.2

## 0.0.126

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions e2e/shared-server/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@e2e/shared-server",
"version": "0.0.126",
"version": "0.0.127",
"private": true,
"dependencies": {
"@whatwg-node/fetch": "0.10.1",
"@whatwg-node/fetch": "0.10.2",
"@whatwg-node/server": "0.9.65"
}
}
7 changes: 7 additions & 0 deletions e2e/vercel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @e2e/vercel

## 0.0.127

### Patch Changes

- Updated dependencies []:
- @e2e/shared-server@0.0.127

## 0.0.126

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions e2e/vercel/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@e2e/vercel",
"version": "0.0.126",
"version": "0.0.127",
"private": true,
"scripts": {
"build": "node scripts/bundle.js",
Expand All @@ -12,7 +12,7 @@
},
"dependencies": {
"@e2e/shared-scripts": "0.0.0",
"@e2e/shared-server": "0.0.126",
"@e2e/shared-server": "0.0.127",
"encoding": "0.1.13",
"next": "15.1.4",
"react": "19.0.0",
Expand Down
16 changes: 16 additions & 0 deletions packages/fetch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @whatwg-node/fetch

## 0.10.2

### Patch Changes

- [#1929](https://github.com/ardatan/whatwg-node/pull/1929)
[`b88b85c`](https://github.com/ardatan/whatwg-node/commit/b88b85c301923719f4722bdfe070728725bcc1b5)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:
- Updated dependency
[`@whatwg-node/node-fetch@^0.7.5` ↗︎](https://www.npmjs.com/package/@whatwg-node/node-fetch/v/0.7.5)
(from `^0.7.1`, in `dependencies`)
- Updated dependencies
[[`b88b85c`](https://github.com/ardatan/whatwg-node/commit/b88b85c301923719f4722bdfe070728725bcc1b5),
[`9b39c3e`](https://github.com/ardatan/whatwg-node/commit/9b39c3e5db616a60e6dd8472fbd651f4905f3673),
[`b88b85c`](https://github.com/ardatan/whatwg-node/commit/b88b85c301923719f4722bdfe070728725bcc1b5)]:
- @whatwg-node/node-fetch@0.7.6

## 0.10.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/fetch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whatwg-node/fetch",
"version": "0.10.1",
"version": "0.10.2",
"description": "Cross Platform Smart Fetch Ponyfill",
"repository": {
"type": "git",
Expand All @@ -16,7 +16,7 @@
"browser": "dist/global-ponyfill.js",
"types": "dist/index.d.ts",
"dependencies": {
"@whatwg-node/node-fetch": "^0.7.5",
"@whatwg-node/node-fetch": "^0.7.6",
"urlpattern-polyfill": "^10.0.0"
},
"publishConfig": {
Expand Down
61 changes: 61 additions & 0 deletions packages/node-fetch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,66 @@
# @whatwg-node/node-fetch

## 0.7.6

### Patch Changes

- [#1929](https://github.com/ardatan/whatwg-node/pull/1929)
[`b88b85c`](https://github.com/ardatan/whatwg-node/commit/b88b85c301923719f4722bdfe070728725bcc1b5)
Thanks [@ardatan](https://github.com/ardatan)! - dependencies updates:

- Removed dependency
[`@kamilkisiela/fast-url-parser@^1.1.4` ↗︎](https://www.npmjs.com/package/@kamilkisiela/fast-url-parser/v/1.1.4)
(from `dependencies`)
- Removed dependency
[`fast-querystring@^1.1.1` ↗︎](https://www.npmjs.com/package/fast-querystring/v/1.1.1) (from
`dependencies`)

- [#1947](https://github.com/ardatan/whatwg-node/pull/1947)
[`9b39c3e`](https://github.com/ardatan/whatwg-node/commit/9b39c3e5db616a60e6dd8472fbd651f4905f3673)
Thanks [@ardatan](https://github.com/ardatan)! - Remove the event listener on the provided
`AbortSignal` when `node-libcurl` is used, the connection finishes to prevent potential memory
leaks;

```ts
const res = await fetch(URL, { signal: new AbortController().signal })
// AbortController is never aborted, and HTTP request is done as expected successfully
```

- [#1929](https://github.com/ardatan/whatwg-node/pull/1929)
[`b88b85c`](https://github.com/ardatan/whatwg-node/commit/b88b85c301923719f4722bdfe070728725bcc1b5)
Thanks [@ardatan](https://github.com/ardatan)! - - Remove URL ponyfill implementation based on
`fast-url-parser` and `fast-querystring`, because Node now uses Ada URL parser which is fast
enough.

- Fix `ReadableStream[Symbol.asyncIterator]`

`ReadableStream` uses `Readable` so it uses `Symbol.asyncIterator` method of `Readable` but the
returned iterator's `.return` method doesn't handle cancellation correctly. So we need to call
`readable.destroy(optionalError)` manually to cancel the stream.

This allows `ReadableStream` to use implementations relying on `AsyncIterable.cancel` to handle
cancellation like `Readable.from`

Previously the following was not handling cancellation;

```ts
const res = new ReadableStream({
start(controller) {
controller.enqueue('Hello')
controller.enqueue('World')
},
cancel(reason) {
console.log('cancelled', reason)
}
})

const readable = Readable.from(res)

readable.destroy(new Error('MY REASON'))

// Should log 'cancelled MY REASON'
```

## 0.7.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/node-fetch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@whatwg-node/node-fetch",
"version": "0.7.5",
"version": "0.7.6",
"type": "module",
"description": "Fetch API implementation for Node",
"repository": {
Expand Down

0 comments on commit 29ebf3b

Please sign in to comment.