mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
30 KiB
30 KiB
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
12.0.0 (2021-11-26)
⚠ BREAKING CHANGES
- chromium: roll to Chromium 97.0.4692.0 (r938248)
Features
- chromium: roll to Chromium 97.0.4692.0 (r938248) (ac162c5), closes #7458
- support for custom user data (profile) directory for Firefox (#7684) (790c7a0)
Bug Fixes
- ariaqueryhandler: allow single quotes in aria attribute selector (#7750) (b0319ec), closes #7721
- clearer jsdoc for behavior of
headless
whendevtools
is true (#7748) (9f9b4ed) - null check for frame in FrameManager (#7773) (23ee295), closes #7749
- only kill the process when there is no browser instance available (#7762) (51e6169), closes #7668
- parse statusText from the extraInfo event (#7798) (a26b12b), closes #7458
- try to remove the temporary user data directory after the process has been killed (#7761) (fc94a28)
11.0.0 (2021-11-02)
⚠ BREAKING CHANGES
- oop iframes: integrate OOP iframes with the frame manager (#7556)
Features
- improve error message for response.buffer() (#7669) (03c9ecc)
- oop iframes: integrate OOP iframes with the frame manager (#7556) (4d9dc8c), closes #2548
- add custom debugging port option (#4993) (26145e9)
- add initiator to HTTPRequest (#7614) (a271145)
- allow to customize tmpdir (#7243) (b1f6e86)
- handle unhandled promise rejections in tests (#7722) (07febca)
Bug Fixes
- add support for relative install paths to BrowserFetcher (#7613) (eebf452), closes #7592
- add webp to screenshot quality option allow list (#7631) (b20c2bf)
- prevent Target closed errors on streams (#7728) (5b792de)
- request an animation frame to fix flaky clickablePoint test (#7587) (7341d9f)
- setup husky properly (#7727) (8b712e7), closes #7726
- updated troubleshooting.md to meet latest dependencies changes (#7656) (edb0197)
- launcher: launcher.launch() should pass 'timeout' option #5180 (#7596) (113489d)
- page: fallback to default in exposeFunction when using imported module (#6365) (44c9ec6)
- page: fix page.off method for request event (#7624) (d0cb943), closes #7572
10.4.0 (2021-09-21)
Features
- add webp to screenshot options (#7565) (43a9268)
- page: expose page.client() (#7582) (99ca842)
- page: mark page.client() as internal (#7585) (8451951)
- add ability to specify offsets for JSHandle.click (#7573) (2b5c001)
- add durableStorage to allowed permissions (#5295) (eda5171)
- add id option to addScriptTag (#5477) (300be5d)
- add more Android models to DeviceDescriptors (#7210) (b5020dc), closes /github.com/aerokube/moon-deploy/blob/master/moon-local.yaml#L199
- add proxy and bypass list parameters to createIncognitoBrowserContext (#7516) (8e45a1c), closes #678
- add threshold to Page.isIntersectingViewport (#6497) (54c4318)
- add unit test support for bisect (#7553) (a0b1f6b)
- add User-Agent with Puppeteer version to WebSocket request (#5614) (6a2bf0a)
- extend husky checks (#7574) (7316086)
- api: implement
Page.waitForNetworkIdle()
(#5140) (3c6029c) - coverage: option for raw V8 script coverage (#6454) (cb4470a)
- support timeout for page.pdf() call (#7508) (f90af66)
- typescript: allow using puppeteer without dom lib (#6998) (723052d), closes #6989
Bug Fixes
- docs: deploy includes website documentation (#7469) (6fde41c)
- docs: names in version 9.1.1 (#7517) (44b22bb)
- frame: fix Frame.waitFor's XPath pattern detection (#5184) (caa2b73)
- install: respect environment proxy config when downloading Firef… (#6577) (9399c97), closes #6573
- added names in V9.1.1 (#7547) (d132b8b)
- test: tweak waitForNetworkIdle delay in test between downloads (#7564) (a21b737)
- types: allow evaluate functions to take a readonly array as an argument (#7072) (491614c)
- update firefox prefs documentation link (#7539) (2aec355)
- use non-deprecated tracing categories api (#7413) (040a0e5)
10.2.0 (2021-08-04)
Features
- api: make
page.isDragInterceptionEnabled
a method (#7419) (dd470c7), closes #7150 - chromium: roll to Chromium 93.0.4577.0 (r901912) (#7387) (e10faad)
- add channel parameter for puppeteer.launch (#7389) (d70f60e)
- add cooperative request intercepts (#6735) (b5e6474)
- add support for useragentdata (#7378) (7200b1a)
Bug Fixes
- browser-runner: reject promise on error (#7338) (5eb20e2)
- add script to remove html comments from docs markdown (#7394) (ea3df80)
10.1.0 (2021-06-29)
Features
- add a streaming version for page.pdf (e3699e2)
- add drag-and-drop support (#7150) (a91b8ac)
- add page.emulateCPUThrottling (#7343) (4ce4110)
Bug Fixes
10.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
9.1.1 (2021-05-05)
Bug Fixes
9.1.0 (2021-05-03)
Features
Bug Fixes
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)
8.0.0 (2021-02-26)
⚠ BREAKING CHANGES
- renamed type
ChromeArgOptions
toBrowserLaunchArgumentOptions
- renamed type
BrowserOptions
toBrowserConnectOptions
Features
Bug Fixes
- 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)
Features
Bug Fixes
- 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)
Bug Fixes
7.0.3 (2021-02-09)
Bug Fixes
7.0.2 (2021-02-09)
Bug Fixes
- 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)
Bug Fixes
7.0.0 (2021-02-03)
⚠ BREAKING CHANGES
-
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.
Features
- use
captureBeyondViewport
inPage.captureScreenshot
(#6805) (401d84e) - chromium: roll Chromium to r848005 (#6801) (890d5c2)
6.0.0 (2021-02-02)
⚠ BREAKING CHANGES
- chromium: The built-in
aria/
selector query handler doesn’t return ignored elements anymore.
Features
- 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)
Bug Fixes
- 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)
Features
Bug Fixes
- common: fix generic type of
_isClosedPromise
(#6579) (122f074) - domworld: fix missing binding for waittasks (#6562) (67da1cf)
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.