Release notes
*Sourced from [puppeteer's releases](https://github.com/GoogleChrome/puppeteer/releases).*
> ## v2.0.0
> ## Big changes
>
> - Chromium 79.0.3942.0 (r706915)
> - Puppeteer now requires Node.js v8+; Node.js v6 is no longer supported
> - `page.screenshot` now clips elements to the viewport ([#5080](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5080))
> - New APIs:
> - [`page.emulateTimezone(timezoneId)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatetimezonetimezoneid)
> - [`page.emulateMediaType(type)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatypetype) (superseding the old [`page.emulateMedia(type)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatype) API)
> - [`page.emulateMediaFeatures(features)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatypetype)
>
> ## API changes
>
> - New API: [`page.emulateTimezone(timezoneId)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatetimezonetimezoneid) ([#4949](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4949))
> - New API: [`page.emulateMediaType(type)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatypetype) ([#5012](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5012))
> - Deprecated API: [`page.emulateMedia(type)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatype) is now obsolete. Use [`page.emulateMediaType(type)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatypetype) instead. ([#5012](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5012))
> - New API: [`page.emulateMediaFeatures(features)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatypetype) ([#5012](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5012))
>
> ## Raw notes
>
> aa24697 - chore: mark version v2.0.0 ([#5078](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5078))
> 360c1b4 - test: add page.screenshot viewport clipping test ([#5079](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5079))
> 7f3e372 - docs(api): improve page.waitFor docs for the `options` object ([#5021](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5021))
> 8132b39 - test: remove duplicate code from an example ([#5072](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5072))
> 1248a19 - feat(api): add `page.emulateTimezone(timezoneId)` ([#4949](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4949))
> a86363f - feat(api): add `page.emulateMedia{Type,Features}` ([#5012](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5012))
> 06dbb72 - chore: use map instead of plain object ([#5068](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5068))
> 81d2600 - feat(chromium): roll Chromium to r705776 ([#5058](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5058))
> 3773229 - fix: avoid unnecessary zero-delays in input code ([#4934](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4934))
> 11ff374 - chore: drop Node.js v6 support ([#5045](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5045))
> c0ba8f9 - docs(troubleshooting): update Alpine Chromium versions ([#4980](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4980))
> 2506169 - docs(contributing): mention manual docs/api updates ([#5023](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5023))
> 83c327a - docs(readme): correct Slack link
> 4c62e09 - fix(comment): fix typo in Launcher.js ([#4959](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4959))
> 7dbb108 - docs(api): list Chromium version for Puppeteer v1.20.0 ([#5015](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5015))
> 5b34028 - chore: bump https-proxy-agent to mitigate a security issue ([#5016](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5016))
> dc57d03 - docs(api): clarify `type` method examples ([#5010](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5010))
> fff2737 - doc(contributing): clarify release instructions ([#4940](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4940))
> 387a532 - chore: bump version to v1.20.0-post ([#4939](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4939))
Commits
- [`aa24697`](https://github.com/puppeteer/puppeteer/commit/aa246973b96c36768bf3d4db0383f7101a1b4ee9) chore: mark version v2.0.0 ([#5078](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5078))
- [`360c1b4`](https://github.com/puppeteer/puppeteer/commit/360c1b4c7d5e54a3804dcae65b286fb4f2b35713) test: add page.screenshot viewport clipping test ([#5079](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5079))
- [`7f3e372`](https://github.com/puppeteer/puppeteer/commit/7f3e372b14abc0dc7792f48909c5066476caa4d1) docs(api.md): improve page.waitFor docs for the `options` object ([#5021](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5021))
- [`8132b39`](https://github.com/puppeteer/puppeteer/commit/8132b39a6c494b2e2ff7db6b5c062d787b2e8785) docs(api.md): remove duplicate code from an example ([#5072](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5072))
- [`1248a19`](https://github.com/puppeteer/puppeteer/commit/1248a19135fe54b8fe42e15435c11c3c8aa949d2) feat(api): add page.emulateTimezone(timezoneId) ([#4949](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4949))
- [`a86363f`](https://github.com/puppeteer/puppeteer/commit/a86363fda695865ddc7c5eeb3c958f5c2da8e61b) feat(api): add page.emulateMedia{Type,Features} ([#5012](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5012))
- [`06dbb72`](https://github.com/puppeteer/puppeteer/commit/06dbb72c7338c201dc76842eb35004d03f26adc1) chore: use map instead of plain object ([#5068](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5068))
- [`81d2600`](https://github.com/puppeteer/puppeteer/commit/81d26002361f2485d4ae8a9758be25e65d4c1c01) feat(chromium): roll Chromium to r705776 ([#5058](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5058))
- [`3773229`](https://github.com/puppeteer/puppeteer/commit/3773229ac276a84a4de113e74290abc3bbf60499) fix: avoid unnecessary zero-delays in input code ([#4934](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4934))
- [`11ff374`](https://github.com/puppeteer/puppeteer/commit/11ff374ca3e7d06a3be4278b85ccee73392354e7) chore: drop Node.js v6 support ([#5045](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5045))
- Additional commits viewable in [compare view](https://github.com/GoogleChrome/puppeteer/compare/v1.20.0...v2.0.0)
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 commands and options
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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps puppeteer from 1.20.0 to 2.0.0.
Release notes
*Sourced from [puppeteer's releases](https://github.com/GoogleChrome/puppeteer/releases).* > ## v2.0.0 > ## Big changes > > - Chromium 79.0.3942.0 (r706915) > - Puppeteer now requires Node.js v8+; Node.js v6 is no longer supported > - `page.screenshot` now clips elements to the viewport ([#5080](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5080)) > - New APIs: > - [`page.emulateTimezone(timezoneId)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatetimezonetimezoneid) > - [`page.emulateMediaType(type)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatypetype) (superseding the old [`page.emulateMedia(type)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatype) API) > - [`page.emulateMediaFeatures(features)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatypetype) > > ## API changes > > - New API: [`page.emulateTimezone(timezoneId)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatetimezonetimezoneid) ([#4949](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4949)) > - New API: [`page.emulateMediaType(type)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatypetype) ([#5012](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5012)) > - Deprecated API: [`page.emulateMedia(type)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatype) is now obsolete. Use [`page.emulateMediaType(type)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatypetype) instead. ([#5012](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5012)) > - New API: [`page.emulateMediaFeatures(features)`](https://github.com/GoogleChrome/puppeteer/blob/v2.0.0/docs/api.md#pageemulatemediatypetype) ([#5012](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5012)) > > ## Raw notes > > aa24697 - chore: mark version v2.0.0 ([#5078](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5078)) > 360c1b4 - test: add page.screenshot viewport clipping test ([#5079](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5079)) > 7f3e372 - docs(api): improve page.waitFor docs for the `options` object ([#5021](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5021)) > 8132b39 - test: remove duplicate code from an example ([#5072](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5072)) > 1248a19 - feat(api): add `page.emulateTimezone(timezoneId)` ([#4949](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4949)) > a86363f - feat(api): add `page.emulateMedia{Type,Features}` ([#5012](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5012)) > 06dbb72 - chore: use map instead of plain object ([#5068](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5068)) > 81d2600 - feat(chromium): roll Chromium to r705776 ([#5058](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5058)) > 3773229 - fix: avoid unnecessary zero-delays in input code ([#4934](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4934)) > 11ff374 - chore: drop Node.js v6 support ([#5045](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5045)) > c0ba8f9 - docs(troubleshooting): update Alpine Chromium versions ([#4980](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4980)) > 2506169 - docs(contributing): mention manual docs/api updates ([#5023](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5023)) > 83c327a - docs(readme): correct Slack link > 4c62e09 - fix(comment): fix typo in Launcher.js ([#4959](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4959)) > 7dbb108 - docs(api): list Chromium version for Puppeteer v1.20.0 ([#5015](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5015)) > 5b34028 - chore: bump https-proxy-agent to mitigate a security issue ([#5016](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5016)) > dc57d03 - docs(api): clarify `type` method examples ([#5010](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5010)) > fff2737 - doc(contributing): clarify release instructions ([#4940](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4940)) > 387a532 - chore: bump version to v1.20.0-post ([#4939](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4939))Commits
- [`aa24697`](https://github.com/puppeteer/puppeteer/commit/aa246973b96c36768bf3d4db0383f7101a1b4ee9) chore: mark version v2.0.0 ([#5078](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5078)) - [`360c1b4`](https://github.com/puppeteer/puppeteer/commit/360c1b4c7d5e54a3804dcae65b286fb4f2b35713) test: add page.screenshot viewport clipping test ([#5079](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5079)) - [`7f3e372`](https://github.com/puppeteer/puppeteer/commit/7f3e372b14abc0dc7792f48909c5066476caa4d1) docs(api.md): improve page.waitFor docs for the `options` object ([#5021](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5021)) - [`8132b39`](https://github.com/puppeteer/puppeteer/commit/8132b39a6c494b2e2ff7db6b5c062d787b2e8785) docs(api.md): remove duplicate code from an example ([#5072](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5072)) - [`1248a19`](https://github.com/puppeteer/puppeteer/commit/1248a19135fe54b8fe42e15435c11c3c8aa949d2) feat(api): add page.emulateTimezone(timezoneId) ([#4949](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4949)) - [`a86363f`](https://github.com/puppeteer/puppeteer/commit/a86363fda695865ddc7c5eeb3c958f5c2da8e61b) feat(api): add page.emulateMedia{Type,Features} ([#5012](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5012)) - [`06dbb72`](https://github.com/puppeteer/puppeteer/commit/06dbb72c7338c201dc76842eb35004d03f26adc1) chore: use map instead of plain object ([#5068](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5068)) - [`81d2600`](https://github.com/puppeteer/puppeteer/commit/81d26002361f2485d4ae8a9758be25e65d4c1c01) feat(chromium): roll Chromium to r705776 ([#5058](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5058)) - [`3773229`](https://github.com/puppeteer/puppeteer/commit/3773229ac276a84a4de113e74290abc3bbf60499) fix: avoid unnecessary zero-delays in input code ([#4934](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/4934)) - [`11ff374`](https://github.com/puppeteer/puppeteer/commit/11ff374ca3e7d06a3be4278b85ccee73392354e7) chore: drop Node.js v6 support ([#5045](https://github-redirect.dependabot.com/GoogleChrome/puppeteer/issues/5045)) - Additional commits viewable in [compare view](https://github.com/GoogleChrome/puppeteer/compare/v1.20.0...v2.0.0)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 commands and options
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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)