Skip to content

Commit fab3043

Browse files
authored
chore: v1.54 release notes (#36620)
1 parent ba32a24 commit fab3043

File tree

4 files changed

+127
-8
lines changed

4 files changed

+127
-8
lines changed

docs/src/release-notes-csharp.md

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

7+
## Version 1.54
8+
9+
- New cookie property `PartitionKey` in [`method: BrowserContext.cookies`] and [`method: BrowserContext.addCookies`]. This property allows to save and restore partitioned cookies. See [CHIPS MDN article](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies) for more information. Note that browsers have different support and defaults for cookie partitioning.
10+
11+
- New option `--user-data-dir` in multiple commands. You can specify the same user data dir to reuse browsing state, like authentication, between sessions.
12+
```bash
13+
pwsh bin/Debug/netX/playwright.ps1 codegen --user-data-dir=./user-data
14+
```
15+
16+
- `pwsh bin/Debug/netX/playwright.ps1 open` does not open the test recorder anymore. Use `pwsh bin/Debug/netX/playwright.ps1 codegen` instead.
17+
18+
- Chromium has been changing WebGL support, based on the available GPU. There is a new flag `--enable-gpu` available in [chromium headless shell](./browsers.md#chromium-headless-shell) that you can try on your hardware.
19+
20+
### Browser Versions
21+
22+
- Chromium 139.0.7258.5
23+
- Mozilla Firefox 140.0.2
24+
- WebKit 26.0
25+
26+
This version was also tested against the following stable channels:
27+
28+
- Google Chrome 140
29+
- Microsoft Edge 140
30+
731
## Version 1.53
832

933
### Miscellaneous
1034

11-
- New Steps in Trace Viewer:
35+
- New Steps in Trace Viewer:
1236
![New Trace Viewer Steps](https://github.com/user-attachments/assets/1963ff7d-4070-41be-a79b-4333176921a2)
1337
- New method [`method: Locator.describe`] to describe a locator. Used for trace viewer.
1438
```csharp
@@ -31,7 +55,7 @@ This version was also tested against the following stable channels:
3155
## Version 1.52
3256

3357
### Highlights
34-
58+
3559
- New method [`method: LocatorAssertions.toContainClass`] to ergonomically assert individual class names on the element.
3660

3761
```csharp

docs/src/release-notes-java.md

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

7+
## Version 1.54
8+
9+
- New cookie property `partitionKey` in [`method: BrowserContext.cookies`] and [`method: BrowserContext.addCookies`]. This property allows to save and restore partitioned cookies. See [CHIPS MDN article](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies) for more information. Note that browsers have different support and defaults for cookie partitioning.
10+
11+
- New option `--user-data-dir` in multiple commands. You can specify the same user data dir to reuse browsing state, like authentication, between sessions.
12+
```bash
13+
mvn exec:java -e -D exec.mainClass=com.microsoft.playwright.CLI -D exec.args="codegen --user-data-dir=./user-data"
14+
```
15+
16+
- `open` command does not open the test recorder anymore. Use `codegen` instead.
17+
18+
- Chromium has been changing WebGL support, based on the available GPU. There is a new flag `--enable-gpu` available in [chromium headless shell](./browsers.md#chromium-headless-shell) that you can try on your hardware.
19+
20+
### Browser Versions
21+
22+
- Chromium 139.0.7258.5
23+
- Mozilla Firefox 140.0.2
24+
- WebKit 26.0
25+
26+
This version was also tested against the following stable channels:
27+
28+
- Google Chrome 140
29+
- Microsoft Edge 140
30+
731
## Version 1.53
832

933
### Miscellaneous
1034

11-
- New Steps in Trace Viewer:
35+
- New Steps in Trace Viewer:
1236
![New Trace Viewer Steps](https://github.com/user-attachments/assets/1963ff7d-4070-41be-a79b-4333176921a2)
1337
- New method [`method: Locator.describe`] to describe a locator. Used for trace viewer.
1438
```java
@@ -31,7 +55,7 @@ This version was also tested against the following stable channels:
3155
## Version 1.52
3256

3357
### Highlights
34-
58+
3559
- New method [`method: LocatorAssertions.toContainClass`] to ergonomically assert individual class names on the element.
3660

3761
```java

docs/src/release-notes-js.md

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,58 @@ toc_max_heading_level: 2
66

77
import LiteYouTube from '@site/src/components/LiteYouTube';
88

9+
## Version 1.54
10+
11+
### Highlights
12+
13+
- New cookie property `partitionKey` in [`method: BrowserContext.cookies`] and [`method: BrowserContext.addCookies`]. This property allows to save and restore partitioned cookies. See [CHIPS MDN article](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies) for more information. Note that browsers have different support and defaults for cookie partitioning.
14+
15+
- New option `noSnippets` to disable snippets in the html report.
16+
```js
17+
import { defineConfig } from '@playwright/test';
18+
19+
export default defineConfig({
20+
reporter: [['html', { noSnippets: true }]]
21+
});
22+
```
23+
24+
- New property `location` in test annotations, for example in [`property: TestResult.annotations`] and [`property: TestInfo.annotations`]. It shows where the annotation like `test.skip` or `test.fixme` was added.
25+
26+
### Command Line
27+
28+
- New option `--user-data-dir` in multiple commands. You can specify the same user data dir to reuse browsing state, like authentication, between sessions.
29+
```bash
30+
npx playwright codegen --user-data-dir=./user-data
31+
```
32+
33+
- Option `-gv` has been removed from the `npx playwright test` command. Use `--grep-invert` instead.
34+
35+
- `npx playwright open` does not open the test recorder anymore. Use `npx playwright codegen` instead.
36+
37+
### Miscellaneous
38+
39+
- Support for Node.js 16 has been removed.
40+
41+
- Support for Node.js 18 has been deprecated, and will be removed in the future.
42+
43+
- Chromium has been changing WebGL support, based on the available GPU. There is a new flag `--enable-gpu` available in [chromium headless shell](./browsers.md#chromium-headless-shell) that you can try on your hardware.
44+
45+
### Browser Versions
46+
47+
- Chromium 139.0.7258.5
48+
- Mozilla Firefox 140.0.2
49+
- WebKit 26.0
50+
51+
This version was also tested against the following stable channels:
52+
53+
- Google Chrome 140
54+
- Microsoft Edge 140
55+
956
## Version 1.53
1057

1158
### Trace Viewer and HTML Reporter Updates
1259

13-
- New Steps in Trace Viewer and HTML reporter:
60+
- New Steps in Trace Viewer and HTML reporter:
1461
![New Trace Viewer Steps](https://github.com/user-attachments/assets/1963ff7d-4070-41be-a79b-4333176921a2)
1562
- New option in `'html'` reporter to set the title of a specific test run:
1663
```js
@@ -45,7 +92,7 @@ This version was also tested against the following stable channels:
4592
## Version 1.52
4693

4794
### Highlights
48-
95+
4996
- New method [`method: LocatorAssertions.toContainClass`] to ergonomically assert individual class names on the element.
5097

5198
```ts

docs/src/release-notes-python.md

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

7+
## Version 1.54
8+
9+
- New cookie property `partition_key` in [`method: BrowserContext.cookies`] and [`method: BrowserContext.addCookies`]. This property allows to save and restore partitioned cookies. See [CHIPS MDN article](https://developer.mozilla.org/en-US/docs/Web/Privacy/Guides/Privacy_sandbox/Partitioned_cookies) for more information. Note that browsers have different support and defaults for cookie partitioning.
10+
11+
- New option `--user-data-dir` in multiple commands. You can specify the same user data dir to reuse browsing state, like authentication, between sessions.
12+
```bash
13+
playwright codegen --user-data-dir=./user-data
14+
```
15+
16+
- `playwright open` does not open the test recorder anymore. Use `playwright codegen` instead.
17+
18+
- Chromium has been changing WebGL support, based on the available GPU. There is a new flag `--enable-gpu` available in [chromium headless shell](./browsers.md#chromium-headless-shell) that you can try on your hardware.
19+
20+
### Browser Versions
21+
22+
- Chromium 139.0.7258.5
23+
- Mozilla Firefox 140.0.2
24+
- WebKit 26.0
25+
26+
This version was also tested against the following stable channels:
27+
28+
- Google Chrome 140
29+
- Microsoft Edge 140
30+
731
## Version 1.53
832

933
### Miscellaneous
1034

11-
- New Steps in Trace Viewer:
35+
- New Steps in Trace Viewer:
1236
![New Trace Viewer Steps](https://github.com/user-attachments/assets/1963ff7d-4070-41be-a79b-4333176921a2)
1337
- New method [`method: Locator.describe`] to describe a locator. Used for trace viewer.
1438
```python
@@ -31,7 +55,7 @@ This version was also tested against the following stable channels:
3155
## Version 1.52
3256

3357
### Highlights
34-
58+
3559
- New method [`method: LocatorAssertions.toContainClass`] to ergonomically assert individual class names on the element.
3660

3761
```python

0 commit comments

Comments
 (0)