Skip to content

chore(deps): Update module github.com/goforj/godump to v1.10.0 - #94

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/non-major-dependencies
Oct 17, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/non-major-dependencies

Conversation

@renovate

@renovate renovate Bot commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/goforj/godump v1.9.1 → v1.10.0 age confidence

Release Notes

goforj/godump (github.com/goforj/godump)

v1.10.0

Compare Source

GoDump v1.10.0 adds two opt-in ways to make dumps easier to read and control what they show.

Hide type annotations

Use WithoutTypes() to keep value colors and structure while omitting annotations such as #string, #int, and struct type names:

d := godump.NewDumper(godump.WithoutTypes(), godump.WithoutHeader())
d.Dump("hello")
// "hello"

Works with text, HTML, and diffs. Existing output stays unchanged unless the option is enabled. See #​72, addressing #​60.

Redact by serialization tags

Use WithRedactTags("json", "xml") to redact fields whose selected tag values equal "-". Call WithRedactTags() or WithRedactTags("*") to check every tag key.

type User struct {
    Name       string
    Credential string `json:"-"`
}

d := godump.NewDumper(
    godump.WithRedactTags("json"),
    godump.WithoutTypes(),
    godump.WithoutHeader(),
)
d.Dump(User{Name: "Alice", Credential: "secret"})
// {
//   +Name       => "Alice"
//   +Credential => <redacted>
// }

Redaction follows traversal through nested and embedded structs and collections. Matching is exact and case-sensitive. JSON helpers keep their existing marshaling behavior; use WithDisableStringer(true) when tagged structs need field traversal instead of custom String() output. See #​74, addressing #​59.

Maintenance and compatibility

  • Updated documentation, generated runnable examples, and development commands.
  • Added repository security and supply-chain checks and refined dependency maintenance.
  • Retained Go 1.18 compatibility, zero external library dependencies, and 100% main-package statement coverage.

Thanks to @​marvinpeter95 for the original WithoutTypes() contribution in #​65, which this release builds on.

Full changelog: goforj/godump@v1.9.1...v1.10.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot merged commit 2491756 into main Oct 17, 2026
8 checks passed
@renovate
renovate Bot deleted the renovate/non-major-dependencies branch October 17, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants