openvibers/openvibe.services Commits

openvibe-shared v4.227.0 (was v4.225.0) (#298)

OP OpenVibers committed 15 h ago · 560abf0bb4 · 6 files, +11 −11

* openvibe-shared v4.227.0 (was v4.225.0)

Opened by scripts/pin-bump.js in OpenVibers/OpenVibe.Shared after the v4.227.0 release.

* Tests: an unversioned asset revalidates after five minutes (openvibe-shared 4.227.0 cache-policy)

Changes

ddiff --git a/README.md b/README.md
iindex 100867c..cf1c155 100644
---- a/README.md
++++ b/README.md
@@@ -290,5 +290,5 @@ Part of the [OpenVibe network](https://openvibe.network). Built in the open by [
<!-- versions:start -->
- openvibe-contracts: v0.417.0
- openvibe-sdk: v0.161.0
--- openvibe-shared: v4.225.0
++- openvibe-shared: v4.227.0
<!-- versions:end -->
ddiff --git a/STATUS.json b/STATUS.json
iindex ff50dcd..05037af 100644
---- a/STATUS.json
++++ b/STATUS.json
@@@ -9,11 +9,11 @@
"domain": "openvibe.services",
"contracts": "openvibe-contracts v0.417.0",
"sdk": "openvibe-sdk v0.161.0",
-- "shared": "openvibe-shared v4.225.0",
++ "shared": "openvibe-shared v4.227.0",
"packages": [
"openvibe-contracts v0.417.0",
"openvibe-sdk v0.161.0",
-- "openvibe-shared v4.225.0"
++ "openvibe-shared v4.227.0"
],
"capabilities": [
"services.resource.read",
ddiff --git a/package-lock.json b/package-lock.json
iindex 8190fd8..d0caed9 100644
---- a/package-lock.json
++++ b/package-lock.json
@@@ -18,7 +18,7 @@
"iovalkey": "^0.4.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.417.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.161.0",
-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.225.0",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.227.0",
"pg": "^8.23.0"
},
"devDependencies": {
@@@ -1290,9 +1290,9 @@
}
},
"node_modules/openvibe-shared": {
-- "version": "4.225.0",
-- "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.225.0",
-- "integrity": "sha512-zuZIgYODwJJ7UpDBTVnT+czEI5l6YFWqt1nbfbPeEsW6/NlmDZHJWPSGpBv223jRpvhJYH7Duea6nuRr8KZ3sg==",
++ "version": "4.227.0",
++ "resolved": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.227.0",
++ "integrity": "sha512-/PqSqCC/vw/iwvkhDipLyixPyrtTcMpPhZ8UQ35fGDfAEJt43du2MYmZetu/TUysz+iJ9/Z7+VCFsFI1XzuF3Q==",
"license": "MIT",
"dependencies": {
"clean-css": "^5.3.3",
ddiff --git a/package.json b/package.json
iindex 83dc85a..5f8b081 100644
---- a/package.json
++++ b/package.json
@@@ -29,7 +29,7 @@
"iovalkey": "^0.4.0",
"openvibe-contracts": "https://codeload.github.com/OpenVibers/OpenVibe.Contracts/tar.gz/refs/tags/v0.417.0",
"openvibe-sdk": "https://codeload.github.com/OpenVibers/OpenVibe.SDK/tar.gz/refs/tags/v0.161.0",
-- "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.225.0",
++ "openvibe-shared": "https://codeload.github.com/OpenVibers/OpenVibe.Shared/tar.gz/refs/tags/v4.227.0",
"pg": "^8.23.0"
},
"devDependencies": {
ddiff --git a/test/asset-cache.test.js b/test/asset-cache.test.js
iindex 071e0f2..d6e6f31 100644
---- a/test/asset-cache.test.js
++++ b/test/asset-cache.test.js
@@@ -3,7 +3,7 @@
* The one cache rule Services serves assets with (openvibe-shared/cache-policy, plan T11): a URL
* whose ?v= is the asset's current hash is immutable for a year, because those bytes can never
* change under the same URL; a wrong or missing ?v= may change at any moment, so it gets the
-- * short public window with a day of stale-while-revalidate. The values are pinned here against
++ * short public window with five minutes of stale-while-revalidate. The values are pinned here against
* the module, not re-stated: the site never picks its own numbers.
*/
const assert = require('assert');
@@@ -12,7 +12,7 @@ const { assetVersion } = require('../server/render/layout');
const { boot, check, done } = require('./helpers/boot');
const ASSET = 'css/services.css';
--const SHORT = 'public, max-age=300, stale-while-revalidate=86400';
++const SHORT = 'public, max-age=300, stale-while-revalidate=300';
(async () => {
const t = await boot();
ddiff --git a/test/perf-budget.test.js b/test/perf-budget.test.js
iindex 18cc1b7..2c6b5d4 100644
---- a/test/perf-budget.test.js
++++ b/test/perf-budget.test.js
@@@ -12,7 +12,7 @@ const { spawn } = require('child_process');
const { measure, check, format } = require('openvibe-shared/perf-budget');
const BUDGETS = {
-- htmlRawKB: 69.5, // 69.5 openvibe-shared v4.202.0 (2026-11-11: measured 69.2, raised by pin-bump from 69); 69: measured 68.9 with openvibe-shared 4.190.0 (2026-11-10: the site name's dropdown, the footer's online strip, the balances pill); 67.4: measured 65.4 with openvibe-shared 4.161.0, plus room for 4.162.0–4.163.0, 2026-11-09
++ htmlRawKB: 71.5, // 71.5 openvibe-shared v4.227.0 (2026-11-12: measured 71.1, raised by pin-bump from 69.5); 69.5 openvibe-shared v4.202.0 (2026-11-11: measured 69.2, raised by pin-bump from 69); 69: measured 68.9 with openvibe-shared 4.190.0 (2026-11-10: the site name's dropdown, the footer's online strip, the balances pill); 67.4: measured 65.4 with openvibe-shared 4.161.0, plus room for 4.162.0–4.163.0, 2026-11-09
htmlBrotliKB: 14.5, // 14.5: measured 14.3 with openvibe-shared 4.190.0 (2026-11-10: the site name's dropdown, the footer's online strip, the balances pill); 13.1 with the phone folds (2026-10-30); 11.5 with the Part of OpenVibe section (Shared 4.13, 2026-10-26); 10.0 with those sections (2026-10-22); 7.4
jsFiles: 5, // 5 (theme-loader, web-runtime, navbar, footer, boost: openvibe-shared/shell adds web-runtime, 2026-10-04)
jsRawKB: 394.5, // 394.5: measured 394.1 KB raw with openvibe-shared 4.197.0 (2026-11-10: the menu's row of places, the You tab's row, the Sign in mark, the tooltip); 393: measured 392.5 KB raw with openvibe-shared 4.190.0 (2026-11-10: the site name's dropdown, the footer's online strip, the balances pill); 376.4: measured 376.3 KB raw with openvibe-shared 4.186.0 (2026-11-10: the mark's Working and Thinking states, the Dock and the menu as one sheet, bare controls styled by the loader); 375.1: measured 367.1 with openvibe-shared 4.161.0, plus room for 4.162.0–4.163.0, 2026-11-09