All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
9.0.0 (2021-04-21)
- filechooser: FileChooser.cancel() is now synchronous.
- 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)
- 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)
8.0.0 (2021-02-26)
- renamed type
ChromeArgOptions
toBrowserLaunchArgumentOptions
- renamed type
BrowserOptions
toBrowserConnectOptions
- explicit HTTPRequest.resourceType type defs (#6882) (ff26c62), closes #6854
- expose
Viewport
type (#6881) (be7c229) - improve TS types for launching browsers (#6888) (98c8145)
- move CI npm config out of .npmrc (#6901) (f7de60b)
7.1.0 (2021-02-12)
- add favicon test asset (#6868) (a63f53c)
- expose
ScreenshotOptions
type in type defs (#6869) (63d48b2), closes #6866 - expose puppeteer.Permission type (#6856) (a5e174f)
- jsonValue() type is generic (#6865) (bdaba78)
- wider compat TS types and CI checks to ensure correct type defs (#6855) (6a0eb78)
7.0.4 (2021-02-09)
7.0.3 (2021-02-09)
7.0.2 (2021-02-09)
- much better TypeScript definitions (#6837) (f1b46ab)
- domworld: reset bindings when context changes (#6766) (#6836) (4e8d074)
- launcher: output correct error message for browser (#6815) (6c61874)
7.0.1 (2021-02-04)
7.0.0 (2021-02-03)
-
page.screenshot
makes a screenshot with the clip dimensions, not cutting it by the ViewPort size.
- chromium: -
page.screenshot
cuts screenshot content by the ViewPort size, not ViewPort position.
- use
captureBeyondViewport
inPage.captureScreenshot
(#6805) (401d84e) - chromium: roll Chromium to r848005 (#6801) (890d5c2)
6.0.0 (2021-02-02)
- chromium: The built-in
aria/
selector query handler doesn’t return ignored elements anymore.
- chromium: roll Chromium to r843427 (#6797) (8f9fbdb), closes #6758
- add page.emulateNetworkConditions (#6759) (5ea76e9)
- types: expose typedefs to consumers (#6745) (ebd087a)
- add iPhone 11 models to DeviceDescriptors (#6467) (50b810d)
- support fetching and launching on Apple M1 (9a8479a), closes #6495 #6634 #6641 #6614
- support promise as return value for page.waitForResponse predicate (#6624) (b57f3fc)
- domworld: fix waitfor bindings (#6766) (#6775) (cac540b)
- launcher: rename TranslateUI to Translate to match Chrome (#6692) (d901696)
- do not use old utility world (#6528) (fb85911), closes #6527
- update to https-proxy-agent@^5.0.0 to fix
ERR_INVALID_PROTOCOL
(#6555) (3bf5a55)
5.5.0 (2020-11-16)
- common: fix generic type of
_isClosedPromise
(#6579) (122f074) - domworld: fix missing binding for waittasks (#6562) (67da1cf)
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.