Standardize parsing of reference actions within footers
Author: nicomoussCreated Sep 21, 2026Updated Sep 21, 2026
Following conventional commits specs regarding footers:
Each footer MUST consist of a word token, followed by either a :<space> or <space># separator, followed by a string value
Within a given commit, having reference actions defined as such footers, for example:
feat: add Polish language
Adds Polish translations catalog to the app.
User can now choose Polish language from the UI.
Closes #123
Closes: #456conventional-commits-parser parses the commit into this object:
{
...
references: [
{
raw: '#123',
action: 'Closes',
owner: null,
repository: null,
prefix: '#',
issue: '123'
},
{
raw: 'Closes: #456',
action: null,
owner: null,
repository: null,
prefix: '#',
issue: '456'
}
],
...
}Shouldn't we expect both references to be parsed the same way, as follows? :
{
...
references: [
{
raw: '#123',
action: 'Closes',
owner: null,
repository: null,
prefix: '#',
issue: '123'
},
{
raw: '#456',
action: 'Closes',
owner: null,
repository: null,
prefix: '#',
issue: '456'
}
],
...
}Source: conventional-changelog/conventional-changelog