感谢您有兴趣参与 Authing 开源项目的维护。在您提交 PR 之前,请花费一些精力阅读本指南。
我们可以使用 约定式提交(Conventional Commits)。
- 使用现在时态 ("Adds feature" 而不是 "Added feature")
- 提交标题(信息首行)不超过 72 字节
- 每次仅提交一个需求。如果你有多个需求,请多次提交。
推荐全部使用英文。
<类型>: 简单介绍
<空行>
详细介绍
<空行>
(可选) Resolves: <Issue #>
<类型>[<包名称>]: 简单介绍
<简单介绍>
详细介绍
<空行>
(可选) Resolves: <Issue #>
支持以下类型:
feat
创建新需求fix
修复 Bugtest
添加测试用例refactor
代码提升或重构docs
编写文档release
发布新版本chore
其他(如 升级/降级依赖)
docs: Updates CONTRIBUTING.md
Updates Contributing.md with new emoji categories
Updates Contributing.md with new template
Resolves: #1234
fix[authing-angular]: Fixes bad bug
Fixes a very bad bug in authing-angular
Resolves: #5678
- 重大更改必须在提交正文部分的最开头注明。重大更改必须包含大写文本
BREAKING CHANGE
,后跟一个冒号和一个空格。 - 必须在
BREAKING CHANGE:
之后提供描述,描述 函数、API 发生了什么变化。
feat: Allows provided config object to extend other configs
BREAKING CHANGE: `extends` key in config file is now used for extending other config files
Thank you for your interest in contributing to Authing's Open Source Projects! Before submitting a PR, please take a moment to read over this guide.
We use an adapted form of Conventional Commits.
- Use the present tense ("Adds feature" not "Added feature")
- Limit the first line to 72 characters or less
- Add one feature per commit. If you have multiple features, have multiple commits.
<type>: Short Description of Commit
<BLANKLINE>
More detailed description of commit
<BLANKLINE>
(Optional) Resolves: <Issue #>
<type>[<package-name>]: Short Description of Commit
<BLANKLINE>
More detailed description of commit
<BLANKLINE>
(Optional) Resolves: <Issue #>
Our types include:
feat
when creating a new featurefix
when fixing a bugtest
when adding testsrefactor
when improving the format/structure of the codedocs
when writing docsrelease
when pushing a new releasechore
others (ex: upgrading/downgrading dependencies)
docs: Updates CONTRIBUTING.md
Updates Contributing.md with new emoji categories
Updates Contributing.md with new template
Resolves: #1234
fix[authing-angular]: Fixes bad bug
Fixes a very bad bug in authing-angular
Resolves: #5678
- Breaking changes MUST be indicated at the very beginning of the body section of a commit. A breaking change MUST consist of the uppercase text
BREAKING CHANGE
, followed by a colon and a space. - A description MUST be provided after the
BREAKING CHANGE:
, describing what has changed about the API.
feat: Allows provided config object to extend other configs
BREAKING CHANGE: `extends` key in config file is now used for extending other config files