Skip to content

Commit ff11273

Browse files
committed
cherry-pick(#32010): docs: release notes for 1.46 update
1 parent 4953ac3 commit ff11273

File tree

4 files changed

+145
-11
lines changed

4 files changed

+145
-11
lines changed

docs/src/release-notes-csharp.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,50 @@ title: "Release notes"
44
toc_max_heading_level: 2
55
---
66

7+
## Version 1.46
8+
9+
### TLS Client Certificates
10+
11+
Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.
12+
13+
You can provide client certificates as a parameter of [`method: Browser.newContext`] and [`method: APIRequest.newContext`]. The following snippet sets up a client certificate for `https://example.com`:
14+
15+
```csharp
16+
var context = await Browser.NewContextAsync(new() {
17+
ClientCertificates = [
18+
new() {
19+
Origin = "https://example.com",
20+
CertPath = "client-certificates/cert.pem",
21+
KeyPath = "client-certificates/key.pem",
22+
}
23+
]
24+
});
25+
```
26+
27+
### Trace Viewer Updates
28+
29+
- Content of text attachments is now rendered inline in the attachments pane.
30+
- New setting to show/hide routing actions like [`method: Route.continue`].
31+
- Request method and status are shown in the network details tab.
32+
- New button to copy source file location to clipboard.
33+
- Metadata pane now displays the `BaseURL`.
34+
35+
### Miscellaneous
36+
37+
- New `maxRetries` option in [`method: APIRequestContext.fetch`] which retries on the `ECONNRESET` network error.
38+
39+
### Browser Versions
40+
41+
- Chromium 128.0.6613.18
42+
- Mozilla Firefox 128.0
43+
- WebKit 18.0
44+
45+
This version was also tested against the following stable channels:
46+
47+
- Google Chrome 127
48+
- Microsoft Edge 127
49+
50+
751
## Version 1.45
852

953
### Clock

docs/src/release-notes-java.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,45 @@ title: "Release notes"
44
toc_max_heading_level: 2
55
---
66

7+
## Version 1.46
8+
9+
### TLS Client Certificates
10+
11+
Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.
12+
13+
You can provide client certificates as a parameter of [`method: Browser.newContext`] and [`method: APIRequest.newContext`]. The following snippet sets up a client certificate for `https://example.com`:
14+
15+
```java
16+
BrowserContext context = browser.newContext(new Browser.NewContextOptions()
17+
.setClientCertificates(asList(new ClientCertificate("https://example.com")
18+
.setCertPath(Paths.get("client-certificates/cert.pem"))
19+
.setKeyPath(Paths.get("client-certificates/key.pem")))));
20+
```
21+
22+
### Trace Viewer Updates
23+
24+
- Content of text attachments is now rendered inline in the attachments pane.
25+
- New setting to show/hide routing actions like [`method: Route.continue`].
26+
- Request method and status are shown in the network details tab.
27+
- New button to copy source file location to clipboard.
28+
- Metadata pane now displays the `baseURL`.
29+
30+
### Miscellaneous
31+
32+
- New `maxRetries` option in [`method: APIRequestContext.fetch`] which retries on the `ECONNRESET` network error.
33+
34+
### Browser Versions
35+
36+
- Chromium 128.0.6613.18
37+
- Mozilla Firefox 128.0
38+
- WebKit 18.0
39+
40+
This version was also tested against the following stable channels:
41+
42+
- Google Chrome 127
43+
- Microsoft Edge 127
44+
45+
746
## Version 1.45
847

948
### Clock

docs/src/release-notes-js.md

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@ export default defineConfig({
3333

3434
You can also provide client certificates to a particular [test project](./api/class-testproject#test-project-use) or as a parameter of [`method: Browser.newContext`] and [`method: APIRequest.newContext`].
3535

36+
### `--only-changed` cli option
37+
38+
New CLI option `--only-changed` allows to only run test files that have been changed since the last git commit or from a specific git "ref".
39+
40+
```sh
41+
# Only run test files with uncommitted changes
42+
npx playwright test --only-changed
43+
44+
# Only run test files changed relative to the "main" branch
45+
npx playwrigh test --only-changed=main
46+
```
47+
3648
### Component Testing: New `router` fixture
3749

3850
This release introduces an experimental `router` fixture to intercept and handle network requests in component testing.
@@ -59,29 +71,24 @@ test('example test', async ({ mount }) => {
5971

6072
This fixture is only available in [component tests](./test-components#handling-network-requests).
6173

62-
### Test runner
63-
64-
- New CLI option `--only-changed` to only run test files that have been changed since the last commit or from a specific git "ref".
65-
- New option to [box a fixture](./test-fixtures#box-fixtures) to minimize the fixture exposure in test reports and error messages.
66-
- New option to provide a [custom fixture title](./test-fixtures#custom-fixture-title) to be used in test reports and error messages.
67-
6874
### UI Mode / Trace Viewer Updates
6975

70-
- New testing options pane in the UI mode to control test execution, for example "single worker" or "headed browser".
71-
- New setting to show/hide routing actions like `route.continue`.
76+
- Test annotations are now shown in UI mode.
77+
- Content of text attachments is now rendered inline in the attachments pane.
78+
- New setting to show/hide routing actions like [`method: Route.continue`].
7279
- Request method and status are shown in the network details tab.
7380
- New button to copy source file location to clipboard.
74-
- Content of text attachments is now rendered inline in the attachments pane.
7581
- Metadata pane now displays the `baseURL`.
7682

7783
### Miscellaneous
7884

7985
- New `maxRetries` option in [`method: APIRequestContext.fetch`] which retries on the `ECONNRESET` network error.
80-
- Improved link rendering inside annotations and attachments in the html report.
86+
- New option to [box a fixture](./test-fixtures#box-fixtures) to minimize the fixture exposure in test reports and error messages.
87+
- New option to provide a [custom fixture title](./test-fixtures#custom-fixture-title) to be used in test reports and error messages.
8188

8289
### Browser Versions
8390

84-
- Chromium 128.0.6613.7
91+
- Chromium 128.0.6613.18
8592
- Mozilla Firefox 128.0
8693
- WebKit 18.0
8794

docs/src/release-notes-python.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,50 @@ title: "Release notes"
44
toc_max_heading_level: 2
55
---
66

7+
## Version 1.46
8+
9+
### TLS Client Certificates
10+
11+
Playwright now allows to supply client-side certificates, so that server can verify them, as specified by TLS Client Authentication.
12+
13+
You can provide client certificates as a parameter of [`method: Browser.newContext`] and [`method: APIRequest.newContext`]. The following snippet sets up a client certificate for `https://example.com`:
14+
15+
```python
16+
context = browser.new_context(
17+
client_certificates=[
18+
{
19+
"origin": "https://example.com",
20+
"certPath": "client-certificates/cert.pem",
21+
"keyPath": "client-certificates/key.pem",
22+
}
23+
],
24+
)
25+
```
26+
27+
### Trace Viewer Updates
28+
29+
- Content of text attachments is now rendered inline in the attachments pane.
30+
- New setting to show/hide routing actions like [`method: Route.continue`].
31+
- Request method and status are shown in the network details tab.
32+
- New button to copy source file location to clipboard.
33+
- Metadata pane now displays the `base_url`.
34+
35+
### Miscellaneous
36+
37+
- New `maxRetries` option in [`method: APIRequestContext.fetch`] which retries on the `ECONNRESET` network error.
38+
39+
### Browser Versions
40+
41+
- Chromium 128.0.6613.18
42+
- Mozilla Firefox 128.0
43+
- WebKit 18.0
44+
45+
This version was also tested against the following stable channels:
46+
47+
- Google Chrome 127
48+
- Microsoft Edge 127
49+
50+
751
## Version 1.45
852

953
### Clock

0 commit comments

Comments
 (0)