Skip to content

gdenticon v2.0.0

Choose a tag to compare

@hourinX hourinX released this 28 Oct 09:15
· 15 commits to main since this release

gdenticon v2.0.0

gdenticon v2 introduces a redesigned generation and output architecture, multi-format image support, expanded test coverage, new branding, and an interactive CLI.

Highlights

  • Separate generation, rendering, encoding, and filesystem responsibilities
  • Support PNG, SVG, JPEG, GIF, BMP, and TIFF output
  • Add deterministic hash-derived and fixed colours
  • Add a unified Write API
  • Add strict interactive CLI mode
  • Add the gdenticon logo and designer Gopher mascot
  • Expand unit-test coverage
  • Migrate the Go module to github.com/hourinX/gdenticon/v2

Breaking changes

  • The Go module path now includes /v2
  • The previous Save and WritePNG APIs have been replaced
  • Generation now uses GenerateOptions
  • Filesystem operations are provided by pkg/gdenticon/file

Installation

go install github.com/hourinX/gdenticon/v2/cmd/gdenticon@v2.0.0