From 3f2640336c0757f5691754f56fc9b6d5022e246e Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 22 Mar 2023 20:05:46 +0000 Subject: [PATCH] cherry-pick(#21886): docs: add release notes for js --- docs/src/release-notes-csharp.md | 20 ++++++++++++++++ docs/src/release-notes-java.md | 20 ++++++++++++++++ docs/src/release-notes-js.md | 41 ++++++++++++++++++++++++++++++++ docs/src/release-notes-python.md | 21 ++++++++++++++++ 4 files changed, 102 insertions(+) diff --git a/docs/src/release-notes-csharp.md b/docs/src/release-notes-csharp.md index 0172a21391..2466ccce25 100644 --- a/docs/src/release-notes-csharp.md +++ b/docs/src/release-notes-csharp.md @@ -4,6 +4,26 @@ title: "Release notes" toc_max_heading_level: 2 --- +## Version 1.32 + +### New APIs + +- New options [`option: updateMode`] and [`option: updateContent`] in [`method: Page.routeFromHAR`] and [`method: BrowserContext.routeFromHAR`]. +- Chaining existing locator objects, see [locator docs](./locators.md#chaining-locators) for details. +- New option [`option: name`] in method [`method: Tracing.startChunk`]. + +### Browser Versions + +* Chromium 112.0.5615.29 +* Mozilla Firefox 111.0 +* WebKit 16.4 + +This version was also tested against the following stable channels: + +* Google Chrome 111 +* Microsoft Edge 111 + + ## Version 1.31 ### New APIs diff --git a/docs/src/release-notes-java.md b/docs/src/release-notes-java.md index 00e728ecbe..5b5b3b1cf0 100644 --- a/docs/src/release-notes-java.md +++ b/docs/src/release-notes-java.md @@ -4,6 +4,26 @@ title: "Release notes" toc_max_heading_level: 2 --- +## Version 1.32 + +### New APIs + +- New options [`option: updateMode`] and [`option: updateContent`] in [`method: Page.routeFromHAR`] and [`method: BrowserContext.routeFromHAR`]. +- Chaining existing locator objects, see [locator docs](./locators.md#chaining-locators) for details. +- New option [`option: name`] in method [`method: Tracing.startChunk`]. + +### Browser Versions + +* Chromium 112.0.5615.29 +* Mozilla Firefox 111.0 +* WebKit 16.4 + +This version was also tested against the following stable channels: + +* Google Chrome 111 +* Microsoft Edge 111 + + ## Version 1.31 ### New APIs diff --git a/docs/src/release-notes-js.md b/docs/src/release-notes-js.md index 4b13a86527..58debcd1ce 100644 --- a/docs/src/release-notes-js.md +++ b/docs/src/release-notes-js.md @@ -6,6 +6,47 @@ toc_max_heading_level: 2 import LiteYouTube from '@site/src/components/LiteYouTube'; +## Version 1.32 + +### Introducing UI Mode (preview) + +New UI Mode lets you explore, run and debug tests. Comes with a built-in watch mode. + +Playwright UI Mode + +Engage with a new flag `--ui`: + +```sh +npx playwright test --ui +``` + +### New APIs + +- New options [`option: updateMode`] and [`option: updateContent`] in [`method: Page.routeFromHAR`] and [`method: BrowserContext.routeFromHAR`]. +- Chaining existing locator objects, see [locator docs](./locators.md#chaining-locators) for details. +- New property [`property: TestInfo.testId`]. +- New option [`option: name`] in method [`method: Tracing.startChunk`]. + + +### ⚠️ Breaking change in component tests + +Note: **component tests only**, does not affect end-to-end tests. + +* `@playwright/experimental-ct-react` now supports **React 18 only**. +* If you're running component tests with React 16 or 17, please replace + `@playwright/experimental-ct-react` with `@playwright/experimental-ct-react17`. + +### Browser Versions + +* Chromium 112.0.5615.29 +* Mozilla Firefox 111.0 +* WebKit 16.4 + +This version was also tested against the following stable channels: + +* Google Chrome 111 +* Microsoft Edge 111 + ## Version 1.31