Skip to content

Commit

Permalink
Opt in to the new Chrome headless implementation for PDF-export, see h…
Browse files Browse the repository at this point in the history
  • Loading branch information
fniessink committed Jun 6, 2023
1 parent 22291bf commit 1062a4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion components/renderer/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ app.get("/api/render", async (req, res) => {
const browser = await puppeteer.launch({
defaultViewport: { width: 1500, height: 1000 },
args: ['--disable-dev-shm-usage', '--no-sandbox'],
headless: true,
// Opt in to new Chrome headless implementation, see https://developer.chrome.com/articles/new-headless/:
headless: "new",
});
const webPage = await browser.newPage();
await webPage.goto(url, {
Expand Down
6 changes: 2 additions & 4 deletions docs/src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,11 @@ See the [deployment instructions](https://quality-time.readthedocs.io/en/latest/

### Changed

- Write a more descriptive issue summary and description for issues created from Quality-time. Closes [#4747](https://github.com/ICTU/quality-time/issues/4747).
- Change the default sort order of dates in a quality report from descending to ascending. Closes [#5998](https://github.com/ICTU/quality-time/issues/5998).
- Opt in to the new Chrome headless implementation for PDF-export, see https://developer.chrome.com/articles/new-headless/. Closes [#6149](https://github.com/ICTU/quality-time/issues/6149).
- Throw a timeout error when collecting measurement data from a source takes longer than the configured time between measurement attempts (this can be changed via the `MAX_SLEEP_DURATION` environment variable which has a default value of 20 seconds). Partially fixes [#6220](https://github.com/ICTU/quality-time/issues/6220).

### Changed

- Write a more descriptive issue summary and description for issues created from Quality-time. Closes [#4747](https://github.com/ICTU/quality-time/issues/4747).

## v4.10.0 - 2023-04-26

### Deployment notes
Expand Down

0 comments on commit 1062a4b

Please sign in to comment.