diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 120000 index 000000000..83b694704 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1 @@ +CHANGELOG.md \ No newline at end of file diff --git a/CHANGELOG/.chglog/CHANGELOG.tpl.md b/CHANGELOG/.chglog/CHANGELOG.tpl.md index a1618de92..5683d039d 100644 --- a/CHANGELOG/.chglog/CHANGELOG.tpl.md +++ b/CHANGELOG/.chglog/CHANGELOG.tpl.md @@ -1,40 +1,56 @@ -{{ range .Versions }} - -## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} +{{ if .Versions -}} + +## [Unreleased] -> {{ datetime "2006-01-02" .Tag.Date }} +{{ if .Unreleased.CommitGroups -}} +{{ range .Unreleased.CommitGroups -}} +### {{ .Title }} +{{ range .Commits -}} +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +{{ end }} +{{ end -}} +{{ end -}} +{{ end -}} +{{ range .Versions }} + +## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }} {{ range .CommitGroups -}} ### {{ .Title }} - {{ range .Commits -}} -* {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} {{ end }} {{ end -}} {{- if .RevertCommits -}} ### Reverts - {{ range .RevertCommits -}} -* {{ .Revert.Header }} +- {{ .Revert.Header }} {{ end }} {{ end -}} {{- if .MergeCommits -}} ### Pull Requests - {{ range .MergeCommits -}} -* {{ .Header }} +- {{ .Header }} {{ end }} {{ end -}} {{- if .NoteGroups -}} {{ range .NoteGroups -}} ### {{ .Title }} - {{ range .Notes }} {{ .Body }} {{ end }} {{ end -}} {{ end -}} +{{ end -}} + +{{- if .Versions }} +[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD +{{ range .Versions -}} +{{ if .Tag.Previous -}} +[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} +{{ end -}} +{{ end -}} {{ end -}} \ No newline at end of file diff --git a/CHANGELOG/.chglog/config.yml b/CHANGELOG/.chglog/config.yml index b1b42dc1a..1eed7863b 100644 --- a/CHANGELOG/.chglog/config.yml +++ b/CHANGELOG/.chglog/config.yml @@ -5,18 +5,18 @@ info: repository_url: https://github.com/OpenIMSDK/Open-IM-Server options: commits: - # filters: - # Type: - # - feat - # - fix - # - perf - # - refactor + filters: + Type: + - feat + - fix + - perf + - refactor commit_groups: - # title_maps: - # feat: Features - # fix: Bug Fixes - # perf: Performance Improvements - # refactor: Code Refactoring + title_maps: + feat: Features + fix: Bug Fixes + perf: Performance Improvements + refactor: Code Refactoring header: pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$" pattern_maps: diff --git a/CHANGELOG/CHANGELOG-0.0.0.md b/CHANGELOG/CHANGELOG-0.0.0.md deleted file mode 100644 index 65a0ab1b1..000000000 --- a/CHANGELOG/CHANGELOG-0.0.0.md +++ /dev/null @@ -1,227 +0,0 @@ - - -## [v2.3.3](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.2...v2.3.3) - -> 2022-09-18 - - - -## [v2.3.2](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc2...v2.3.2) - -> 2022-09-09 - -### GetSelfUserInfo - -* Handle the case where the user does not exist - -### Pull Requests - -* Merge pull request [#267](https://github.com/OpenIMSDK/Open-IM-Server/issues/267) from ouyangshi/del -* Merge pull request [#265](https://github.com/OpenIMSDK/Open-IM-Server/issues/265) from ouyangshi/del -* Merge pull request [#252](https://github.com/OpenIMSDK/Open-IM-Server/issues/252) from x-shadow-man/config-perf -* Merge pull request [#263](https://github.com/OpenIMSDK/Open-IM-Server/issues/263) from ouyangshi/main -* Merge pull request [#258](https://github.com/OpenIMSDK/Open-IM-Server/issues/258) from ouyangshi/main -* Merge pull request [#261](https://github.com/OpenIMSDK/Open-IM-Server/issues/261) from ouyangshi/v2.3.0release - - - -## [v2.3.0-rc2](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc1...v2.3.0-rc2) - -> 2022-07-29 - - - -## [v2.3.0-rc1](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.3.0-rc0...v2.3.0-rc1) - -> 2022-07-25 - - - -## [v2.3.0-rc0](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.2.0...v2.3.0-rc0) - -> 2022-07-15 - - - -## [v2.2.0](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.1.0...v2.2.0) - -> 2022-07-01 - - - -## [v2.1.0](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.10...v2.1.0) - -> 2022-06-17 - - - -## [v2.0.10](https://github.com/OpenIMSDK/Open-IM-Server/compare/list...v2.0.10) - -> 2022-05-13 - - - -## [list](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.9...list) - -> 2022-04-29 - - - -## [v2.0.9](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.7...v2.0.9) - -> 2022-04-29 - -### Reverts - -* update etcd to v3.5.2 ([#206](https://github.com/OpenIMSDK/Open-IM-Server/issues/206)) - - - -## [v2.0.7](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.6...v2.0.7) - -> 2022-04-08 - - - -## [v2.0.6](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.5...v2.0.6) - -> 2022-04-01 - -### Fix - -* json tag value of UserIDResult.UserID ([#178](https://github.com/OpenIMSDK/Open-IM-Server/issues/178)) - -### Pull Requests - -* Merge pull request [#173](https://github.com/OpenIMSDK/Open-IM-Server/issues/173) from OpenIMSDK/tuoyun - - - -## [v2.0.5](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.04...v2.0.5) - -> 2022-03-24 - - - -## [v2.04](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.3...v2.04) - -> 2022-03-18 - - - -## [v2.0.3](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.2...v2.0.3) - -> 2022-03-11 - - - -## [v2.0.2](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.1...v2.0.2) - -> 2022-03-04 - -### Version - -* "3" -* "2" - - - -## [v2.0.1](https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.0...v2.0.1) - -> 2022-02-25 - -### DbMysqlDatabaseName - -* openIM_v2 - - - -## [v2.0.0](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.7...v2.0.0) - -> 2022-02-23 - -### Pb - -* openim_sdk.OfflinePushInfo - -### Pull Requests - -* Merge pull request [#131](https://github.com/OpenIMSDK/Open-IM-Server/issues/131) from OpenIMSDK/cms-dev - - - -## [v1.0.7](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.6...v1.0.7) - -> 2021-12-17 - - - -## [v1.0.6](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.5...v1.0.6) - -> 2021-12-10 - -### Pb - -* openim_sdk.OfflinePushInfo - - - -## [v1.0.5](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.4...v1.0.5) - -> 2021-12-03 - - - -## [v1.0.4](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.3...v1.0.4) - -> 2021-11-25 - - - -## [v1.0.3](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.1...v1.0.3) - -> 2021-11-12 - -### Feat - -* test utils ([#26](https://github.com/OpenIMSDK/Open-IM-Server/issues/26)) - -### Fix - -* Startup error ([#11](https://github.com/OpenIMSDK/Open-IM-Server/issues/11)) - -### Pull Requests - -* Merge pull request [#12](https://github.com/OpenIMSDK/Open-IM-Server/issues/12) from njulk/main -* Merge pull request [#9](https://github.com/OpenIMSDK/Open-IM-Server/issues/9) from xmcy0011/dev -* Merge pull request [#6](https://github.com/OpenIMSDK/Open-IM-Server/issues/6) from Bloomingg/int - - - -## [v1.0.1](https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.0...v1.0.1) - -> 2021-11-04 - - - -## v1.0.0 - -> 2021-10-28 - -### Ci - -* ignore files created by docker-compose ([#19](https://github.com/OpenIMSDK/Open-IM-Server/issues/19)) - -### Feat - -* optimise get server ip ([#20](https://github.com/OpenIMSDK/Open-IM-Server/issues/20)) - -### Reverts - -* friend modify -* update - -### Pull Requests - -* Merge pull request [#7](https://github.com/OpenIMSDK/Open-IM-Server/issues/7) from memory-qianxiao/docker-compose_update -* Merge pull request [#4](https://github.com/OpenIMSDK/Open-IM-Server/issues/4) from wujingke/patch-1 diff --git a/CHANGELOG/CHANGELOG-1.0.0.md b/CHANGELOG/CHANGELOG-1.0.0.md new file mode 100644 index 000000000..966bf1895 --- /dev/null +++ b/CHANGELOG/CHANGELOG-1.0.0.md @@ -0,0 +1,161 @@ + +## [Unreleased] + +### Bug Fixes +- Fix make Help +- fix the cicd error of the robot +- binary name modification +- optimization details +- remove test file +- rename open_im to openim +- details optimize +- fix cmd filename +- fix scripts +- script -> scripts +- script -> scripts +- env file +- remote +- comment invite trigger actions +- docker compose +- version ploblem +- fix branch git hooks +- Improved initial docker scripts +- Update CONTRIBUTING.md +- Update README.md file +- docker compose +- comment invite trigger actions +- gosec help us audit the Go code +- changelog error +- cover adjustment in some actions +- make up for small problems with pre-push D +- optimize codeql ananlysis workflows +- file name quest +- binary name modification +- copyright owner +- readme styles +- markfown lint test cicd actions deplpy +- designing and supplementing gnore +- robot name +- readme file +- fixed some connection display issues +- Update README image address +- directory name +- **gnore:** remove .github + +### Code Refactoring +- add openim-sdk-core submodule + +### Features +- add actions form org +- add deployments readme file +- add all command +- sets the absolute path of the script +- add cyan +- add cyan +- add cyan +- add cyan +- add cyan +- add COLOR_SUFFIX=033[0m # End all colors and special effects +- fix scripts +- add chmod +- add all page +- add make file +- add scripts +- add code comment +- add make +- add actions form org +- add license +- add makefile bug +- add more feature in scripts +- add git hook sign +- add codeowners file +- add release +- add common scripts +- add copyright +- add scripts lib +- use robot to migrate code +- add feature +- add code ql system +- fix openim ci +- fix code +- set scripts +- set scripts +- add chmod script +- ver3 branch +- add scripts chmod +- add scripts +- docker compose logs unified directory +- docker compose logs unified directory +- add copyright permission +- optimize scripts and makefiles +- optimize scripts and makefiles +- set up golang ci +- refactoring main +- migrate the original main branch code +- add code comment +- complete the basic build +- adding actions ([#461](https://github.com/OpenIMSDK/Open-IM-Server/issues/461)) +- project actions +- service architecture +- service architecture +- Automatic PR title AI fix +- vscode gitignore +- sync file to * +- sync file to * +- sync core branch +- copy license +- make multiarch +- sync robot +- tools optimize +- resolving initialization +- exchange tokens for the robot +- provide robot for use +- support for closing issues +- comment invite trigger actions +- add codecov context +- super log dergen +- set the structure of the rebase +- adjust the install go-gitlint role +- complete the githook design +- designing and supplementing gnore +- add recvID/groupID for msg modification callback ([#351](https://github.com/OpenIMSDK/Open-IM-Server/issues/351)) +- extensions ignore files +- a feat of Makefile large-scale engineering design ([#370](https://github.com/OpenIMSDK/Open-IM-Server/issues/370)) +- zh-reamde +- ADOPTERS +- readme add shields +- readme add shields +- super dependencies makefile help +- Improve tools information +- Improve copyright information +- Improve copyright information +- Improve help information +- good frist issue readme +- good frist issue readme +- good frist issue readme +- slack +- **githook:** make sure to trigger githook when you make +- **main:** add stale labels +- **main:** dockerfile fix +- **main:** update readme in v3 +- **make:** define the common implementation of the base +- **make:** define common githook +- **make:** add file name pre-commit for githook +- **make:** determine the base constant setting for common + + + +## v1.0.0 - 2021-10-28 +### Features +- optimise get server ip ([#20](https://github.com/OpenIMSDK/Open-IM-Server/issues/20)) + +### Reverts +- friend modify +- update + +### Pull Requests +- Merge pull request [#7](https://github.com/OpenIMSDK/Open-IM-Server/issues/7) from memory-qianxiao/docker-compose_update +- Merge pull request [#4](https://github.com/OpenIMSDK/Open-IM-Server/issues/4) from wujingke/patch-1 + + +[Unreleased]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v1.0.0...HEAD diff --git a/CHANGELOG/CHANGELOG-2.0.0.md b/CHANGELOG/CHANGELOG-2.0.0.md new file mode 100644 index 000000000..18f2eeb48 --- /dev/null +++ b/CHANGELOG/CHANGELOG-2.0.0.md @@ -0,0 +1,169 @@ + +## [Unreleased] + +### Bug Fixes +- Fix make Help +- fix the cicd error of the robot +- binary name modification +- optimization details +- remove test file +- rename open_im to openim +- details optimize +- fix cmd filename +- fix scripts +- script -> scripts +- script -> scripts +- env file +- remote +- comment invite trigger actions +- docker compose +- version ploblem +- fix branch git hooks +- Improved initial docker scripts +- Update CONTRIBUTING.md +- Update README.md file +- docker compose +- comment invite trigger actions +- gosec help us audit the Go code +- changelog error +- cover adjustment in some actions +- make up for small problems with pre-push D +- optimize codeql ananlysis workflows +- file name quest +- binary name modification +- copyright owner +- readme styles +- markfown lint test cicd actions deplpy +- designing and supplementing gnore +- robot name +- readme file +- fixed some connection display issues +- Update README image address +- directory name +- **gnore:** remove .github + +### Code Refactoring +- add openim-sdk-core submodule + +### Features +- add actions form org +- add deployments readme file +- add all command +- sets the absolute path of the script +- add cyan +- add cyan +- add cyan +- add cyan +- add cyan +- add COLOR_SUFFIX=033[0m # End all colors and special effects +- fix scripts +- add chmod +- add all page +- add make file +- add scripts +- add code comment +- add make +- add actions form org +- add license +- add makefile bug +- add more feature in scripts +- add git hook sign +- add codeowners file +- add release +- add common scripts +- add copyright +- add scripts lib +- use robot to migrate code +- add feature +- add code ql system +- fix openim ci +- fix code +- set scripts +- set scripts +- add chmod script +- ver3 branch +- add scripts chmod +- add scripts +- docker compose logs unified directory +- docker compose logs unified directory +- add copyright permission +- optimize scripts and makefiles +- optimize scripts and makefiles +- set up golang ci +- refactoring main +- migrate the original main branch code +- add code comment +- complete the basic build +- adding actions ([#461](https://github.com/OpenIMSDK/Open-IM-Server/issues/461)) +- project actions +- service architecture +- service architecture +- Automatic PR title AI fix +- vscode gitignore +- sync file to * +- sync file to * +- sync core branch +- copy license +- make multiarch +- sync robot +- tools optimize +- resolving initialization +- exchange tokens for the robot +- provide robot for use +- support for closing issues +- comment invite trigger actions +- add codecov context +- super log dergen +- set the structure of the rebase +- adjust the install go-gitlint role +- complete the githook design +- designing and supplementing gnore +- add recvID/groupID for msg modification callback ([#351](https://github.com/OpenIMSDK/Open-IM-Server/issues/351)) +- extensions ignore files +- a feat of Makefile large-scale engineering design ([#370](https://github.com/OpenIMSDK/Open-IM-Server/issues/370)) +- zh-reamde +- ADOPTERS +- readme add shields +- readme add shields +- super dependencies makefile help +- Improve tools information +- Improve copyright information +- Improve copyright information +- Improve help information +- good frist issue readme +- good frist issue readme +- good frist issue readme +- slack +- **githook:** make sure to trigger githook when you make +- **main:** add stale labels +- **main:** dockerfile fix +- **main:** update readme in v3 +- **make:** define the common implementation of the base +- **make:** define common githook +- **make:** add file name pre-commit for githook +- **make:** determine the base constant setting for common + + + +## v2.0.0 - 2022-02-23 +### Bug Fixes +- Startup error ([#11](https://github.com/OpenIMSDK/Open-IM-Server/issues/11)) + +### Features +- test utils ([#26](https://github.com/OpenIMSDK/Open-IM-Server/issues/26)) +- optimise get server ip ([#20](https://github.com/OpenIMSDK/Open-IM-Server/issues/20)) + +### Reverts +- friend modify +- update + +### Pull Requests +- Merge pull request [#131](https://github.com/OpenIMSDK/Open-IM-Server/issues/131) from OpenIMSDK/cms-dev +- Merge pull request [#12](https://github.com/OpenIMSDK/Open-IM-Server/issues/12) from njulk/main +- Merge pull request [#9](https://github.com/OpenIMSDK/Open-IM-Server/issues/9) from xmcy0011/dev +- Merge pull request [#7](https://github.com/OpenIMSDK/Open-IM-Server/issues/7) from memory-qianxiao/docker-compose_update +- Merge pull request [#6](https://github.com/OpenIMSDK/Open-IM-Server/issues/6) from Bloomingg/int +- Merge pull request [#4](https://github.com/OpenIMSDK/Open-IM-Server/issues/4) from wujingke/patch-1 + + +[Unreleased]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v2.0.0...HEAD diff --git a/CHANGELOG/CHANGELOG-3.0.0.md b/CHANGELOG/CHANGELOG-3.0.0.md new file mode 100644 index 000000000..c826243cc --- /dev/null +++ b/CHANGELOG/CHANGELOG-3.0.0.md @@ -0,0 +1,153 @@ + +## [Unreleased] + + + +## v3.0.0 - 2023-07-10 +### Bug Fixes +- Fix make Help +- fix the cicd error of the robot +- binary name modification +- optimization details +- remove test file +- rename open_im to openim +- details optimize +- fix cmd filename +- fix scripts +- script -> scripts +- script -> scripts +- env file +- remote +- comment invite trigger actions +- docker compose +- version ploblem +- fix branch git hooks +- Improved initial docker scripts +- Update CONTRIBUTING.md +- Update README.md file +- docker compose +- comment invite trigger actions +- gosec help us audit the Go code +- changelog error +- cover adjustment in some actions +- make up for small problems with pre-push D +- optimize codeql ananlysis workflows +- file name quest +- binary name modification +- copyright owner +- readme styles +- markfown lint test cicd actions deplpy +- designing and supplementing gnore +- robot name +- readme file +- fixed some connection display issues +- Update README image address +- directory name +- **gnore:** remove .github + +### Code Refactoring +- add openim-sdk-core submodule + +### Features +- add actions form org +- add deployments readme file +- add all command +- sets the absolute path of the script +- add cyan +- add cyan +- add cyan +- add cyan +- add cyan +- add COLOR_SUFFIX=033[0m # End all colors and special effects +- fix scripts +- add chmod +- add all page +- add make file +- add scripts +- add code comment +- add make +- add actions form org +- add license +- add makefile bug +- add more feature in scripts +- add git hook sign +- add codeowners file +- add release +- add common scripts +- add copyright +- add scripts lib +- use robot to migrate code +- add feature +- add code ql system +- fix openim ci +- fix code +- set scripts +- set scripts +- add chmod script +- ver3 branch +- add scripts chmod +- add scripts +- docker compose logs unified directory +- docker compose logs unified directory +- add copyright permission +- optimize scripts and makefiles +- optimize scripts and makefiles +- set up golang ci +- refactoring main +- migrate the original main branch code +- add code comment +- complete the basic build +- adding actions ([#461](https://github.com/OpenIMSDK/Open-IM-Server/issues/461)) +- project actions +- service architecture +- service architecture +- Automatic PR title AI fix +- vscode gitignore +- sync file to * +- sync file to * +- sync core branch +- copy license +- make multiarch +- sync robot +- tools optimize +- resolving initialization +- exchange tokens for the robot +- provide robot for use +- support for closing issues +- comment invite trigger actions +- add codecov context +- super log dergen +- set the structure of the rebase +- adjust the install go-gitlint role +- complete the githook design +- designing and supplementing gnore +- add recvID/groupID for msg modification callback ([#351](https://github.com/OpenIMSDK/Open-IM-Server/issues/351)) +- extensions ignore files +- a feat of Makefile large-scale engineering design ([#370](https://github.com/OpenIMSDK/Open-IM-Server/issues/370)) +- zh-reamde +- ADOPTERS +- readme add shields +- readme add shields +- super dependencies makefile help +- Improve tools information +- Improve copyright information +- Improve copyright information +- Improve help information +- good frist issue readme +- good frist issue readme +- good frist issue readme +- slack +- **githook:** make sure to trigger githook when you make +- **main:** add stale labels +- **main:** dockerfile fix +- **main:** update readme in v3 +- **make:** define the common implementation of the base +- **make:** define common githook +- **make:** add file name pre-commit for githook +- **make:** determine the base constant setting for common + +### Reverts +- update etcd to v3.5.2 ([#206](https://github.com/OpenIMSDK/Open-IM-Server/issues/206)) + + +[Unreleased]: https://github.com/OpenIMSDK/Open-IM-Server/compare/v3.0.0...HEAD diff --git a/CHANGELOG/CHANGELOG.md b/CHANGELOG/CHANGELOG.md index 0f9b12831..79c05c44a 100644 --- a/CHANGELOG/CHANGELOG.md +++ b/CHANGELOG/CHANGELOG.md @@ -1,3 +1,19 @@ # Changelog -All notable changes to this project will be documented in this file. \ No newline at end of file +All notable changes to this project will be documented in this file. + + +## command + +```bash +git-chglog --tag-filter-pattern 'v3.0.0' -o CHANGELOG-3.0.1.md +``` + + +## create next tag + +```bash +git-chglog --next-tag 2.0.0 -o CHANGELOG.md +git commit -am "release 2.0.0" +git tag 2.0.0 +```