Skip to content

Releases: gabe565/pwgen-go

v0.5.0

11 Sep 08:00
69d3c5a
Compare
Choose a tag to compare

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 to version_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 to funcmap
  • 80f3d1c refactor(config): Move flag and completion registration into config package
  • f21d948 refactor(wordlist): Add wordlist meta type

v0.4.1

07 Aug 07:46
03d5ea3
Compare
Choose a tag to compare

Changelog

Fixes

  • 91f1a03 chore(cmd): Clean up version logic and prefix with * if tree is dirty
  • b360ad5 fix(template): sprig.FuncMap() -> sprig.TxtFuncMap()
  • 699aaea perf(cmd): Don't generate profile help text unless subcommand is called
  • 0d78d24 perf(cmd): Optimize buffered writer

Others

  • 03d5ea3 chore(cmd): Change Diceware wordlist text to a hyperlink
  • 7560230 chore(deps): update go to v1.22.6 (#25)
  • 1ed95de chore(rand): Clean up duplicate code
  • fe80742 chore(rand): Remove unnecessary functions

v0.4.0

25 Jun 09:51
6d57db1
Compare
Choose a tag to compare

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

27 Apr 00:43
9a12ab7
Compare
Choose a tag to compare

Changelog

Features

  • 71ef9ae feat(template): Add binary func

Fixes

  • c94249d fix(cmd): Fix template error details being hidden

Others

  • 2972674 chore(cmd): Only complete profile param separator after a profile is chosen
  • 9a12ab7 chore(cmd): Only complete profile param separator if the template uses a param
  • a358642 chore(config): Omit empty profile param

v0.2.0

26 Apr 09:58
f2af5eb
Compare
Choose a tag to compare

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, and ascii

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

  • 43d4aa6 chore(config): Add param to skip saving config file
  • 3b37539 chore(deps): update go to v1.22.2 (#9)
  • 1ff3def chore(deps): update golangci/golangci-lint-action action to v5 (#17)
  • cf94bc6 chore(goreleaser): brews.folder -> brews.directory
  • 490f06d refactor: Replace named templates with profiles

v0.1.2

25 Mar 07:52
0e92f69
Compare
Choose a tag to compare

Changelog

Fixes

  • 38f9a30 fix(cmd): Trigger error if flag completions are defined incorrectly
  • c80c0e6 fix(deps): update module github.com/pelletier/go-toml/v2 to v2.2.0 (#7)

Others

  • a6d5da8 chore(cmd): Disable file completions for flags
  • 0e92f69 chore(cmd): Slight output optimization

v0.1.1

11 Mar 09:12
d14b502
Compare
Choose a tag to compare

Changelog

Fixes

  • d14b502 fix(goreleaser): Fix man page installation error

v0.1.0

11 Mar 09:07
17b8478
Compare
Choose a tag to compare

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

v0.0.2

07 Mar 17:09
9ae62cd
Compare
Choose a tag to compare

Changelog

Features

  • 9ae62cd feat(cmd): Call template subcommand by default
  • 58b833c feat(config): Add config file support

Others

  • ef87b18 chore(gitignore): Ignore binaries

v0.0.1

07 Mar 01:06
33e982a
Compare
Choose a tag to compare

Changelog

Features

  • 2b93e12 feat(rand): Change from math/rand to crypto/rand
  • 5fc3225 feat: Generate completions during build
  • 8d016ce feat: Generate docs
  • f045485 feat: Generate man pages during build
  • 2886952 feat: Initial commit

Fixes

  • f3095ca fix(deps): update module github.com/spf13/cobra to v1.8.0 (#4)
  • 4b46301 fix(man): Fix sub man pages not being generated
  • d2aa182 fix(rand): Fix rand param not being used

Others

  • 015da2f build(deps): Bump golang.org/x/crypto from 0.13.0 to 0.17.0 (#1)
  • c92eccc chore(cmd): Change template desciption to be plural
  • 2be4912 chore(deps): Update indirect dependencies
  • 2a03f3f chore(deps): update go to v1.22.1 (#3)
  • 763ebe2 chore(deps): update golangci/golangci-lint-action action to v4 (#6)
  • 0f08785 chore(gitignore): Ignore dist dir
  • db9637a chore(gitignore): Ignore man pages
  • 33e982a chore(goreleaser): Rename binary to pwgen
  • 19076e5 chore(pre-commit): Add Pre-Commit config
  • 9c4439f chore(util): Change from string to []byte in template funcs
  • 5261aa1 chore: Add license and readme to build output
  • 6223e05 chore: Configure Renovate (#2)
  • 3b243a1 ci: Add build job
  • 0686fcd ci: Add test and lint jobs
  • 77975f8 ci: Fix GitHub app repo name
  • fea9ba1 ci: Remove cache key hack