{"id":13847480,"url":"https://github.com/release-lab/whatchanged","last_synced_at":"2025-03-17T05:08:15.904Z","repository":{"id":37032532,"uuid":"314166400","full_name":"release-lab/whatchanged","owner":"release-lab","description":"Elegant changelog generator","archived":false,"fork":false,"pushed_at":"2024-09-11T15:30:36.000Z","size":11352,"stargazers_count":57,"open_issues_count":6,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T05:21:11.738Z","etag":null,"topics":["build-tool","changelog","changelog-generator","cli","go","golang"],"latest_commit_sha":null,"homepage":"https://release-lab.github.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/release-lab.png","metadata":{"files":{"readme":"README-zh-CN.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-19T07:15:55.000Z","updated_at":"2025-02-12T15:45:49.000Z","dependencies_parsed_at":"2023-07-12T16:54:49.391Z","dependency_job_id":"c5efd641-8343-4eed-b82e-08f676055333","html_url":"https://github.com/release-lab/whatchanged","commit_stats":null,"previous_names":["axetroy/changelog","axetroy/whatchanged"],"tags_count":26,"template":false,"template_full_name":"axetroy/go-cli-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-lab%2Fwhatchanged","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-lab%2Fwhatchanged/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-lab%2Fwhatchanged/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/release-lab%2Fwhatchanged/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/release-lab","download_url":"https://codeload.github.com/release-lab/whatchanged/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976473,"owners_count":20377691,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["build-tool","changelog","changelog-generator","cli","go","golang"],"created_at":"2024-08-04T18:01:30.193Z","updated_at":"2025-03-17T05:08:15.886Z","avatar_url":"https://github.com/release-lab.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"中文简体 | [English](README.md)\n\n[![Build Status](https://github.com/release-lab/whatchanged/workflows/ci/badge.svg)](https://github.com/release-lab/whatchanged/actions)\n[![Build Status](https://github.com/release-lab/whatchanged/workflows/playground/badge.svg)](https://github.com/release-lab/whatchanged/actions)\n[![Go Report Card](https://goreportcard.com/badge/github.com/release-lab/whatchanged)](https://goreportcard.com/report/github.com/release-lab/whatchanged)\n![Latest Version](https://img.shields.io/github/v/release/release-lab/whatchanged.svg)\n[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu)\n![Repo Size](https://img.shields.io/github/repo-size/release-lab/whatchanged.svg)\n\n## whatchanged\n\n一个优雅的变更日志生成器，只需遵循 [Conventional Commits 规范](https://www.conventionalcommits.org/en/v1.0.0/)，即可生成一个漂亮的，工整的变更日志。\n\n致力于**优雅**/**简单**/**高效**/**可扩展**\n\n[在线感受魔法](https://release-lab.github.io)\n\n特性:\n\n- [x] 跨平台支持\n- [x] 生成 本地/远程 的 git 仓库\n- [x] 内置预设的生成模板\n- [x] 自定义模版文件\n- [x] [Conventional Commits 规范解析器](https://github.com/release-lab/conventional-commit-parser)\n- [x] 支持多个版本的变更日志生成\n- [x] [Github Action](https://github.com/release-lab/setup-whatchanged)\n- [x] [Visual Studio Code extension](https://github.com/release-lab/vscode-whatchanged)\n\n### 使用\n\n```bash\n$ whatchanged --help\n```\n\n### 安装\n\n1. [Cask](https://github.com/axetroy/cask.rs)\n\n   ```bash\n   cask install github.com/release-lab/whatchanged\n   ```\n\n2. Shell (Mac/Linux)\n\n   ```bash\n   curl -fsSL https://github.com/release-lab/install/raw/v1/install.sh | bash -s -- -r=release-lab/whatchanged\n   ```\n\n3. PowerShell (Windows):\n\n   ```powershell\n   $r=\"release-lab/whatchanged\";iwr https://github.com/release-lab/install/raw/v1/install.ps1 -useb | iex\n   ```\n\n4. 从 [Github Release Page](https://github.com/release-lab/whatchanged/releases) 下载 (全平台支持)\n\n   下载可执行文件，并且把它加入到`$PATH` 环境变量中\n\n5. 使用 [Golang](https://golang.org) 从源码中构建并安装 (全平台支持)\n\n   ```bash\n   go install github.com/release-lab/whatchanged/cmd/whatchanged\n   ```\n\n### 作为库使用\n\n```bash\n# 安装包\ngo get -v -u github.com/release-lab/whatchanged\n```\n\n```go\npackage main\n\nimport (\n   \"context\"\n   \"bytes\"\n\n   \"github.com/release-lab/whatchanged\"\n)\n\nfunc main() {\n   output := bytes.NewBuffer([]byte{})\n\n   option := whatchanged.Options{\n      Version: []string{\"HEAD~\"}\n   }\n\n   err := whatchanged.Generate(context.Background(), \"/path/to/git/project\", output, \u0026option)\n\n   if err!=nil{\n      panic(err)\n   }\n\n   println(output)\n}\n```\n\n### 常见问题\n\n1. [它是如何工作的?](HOW_IT_WORKS.md)\n2. [如何自定义生成的模版?](CUSTOM_TEMPLATE.md)\n\n### 开源许可\n\nThe [Anti-996 License](LICENSE_zh-CN)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelease-lab%2Fwhatchanged","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelease-lab%2Fwhatchanged","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelease-lab%2Fwhatchanged/lists"}