Releases: puppeteer/puppeteer
v10.1.0
v10.0.0
v10.0.0 (2021-05-31)
⚠ BREAKING CHANGES
- Node.js 10 is no longer supported.
Features
- chromium: roll to Chromium 92.0.4512.0 (r884014) (#7288) (f863f4b)
- requestinterception: remove cacheSafe flag (#7217) (d01aa6c)
- expose other sessions from connection (#6863) (cb285a2)
- launcher: add new launcher option
waitForInitialPage(#7105) (2605309), closes #3630
Bug Fixes
-
added comments for browsercontext, startCSSCoverage, and startJSCoverage. (#7264) (b750397)
-
modified comment for method product, platform and newPage (#7262) (159d283)
-
requestinterception: fix font loading issue (#7060) (c9978d2), closes /github.com/puppeteer/puppeteer/pull/6996#issuecomment-811546501 /github.com/puppeteer/puppeteer/pull/6996#issuecomment-813797393 #7038
v9.1.1
v9.1.0
v9.0.0
9.0.0 (2021-04-21)
⚠ BREAKING CHANGES
- filechooser: FileChooser.cancel() is now synchronous.
Features
- chromium: roll to Chromium 91.0.4469.0 (r869685) (#7110) (715e7a8)
- launcher: fix installation error on Apple M1 chips (#7099) (c239d9e), closes #6622
- network: request interception and caching compatibility (#6996) (8695759)
- page: emit the event after removing the Worker (#7080) (e34a6d5)
- types: improve type of predicate function (#6997) (943477c), closes /github.com/DefinitelyTyped/DefinitelyTyped/blob/c43191a8f7a7d2a47bbff0bc3a7d95ecc64d2269/types/puppeteer/index.d.ts#L1883-L1885
- accept captureBeyondViewport as optional screenshot param (#7063) (0e092d2)
- page: add omitBackground option for page.pdf method (#6981) (dc8ab6d)
Bug Fixes
- aria: fix parsing of ARIA selectors (#7037) (4426135)
- page: fix mouse.click method (#7097) (ba7c367), closes #6462 #3347
- make
$and$$selectors generic (#6883) (b349c91) - type page event listeners correctly (#6891) (866d34e)
- typescript: allow defaultViewport to be 'null' (#6942) (e31e68d), closes #6885
- make screenshots work in puppeteer-web (#6936) (5f24f60)
- filechooser: cancel is sync (#6937) (2ba61e0)
- network: don't disable cache for auth challenge (#6962) (1c2479a)
v8.0.0
8.0.0 (2021-02-26)
⚠ BREAKING CHANGES
- renamed type
ChromeArgOptionstoBrowserLaunchArgumentOptions - renamed type
BrowserOptionstoBrowserConnectOptions
Features
Bug Fixes
v7.1.0
7.1.0 (2021-02-12)
TypeScript fixes
Thanks for your patience as we iterate and improve our TypeScript setup. We now should support TypeScript properly across all environments - we do not use export = which caused issues when compiling TS to ESM. Missing types such as Permission and ScreenshotOptions are now present, and we fixed an incorrect type for jsonValue().
emulateMediaFeatures color-gamut support
You can now pass color-gamut options into Page.emulateMediaFeatures:
await page.emulateMediaFeatures([
{ name: 'color-gamut', value: 'p3' },
]);
await page.evaluate(() => matchMedia('(color-gamut: srgb)').matches);Features
Bug Fixes
v7.0.4
v7.0.3
v7.0.2
7.0.2 (2021-02-09)
This release fixes how the TS definitions are shipped and used within Puppeteer. This should fix a number of issues we've seen with our initial attempt to ship TS. Thanks for your patience whilst we figure this out and please continue to report issues for any TS issues you come across.