puppeteer/versions.js

75 lines
2.3 KiB
JavaScript
Raw Normal View History

/**
* Copyright 2020 Google Inc. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const versionsPerRelease = new Map([
// This is a mapping from Chrome version => Puppeteer version.
// In Chrome roll patches, use `NEXT` for the Puppeteer version.
['114.0.5735.90', 'v20.6.0'],
['113.0.5672.63', 'v20.1.0'],
['112.0.5615.121', 'v20.0.0'],
['112.0.5614.0', 'v19.8.0'],
['111.0.5556.0', 'v19.7.0'],
chore: release main (#9501) :robot: I have created a release *beep* *boop* --- <details><summary>puppeteer: 19.6.0</summary> ## [19.6.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.5.2...puppeteer-v19.6.0) (2023-01-23) ### Miscellaneous Chores * **puppeteer:** Synchronize puppeteer versions ### Dependencies * The following workspace dependencies were updated * dependencies * puppeteer-core bumped from 19.5.2 to 19.6.0 </details> <details><summary>puppeteer-core: 19.6.0</summary> ## [19.6.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.5.2...puppeteer-core-v19.6.0) (2023-01-23) ### Features * **chromium:** roll to Chromium 110.0.5479.0 (r1083080) ([#9500](https://github.com/puppeteer/puppeteer/issues/9500)) ([06e816b](https://github.com/puppeteer/puppeteer/commit/06e816bbfa7b9ca84284929f654de7288c51169d)), closes [#9470](https://github.com/puppeteer/puppeteer/issues/9470) * **page:** Adding support for referrerPolicy in `page.goto` ([#9561](https://github.com/puppeteer/puppeteer/issues/9561)) ([e3d69ec](https://github.com/puppeteer/puppeteer/commit/e3d69ec554beeac37bd206a21921d2fed3cb968c)) ### Bug Fixes * firefox revision resolution should not update chrome revision ([#9507](https://github.com/puppeteer/puppeteer/issues/9507)) ([f59bbf4](https://github.com/puppeteer/puppeteer/commit/f59bbf4014644dec6f395713e8403939aebe06ea)), closes [#9461](https://github.com/puppeteer/puppeteer/issues/9461) * improve screenshot method types ([#9529](https://github.com/puppeteer/puppeteer/issues/9529)) ([6847f88](https://github.com/puppeteer/puppeteer/commit/6847f8835f28e97edba6fce76a4cbf85561482b9)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-01-23 16:48:02 +00:00
['110.0.5479.0', 'v19.6.0'],
chore: release main (#9322) :robot: I have created a release *beep* *boop* --- <details><summary>puppeteer: 19.4.0</summary> ## [19.4.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-v19.3.0...puppeteer-v19.4.0) (2022-12-07) ### Features * **chromium:** roll to Chromium 109.0.5412.0 (r1069273) ([#9364](https://github.com/puppeteer/puppeteer/issues/9364)) ([1875da6](https://github.com/puppeteer/puppeteer/commit/1875da61916df1fbcf98047858c01075bd9af189)), closes [#9233](https://github.com/puppeteer/puppeteer/issues/9233) ### Dependencies * The following workspace dependencies were updated * dependencies * puppeteer-core bumped from 19.3.0 to 19.4.0 </details> <details><summary>puppeteer-core: 19.4.0</summary> ## [19.4.0](https://github.com/puppeteer/puppeteer/compare/puppeteer-core-v19.3.0...puppeteer-core-v19.4.0) (2022-12-07) ### Features * ability to send headers via ws connection to browser in node.js environment ([#9314](https://github.com/puppeteer/puppeteer/issues/9314)) ([937fffa](https://github.com/puppeteer/puppeteer/commit/937fffaedc340ea12d5f6636d3ba6598cb22e397)), closes [#7218](https://github.com/puppeteer/puppeteer/issues/7218) * **chromium:** roll to Chromium 109.0.5412.0 (r1069273) ([#9364](https://github.com/puppeteer/puppeteer/issues/9364)) ([1875da6](https://github.com/puppeteer/puppeteer/commit/1875da61916df1fbcf98047858c01075bd9af189)), closes [#9233](https://github.com/puppeteer/puppeteer/issues/9233) * **puppeteer-core:** keydown supports commands ([#9357](https://github.com/puppeteer/puppeteer/issues/9357)) ([b7ebc5d](https://github.com/puppeteer/puppeteer/commit/b7ebc5d9bb9b9940ffdf470e51d007f709587d40)) ### Bug Fixes * **puppeteer-core:** avoid type instantiation errors ([#9370](https://github.com/puppeteer/puppeteer/issues/9370)) ([17f31a9](https://github.com/puppeteer/puppeteer/commit/17f31a9ee408ca5a08fe6dbceb8915e710156bd3)), closes [#9369](https://github.com/puppeteer/puppeteer/issues/9369) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2022-12-07 18:35:29 +00:00
['109.0.5412.0', 'v19.4.0'],
2022-10-26 07:51:16 +00:00
['108.0.5351.0', 'v19.2.0'],
['107.0.5296.0', 'v18.1.0'],
['106.0.5249.0', 'v17.1.0'],
['105.0.5173.0', 'v15.5.0'],
['104.0.5109.0', 'v15.1.0'],
['103.0.5059.0', 'v14.2.0'],
2022-05-09 13:13:07 +00:00
['102.0.5002.0', 'v14.0.0'],
['101.0.4950.0', 'v13.6.0'],
2022-03-07 12:58:56 +00:00
['100.0.4889.0', 'v13.5.0'],
2022-02-07 14:35:33 +00:00
['99.0.4844.16', 'v13.2.0'],
2022-01-17 14:40:56 +00:00
['98.0.4758.0', 'v13.1.0'],
2021-11-26 08:58:29 +00:00
['97.0.4692.0', 'v12.0.0'],
2021-08-04 12:45:31 +00:00
['93.0.4577.0', 'v10.2.0'],
2021-05-31 12:34:04 +00:00
['92.0.4512.0', 'v10.0.0'],
2021-04-21 11:18:09 +00:00
['91.0.4469.0', 'v9.0.0'],
['90.0.4427.0', 'v8.0.0'],
2021-02-03 15:33:32 +00:00
['90.0.4403.0', 'v7.0.0'],
2021-02-02 12:32:13 +00:00
['89.0.4389.0', 'v6.0.0'],
2021-01-25 06:33:45 +00:00
['88.0.4298.0', 'v5.5.0'],
['87.0.4272.0', 'v5.4.0'],
['86.0.4240.0', 'v5.3.0'],
['85.0.4182.0', 'v5.2.1'],
['84.0.4147.0', 'v5.1.0'],
['83.0.4103.0', 'v3.1.0'],
['81.0.4044.0', 'v3.0.0'],
['80.0.3987.0', 'v2.1.0'],
['79.0.3942.0', 'v2.0.0'],
['78.0.3882.0', 'v1.20.0'],
['77.0.3803.0', 'v1.19.0'],
['76.0.3803.0', 'v1.17.0'],
['75.0.3765.0', 'v1.15.0'],
['74.0.3723.0', 'v1.13.0'],
['73.0.3679.0', 'v1.12.2'],
]);
// Should not be more than 2 major versions behind Chrome Stable (https://chromestatus.com/roadmap).
const lastMaintainedChromeVersion = '112.0.5615.121';
if (!versionsPerRelease.has(lastMaintainedChromeVersion)) {
throw new Error(
'lastMaintainedChromeVersion is missing from versionsPerRelease'
);
}
module.exports = {
versionsPerRelease,
lastMaintainedChromeVersion,
};