Releases: gabe565/pwgen-go
Releases · gabe565/pwgen-go
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)
Others
v0.1.2
v0.1.1
v0.1.0
Changelog
Features
- 4f762a8 feat(cli): Add shell completion for
--config
flag - f652bfb feat(cmd): Add version flag
- 6d3cb3e feat(config): Change default template to match Bitwarden passphrase generator
- 549e826 feat(template): Add shorthand funcs:
word
,words
,number
,num
- c539b92 feat: Add EFF short wordlists
- 606e60a feat: Change wordlist to the EFF large wordlist
Fixes
- 638e779 perf(wordlist): Generate a slice of words instead of embedding the txt file
Others
- aa282fd Revert "chore(util): Change from
string
to[]byte
in template funcs" - 98397e5 chore(cli): Add long description
- adba5d4 chore(cli): Disable filename completion
- 32cb224 chore(cli): Remove
template
subcommand - baad39f chore(cmd): Indicate
template
is the default subcommand - 0185c2c chore(wordlist): Remove
init
func - 56c7e76 chore(wordlist): Rename package from wordlists to wordlist
- b5120f9 chore: Remove accidental directory
- 57866c3 chore: Use Go v1.22+ range syntax