conventionalcommits.org icon indicating copy to clipboard operation
conventionalcommits.org copied to clipboard

feature request: supporting multiple scopes

Open privatenumber opened this issue 5 years ago • 8 comments

Feature request

Requesting the Conventional Commits spec to support multiple scopes. eg.:

type(scope1,scope2): message

Use case

Some features/fixes may at times require multiple packages to be changed and this approach allows all affected scopes to be listed.

Relevant issues

  • https://github.com/conventional-changelog/commitlint/issues/75
  • https://github.com/conventional-changelog/conventional-changelog/issues/232
  • https://github.com/conventional-commits/conventionalcommits.org/issues/22
    • I noticed in this old issue, that this syntax is suggested as a way to indicate scope migration. I think a different syntax can be developed for that and also be documented in the spec. Perhaps type(scope1->scope2) or type(scope1>scope2)

privatenumber avatar Oct 09 '20 19:10 privatenumber

image

@bcoe Was there a meeting about this? What was the outcome? It looks like support was added in action-semantic-pull-request but I don't see any mention of multiple scopes in the conventionalcommits spec.

timoxley avatar Mar 16 '21 17:03 timoxley

Bumping this. It looks like conventional-changelog has supported this for a while now, but it's not mentioned on conventional-commits.org.

LightAndLight avatar Nov 12 '21 22:11 LightAndLight

This one looks interesting to me, could address the situation where for a BC I want to update multiple packages at the same time. @bcoe i think this one should be mentioned, any bad feeling regarding this?

damianopetrungaro avatar Nov 13 '21 12:11 damianopetrungaro

image

@bcoe Was there a meeting about this? What was the outcome? It looks like support was added in action-semantic-pull-request but I don't see any mention of multiple scopes in the conventionalcommits spec.

asking this again since no reply…

smarts avatar Jul 27 '22 16:07 smarts

@bcoe I feel you may have more context than myself on this

damianopetrungaro avatar Jul 27 '22 16:07 damianopetrungaro

Hi all, Any update on this? This could be a great addition, specially in #monorepo projects...

tinesoft avatar Aug 26 '22 12:08 tinesoft

Pinging back @bcoe if he has any 2 cents about it

damianopetrungaro avatar Sep 07 '22 21:09 damianopetrungaro