Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release main #12190

Merged
merged 2 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"packages/puppeteer": "22.6.2",
"packages/puppeteer-core": "22.6.2",
"packages/puppeteer": "22.6.3",
"packages/puppeteer-core": "22.6.3",
"packages/testserver": "0.6.0",
"packages/ng-schematics": "0.6.0",
"packages/browsers": "2.2.0"
"packages/browsers": "2.2.1"
}
1 change: 1 addition & 0 deletions docs/chromium-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ The following versions of Chromium are supported, mapped to Puppeteer version. T

<!-- version-start -->

- [Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/) 123.0.6312.105 - [Puppeteer v22.6.3](https://github.com/puppeteer/puppeteer/blob/puppeteer-v22.6.3/docs/api/index.md)
- [Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/) 123.0.6312.86 - [Puppeteer v22.6.2](https://github.com/puppeteer/puppeteer/blob/puppeteer-v22.6.2/docs/api/index.md)
- [Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/) 123.0.6312.58 - [Puppeteer v22.6.0](https://github.com/puppeteer/puppeteer/blob/puppeteer-v22.6.0/docs/api/index.md)
- [Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/) 122.0.6261.128 - [Puppeteer v22.5.0](https://github.com/puppeteer/puppeteer/blob/puppeteer-v22.5.0/docs/api/index.md)
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions packages/browsers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [2.2.1](https://github.com/puppeteer/puppeteer/compare/browsers-v2.2.0...browsers-v2.2.1) (2024-04-05)


### Bug Fixes

* do not use fallback download URLs if custom baseUrl is provided ([#12206](https://github.com/puppeteer/puppeteer/issues/12206)) ([ab560bc](https://github.com/puppeteer/puppeteer/commit/ab560bcf6fee57cabde94d9d261d28ffc2112948))
* only set up a single process event listener in launch ([#12200](https://github.com/puppeteer/puppeteer/issues/12200)) ([7bc5e0f](https://github.com/puppeteer/puppeteer/commit/7bc5e0fb2dc443765e2512e4dc15fb2bcc1cb4be))

## [2.2.0](https://github.com/puppeteer/puppeteer/compare/browsers-v2.1.0...browsers-v2.2.0) (2024-03-15)


Expand Down
2 changes: 1 addition & 1 deletion packages/browsers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@puppeteer/browsers",
"version": "2.2.0",
"version": "2.2.1",
"description": "Download and launch browsers",
"scripts": {
"build:docs": "wireit",
Expand Down
17 changes: 17 additions & 0 deletions packages/puppeteer-core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,23 @@ All notable changes to this project will be documented in this file. See [standa
* dependencies
* @puppeteer/browsers bumped from 1.5.1 to 1.6.0

## [22.6.3](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v22.6.2...puppeteer-core-v22.6.3) (2024-04-05)


### Bug Fixes

* check if executablePath exists ([#12201](https://github.com/puppeteer/puppeteer/issues/12201)) ([4ec0280](https://github.com/puppeteer/puppeteer/commit/4ec02800801d441238d6160a933f88f98c5f7165))
* roll to Chrome 123.0.6312.105 (r1262506) ([#12209](https://github.com/puppeteer/puppeteer/issues/12209)) ([ee31272](https://github.com/puppeteer/puppeteer/commit/ee312721152cce61a9e9cb2b78b71b40c4fa9e64))
* wait for fonts before pdf printing ([#12175](https://github.com/puppeteer/puppeteer/issues/12175)) ([59bffce](https://github.com/puppeteer/puppeteer/commit/59bffce9720b4d5e5204b26b335735e0a5ca9cc1))
* **webdriver:** request redirect chain ([#12168](https://github.com/puppeteer/puppeteer/issues/12168)) ([d345055](https://github.com/puppeteer/puppeteer/commit/d345055af3c63effbdfb2751274b9d7137b8a308))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* @puppeteer/browsers bumped from 2.2.0 to 2.2.1

## [22.6.2](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v22.6.1...puppeteer-core-v22.6.2) (2024-03-28)


Expand Down
4 changes: 2 additions & 2 deletions packages/puppeteer-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppeteer-core",
"version": "22.6.2",
"version": "22.6.3",
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
"keywords": [
"puppeteer",
Expand Down Expand Up @@ -119,7 +119,7 @@
"author": "The Chromium Authors",
"license": "Apache-2.0",
"dependencies": {
"@puppeteer/browsers": "2.2.0",
"@puppeteer/browsers": "2.2.1",
"chromium-bidi": "0.5.16",
"debug": "4.3.4",
"devtools-protocol": "0.0.1262051",
Expand Down
15 changes: 15 additions & 0 deletions packages/puppeteer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,21 @@ All notable changes to this project will be documented in this file. See [standa
* puppeteer-core bumped from 21.0.2 to 21.0.3
* @puppeteer/browsers bumped from 1.5.1 to 1.6.0

## [22.6.3](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.6.2...puppeteer-v22.6.3) (2024-04-05)


### Bug Fixes

* deprecate configuration via package.json ([#12176](https://github.com/puppeteer/puppeteer/issues/12176)) ([c96c762](https://github.com/puppeteer/puppeteer/commit/c96c7623bc2258ba7419812333ec42cdf83bf432))


### Dependencies

* The following workspace dependencies were updated
* dependencies
* puppeteer-core bumped from 22.6.2 to 22.6.3
* @puppeteer/browsers bumped from 2.2.0 to 2.2.1

## [22.6.2](https://github.com/puppeteer/puppeteer/compare/puppeteer-v22.6.1...puppeteer-v22.6.2) (2024-03-28)


Expand Down
6 changes: 3 additions & 3 deletions packages/puppeteer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "puppeteer",
"version": "22.6.2",
"version": "22.6.3",
"description": "A high-level API to control headless Chrome over the DevTools Protocol",
"keywords": [
"puppeteer",
Expand Down Expand Up @@ -124,8 +124,8 @@
"license": "Apache-2.0",
"dependencies": {
"cosmiconfig": "9.0.0",
"puppeteer-core": "22.6.2",
"@puppeteer/browsers": "2.2.0",
"puppeteer-core": "22.6.3",
"@puppeteer/browsers": "2.2.1",
"devtools-protocol": "0.0.1262051"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
const versionsPerRelease = new Map([
// This is a mapping from Chrome version => Puppeteer version.
// In Chrome roll patches, use `NEXT` for the Puppeteer version.
['123.0.6312.105', 'NEXT'],
['123.0.6312.105', 'v22.6.3'],
['123.0.6312.86', 'v22.6.2'],
['123.0.6312.58', 'v22.6.0'],
['122.0.6261.128', 'v22.5.0'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,10 @@ Description

</td><td>

**Deprecated:**

Import [Puppeteer](./puppeteer.puppeteer.md) and use the static method [Puppeteer.clearCustomQueryHandlers()](./puppeteer.puppeteer.clearcustomqueryhandlers.md)

</td></tr>
<tr><td>

Expand All @@ -451,6 +455,10 @@ Description

</td><td>

**Deprecated:**

Import [Puppeteer](./puppeteer.puppeteer.md) and use the static method [Puppeteer.customQueryHandlerNames()](./puppeteer.puppeteer.customqueryhandlernames.md)

</td></tr>
<tr><td>

Expand Down Expand Up @@ -479,6 +487,10 @@ Description

</td><td>

**Deprecated:**

Import [Puppeteer](./puppeteer.puppeteer.md) and use the static method [Puppeteer.registerCustomQueryHandler()](./puppeteer.puppeteer.registercustomqueryhandler.md)

</td></tr>
<tr><td>

Expand All @@ -493,6 +505,10 @@ Description

</td><td>

**Deprecated:**

Import [Puppeteer](./puppeteer.puppeteer.md) and use the static method [Puppeteer.unregisterCustomQueryHandler()](./puppeteer.puppeteer.unregistercustomqueryhandler.md)

</td></tr>
</tbody></table>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,16 @@ Disconnects Puppeteer from this [browser](./puppeteer.browser.md), but leaves th

</td><td>

`deprecated`

</td><td>

Whether Puppeteer is connected to this [browser](./puppeteer.browser.md).

**Deprecated:**

Use [Browser.connected](./puppeteer.browser.md).

</td></tr>
<tr><td>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,18 @@ Closes this [browser context](./puppeteer.browsercontext.md) and all associated

</td><td>

`deprecated`

</td><td>

Whether this [browser context](./puppeteer.browsercontext.md) is incognito.

In Chrome, the [default browser context](./puppeteer.browser.defaultbrowsercontext.md) is the only non-incognito browser context.

**Deprecated:**

In Chrome, the [default browser context](./puppeteer.browser.defaultbrowsercontext.md) can also be "icognito" if configured via the arguments and in such cases this getter returns wrong results (see https://github.com/puppeteer/puppeteer/issues/8836). Also, the term "incognito" is not applicable to other browsers. To migrate, check the [default browser context](./puppeteer.browser.defaultbrowsercontext.md) instead: in Chrome all non-default contexts are incognito, and the default context might be incognito if you provide the `--incognito` argument when launching the browser.

</td></tr>
<tr><td>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,26 +232,44 @@ Drags an element over the given element or point.

</td><td>

`deprecated`

</td><td>

**Deprecated:**

Use `ElementHandle.drop` instead.

</td></tr>
<tr><td>

[dragEnter(this, data)](./puppeteer.elementhandle.dragenter.md)

</td><td>

`deprecated`

</td><td>

**Deprecated:**

Do not use. `dragenter` will automatically be performed during dragging.

</td></tr>
<tr><td>

[dragOver(this, data)](./puppeteer.elementhandle.dragover.md)

</td><td>

`deprecated`

</td><td>

**Deprecated:**

Do not use. `dragover` will automatically be performed during dragging.

</td></tr>
<tr><td>

Expand All @@ -270,8 +288,14 @@ Drops the given element onto the current one.

</td><td>

`deprecated`

</td><td>

**Deprecated:**

No longer supported.

</td></tr>
<tr><td>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,16 @@ Hovers the pointer over the center of the first element that matches the `select

</td><td>

`deprecated`

</td><td>

Is`true` if the frame has been detached. Otherwise, `false`.

**Deprecated:**

Use the `detached` getter.

</td></tr>
<tr><td>

Expand Down Expand Up @@ -340,10 +346,21 @@ Creates a locator for the provided function. See [Locator](./puppeteer.locator.m

</td><td>

`deprecated`

</td><td>

The frame's `name` attribute as specified in the tag.

**Deprecated:**

Use

```ts
const element = await frame.frameElement();
const nameOrId = await element.evaluate(frame => frame.name ?? frame.id);
```

</td></tr>
<tr><td>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Aborts a request.

```typescript
class HTTPRequest {
abstract abort(errorCode?: ErrorCode, priority?: number): Promise<void>;
abort(errorCode?: ErrorCode, priority?: number): Promise<void>;
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The most recent reason for aborting the request

```typescript
class HTTPRequest {
abstract abortErrorReason(): Protocol.Network.ErrorReason | null;
abortErrorReason(): Protocol.Network.ErrorReason | null;
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Continues request with optional request overrides.

```typescript
class HTTPRequest {
abstract continue(
continue(
overrides?: ContinueRequestOverrides,
priority?: number
): Promise<void>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The `ContinueRequestOverrides` that will be used if the interception is allowed

```typescript
class HTTPRequest {
abstract continueRequestOverrides(): ContinueRequestOverrides;
continueRequestOverrides(): ContinueRequestOverrides;
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Adds an async request handler to the processing queue. Deferred handlers are not

```typescript
class HTTPRequest {
abstract enqueueInterceptAction(
enqueueInterceptAction(
pendingHandler: () => void | PromiseLike<unknown>
): void;
}
Expand Down