From 43465f0aece96c0d6918de20419f6e5ec47b57da Mon Sep 17 00:00:00 2001 From: Marco Brotas Date: Wed, 18 Oct 2023 15:38:10 +0200 Subject: [PATCH] feat: adds a CHANGELOG --- .chglog/CHANGELOG.tpl.md | 22 +++++++++ .chglog/config.yml | 27 +++++++++++ CHANGELOG.md | 102 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 151 insertions(+) create mode 100755 .chglog/CHANGELOG.tpl.md create mode 100755 .chglog/config.yml create mode 100644 CHANGELOG.md diff --git a/.chglog/CHANGELOG.tpl.md b/.chglog/CHANGELOG.tpl.md new file mode 100755 index 0000000..a872639 --- /dev/null +++ b/.chglog/CHANGELOG.tpl.md @@ -0,0 +1,22 @@ +{{ range .Versions }} + +## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }}) + +{{ range .CommitGroups -}} +### {{ .Title }} + +{{ range .Commits -}} +* {{ .Subject }} +{{ end }} +{{ end -}} + +{{- if .NoteGroups -}} +{{ range .NoteGroups -}} +### {{ .Title }} + +{{ range .Notes }} +{{ .Body }} +{{ end }} +{{ end -}} +{{ end -}} +{{ end -}} \ No newline at end of file diff --git a/.chglog/config.yml b/.chglog/config.yml new file mode 100755 index 0000000..e54d6c2 --- /dev/null +++ b/.chglog/config.yml @@ -0,0 +1,27 @@ +style: github +template: CHANGELOG.tpl.md +info: + title: CHANGELOG + repository_url: https://github.com/io-da/command +options: + commits: + # filters: + # Type: + # - feat + # - fix + # - perf + # - refactor + commit_groups: + # title_maps: + # feat: Features + # fix: Bug Fixes + # perf: Performance Improvements + # refactor: Code Refactoring + header: + pattern: "^(\\w*)\\:\\s(.*)$" + pattern_maps: + - Type + - Subject + notes: + keywords: + - BREAKING CHANGE \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b99e7e2 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,102 @@ + + +## [v1.4.1](https://github.com/io-da/command/compare/v1.4.0...v1.4.1) (2023-10-18) + +### Fix + +* allows middlewares to also be processed with closure commands + + + +## [v1.4.0](https://github.com/io-da/command/compare/v1.3.2...v1.4.0) (2023-10-18) + +### Chore + +* updates docs +* few small adjustments to Readme +* few small adjustments to Readme +* update readme index +* adds some error descriptions + +### Feat + +* implements support for closure commands + + + +## [v1.3.2](https://github.com/io-da/command/compare/v1.3.1...v1.3.2) (2023-10-16) + +### Fix + +* removes usage of slices package for backwards compatibility checks + + + +## [v1.3.1](https://github.com/io-da/command/compare/v1.3.0...v1.3.1) (2023-10-16) + +### Feat + +* improves middleware usage and adds missing documentation + + + +## [v1.3.0](https://github.com/io-da/command/compare/v1.2.8...v1.3.0) (2023-10-13) + +### Chore + +* further code cleanup +* additional code cleanup +* removes trash code and fixes benchmarks +* updates respective docs + +### Cleanup + +* code cleanup + +### Feat + +* implements middleware feature and adds respective tests +* implements inward and outward middlewares +* implements await on async commands. feat: refactors bus to enforce one handler per command. + + + +## [v1.2.8](https://github.com/io-da/command/compare/v1.2.7...v1.2.8) (2023-09-26) + +### Fix + +* go.yaml for code coverage +* test that was causing data race + + + +## [v1.2.7](https://github.com/io-da/command/compare/v1.2.6...v1.2.7) (2023-09-26) + +### Chore + +* bumb dependency version + + + +## [v1.2.6](https://github.com/io-da/command/compare/v1.2.5...v1.2.6) (2023-09-26) + +### Chore + +* adds CC_TEST_REPORTER_ID + + + +## [v1.2.5](https://github.com/io-da/command/compare/v1.2.4...v1.2.5) (2023-09-26) + +### Chore + +* enable github actions for code coverage + + + +## [v1.2.4](https://github.com/io-da/command/compare/v1.2.3...v1.2.4) (2023-09-26) + +### Chore + +* bump go version and remove travis integration +