Skip to content

v0.1.13

@jefuriiij jefuriiij tagged this 29 May 05:22
The footer was hardcoded to v0.1.8 in src/dashboard/public/index.html
and never updated as releases shipped -- still showed v0.1.8 on
machines running 0.1.12.

Replace the literal with a __SYN_VERSION__ placeholder and have the
dashboard's GET / handler swap it for the running binary's version
(read from package.json via the same tsup-inlined import pattern that
powers `syn --version`).

No /data API change -- version is a server-side template substitution,
not a polled field. The dashboard reflects the new version the moment
you re-run `syn .` after an update (which restarts the dashboard on the
new binary).

bump 0.1.12 -> 0.1.13
Assets 2
Loading