Skip to content

Releases: cockroachdb/redact

Incremental improvements

12 Jun 16:09
@knz knz
b7e4556
Compare
Choose a tag to compare

This release bundles all the changes since v1.1.0 - including API fixes, better handling of some corner cases, a few bug fixes.

Better go fmt compatibility, fewer edge cases, faster code

25 Jun 13:11
@knz knz
2c44c49
Compare
Choose a tag to compare

This "major" release provides a revamped implementation which generally increases the compatibility of the redact code with Go's native fmt package.

In particular, it makes it possible to recursively format structs and arrays and expose safe details from them, without including the whole struct or array within redaction markers, with a few caveats. See this commit for details.

Additionally, it introduces new safe types SafeInt, SafeUint and SafeFloat to emit safe numbers in SafePrinter / SafeWriter.