@cosmicdrift/kumiko-renderer-puppeteer-client 0.413.1 → 0.414.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/src/changes.json +12 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-renderer-puppeteer-client",
3
- "version": "0.413.1",
3
+ "version": "0.414.0",
4
4
  "description": "Renderer-Foundation plugin: HTTP client for puppeteer-service (PDF + image snapshot via remote browser).",
5
5
  "license": "MIT",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -19,13 +19,13 @@
19
19
  }
20
20
  },
21
21
  "dependencies": {
22
- "@cosmicdrift/kumiko-bundled-features": "0.413.1",
23
- "@cosmicdrift/kumiko-framework": "0.413.1",
24
- "@cosmicdrift/kumiko-renderer-mail-html": "0.413.1",
25
- "@cosmicdrift/kumiko-types": "0.413.1"
22
+ "@cosmicdrift/kumiko-bundled-features": "0.414.0",
23
+ "@cosmicdrift/kumiko-framework": "0.414.0",
24
+ "@cosmicdrift/kumiko-renderer-mail-html": "0.414.0",
25
+ "@cosmicdrift/kumiko-types": "0.414.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@cosmicdrift/kumiko-testing": "0.413.1"
28
+ "@cosmicdrift/kumiko-testing": "0.414.0"
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",
package/src/changes.json CHANGED
@@ -1,4 +1,16 @@
1
1
  [
2
+ {
3
+ "version": "0.414.0",
4
+ "type": "fix",
5
+ "title": "Idle Chromium is closed after BROWSER_IDLE_TIMEOUT_MS",
6
+ "detail": "The service kept Chromium running after the first render (about 480 MiB instead of 17 MiB idle). It now closes the browser after `BROWSER_IDLE_TIMEOUT_MS` (default 300000) without a render and launches it again on the next render, which pays a cold start. `/metrics` gains the gauge `puppeteer_browser_running`."
7
+ },
8
+ {
9
+ "version": "0.414.0",
10
+ "type": "fix",
11
+ "title": "puppeteer-service image reaps Chromium child processes",
12
+ "detail": "The service ran bun as PID 1, which does not reap orphaned processes, so every idle close of Chromium left zombie chromium and crashpad processes in the pod. The image now starts through tini, which reaps them and forwards SIGTERM to the service."
13
+ },
2
14
  {
3
15
  "version": "0.391.0",
4
16
  "type": "improvement",