Releases: gabe565/pwgen-go
Releases · gabe565/pwgen-go
v0.8.0
Changelog
Features
- be72016 feat(config): add support for loading custom wordlist files
- 52f6f23 feat(template): add
bytes
alias forrandBytes
- 1e2dae6 feat(config): add shorthand
-l
for--wordlist
flag
Fixes
- 16836c0 perf(rand): buffer reads from crypto source
- e1baecd perf(template): optimize
randBytes
- 8fa5b4a chore(deps): update github.com/spf13/cobra to ceb39ab to fix typo
Others
- bd537cf chore(config): change laravel profile template from
binary
tobytes
- f62e2dd chore(config): rename
base64
profile tobytes
- 4925f74 chore(docker): Simplify cross-compilation using
tonistiigi/xx
Dependencies
- 6094db8 chore(deps): bump github.com/go-viper/mapstructure/v2 (#73)
- 46eec00 chore(deps): bump golang.org/x/crypto from 0.31.0 to 0.35.0 (#56)
- 55bff8c chore(deps): pin github actions digests [skip ci]
- e9535f9 chore(deps): update actions/checkout action to v5 (#70)
- e04b758 chore(deps): update actions/create-github-app-token action to v2 (#53)
- 1fdaac8 chore(deps): update actions/create-github-app-token action to v2.1.1 (#68)
- 28999b6 chore(deps): update docker/login-action action to v3.5.0 (#67)
- ed01c2c chore(deps): update docker/setup-buildx-action action to v3.11.1 (#63)
- f44f251 chore(deps): update github.com/spf13/cobra digest to 3f3b818 (#62)
- a8170a5 chore(deps): update go to v1.25.0 (#52)
- 7dea5b6 chore(deps): update golangci/golangci-lint-action action to v7 (#51)
- 5f39fb1 chore(deps): update golangci/golangci-lint-action action to v8 (#61)
- 37f5f8e chore(deps): update goreleaser/goreleaser-action action to v6.4.0 (#71)
- 90e50e1 chore(deps): update module github.com/dmarkham/enumer to v1.6.1 (#72)
- d8d867e chore(deps): update module github.com/jedib0t/go-pretty/v6 to v6.6.8 (#66)
- faebbe2 chore(deps): update module github.com/knadh/koanf/providers/posflag to v1 (#58)
- ccdc5db chore(deps): update module github.com/knadh/koanf/providers/rawbytes to v1 (#59)
- 142b1a4 chore(deps): update module github.com/knadh/koanf/providers/structs to v1 (#60)
- a3be6af chore(deps): update module github.com/knadh/koanf/v2 to v2.2.2 (#57)
- 083a1aa chore(deps): update module github.com/pelletier/go-toml/v2 to v2.2.4 (#54)
- a6757de chore(deps): update module github.com/spf13/pflag to v1.0.7 (#65)
- 72655f8 chore(deps): update module github.com/stretchr/testify to v1.11.0 (#74)
v0.7.0
Changelog
Features
Fixes
- 7dee82a fix(docker): Set
org.opencontainers.image.source
label
Others
- 94ed107 chore(config): Sort default profile definitions
- 0397ac9 chore(docker): Pin dockerfile version to major tag
- 67b79e5 chore: Improve error formatting
- 63e71b4 ci(goreleaser): Disable Windows armv7 build
- ac565e7 ci(goreleaser): Download dependencies before starting builds
Dependencies
- 4566c54 chore(deps): Add code generation tools to dependency list
- da4cdd5 chore(deps): update gabe565.com/utils digest to ede73b1 (#44)
- 593b9a9 chore(deps): update go to v1.24.1 (#50)
- 8365095 chore(deps): update module github.com/jedib0t/go-pretty/v6 to v6.6.7 (#49)
- b0d36b1 chore(deps): update module github.com/muesli/termenv to v0.16.0 (#48)
- 005f532 chore(deps): update module github.com/spf13/cobra to v1.9.1 (#45)
v0.6.0
Changelog
Features
- 60a2a80 feat(profiles): Output headers and profile names as bold
- c6fd890 feat: Register each profile as a template
Fixes
- f96564d fix(profiles): Exit with an error if templating fails
- f40889a perf(profiles): Optimize profile template loading
- 45724b9 perf(profiles): Preallocate template string builder
- fd14360 perf(rand): Eliminate a copy by using a string builder
Others
- 08cd847 chore(goreleaser): Update archive format syntax
- 4669c3b chore(readme): Change example to indicate the default is now 4 words [skip ci]
- f96d15d chore: Change import path to
gabe565.com/pwgen
- 836c5ad chore: Replace command options with cobrax library
- 3bce8e2 chore: Replace flag error handling with must library
Dependencies
- 89e2ff1 chore(deps): Add enumer as versioned dependency
- a89afe7 chore(deps): bump golang.org/x/crypto from 0.26.0 to 0.31.0 (#42)
- b573ae7 chore(deps): update docker/dockerfile docker tag to v1.11 (#34)
- 70ff59c chore(deps): update docker/dockerfile docker tag to v1.13 (#39)
- 95ca721 chore(deps): update gabe565.com/utils digest to e4ad4d8 (#36)
- 22e0762 chore(deps): update go to v1.23.3 (#31)
- de69b11 chore(deps): update go to v1.24.0 (#40)
- 194930e chore(deps): update module github.com/fatih/color to v1.18.0 (#33)
- af0d91e chore(deps): update module github.com/jedib0t/go-pretty/v6 to v6.6.1 (#32)
- 264c17c chore(deps): update module github.com/jedib0t/go-pretty/v6 to v6.6.6 (#37)
- bfbcf53 chore(deps): update module github.com/knadh/koanf/v2 to v2.1.2 (#35)
- 76f45a6 chore(deps): update module github.com/spf13/cobra to v1.9.0 (#43)
- feb3e86 chore(deps): update module github.com/spf13/pflag to v1.0.6 (#41)
v0.5.0
Changelog
Features
- 843d784 feat(config): Add wordlist descriptions to shell completion
- f40f6e0 feat(docker): Add Docker image
- 7c91e31 feat: Add
django
profile - 30751dd feat: Add
randFromStr
template function
Fixes
- 1bac36d fix(wordlist): Fix runtime error if
{{ wordsWithNum 0 }}
is called - 711ae5c perf(config): Slight profile marshal optimization
Others
- 13c577e chore(config): Continue and log warning if config fails to be written
- 69d3c5a chore(config): Include template errors in profile shell completion
- a1c957e chore(deps): update go to v1.23.1 (#26)
- 3e48570 chore(deps): update module github.com/dave/jennifer to v1.7.1 (#29)
- aea8190 chore(deps): update module github.com/masterminds/sprig/v3 to v3.3.0 (#28)
- f02d02f chore(deps): update module github.com/pelletier/go-toml/v2 to v2.2.3 (#27)
- dc1e3f7 chore(golangci-lint):
exportloopref
->copyloopvar
- 60d2208 chore(goreleaser): Update deprecated field
name_template
toversion_template
- d131ed7 chore(profiles): Add
SetMarkdown()
helper func - 53c0716 chore(rand): Improve error output of
cryptoSource.Uint64()
- ab7ad14 chore(wordlist): Log wordlist info during generation
- f94afc8 chore: Rename package
template
tofuncmap
- 80f3d1c refactor(config): Move flag and completion registration into config package
- f21d948 refactor(wordlist): Add wordlist meta type
v0.4.1
v0.4.0
Changelog
Breaking Changes
- a3e6b31 chore(wordlist)!: Return an error when an unknown name is given
Features
- c218c7b feat(config): Add Laravel app key profile
Fixes
- 0fc758e fix(cmd): Fix completion example showing param when default is 0
- 412706e fix(deps): update module github.com/jedib0t/go-pretty/v6 to v6.5.9 (#19)
- 9a2505b fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.2 (#18)
- 9c1a720 perf(rand): Replace Sprig rand functions with faster implementation
Others
- 40aaa85 chore(cmd): Change
--wordlist
description to use consts - b2c2548 chore(config): Add flag name consts
- ae1c415 chore(config): Tweak flag loader to not require all names to be in mapping
- ae1d4da chore(deps): update go to v1.22.3 (#21)
- 3f120fe chore(deps): update go to v1.22.4 (#22)
- 92b7330 chore(deps): update golangci/golangci-lint-action action to v6
- 13fc3fd chore(deps): update goreleaser/goreleaser-action action to v6 (#23)
- 2926e12 chore(deps): update module github.com/spf13/cobra to v1.8.1 (#24)
- c72b67d chore(goreleaser): Add "Breaking Changes" section
- 6d57db1 chore(rand): Change var to private
- c283a44 chore(wordlist): Add timeout to generator
- b908b28 chore(wordlist): Change wordlists from global vars to funcs
- 84d6f3d chore(wordlist): Fix generator error handling
- 0cc9748 lint(rand): Fix gosec warning
v0.3.0
v0.2.0
Changelog
Features
- f2e2132 feat(cmd): Add subcommand that lists default named templates
- f2aa4ae feat(config): Add
alphanum
profile - f76305a feat(config): Add named templates
- 6eb1755 feat(template): Add aliases:
alpha
,alphaNum
, andascii
Fixes
- 158c622 fix(completions): Fix completion generator error
- 9604aae fix(deps): update module github.com/knadh/koanf/v2 to v2.1.1 (#8)
- f2af5eb fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.1 (#10)