DDS-Derek / xiaoya-alist

小雅Alist的相关周边
GNU General Public License v3.0
5.47k stars 788 forks source link

chore(deps): update dependency playwright to v1.47.0 #205

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
playwright (changelog) ==1.45.1 -> ==1.47.0 age adoption passing confidence

Release Notes

Microsoft/playwright-python (playwright) ### [`v1.47.0`](https://redirect.github.com/microsoft/playwright-python/releases/tag/v1.47.0) [Compare Source](https://redirect.github.com/Microsoft/playwright-python/compare/v1.46.0...v1.47.0) #### Network Tab improvements The Network tab in the trace viewer has several nice improvements: - filtering by asset type and URL - better display of query string parameters - preview of font assets ![Network tab now has filters](https://redirect.github.com/user-attachments/assets/4bd1b67d-90bd-438b-a227-00b9e86872e2) #### Miscellaneous - The `mcr.microsoft.com/playwright-python:v1.47.0` now serves a Playwright image based on Ubuntu 24.04 Noble. To use the 22.04 jammy-based image, please use `mcr.microsoft.com/playwright-python:v1.47.0-jammy` instead. - The `:latest`/`:focal`/`:jammy` tag for Playwright Docker images is no longer being published. Pin to a specific version for better stability and reproducibility. - TLS client certificates can now be passed from memory by passing `cert` and `key` as bytes instead of file paths. - `no_wait_after` in [locator.selectOption()](https://playwright.dev/python/docs/api/class-locator#locator-select-option) was deprecated. - We've seen reports of WebGL in Webkit misbehaving on GitHub Actions `macos-13`. We recommend upgrading GitHub Actions to `macos-14`. #### Browser Versions - Chromium 129.0.6668.29 - Mozilla Firefox 130.0 - WebKit 18.0 This version was also tested against the following stable channels: - Google Chrome 128 - Microsoft Edge 128 ### [`v1.46.0`](https://redirect.github.com/microsoft/playwright-python/releases/tag/v1.46.0) [Compare Source](https://redirect.github.com/Microsoft/playwright-python/compare/v1.45.1...v1.46.0) #### TLS Client Certificates Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication. You can provide client certificates as a parameter of [browser.new_context()](https://playwright.dev/python/docs/api/class-browser#browser-new-context) and [api_request.new_context()](https://playwright.dev/python/docs/api/class-apirequest#api-request-new-context). The following snippet sets up a client certificate for `https://example.com`: ```python context = browser.new_context( client_certificates=[ { "origin": "https://example.com", "certPath": "client-certificates/cert.pem", "keyPath": "client-certificates/key.pem", } ], ) ``` When using the [Pytest plugin](https://playwright.dev/python/docs/test-runners), it can be added like this: ```python @​pytest.fixture(scope="session") def browser_context_args(browser_context_args): return { **browser_context_args, "client_certificates": [ { "origin": "https://example.com", "certPath": "client-certificates/cert.pem", "keyPath": "client-certificates/key.pem", } ], } ``` #### Trace Viewer Updates - Content of text attachments is now rendered inline in the attachments pane. - New setting to show/hide routing actions like [route.continue\_()](https://playwright.dev/python/docs/api/class-route#route-continue). - Request method and status are shown in the network details tab. - New button to copy source file location to clipboard. - Metadata pane now displays the `base_url`. #### Miscellaneous - New `max_retries` option in [apiRequestContext.fetch()](https://playwright.dev/python/docs/api/class-apirequestcontext#api-request-context-fetch) which retries on the `ECONNRESET` network error. #### Browser Versions - Chromium 128.0.6613.18 - Mozilla Firefox 128.0 - WebKit 18.0 This version was also tested against the following stable channels: - Google Chrome 127 - Microsoft Edge 127

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 2 months ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (==1.47.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.