Release Process
Bodhi Map is meant to be kept current — every release can highlight what’s new so returning users immediately see the additions. This page is the maintainer checklist.
The “what’s new” mechanism
- Each concept can carry an
added: "<version>"field in its frontmatter. okf.config.jsdefines the currentRELEASE = { version, label }.- The app marks every concept where
added === RELEASE.versionas new: a green ring on the graph node, a “✦ New in" badge in its detail panel, and a **New** chip in the top bar that spotlights the new concepts *together with their neighbors* (so additions show wired into the map). The validator reports the new-count after each build.
Because the highlight is keyed to the current version, bumping the version automatically “clears” last release’s highlights and lights up the new ones.
Checklist for a new release (e.g. 0.4.0 → 0.5.0)
- Author the new/updated concepts (see Concept Authoring). On each genuinely new concept, set:
added: "0.5.0"(Tag only what’s actually new this release — don’t re-tag older concepts.)
- Bump the release marker in
okf.config.js:const RELEASE = { version: '0.5.0', label: 'v0.5.0' }; - Bump
package.jsonversionto match (0.5.0). - Rebuild & validate:
npm run buildConfirm
✓ no errorsand that the report’snew in 0.5.0: Ncount matches what you tagged. Commit the regeneratedjs/data.js. - Update docs: concept/edge counts in
README.md(the build report prints them), and any feature notes. Update this wiki if behavior changed. - Sanity-check in the browser (
npm start): click the New chip — the tagged concepts should light up with their connections. - Tag & publish:
git tag v0.5.0 git push && git push --tagsWrite release notes summarizing the new concepts and any feature changes (the New filter is a quick way to enumerate them).
Versioning
Use semver-ish increments:
- patch (0.4.0 → 0.4.1) — corrections, source fixes, small copy edits, no new concepts.
- minor (0.4.0 → 0.5.0) — new concepts, clusters, or features.
- major — a structural change to the schema or app.
Keeping the highlight honest
The point of the highlight is “what changed this release.” Keep it meaningful:
- Tag only new (or substantially reworked) concepts with the current version.
- Don’t leave stale
added:values from older releases bumped forward. - If a release ships only fixes (no new concepts), the New chip auto-hides — that’s expected.