Skip to content

feat: support puppeteer v25#3772

Closed
renovate[bot] wants to merge 5 commits into
masterfrom
renovate/puppeteer
Closed

feat: support puppeteer v25#3772
renovate[bot] wants to merge 5 commits into
masterfrom
renovate/puppeteer

Conversation

@renovate

@renovate renovate Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
puppeteer (source) 24.36.125.3.0 age confidence

Release Notes

puppeteer/puppeteer (puppeteer)

v25.3.0

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
🎉 Features
🛠️ Fixes
📄 Documentation

v25.2.1

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 25.2.0 to 25.2.1
🛠️ Fixes

v25.2.0

Compare Source

🎉 Features
🛠️ Fixes
Dependencies
  • The following workspace dependencies were updated
📄 Documentation
  • clarify the network allowlist/blocklist implementation (#​15148) (a7f124c)
  • Update Page.target deprecation message to cover broader usage. (#​15108) (882c43d)
⚡ Performance
🏗️ Refactor

v25.1.0

Compare Source

🎉 Features
🛠️ Fixes
🏗️ Refactor
Dependencies
  • The following workspace dependencies were updated
📄 Documentation

v25.0.4

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 25.0.3 to 25.0.4
🛠️ Fixes

v25.0.3

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 25.0.3 to 25.0.4
🛠️ Fixes

v25.0.2

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
🛠️ Fixes

v24.43.1

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
🛠️ Fixes
⚡ Performance

v24.43.0

Compare Source

🎉 Features
Dependencies
  • The following workspace dependencies were updated
🛠️ Fixes

v24.42.0

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.41.0 to 24.42.0
🎉 Features
🛠️ Fixes
  • remove PartitionAllocSchedulerLoopQuarantineTaskControlledPurge from disabled features (#​14872) (c9909a5)
  • roll to Chrome 147.0.7727.57 (#​14869) (51c4305)

v24.41.0

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.41.0 to 24.42.0
🎉 Features
🛠️ Fixes
  • remove PartitionAllocSchedulerLoopQuarantineTaskControlledPurge from disabled features (#​14872) (c9909a5)
  • roll to Chrome 147.0.7727.57 (#​14869) (51c4305)

v24.40.0

Compare Source

🎉 Features
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.40.0 to 24.41.0
🛠️ Fixes
📄 Documentation

v24.39.1

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.39.1 to 24.40.0
🎉 Features
  • support PUPPETEER_DANGEROUS_NO_SANDBOX environment variable (#​14756) (2a8276e)
🛠️ Fixes

v24.39.0

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.39.0 to 24.39.1
🛠️ Fixes

v24.38.0

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.38.0 to 24.39.0
🎉 Features
🛠️ Fixes

v24.37.5

Compare Source

🎉 Features
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.37.5 to 24.38.0
🛠️ Fixes
  • consider browsingContext.navigationCommitted to dispose an existing navigation (#​14724) (b4e92c6)
  • disable PartitionAllocSchedulerLoopQuarantineTaskControlledPurge (#​14744) (e6c7425)
  • roll to Chrome 145.0.7632.117 (#​14719) (1d407e1)

v24.37.4

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.37.4 to 24.37.5
🛠️ Fixes

v24.37.3

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
🛠️ Fixes

v24.37.2

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.37.1 to 24.37.2
🛠️ Fixes
📄 Documentation

v24.37.1

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.37.1 to 24.37.2
🛠️ Fixes
📄 Documentation

v24.37.0

Compare Source

♻️ Chores
  • puppeteer: Synchronize puppeteer versions
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.37.0 to 24.37.1
🛠️ Fixes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "every weekday"
  • 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/puppeteer branch 2 times, most recently from 87ffd9b to 118036e Compare June 25, 2026 16:55
@renovate renovate Bot changed the title chore(deps): update puppeteer chore(deps): update dependency puppeteer to v25 Jun 25, 2026
@renovate
renovate Bot force-pushed the renovate/puppeteer branch from 118036e to 656a2ab Compare July 2, 2026 12:56
@renovate
renovate Bot force-pushed the renovate/puppeteer branch from 656a2ab to b63b32c Compare July 12, 2026 14:39
@renovate
renovate Bot force-pushed the renovate/puppeteer branch from b63b32c to 3203d65 Compare July 16, 2026 18:03
Puppeteer 25 is ESM-only and its bundled Chrome changes a few behaviors.
This keeps compatibility with older versions:

- suppress the type-only ESM import errors the same way we do for got-scraping
- map the removed `clickCount` click option to its `count` replacement in `clickElements()` (both are passed through, so older versions keep working)
- set a `User-Agent` header from `gotoExtended()` via `page.setUserAgent()`, since newer Chrome ignores it in `setExtraHTTPHeaders()`
- normalize the new `sameSite: 'Default'` cookie value to undefined in the session cookies
@B4nan B4nan changed the title chore(deps): update dependency puppeteer to v25 feat: support puppeteer v25 Jul 16, 2026
B4nan added 2 commits July 16, 2026 21:39
Puppeteer 25 can hang `page.close()` indefinitely when the page's
navigation was aborted (e.g. on a navigation timeout), and the request
cleanup awaited it without any guard, blocking the crawler forever.
Bound it with a 5s timeout.
…rors

Unlike `@ts-expect-error`, it is inert when there is nothing to suppress,
so the repo compiles against both puppeteer 24 (CJS) and 25+ (ESM only).
@renovate

renovate Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@B4nan B4nan mentioned this pull request Jul 17, 2026
@B4nan B4nan closed this Jul 17, 2026
@renovate
renovate Bot deleted the renovate/puppeteer branch July 17, 2026 07:39
B4nan added a commit that referenced this pull request Jul 17, 2026
Puppeteer 25 is ESM-only, requires Node 22.12+, and its bundled Chrome
changes a few behaviors. This adds support for it while keeping
compatibility with older versions:

- suppress the type-only ESM import errors with inert `@ts-ignore`
comments (same approach as for got-scraping), so the code compiles
against both puppeteer 24 (CJS) and 25+ (ESM-only) — the published
`.d.ts` shape is unchanged
- map the removed `clickCount` click option to its `count` replacement
in `clickElements()`, passing both through so older versions keep
working
- set a `User-Agent` header from `gotoExtended()` via
`page.setUserAgent()`, since newer Chrome ignores it in
`setExtraHTTPHeaders()`
- normalize the new `sameSite: 'Default'` cookie value to `undefined` in
session cookies
- bound the `page.close()` call in request cleanup with a 5s timeout —
puppeteer 25 can hang it indefinitely when the page's navigation was
aborted (e.g. on a navigation timeout), which blocked the crawler
forever

No new runtime version detection was needed — the existing
`CdpBrowser`/`package.json` checks still work with v25, and
`require('puppeteer')` works there because v25's minimum Node has
`require(esm)`.

Everything is verified locally against both puppeteer 24.36.1 and 25.3.0
(build, type checks, and the full puppeteer test suites, including under
CPU load for the timeout tests).

Supersedes #3772.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants