Skip to content

Velocity v2.0.0

Choose a tag to compare

@github-actions github-actions released this 16 May 02:33
· 92 commits to main since this release
64a54ca

Velocity v2.0.0

Fast, zero-allocation structured logging for Go with rich terminal output.

Install

go get github.com/tensorfoundrylabs/velocity@v2.0.0

Changelog

Other

  • 049605f: ConsoleWriterRB: use isTTY trust model so Secure fields are redacted on non-TTY output (@thushan)
  • f386cc4: SetTheme(nil) regression test: Theme/Style/cfg all agree on NightOwl after reset (@thushan)
  • afba7ac: Status: gate on sampler, include baseFields, redact secure tags on console path (@thushan)
  • 9a4e6fa: StatusItem: apply trust-aware rendering to Secure fields so TTY shows plaintext (@thushan)
  • 5864eb2: add ContinuationBlock renderable for inline banner output (@thushan)
  • dec780e: add Group renderable for count-headed indented blocks (@thushan)
  • 6575387: add Hyperlink helper with OSC 8 and TTY detection (@thushan)
  • d305973: add Logger pretty conveniences for renderables in root (@thushan)
  • 074821b: add Notify channel for ephemeral operator output (@thushan)
  • 529e336: add RingBufferWriter built-in for in-process log capture (@thushan)
  • 7e41473: add StatusItem renderable and Logger.Status method (@thushan)
  • fbbbe5f: add field-level redaction and tag with auto-skip (@thushan)
  • 00d25ac: add v1.1.3 perf baseline and CI alloc-regression gate (@thushan)
  • 3ef13ae: add writer capability interfaces and per-writer trust opt-in (@thushan)
  • e11288f: bump module path to /v2 for semver compliance (@thushan)
  • 59da601: clarify RemoveWriter doc: worker closes the writer, do not double-close (@thushan)
  • d21ce3c: consolidate Logger surface; Detailed/Component/Request as child loggers (@thushan)
  • 42cd68d: docs (@thushan)
  • a1fd4f7: examples polish: pretty-output mutex, stale comments, badge token, makefile default (@thushan)
  • ce66b68: extract stateful types to velocity/live, kill pretty package (@thushan)
  • ac1b123: fix Logger.Style fallback so colour follows the active theme (@thushan)
  • 67b99e4: fix NO_COLOR and piped-mode ANSI leaks in renderables and Pretty (@thushan)
  • d5b6bd1: fix WithProduction routing to stderr — was nil, so no output was produced (@thushan)
  • b7ad101: fix colour pipeline end-to-end: FORCE_COLOR/NO_COLOR, TTY-gated templates, TTYRenderable (@thushan)
  • 75d8be6: fix console writer to emit colour when no theme is explicitly configured (@thushan)
  • 52b7806: fix examples: use log.Style() and gate hyperlinks on TTY (@thushan)
  • 6204677: fix race on afterSequenceSpinHook test hook via atomic pointer (@thushan)
  • 0dba400: fix scanSecure propagation to child loggers created before AddWriter (@thushan)
  • 5000008: gate hyperlinks on real TTY in examples; fix ring-buffer subscriber race (@thushan)
  • 194ea5a: gofumpt: collapse consecutive bool params in writeStatusFields (@thushan)
  • d858b8e: kill Builder; single New() with option presets (@thushan)
  • 81eb5e3: live: honour NO_COLOR and FORCE_COLOR env vars in progress and spinner types (@thushan)
  • 372953b: live: skip control sequences when writer is not a terminal (@thushan)
  • 6392d69: make status badges compact and uniform; OK->OKAY, PENDING->WAIT (@thushan)
  • 733833d: merge Pretty facade into root, drop method/constructor asymmetry (@thushan)
  • 3c2e892: move renderables to root, drop Result suffix (@thushan)
  • 6fa488c: polish examples and docs for v2; add hyperlinks example (@thushan)
  • fbb7ead: pre-tag cleanup: corrected comparative benchmarks, refresh stale docs (@thushan)
  • f6d6dd3: rebuild theme as immutable construct; add semantic style slots (@thushan)
  • 403d22e: redesign Logger.Status to render inline; drop isTTY from renderable constructors (@thushan)
  • aaf4068: rename slog bridge package to slogbridge (@thushan)
  • cddd668: retain NopLogger; fix changelog NopLogger and Bullet entries (@thushan)
  • 1ecf8d1: rewrite CLAUDE.md for v2.0: tighter, dropped test-file table, removed legacy notes (@thushan)
  • fd5a65d: run secure tag scan in LogEntry so slogbridge messages get redacted (@thushan)
  • 218e1ed: share writer topology between parent and child loggers via writerSet (@thushan)
  • de26800: split perf-gate out of make ready into its own target (@thushan)
  • 1f4583e: tolerate Sync errors on Close so redirected stdout doesn't panic (@thushan)
  • 9ed9121: update changelog with v2 review fixes: ConsoleWriterRB trust, StatusItem Secure fields (@thushan)
  • 9db3154: v2.0.0 bench baseline, changelog, and final docs (@thushan)

Docs: pkg.go.dev/github.com/tensorfoundrylabs/velocity