Skip to content

v1.3.0 — startup logging and a masked config table

Choose a tag to compare

@bakhod1r bakhod1r released this 06 Aug 14:26
· 27 commits to main since this release

Load stays silent by default; three opt-in ways to see what was loaded.

  • WithTable(w) — aligned KEY / VALUE / SOURCE table after a successful load.
  • WithLogger(l) — every file read and field resolved, at debug level, to a *slog.Logger.
  • Print(w, cfg) — render an already-decoded config as a table.

Secrets are partially masked in all three; WithSecretReveal(n) sets the window. Redacted and RedactedMap are unchanged.

Superseded by v1.4.0 hours later, which masks secrets in full by default and changes the Print / WithTable signatures. Prefer v1.4.0.

Full changelog: https://github.com/bakhod1r/oneenv/blob/main/CHANGELOG.md