Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Conversation

@renovate
Copy link

@renovate renovate bot commented May 29, 2020

This PR contains the following updates:

Package Type Update Change
puppeteer devDependencies minor 3.1.0 -> 3.3.0

Release Notes

puppeteer/puppeteer

v3.3.0

Compare Source

Highlights

  • The migration from Node's EventEmitter to the Mitt library has been reverted in this release. We're sorry for causing unexpected issues in the 3.2.0 release. If you were unable to upgrade from 3.1.0 to 3.2.0, you will be able to upgrade straight to 3.3.0 and not have any issues.

Behind the scenes

  • The Puppeteer Response class was renamed HTTPResponse to avoid a clash with the TS Response type. We don't expose this class on the main Puppeteer instance so this shouldn't affect any of your code.
  • Similarly we have renamed Worker to WebWorker to avoid a clash with the TS Worker type.

Raw Notes

34c0f9b - chore: mark version v3.3.0
309d811 - chore: Revert Mitt due to breaking changes (#​5952)
81e3248 - chore: Defer Windows FF tests for longer (#​5954)
b874cac - chore: rename Worker to WebWorker (#​5941)
7862484 - chore: update request and response references in docs (#​5942)
232def0 - chore: rename Response to HTTPResponse (#​5940)
cfd72ac - chore: bump version to v3.2.0-post (#​5938)

v3.2.0

Compare Source

Highlights

  • We now support emulating vision deficiency types within Puppeteer using page.emulateVisionDeficiency. You can read more about these on the DevTools update blog post.

  • We now use Mitt as the Event Emitter that backs many of Puppeteer's classes rather than the EventEmitter module that ships with Node. This is potentially a breaking change if you rely on some of the less popular EventEmitter methods as Puppeteer's EventEmitter does not support the entire suite of NodeJS EventEmitter functions. We think it's unlikely anyone has relied on these; we were able to swap out the EventEmitter in Puppeteer without any unit tests needing to change.

  • Puppeteer now recognises webviews as regular pages which means you can control them just like you would control a regular page.

Behind the scenes

  • The Request class has been renamed to HTTPRequest to avoid a clash with TypeScript's Request type. We'll be making similar changes to Response and Worker. This is not a breaking change as Puppeteer doesn't directly expose these classes so you shouldn't be referring to them by name in your code.

Raw Notes

1d4d25a - chore: use Mitt as the Event Emitter (#​5907)
a2ba6f0 - feat: recognize webviews as regular pages (#​5905)
8e8a9df - chore: rename Request class to HTTPRequest (#​5934)
9737059 - chore: remove doclint generate_types code (#​5932)
7eab7f8 - feat(api): add page.emulateVisionDeficiency(type) (#​5901)
24ac11e - chore: fix undefined rm in mocha-utils (#​5920)
6cfe142 - chore: don't use expect within Promises (#​5466) (#​5473)
dfb2e60 - chore: stop Protocol types being globally available (#​5899)
d8e0557 - chore: update Travis to run latest macOS and fix HTTPS test (#​5903)
9a08d31 - chore: error if coverage couldn't find the given class (#​5863)
caaf4d2 - fix: support async functions as an argument for waitForFunction (#​5682)
e6c22da - chore: bump version to v3.1.0-post (#​5884)


Renovate configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

♻️ 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 has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/puppeteer-3.x branch from b3c2b0a to 1979a9f Compare June 2, 2020 09:02
@renovate renovate bot changed the title Update dependency puppeteer to v3.2.0 Update dependency puppeteer to v3.3.0 Jun 2, 2020
@renovate renovate bot merged commit a431be7 into master Jun 2, 2020
@renovate renovate bot deleted the renovate/puppeteer-3.x branch June 2, 2020 10:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants