From 30a92bd5f049354ed41db5a40b2057514a0916fb Mon Sep 17 00:00:00 2001 From: Oliver-Marcus Eder Date: Fri, 28 Aug 2026 08:46:47 +0200 Subject: [PATCH] fix(site): pin playground validator to 0.1.1 (schema v1.3.0 with side/arc) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The playground loaded @opencoachingformat/validator@0.1.0, whose bundled schema predates RFC 0004 — so plays using the new side/arc fields were rejected via additionalProperties. Bump to the freshly published 0.1.1 (vendored schema v1.3.0) and re-pin OCF_VALIDATOR_COMMIT to the matching main commit for the error-codes.json fetch. Co-Authored-By: Claude Opus 4.8 --- site/src/lib/validator-version.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/lib/validator-version.mjs b/site/src/lib/validator-version.mjs index c4fe15f..11c9315 100644 --- a/site/src/lib/validator-version.mjs +++ b/site/src/lib/validator-version.mjs @@ -14,13 +14,13 @@ // This is a plain .mjs (not .ts) so it can be imported both by Astro pages // (via Vite) and directly by scripts/build-adoc.mjs, which runs under plain // `node` with no TypeScript loader configured. -export const OCF_VALIDATOR_VERSION = '0.1.0'; +export const OCF_VALIDATOR_VERSION = '0.1.1'; const JSDELIVR_NPM_BASE = `https://cdn.jsdelivr.net/npm/@opencoachingformat/validator@${OCF_VALIDATOR_VERSION}`; export const OCF_VALIDATOR_BROWSER_URL = `${JSDELIVR_NPM_BASE}/dist/browser/browser.js`; -export const OCF_VALIDATOR_COMMIT = 'aa4b8e0a4e4629f8eec943ff33bf1e98c35946fc'; +export const OCF_VALIDATOR_COMMIT = '45a11869cfe170269d53a91890063b9ccc95f5fd'; const JSDELIVR_GH_BASE = `https://cdn.jsdelivr.net/gh/opencoachingformat/ocf-validator@${OCF_VALIDATOR_COMMIT}`;