Context
Terraform module source code is the distributed artifact. If a refactor: commit changes module .tf implementation, locals, defaults, validations, dynamic block emission, provider compatibility, or resource construction, users pinned to a Terraform Registry version or Git tag will not receive it unless release-please creates a new tag/release.
We hit this in terraform-aws-cognito-user-pool: a merged refactor: PR changed distributed module code, but release-please skipped with No user facing commits found, so pinned users would not receive the change.
Desired policy
Keep using honest Conventional Commit types, but make Terraform module implementation refactors publishable as patch releases instead of forcing maintainers to mislabel them as fix:.
Acceptance criteria
Suggested release-please-config.json package setting:
"changelog-sections": [
{ "type": "feat", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "perf", "section": "Performance Improvements" },
{ "type": "refactor", "section": "Code Refactoring" }
]
Priority
High. Please treat this as the next repo maintenance issue before additional module refactor work, so pinned-version users receive future refactor changes through normal releases.
Context
Terraform module source code is the distributed artifact. If a
refactor:commit changes module.tfimplementation, locals, defaults, validations, dynamic block emission, provider compatibility, or resource construction, users pinned to a Terraform Registry version or Git tag will not receive it unless release-please creates a new tag/release.We hit this in
terraform-aws-cognito-user-pool: a mergedrefactor:PR changed distributed module code, but release-please skipped withNo user facing commits found, so pinned users would not receive the change.Desired policy
Keep using honest Conventional Commit types, but make Terraform module implementation refactors publishable as patch releases instead of forcing maintainers to mislabel them as
fix:.Acceptance criteria
refactor:commits are included in changelog/release generation, normally as patch releases when nofeator breaking change is present.feat:andfix:behavior unchanged.Suggested
release-please-config.jsonpackage setting:Priority
High. Please treat this as the next repo maintenance issue before additional module refactor work, so pinned-version users receive future refactor changes through normal releases.