puppeteer/packages/puppeteer-core/CHANGELOG.md
release-please[bot] de719dbb86
chore: release main (#10738)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-08-18 09:03:27 +00:00

111 KiB
Raw Blame History

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.0.1 to 1.1.0

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.4.4 to 1.4.5

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.5.1 to 1.6.0

21.1.0 (2023-08-18)

Features

Bug Fixes

  • locator.fill should work for textareas (#10737) (fc08a7d)
  • relative ordering of events and command responses should be ensured (#10725) (81ecb60)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.6.0 to 1.7.0

21.0.2 (2023-08-08)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.5.0 to 1.5.1

21.0.1 (2023-08-03)

Bug Fixes

21.0.0 (2023-08-02)

⚠ BREAKING CHANGES

  • use Target for filters (#10601)

Features

Bug Fixes

Code Refactoring

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.4.6 to 1.5.0

20.9.0 (2023-07-20)

Features

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.4.5 to 1.4.6

20.8.3 (2023-07-18)

Bug Fixes

20.8.1 (2023-07-11)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.4.3 to 1.4.4

20.8.0 (2023-07-06)

Features

Bug Fixes

20.7.4 (2023-06-29)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.4.2 to 1.4.3

20.7.3 (2023-06-20)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.4.1 to 1.4.2

20.7.2 (2023-06-16)

Bug Fixes

20.7.1 (2023-06-13)

Bug Fixes

20.7.0 (2023-06-13)

Features

Bug Fixes

20.6.0 (2023-06-09)

Features

Bug Fixes

20.5.0 (2023-05-31)

Features

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.4.0 to 1.4.1

20.4.0 (2023-05-24)

Features

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.3.0 to 1.4.0

20.3.0 (2023-05-22)

Features

Bug Fixes

  • ElementHandle dragAndDrop should fail when interception is disabled (#10209) (bcf5fd8)

20.2.1 (2023-05-15)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.2.0 to 1.3.0

20.2.0 (2023-05-11)

Features

Bug Fixes

  • downloadPath should be used by the install script (#10163) (4398f66)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.1.0 to 1.2.0

20.1.1 (2023-05-05)

Bug Fixes

  • rename PUPPETEER_DOWNLOAD_HOST to PUPPETEER_DOWNLOAD_BASE_URL (#10130) (9758cae)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 1.0.0 to 1.0.1

20.1.0 (2023-05-03)

Features

  • chrome: roll to Chrome 113.0.5672.63 (r1121455) (#10116) (19f4334)

20.0.0 (2023-05-02)

⚠ BREAKING CHANGES

  • drop support for node14 (#10019)
  • switch to Chrome for Testing instead of Chromium (#10054)

Features

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 0.5.0 to 1.0.0

19.11.1 (2023-04-25)

Bug Fixes

19.11.0 (2023-04-24)

Features

Bug Fixes

19.10.1 (2023-04-21)

Bug Fixes

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 0.4.1 to 0.5.0

19.10.0 (2023-04-20)

Features

Bug Fixes

19.9.1 (2023-04-17)

Bug Fixes

19.9.0 (2023-04-13)

Features

Bug Fixes

  • make isIntersectingViewport work with SVG elements (#10004) (656b562)

Performance Improvements

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 0.4.0 to 0.4.1

19.8.5 (2023-04-06)

Bug Fixes

  • add filter to setDiscoverTargets for Firefox (#9693) (c09764e)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 0.3.3 to 0.4.0

19.8.4 (2023-04-06)

Bug Fixes

  • ignore extraInfo events if the response is served from cache (#9983) (e7265c9)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @puppeteer/browsers bumped from 0.3.2 to 0.3.3

19.8.3 (2023-04-03)

Bug Fixes

19.8.1 (2023-03-28)

Bug Fixes

19.8.0 (2023-03-24)

Features

Bug Fixes

19.7.5 (2023-03-14)

Bug Fixes

  • sort elements based on selector matching algorithm (#9836) (9044609)

Performance Improvements

  • use querySelector* for pure CSS selectors (#9835) (8aea8e0)

19.7.4 (2023-03-10)

Bug Fixes

19.7.3 (2023-03-06)

Bug Fixes

19.7.2 (2023-02-20)

Bug Fixes

  • bump chromium-bidi to a version that does not declare mitt as a peer dependency (#9701) (82916c1)

19.7.1 (2023-02-15)

Bug Fixes

19.7.0 (2023-02-13)

Features

  • add touchstart, touchmove and touchend methods (#9622) (c8bb11a)
  • chromium: roll to Chromium 111.0.5556.0 (r1095492) (#9656) (df59d01)

Bug Fixes

  • page.goto error throwing on 40x/50x responses with an empty body (#9523) (#9577) (ddb0cc1)

19.6.3 (2023-02-01)

Bug Fixes

  • ignore not found contexts for console messages (#9595) (390685b)
  • restore WaitTask terminate condition (#9612) (e16cbc6)

19.6.2 (2023-01-27)

Bug Fixes

19.6.1 (2023-01-26)

Bug Fixes

19.6.0 (2023-01-23)

Features

  • chromium: roll to Chromium 110.0.5479.0 (r1083080) (#9500) (06e816b), closes #9470
  • page: Adding support for referrerPolicy in page.goto (#9561) (e3d69ec)

Bug Fixes

  • firefox revision resolution should not update chrome revision (#9507) (f59bbf4), closes #9461
  • improve screenshot method types (#9529) (6847f88)

19.5.2 (2023-01-11)

Bug Fixes

  • make sure browser fetcher in launchers uses configuration (#9493) (df55439), closes #9470

19.5.1 (2023-01-11)

Bug Fixes

  • use puppeteer node for installation script (#9489) (9bf90d9)

19.5.0 (2023-01-05)

Features

Bug Fixes

  • puppeteer-core: target interceptor is not async (#9430) (e3e9cc6)

19.4.1 (2022-12-16)

Bug Fixes

  • improve a11y snapshot handling if the tree is not correct (#9405) (02fe501), closes #9404
  • remove oopif expectations and fix oopif flakiness (#9375) (810e0cd)

19.4.0 (2022-12-07)

Features

  • ability to send headers via ws connection to browser in node.js environment (#9314) (937fffa), closes #7218
  • chromium: roll to Chromium 109.0.5412.0 (r1069273) (#9364) (1875da6), closes #9233
  • puppeteer-core: keydown supports commands (#9357) (b7ebc5d)

Bug Fixes

19.3.0 (2022-11-23)

Features

  • puppeteer-core: Infer element type from complex selector (#9253) (bef1061)
  • puppeteer-core: update Chrome launcher flags (#9239) (ae87bfc)

Bug Fixes

  • remove boundary conditions for visibility (#9249) (e003513)

19.2.2 (2022-11-03)

Bug Fixes

19.2.1 (2022-10-28)

Bug Fixes

19.2.0 (2022-10-26)

Features

  • chromium: roll to Chromium 108.0.5351.0 (r1056772) (#9153) (e78a4e8)

19.1.1 (2022-10-24)

Bug Fixes

  • update documentation on configuring puppeteer (#9150) (f07ad2c)

19.1.0 (2022-10-21)

Features

Bug Fixes

  • update BrowserFetcher deprecation message (#9141) (efcbc97)

19.0.0 (2022-10-14)

⚠ BREAKING CHANGES

  • use ~/.cache/puppeteer for browser downloads (#9095)
  • deprecate createBrowserFetcher in favor of BrowserFetcher (#9079)
  • refactor custom query handler API (#9078)
  • remove puppeteer.devices in favor of KnownDevices (#9075)
  • deprecate indirect network condition imports (#9074)
  • deprecate indirect error imports (#9072)

Features

  • add ability to collect JS code coverage at the function level (#9027) (a032583)
  • deprecate createBrowserFetcher in favor of BrowserFetcher (#9079) (7294dfe), closes #8999
  • use ~/.cache/puppeteer for browser downloads (#9095) (3df375b)

Bug Fixes

18.2.1 (2022-10-06)

Bug Fixes

18.2.0 (2022-10-05)

Features

18.1.0 (2022-10-05)

Features

  • chromium: roll to Chromium 107.0.5296.0 (r1045629) (#9039) (022fbde)

18.0.5 (2022-09-22)

Bug Fixes

  • add missing npm config environment variable (#8996) (7c1be20)

18.0.4 (2022-09-21)

Bug Fixes

18.0.3 (2022-09-20)

Bug Fixes

18.0.2 (2022-09-19)

Bug Fixes

18.0.1 (2022-09-19)

Bug Fixes

18.0.0 (2022-09-19)

⚠ BREAKING CHANGES

  • fix bounding box visibility conditions (#8954)

Features

Bug Fixes

  • fix bounding box visibility conditions (#8954) (ac9929d)
  • suppress init errors if the target is closed (#8947) (cfaaa5e)
  • use win64 version of chromium when on arm64 windows (#8927) (64843b8)

17.1.3 (2022-09-08)

Bug Fixes

17.1.2 (2022-09-07)

Bug Fixes

17.1.1 (2022-09-05)

Bug Fixes

17.1.0 (2022-09-02)

Features

  • chromium: roll to Chromium 106.0.5249.0 (r1036745) (#8869) (6e9a47a)

Bug Fixes

17.0.0 (2022-08-26)

⚠ BREAKING CHANGES

  • remove root from WaitForSelectorOptions (#8848)
  • internalize execution context (#8844)

Bug Fixes

16.2.0 (2022-08-18)

Features

Bug Fixes

16.1.1 (2022-08-16)

Bug Fixes

16.1.0 (2022-08-06)

Features

Bug Fixes

  • resolve target manager init if no existing targets detected (#8748) (8cb5043), closes #8747
  • specify the target filter in setDiscoverTargets (#8742) (49193cb)

16.0.0 (2022-08-02)

⚠ BREAKING CHANGES

  • With Chromium, Puppeteer will now attach to page/iframe targets immediately to allow reliable configuration of targets.

Features

Bug Fixes

15.5.0 (2022-07-21)

Features

  • chromium: roll to Chromium 105.0.5173.0 (r1022525) (#8682) (f1b8ad3)

15.4.2 (2022-07-21)

Bug Fixes

  • taking a screenshot with null viewport should be possible (#8680) (2abb9f0), closes #8673

15.4.1 (2022-07-21)

Bug Fixes

15.4.0 (2022-07-13)

Features

Bug Fixes

15.3.2 (2022-07-08)

Bug Fixes

15.3.1 (2022-07-06)

Bug Fixes

15.3.0 (2022-07-01)

Features

Bug Fixes

15.2.0 (2022-06-29)

Features

Bug Fixes

  • clean up tmp profile dirs when browser is closed (#8580) (9787a1d)

15.1.1 (2022-06-25)

Bug Fixes

15.1.0 (2022-06-24)

Features

  • chromium: roll to Chromium 104.0.5109.0 (r1011831) (#8569) (fb7d31e)

15.0.2 (2022-06-24)

Bug Fixes

15.0.1 (2022-06-24)

Bug Fixes

15.0.0 (2022-06-23)

⚠ BREAKING CHANGES

  • type inference for evaluation types (#8547)

Features

14.4.1 (2022-06-17)

Bug Fixes

  • avoid instanceof Object check in isErrorLike (#8527) (6cd5cd0)
  • export devices, errors, and more (cba58a1)

14.4.0 (2022-06-13)

Features

Bug Fixes

14.3.0 (2022-06-07)

Features

Bug Fixes

  • don't throw on bad access (#8472) (e837866)
  • Kill browser process when killing process group fails (#8477) (7dc8e37)
  • only lookup localhost for DNS lookups (1b025b4)
  • robustly check for launch executable (#8468) (b54dc55)

14.2.1 (2022-06-02)

Bug Fixes

  • use isPageTargetCallback in Browser::pages() (#8460) (5c9050a)

14.2.0 (2022-06-01)

Features

Bug Fixes

14.1.2 (2022-05-30)

Bug Fixes

14.1.1 (2022-05-19)

Bug Fixes

  • kill browser process when 'taskkill' fails on Windows (#8352) (dccfadb)
  • only check loading iframe in lifecycling (#8348) (7438030)
  • recompile before funit and unit commands (#8363) (8735b78), closes #8362

14.1.0 (2022-05-13)

Features

  • add waitForXPath to ElementHandle (#8329) (7eaadaf)
  • allow handling other targets as pages internally (#8336) (3b66a2c)

Bug Fixes

  • disable AvoidUnnecessaryBeforeUnloadCheckSync to fix navigations (#8330) (4854ad5)
  • If currentNode and root are the same, do not include them in the result (#8332) (a61144d)

14.0.0 (2022-05-09)

⚠ BREAKING CHANGES

  • strict mode fixes for HTTPRequest/Response classes (#8297)
  • Node 12 is no longer supported.

Features

Bug Fixes

13.7.0 (2022-04-28)

Features

Bug Fixes

13.6.0 (2022-04-19)

Features

  • chromium: roll to Chromium 101.0.4950.0 (r982053) (#8213) (ec74bd8)
  • respond multiple headers with same key (#8183) (c1dcd85)

Bug Fixes

  • also kill Firefox when temporary profile is used (#8233) (b6504d7)
  • consider existing frames when waiting for a frame (#8200) (0955225)
  • disable bfcache in the launcher (#8196) (9ac7318), closes #8182
  • enable page.spec event handler test for firefox (#8214) (2b45027)
  • forget queuedEventGroup when emitting response in responseReceivedExtraInfo (#8234) (#8239) (91a8e73)
  • forget request will be sent from the _requestWillBeSentMap list. (#8226) (4b786c9)
  • ignore favicon requests in page.spec event handler tests (#8208) (04e5c88)
  • network.spec.ts: typo in the word should (#8223) (e93faad)

13.5.2 (2022-03-31)

Bug Fixes

13.5.1 (2022-03-09)

Bug Fixes

13.5.0 (2022-03-07)

Features

  • chromium: roll to Chromium 100.0.4889.0 (r970485) (#8108) (d12f427)

Bug Fixes

  • Inherit browser-level proxy settings from incognito context (#7770) (3feca32)
  • page: page.createIsolatedWorld error catching has been added (#7848) (309e8b8)
  • tests: ensure all tests honour BINARY envvar (#8092) (3b8b9ad)

13.4.1 (2022-03-01)

Bug Fixes

13.4.0 (2022-02-22)

Features

Bug Fixes

  • change kill to signal the whole process group to terminate (#6859) (0eb9c78)
  • element screenshot issue in headful mode (#8018) (5346e70), closes #7999
  • ensure dom binding is not called after detach (#8024) (5c308b0), closes #7814
  • use both __dirname and require.resolve to support different bundlers (#8046) (e6a6295), closes #8044

13.3.2 (2022-02-14)

Bug Fixes

  • always use ENV executable path when present (#7985) (6d6ea9b)
  • use require.resolve instead of __dirname (#8003) (bbb186d)

13.3.1 (2022-02-10)

Bug Fixes

13.3.0 (2022-02-09)

Features

  • puppeteer: export esm modules in package.json (#7964) (523b487)

13.2.0 (2022-02-07)

Features

  • add more models to DeviceDescriptors (#7904) (6a655cb)
  • chromium: roll to Chromium 99.0.4844.16 (r961656) (#7960) (96c3f94)

Bug Fixes

13.1.3 (2022-01-31)

Bug Fixes

13.1.2 (2022-01-25)

Bug Fixes

  • package.json: update node-fetch package (#7924) (e4c48d3)
  • types in Browser.ts to be compatible with strict mode Typescript (#7918) (a8ec0aa), closes #6769
  • types in Connection.ts to be compatible with strict mode Typescript (#7919) (d80d602), closes #6769

13.1.1 (2022-01-18)

Bug Fixes

  • use content box for OOPIF offset calculations (#7911) (344feb5)

13.1.0 (2022-01-17)

Features

  • chromium: roll to Chromium 98.0.4758.0 (r950341) (#7907) (a55c86f)

Bug Fixes

13.0.1 (2021-12-22)

Bug Fixes

  • disable a test failing on Firefox (#7846) (36207c5)
  • make sure ElementHandle.waitForSelector is evaluated in the right context (#7843) (8d8e874)
  • predicate arguments for waitForFunction (#7845) (1c44551), closes #7836

13.0.0 (2021-12-10)

⚠ BREAKING CHANGES

  • typo in 'already-handled' constant of the request interception API (#7813)

Features

  • expose HTTPRequest intercept resolution state and clarify docs (#7796) (dc23b75)
  • implement Element.waitForSelector (#7825) (c034294)

Bug Fixes

12.0.1 (2021-11-29)

Bug Fixes

  • handle extraInfo events even if event.hasExtraInfo === false (#7808) (6ee2feb), closes #7805

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 when devtools 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

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

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

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

Bug Fixes

  • remove redundant await while fetching target (#7351) (083b297)

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

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

Bug Fixes

8.0.0 (2021-02-26)

⚠ BREAKING CHANGES

  • renamed type ChromeArgOptions to BrowserLaunchArgumentOptions
  • renamed type BrowserOptions to BrowserConnectOptions

Features

Bug Fixes

7.1.0 (2021-02-12)

Features

  • page: add color-gamut support to Page.emulateMediaFeatures (#6857) (ad59357), closes #6761

Bug Fixes

7.0.4 (2021-02-09)

Bug Fixes

  • make publish bot run full build, not just tsc (#6848) (f718b14)

7.0.3 (2021-02-09)

Bug Fixes

7.0.2 (2021-02-09)

Bug Fixes

7.0.1 (2021-02-04)

Bug Fixes

  • typescript: ship .d.ts file in npm package (#6811) (a7e3c2e)

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 in Page.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 doesnt return ignored elements anymore.

Features

Bug Fixes

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)