Skip to content

sercon v0.2.0

Choose a tag to compare

@codedeviate codedeviate released this 25 May 21:36
· 1039 commits to master since this release

Quality-of-life release: rich CLI help, a feature walkthrough, a version flag, and a full manual.

Added

  • --help / -h — colourised help screen with sections, flag table, exit codes, examples, and see-also pointers. Colour auto-disables on non-TTY stdout and NO_COLOR=1; force with FORCE_COLOR=1.
  • --examples — colourised 12-section walkthrough covering logging, assertions, http, time, env, imports, require, promises, error handling, timeouts, goja built-ins, and the goja_nodejs eventloop additions.
  • --version — prints sercon vX.Y.Z, the scriptengine library version, plus goja / goja_nodejs / esbuild versions read from runtime/debug build info.
  • MANUAL.md — long-form reference: library API, CLI, the built-in api surface, goja runtime built-ins, eventloop additions, top-level await mechanics, module resolution, timeouts, error semantics, type generation, limitations.
  • pkg/scriptengine.Version — exported constant, bumped in lockstep with the git tag.

Changed

  • CLAUDE.md documents the lockstep update rule for MANUAL.md, --help, --examples, and CHANGELOG.md so the four artifacts stay aligned on future feature work.

Install / upgrade

go install github.com/codedeviate/sercon/cmd/sercon@v0.2.0

Full diff

v0.1.0...v0.2.0