changeloguru/CHANGELOG.md

816 lines
15 KiB
Markdown
Raw Normal View History

2020-11-10 11:09:18 +00:00
# CHANGELOG
2022-09-21 17:41:59 +00:00
## v1.18.0 (2022-09-22)
### Added
- feat: auto tag and git push (2022-09-04)
### Fixed
- fix: git tag need message (2022-09-04)
- fix: missing flag (2022-09-04)
### Others
- build(deps): bump github.com/urfave/cli/v2 from 2.16.2 to 2.16.3 (2022-09-13)
- build(deps): bump github.com/urfave/cli/v2 from 2.14.1 to 2.16.2 (2022-09-12)
- build(deps): bump github.com/urfave/cli/v2 from 2.14.0 to 2.14.1 (2022-09-06)
- build(deps): bump github.com/urfave/cli/v2 from 2.11.2 to 2.14.0 (2022-09-02)
- chore: update github action (2022-08-16)
- chore: update license (2022-08-16)
- chore(changelog): generate v1.17.0 (2022-08-16)
2022-08-15 18:25:34 +00:00
## v1.17.0 (2022-08-16)
### Added
- feat: show command generate help if no input flags (2022-08-16)
- feat: remove all default value (2022-08-16)
### Others
- chore: use github changelog for goreleaser (2022-08-16)
- chore: update github action (2022-08-16)
- chore: capitalized log (2022-08-16)
- chore: use my own go-test-color (2022-08-16)
- build(deps): bump github.com/urfave/cli/v2 from 2.11.1 to 2.11.2 (2022-08-15)
- build(deps): bump github.com/make-go-great/color-go from 0.3.0 to 0.4.1 (2022-07-22)
- build(deps): bump github.com/urfave/cli/v2 from 2.11.0 to 2.11.1 (2022-07-21)
- build(deps): bump github.com/urfave/cli/v2 from 2.10.3 to 2.11.0 (2022-07-11)
- chore: use make-go-great/date-go (2022-07-04)
- build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.8.0 (2022-07-04)
- chore: correct directory for dependabot (2022-07-04)
- chore: bump workflows v2 to v3 (2022-07-04)
- chore: add dependabot (2022-07-04)
- chore(changelog): generate v1.16.0 (2022-07-04)
2022-07-03 17:51:10 +00:00
## v1.16.0 (2022-07-04)
### Added
- feat: auto commit after generating changelog (2022-07-03)
- feat: remove command version (2022-06-25)
### Fixed
- fix: use exec cmd instead of go-git (2022-07-04)
- fix: correct path when commit (2022-07-03)
### Others
- chore: remove sonar (2022-07-03)
- chore: fix lint with error (2022-07-03)
- chore: G306: Expect WriteFile permissions to be 0600 or less (gosec) (2022-07-03)
- chore: fix lint using fieldalignment (2022-07-03)
- refactor: realOutput -> finalOutput (2022-07-03)
- chore: remove semgrep, only need golangci-lint (2022-07-03)
- chore: add golangci config (2022-07-03)
- chore: remove roadmap (2022-07-03)
- build: bump github.com/urfave/cli/v2 v2.10.3 (2022-06-25)
- build: bump github.com/urfave/cli/v2 v2.10.0 (2022-06-18)
- chore(changelog): generate v1.15.3 (2022-06-01)
2022-06-01 07:42:25 +00:00
## v1.15.3 (2022-06-01)
### Others
- refactor: hide git commit if empty (2022-06-01)
- chore(changelog): generate v1.15.2 (2022-06-01)
2022-06-01 07:40:10 +00:00
## v1.15.2 (2022-06-01)
### Added
- feat: add main module version (2022-06-01)
### Others
- chore(changelog): generate v1.15.1 (2022-06-01)
2022-06-01 06:30:07 +00:00
## v1.15.1 (2022-06-01)
### Fixed
- fix: wrong alias generate (2022-06-01)
### Others
- chore: correct command version (2022-06-01)
- build: bump github.com/make-go-great/buildinfo-go v0.0.2 (2022-06-01)
- chore: bump actions/checkout v3 (2022-06-01)
- chore(changelog): generate v1.15.0 (2022-05-31)
2022-05-31 11:10:54 +00:00
## v1.15.0 (2022-05-31)
### Added
- feat: add command version (2022-05-31)
### Others
- chore: update roadmap (2022-05-31)
- chore: update roadmap (2022-05-31)
- chore(changelog): generate v1.14.1 (2022-05-27)
2022-05-27 14:52:41 +00:00
## v1.14.1 (2022-05-27)
### Added
- feat: make interactive default true (2022-04-23)
### Others
- build: bump github.com/urfave/cli/v2 v2.8.1 (2022-05-27)
- build: bump github.com/urfave/cli/v2 v2.8.0 (2022-05-23)
- build: bump github.com/urfave/cli/v2 v2.6.0 (2022-05-06)
- build: update go.mod (2022-04-23)
- build: bump go 1.18 (2022-03-16)
- chore(changelog): generate v1.14.0 (2022-02-07)
2022-02-07 16:14:06 +00:00
## v1.14.0 (2022-02-07)
### Added
- feat: init interactive mode (2022-02-07)
### Others
- chore: put version before from, to (2022-02-07)
- chore: use cli default (2022-02-07)
- chore: sonar ignore cli internal (2022-02-07)
- chore: bump year license (2022-02-07)
- chore: better naming (2022-02-07)
- chore: refactor naming, with purpose prefix (2022-02-07)
- chore: explain --from, --to (2022-02-07)
- build: run go get -u ./... (2022-02-03)
- chore: update roadmap (2022-02-03)
- chore(changelog): generate v1.13.2 (2021-12-11)
2021-12-11 03:47:32 +00:00
## v1.13.2 (2021-12-11)
### Others
- chore: bump rst-go (2021-12-11)
- chore: bump markdown-go (2021-12-11)
- chore: bump color-go (2021-12-11)
- chore: bump clock-go v0.3.0 (2021-12-11)
- chore: update README badge (2021-12-02)
- chore(changelog): generate v1.13.1 (2021-11-14)
2021-11-14 06:30:18 +00:00
## v1.13.1 (2021-11-14)
### Others
- chore: add goreleaser (2021-11-14)
- chore: run go mod tidy with go v1.17 (2021-11-11)
- test: update git repository unit test (2021-11-06)
- chore: ignore main.go in sonar checking (2021-11-06)
- chore(sonar): missing sonar.organization (2021-11-06)
- chore: adding sonar properties (2021-11-06)
- chore: add more rules to semgrep (2021-11-06)
- chore: add semgrep rules (2021-11-06)
- chore: split golangci-lint from go github action (2021-11-06)
- chore: bump go.mod (2021-11-06)
- chore(readme): add sonar badge (2021-08-21)
- Reduce complex logWithStopFn (#22) (2021-08-21)
- chore(readme): add codecov badge (2021-08-21)
- chore: add codecov (2021-08-21)
- build: update go.mod (2021-08-19)
- chore: bump go 1.17 in github action (2021-08-19)
- build: update go.mod (2021-08-04)
- build: update go.mod (2021-07-09)
- build: update go.mod (2021-06-23)
- chore: add NodeJS to gitignore (2021-06-16)
- chore(changelog): generate v1.13.0 (2021-06-16)
2021-06-16 18:14:17 +00:00
## v1.13.0 (2021-06-16)
### Added
- feat: support generate changelog with type rst (#20) (2021-06-03)
- feat: split double newline for markdown (2021-05-31)
- feat: remove markdown.NewLine (2021-05-31)
### Others
- test: unit test for filter commits with scope (2021-06-16)
- chore(readme): add rst filetype (2021-06-16)
- refactor: split filter outside generate markdown and rst (2021-06-16)
- build: update go.mod (2021-06-16)
- build: update go.mod (2021-06-03)
- build: update go.mod (2021-06-01)
- build: update go.mod (2021-05-30)
- build: update go.mod (2021-05-24)
- chore(readme): correct link how to install (2021-05-11)
- chore(changelog): generate v1.12.0 (2021-05-11)
2021-05-11 05:06:30 +00:00
## v1.12.0 (2021-05-11)
### Added
- feat: return error when commit is empty (2021-05-11)
- Revert "feat: skip empty commit" (2021-05-11)
- feat: skip empty commit (2021-05-11)
### Others
- refactor: move left, rightScope char to const (2021-05-11)
- docs: explain why skip error commit (2021-05-11)
- chore: no need to check flag when use a.log() (2021-05-11)
- build: update go.mod (2021-05-10)
- chore: remove Dockerfile (2021-05-10)
- build: update go.mod (2021-05-07)
- build: update go.mod (2021-05-05)
- chore(changelog): generate v1.11.0 (2021-05-05)
2021-05-05 09:15:18 +00:00
## v1.11.0 (2021-05-05)
### Added
- feat: use markdown-go (#19) (2021-05-05)
### Others
- refactor: move main to cmd (#18) (2021-05-05)
- refactor: use internal instead pkg (#17) (2021-05-05)
- chore: improve wording, typo (#16) (2021-04-26)
- chore(changelog): generate v1.10.0 (2021-04-23)
2021-04-23 03:52:23 +00:00
## v1.10.0 (2021-04-23)
### Added
- feat: add color to dry run (#14) (2021-04-23)
### Others
- refactor(cli): move all cli related to cli pkg (#15) (2021-04-23)
- chore(changelog): generate v1.9.1 (2021-04-15)
2021-04-15 04:59:29 +00:00
## v1.9.1 (2021-04-15)
### Fixed
- fix: correct time layout (#13) (2021-04-15)
### Others
- chore(changelog): generate v1.9.0 (2021-04-15)
2021-04-15 04:29:49 +00:00
## v1.9.0 (2021-4-15)
### Added
- feat: show time of each commit as the default (#12) (2021-4-15)
### Others
- chore(changelog): generate v1.8.0 (2021-4-14)
2021-04-14 10:14:48 +00:00
## v1.8.0 (2021-4-14)
### Added
- feat: add dry run (#10)
- feat: use my own color pkg to wrap fatih/color (#9)
### Others
- chore(reamde): add --dry-run and --scope flag in guide
- refactor: better changelog parser and generator (#11)
- build: update go.mod
- chore(changelog): generate v1.7.0
2021-04-11 09:21:34 +00:00
## v1.7.0 (2021-4-11)
### Others
- chore: only run github action on main branch (#8)
- refactor: use better commands and flags name (#7)
- chore(changelog): generate v1.6.0
2021-03-29 13:58:28 +00:00
## v1.6.0 (2021-3-29)
### Others
- docs: documenting export methods (#6)
- build: bump go-git v5.3.0
- chore: better build with many OS
- chore(readme): remove lgtm alerts badge
- chore: use semver for future 1.16 go version
- chore(changelog): generate v1.5.0
2021-03-22 05:47:56 +00:00
## v1.5.0 (2021-3-22)
### Added
- feat: support filter commit scope (#5)
### Others
- build: update go.mod
- chore: bump go 1.16.2 in github action
- chore: use go 1.16.x in github action
- chore: remove gotip from github action
- chore: remove gotip build as time consuming
- chore: use semver go version in github action
- chore(changelog): generate v1.4.0
2021-03-17 05:14:50 +00:00
## v1.4.0 (2021-3-17)
### Added
- feat: deprecated ioutil
### Others
- chore: bump go 1.16 in Dockerfile
- build: bump go 1.16 in go.mod
- build: update go.mod
- chore(readme): add guide for install with go 1.16
- chore: bump go v1.16, golangci-lint v1.37 in github action
- build: update go.mod
- build: update go.mod
- chore(license): bump 2021
- chore(changelog): generate v1.3.0
2021-01-20 07:58:16 +00:00
## v1.3.0 (2021-1-20)
### Others
- chore(markdown): re-format file
- chore: move fmtErr global var
- chore: typo defaultRepository
- build: update go.mod
- build: update go.mod
- chore(readme): add lgtm badge
- chore(changelog): generate v1.2.0
2021-01-11 18:38:16 +00:00
## v1.2.0 (2021-1-12)
### Fixed
- fix: no newline at end of file
### Others
- test(changelog): unit test for misc type
- test(convention): unit test for misc type
- refactor(convention): replace commit parseHeader with updateType
- chore: update gitignore
- chore: build generally with go tip
- chore(changelog): generate v1.1.0
2021-01-07 04:34:28 +00:00
## v1.1.0 (2021-1-7)
### Added
- feat(cli): remove use of args
### Others
- chore(cli): remove unused log debug
- refactor(cli): change name -> appName
- refactor(cli): replace flags map with directly field
- chore(changelog): generate v1.0.0
2021-01-05 11:00:10 +00:00
## v1.0.0 (2021-1-5)
### Added
- feat(convention): remove directly access conventional commit
- feat(cli): remove default version
- feat(cli): remove unused output filename
- feat(git): stop with begin, end fn
- feat(git): only use git log, remove logIncludeTo
- feat(cli): args is need, I was wrong
- feat(cli): this program doest not need any args
- feat: only use --to to replace --exclude-to, --include-to
- feat(cli): use --debug instead of --verbose
- feat(cli): correct description cli
- feat: exit gracefully
### Fixed
- fix(cli): correct --debug short alias
### Others
- chore(git): useless type cast
- chore(cli): lowercase debug message
- chore(cli): remove default flags
- chore(readme): remove --include-to, --exclude-to in guide
- chore(readme): add thanks Command Line Interface Guidelines
- chore(cli): FILETYPE is a misc
- refactor(cli): rename output path to real output
- refactor(cli): rename output-dir to output
- chore(cli): better usage text
- build: update go.mod
- chore: bump golangci-lint v1.34 in github action
- chore(changelog): generate v0.10.0
2020-12-24 10:56:05 +00:00
## v0.10.0 (2020-12-24)
### Added
- feat: highlight error
### Others
- chore(readme): add fatih/color in thanks
- chore(git): better error return
- build: update go.mod
- chore(changelog): generate v0.9.0
2020-12-18 10:05:26 +00:00
## v0.9.0 (2020-12-18)
### Added
- feat: by default show help if use do nothing
- feat: remove -v as alias for --verbose
- feat: use urfave/cli DefaultText
- feat: add --repository and --output-dir
### Others
- chore: add Thanks in README
- chore: remove markdown ext from LICENSE
- chore: generate CHANGELOG v0.8.0
2020-12-17 11:07:14 +00:00
## v0.8.0 (2020-12-17)
### Added
- feat: make 0.1.0 default version, split getChangelogPath
- feat: add --filename, --filetype flags
### Fixed
- fix(changelog): wrong header for fixed type
### Others
- test(changelog): more test for generate changelog
- test(changelog): re-gen golden data for correct header
- chore: log version verbose
- chore: add placeholder of urfave/cli
- chore: generate CHANGELOG v0.7.0
2020-12-02 08:50:52 +00:00
## v0.7.0 (2020-12-2)
### Added
- feat(convention): support mixed-case for type
### Others
- test(convetion): unit test for mixedcase types
- chore: generate CHANGELOG v0.6.1
2020-12-01 17:16:53 +00:00
## v0.6.1 (2020-12-2)
### Others
- refactor: split get flags, get args from cli
- chore: remove new line between badges
- chore: add badge for pkg go dev in README
- build: update go.mod
- chore: generate CHANGELOG v0.6.0
2020-11-29 13:12:26 +00:00
## v0.6.0 (2020-11-29)
### Added
- feat(changelog): use newly markdown parser and generate
- feat(markdown): double newline when generate
- feat: generate 1 line for markdown
- feat: parse markdown to base syntax guide
- feat: use testify assert
- feat: add markdown parser
### Others
- test(changelog): unit test for changelog with markdown
- refactor(changelog): split get version header
- refactor(changelog): remove magic number
- refactor: rename markdown.Base -> markdown.Node
- refactor(markdown): rename parser -> parse
- build: bump go-cmp v0.5.4
- chore: bump golangci-lint v1.33.0 in github action
- chore: make github action run on pull request
- chore: add build using gotip in github action
- chore: generate CHANGELOG v0.5.0
2020-11-23 10:38:29 +00:00
## v0.5.0 (2020-11-23)
### Others
- build: update go.mod
- build: bump goldie v2.5.3
- build: bump go-cmp v0.5.3
- docs: add usage guide for generate changelog first time
- chore: generate CHANGELOG v0.4.0
2020-11-11 03:35:33 +00:00
## v0.4.0 (2020-11-11)
### Added
- feat(convention): make sure header commit is trimmed space
### Others
- docs: add usage guide in README
- chore: generate CHANGELOG v0.3.0
2020-11-10 17:52:53 +00:00
## v0.3.0 (2020-11-11)
### Others
- build: add Dockerfile
- docs: Referencing the workflow file using the file path does not work if the workflow has a `name`
- docs: add github action badge and install guide in README
- refactor: move main.go to root dir for easy go get, go install
- chore: generate CHANGELOG v0.2.1
2020-11-10 17:07:44 +00:00
## v0.2.1 (2020-11-11)
### Fixed
- fix(changelog): correct get lines and skip generate if no new lines
### Others
- chore: generate CHANGELOG v0.2.0
2020-11-10 16:56:46 +00:00
## v0.2.0 (2020-11-10)
### Added
- feat: add exclude-to, include-to flag
- feat: add log include to revision in git
### Fixed
- fix: empty CHANGELOG title when no new commits
- fix: correct exclude-to, include-to revision when get commits
### Others
- chore: correct exclude-to, include-to flag when log
- docs: add github markdown in comment
- refactor: remove useless return error in git
- docs: add comment for git methods
- refactor: move name, description in cli app to const
- build: update go.mod
- chore: generate CHANGELOG v0.1.0
2020-11-10 11:09:18 +00:00
## v0.1.0 (2020-11-10)
### Added
- feat: only add type of change in CHANGELOG when there is changed
- feat: add --version flag to generate CHANGELOG.md
- feat: write changelog to path
- feat: format commit as markdown item
- feat: remove scope and description in conventional commit
- feat: add markdown generator to generate markdown lines
- feat: add RawHeader in conventional commit
- feat: add conventional commits
- feat: remove author and hash commit
- feat: get commits in path between from and to revision
### Others
- chore: add MIT LICENSE
- refactor: remove body and footers in convention
- refactor: use struct action to split long fn
- chore: add go test, lint in github action
- teat: unit test for new conventional commit
2021-01-11 18:38:16 +00:00
- chore: init go mod with gitignore