Changeset 90259da in Klonkt


Ignore:
Timestamp:
06/19/2026 09:09:45 AM (3 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
5c27e8e
Parents:
323abb0
Message:

feat: release tracking — version in footer links to /changelog

  • CHANGELOG.md as source of truth; version bump 1.0.0-beta.1 -> beta.2.
  • Public /changelog page renders the changelog (marked) + shows the federation proto alongside the app version.
  • Footer version ("Klonkt Beta vX") is now a link to /changelog.

Circles: app version is independent of KLONKT_PROTO (federation proto,
now 2) — a version bump does not affect federation. The /changelog page
shows the proto explicitly so each release makes it clear which
federation version the instance speaks.

Co-Authored-By: Claude <noreply@…>

Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • package.json

    r323abb0 r90259da  
    11{
    22  "name": "klonkt",
    3   "version": "1.0.0-beta.1",
     3  "version": "1.0.0-beta.2",
    44  "description": "Klonkt — zelf-gehost multi-site muziek- & blogplatform met community, realtime en (later) E2EE DMs. Node + SQLite + htmx.",
    55  "type": "module",
  • src/server.js

    r323abb0 r90259da  
    6161import showsRoutes from './routes/shows.js';
    6262import adminShowsRoutes from './routes/admin-shows.js';
     63import changelogRoutes from './routes/changelog.js';
    6364
    6465if (!process.env.SESSION_SECRET) {
     
    283284app.use('/', embedRoutes); // /embed inbedbare audiospeler (premium)
    284285app.use('/', showsRoutes); // /shows agenda + notify-me (premium)
     286app.use('/', changelogRoutes); // /changelog publieke release-/wijzigingen-pagina
    285287app.use('/', postsRoutes);
    286288
  • src/views/partials/footer.ejs

    r323abb0 r90259da  
    2020    </button>
    2121    <div class="footer-meta">
    22       <span>Klonkt Beta<%= (typeof appVersion !== 'undefined' && appVersion) ? ' v' + appVersion : '' %></span>
     22      <a class="footer-version" href="<%= (typeof siteUrlBase !== 'undefined' && siteUrlBase) ? siteUrlBase : '' %>/changelog" title="Bekijk wat er per release veranderd is">Klonkt Beta<%= (typeof appVersion !== 'undefined' && appVersion) ? ' v' + appVersion : '' %></a>
    2323      <%# Mobile-only theme toggle. On desktop the topnav has its own toggle
    2424          so we hide this one to avoid two visible toggles at once. The same
     
    101101  display: inline-flex; align-items: center; gap: 0.75rem;
    102102}
     103.footer-version { color: inherit; text-decoration: none; }
     104.footer-version:hover { color: var(--accent); text-decoration: underline; }
    103105.pcms-main { min-height: 50vh; }
    104106
Note: See TracChangeset for help on using the changeset viewer.