Skip to content

Upgrade conventionalcommits preset to v10 #921

Description

@vspallas-flyr

Hello,

It seems after fixing the issue conventional-changelog/conventional-changelog/issues/1476, new GitHub Releases do not contain Release Notes anymore.

Our setup is fairly simple:

.releaserc:

{
    "branches": [
      "main",
      {
        "name": "release/+([0-9])?(.{+([0-9]),x}).x",
        "range": "${name.replace(/^release\\//g, '')}"
      },
      "next",
      { "name": "alpha", "prerelease": true },
      { "name": "beta", "prerelease": true },
      { "name": "rc", "prerelease": true }
    ],
    "plugins": [
      [
        "@semantic-release/commit-analyzer",
        {
          "preset": "conventionalcommits"
        }
      ],
      [
        "@semantic-release/release-notes-generator",
        {
          "preset": "conventionalcommits",
          "presetConfig": {
            "preset": {
              "name": "conventionalchangelog"
            }
          }
        }
      ],
      "@semantic-release/github"
    ]
  }

CI:

      - name: Semantic Release
        id: semantic_release
        uses: cycjimmy/semantic-release-action@9246c0bd17405b1f20450501f39234912258bc50 #v6
        with:
          semantic_version: 25.0.5
          dry_run: ${{ inputs.dryRun }}
          extra_plugins: |
            @semantic-release/changelog
            @semantic-release/git
            conventional-changelog-conventionalcommits
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Setting the conventional-changelog-conventionalcommits to version v9.3.1 resolves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions