82 Commits

Author SHA1 Message Date
Olabode Lawal-Shittabey 1beed123fa feat: integrate @semantic-release/core engine (#4256)
This pull request refactors the core logic of the package to use the
`@semantic-release/core` engine directly, removes legacy and duplicated
code, and centralizes configuration. The changes simplify the codebase
by delegating most of the release logic to the upstream core package,
making the CLI wrapper thinner and easier to maintain. Several internal
utility files for branch and tag handling are also removed, as their
logic is now handled by `@semantic-release/core`.

### Migration to Core Engine

* The CLI now delegates release logic to `@semantic-release/core`, using
its `resolveConfig`, `getLogger`, and other helpers, instead of
maintaining a custom implementation. This reduces maintenance overhead
and ensures alignment with the core release logic.
* The documentation is updated to explain that `semantic-release` uses
`@semantic-release/core` as its engine, and provides guidance for
advanced use cases.

### Configuration and Defaults

* A new `SEMANTIC_RELEASE_DEFAULT_CONFIG` constant is introduced,
centralizing the default plugin stack for releases.

### Codebase Simplification

* Removes internal implementations for branch expansion, tag retrieval,
and normalization, as well as related validation and error handling
logic. These are now handled by the core engine.
2026-10-06 06:42:49 +01:00
renovate[bot] 520482ddf6 ci(action): update actions/checkout action to v7.0.1 (#4259)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://redirect.github.com/actions/checkout) |
action | patch | `v7.0.0` → `v7.0.1` |

---

### Release Notes

<details>
<summary>actions/checkout (actions/checkout)</summary>

###
[`v7.0.1`](https://redirect.github.com/actions/checkout/blob/HEAD/CHANGELOG.md#v701)

[Compare
Source](https://redirect.github.com/actions/checkout/compare/v7.0.0...v7.0.1)

- Bump github/codeql-action from 3 to 4 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2475](https://redirect.github.com/actions/checkout/pull/2475)
- Bump actions/setup-node from 4 to 6 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2477](https://redirect.github.com/actions/checkout/pull/2477)
- Bump docker/build-push-action from 6.5.0 to 7.2.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2478](https://redirect.github.com/actions/checkout/pull/2478)
- Bump docker/login-action from 3.3.0 to 4.2.0 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2479](https://redirect.github.com/actions/checkout/pull/2479)
- Bump actions/checkout from 6 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2488](https://redirect.github.com/actions/checkout/pull/2488)
- Bump actions/upload-artifact from 4 to 7 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2476](https://redirect.github.com/actions/checkout/pull/2476)
- eslint 9 by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2474](https://redirect.github.com/actions/checkout/pull/2474)
- Bump the minor-actions-dependencies group with 2 updates by
[@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&#8203;2499](https://redirect.github.com/actions/checkout/pull/2499)
- skip running unsafe pr check if input is default by
[@&#8203;aiqiaoy](https://redirect.github.com/aiqiaoy) in
[#&#8203;2518](https://redirect.github.com/actions/checkout/pull/2518)
- trim only ascii whitespace for branch by
[@&#8203;aiqiaoy](https://redirect.github.com/aiqiaoy) in
[#&#8203;2521](https://redirect.github.com/actions/checkout/pull/2521)
- escape values passed to --unset by
[@&#8203;aiqiaoy](https://redirect.github.com/aiqiaoy) in
[#&#8203;2530](https://redirect.github.com/actions/checkout/pull/2530)

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/semantic-release/semantic-release).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNzIuNCIsInVwZGF0ZWRJblZlciI6IjQzLjI3Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 17:08:32 +00:00
renovate[bot] e34c52dd1d ci(action): update actions/setup-node action to v7 (#4250)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-14 05:17:28 +00:00
renovate[bot] 8020ec65b8 ci(action): update actions/setup-node action to v6.5.0 (#4249)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-14 03:20:24 +00:00
renovate[bot] 1a673b03d4 ci(action): update actions/checkout action to v7 (#4210)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-18 18:03:50 +00:00
renovate[bot] 3fd17d1cd8 ci(action): update actions/checkout action to v6.0.3 (#4192)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-02 19:13:31 +00:00
renovate[bot] afb5b7afb7 ci(action): update actions/setup-node action to v6.4.0 (#4137)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-20 04:59:06 +00:00
renovate[bot] 6076cd12f7 ci(action): update actions/setup-node action to v6.3.0 (#4066)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-04 05:03:21 +00:00
renovate[bot] ce63d8e038 ci(action): update actions/checkout action to v6.0.2 (#4008)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-22 17:56:55 +00:00
renovate[bot] 32ac0cc251 ci(action): update actions/setup-node action to v6.2.0 (#4001)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-15 05:33:16 +00:00
renovate[bot] 70f023719e ci(action): update actions/setup-node action to v6.1.0 (#3967)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-03 05:56:13 +00:00
renovate[bot] bc66fa1cce ci(action): update actions/checkout action to v6.0.1 (#3965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-02 17:46:46 +00:00
renovate[bot] b5cc640c8e ci(action): update actions/checkout action to v6 (#3952)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-20 17:19:25 +00:00
renovate[bot] bc6186123f ci(action): update actions/checkout action to v5.0.1 (#3948)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-18 02:16:05 +00:00
Olabode Lawal-Shittabey 02a3a99e8d Merge branch 'master' into beta 2025-10-15 15:53:21 +01:00
renovate[bot] ae7484d3fb ci(action): update actions/setup-node action to v6 (#3904)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-14 04:32:09 +00:00
Matt Travi 3809fb2028 ci(node-versions): update node version matrix to match updated supported ranges 2025-10-13 17:08:11 -05:00
Matt Travi 277ede198d Merge branch 'master' of github.com:semantic-release/semantic-release into beta 2025-10-13 16:46:04 -05:00
renovate[bot] d59171def1 ci(action): update actions/setup-node action to v5 (#3852)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 03:38:39 +00:00
renovate[bot] 5515a2e301 ci(action): update actions/checkout action to v5 (#3832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 18:37:29 +00:00
renovate[bot] 7e8d9db0d8 ci(action): update actions/checkout action to v4.3.0 (#3831)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 15:16:42 +00:00
Matt Travi 79400fcffd ci(node-versions): update verification matrix to match supported versions 2025-07-03 15:09:46 -05:00
renovate[bot] 3edcad49cf ci(action): update actions/setup-node action to v4.4.0 (#3679)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-14 06:18:32 +00:00
renovate[bot] 887cbfd90f ci(action): update actions/setup-node action to v4.3.0 (#3641)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-17 06:08:20 +00:00
Matt Travi a808e3d89b ci(corepack): update additional jobs that need latest corepack 2025-01-31 14:08:33 -06:00
Matt Travi fd93bfe819 ci(corepack): install the latest corepack version so new npm signing key is available
related to https://github.com/nodejs/corepack/issues/612
2025-01-31 14:05:07 -06:00
renovate[bot] 9a0b25da2e ci(action): update actions/setup-node action to v4.2.0 (#3579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-27 06:06:16 +00:00
Matt Travi 2b61a42f24 ci(node-versions): swap node v21 for v22 in the verification matrix 2024-11-22 16:20:47 -06:00
renovate[bot] 8940f32ccc ci(action): update actions/setup-node action to v4.1.0 (#3489)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-24 17:41:36 +00:00
renovate[bot] 3ba76aeb0d ci(action): update actions/checkout action to v4.2.2 (#3486)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-23 21:39:25 +00:00
renovate[bot] b466dbc0fe ci(action): update actions/checkout action to v4.2.1 (#3468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 18:37:14 +00:00
renovate[bot] 4a122e112c ci(action): update actions/checkout action to v4.2.0 (#3457)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 20:13:28 +00:00
renovate[bot] 6b476779f0 ci(action): update actions/setup-node action to v4.0.4 (#3452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 14:55:58 +00:00
renovate[bot] c00b39b7c2 ci(action): update actions/setup-node action to v4.0.3 (#3382)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 16:59:16 +00:00
renovate[bot] 3a5ac68b90 ci(action): update actions/checkout action to v4.1.7 (#3347)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-22 08:45:18 +00:00
renovate[bot] 53662123be ci(action): update actions/checkout action to v4.1.6 (#3306)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-17 05:09:19 +00:00
renovate[bot] 39a421d3b0 ci(action): update actions/checkout action to v4.1.5 (#3295)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 18:37:05 +00:00
renovate[bot] e7d5c4128d ci(action): update actions/checkout action to v4.1.4 (#3271)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-29 06:26:19 +00:00
renovate[bot] c621072013 ci(action): update actions/checkout action to v4.1.3 (#3266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 17:49:56 +00:00
Matt Travi da191c2520 ci(corepack): pinned the expected dev version of npm and explicitly used it for audit signatures (#3221) 2024-03-14 15:26:41 -07:00
renovate[bot] e3245f3957 ci(action): update actions/setup-node action to v4.0.2 (#3184)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-07 07:19:50 +00:00
Matt Travi ce580be16d Merge branch 'master' into beta 2024-01-05 13:48:05 -06:00
renovate[bot] f021f25ad2 ci(action): update actions/setup-node action to v4.0.1 (#3116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-18 12:24:28 +00:00
Matt Travi 2904832967 feat(node-versions): dropped support for node v18 and raised the minimum for v20
reasoning for the chosen version:
https://github.com/semantic-release/gitlab/pull/647#discussion_r1423131205

BREAKING CHANGE: support for node v18 has been dropped and the minimum for v20 is now v20.8.1

related to https://github.com/semantic-release/semantic-release/discussions/3088
2023-12-15 17:01:50 -06:00
Matt Travi abf8ddd978 ci(verify): avoid uncancellable workflow
https://github.com/semantic-release/.github/issues/19#issuecomment-1800963916

for semantic-release/.github#19
2023-12-15 16:47:07 -06:00
renovate[bot] 6726543295 ci(action): update actions/setup-node action to v4 (#3025)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 03:46:29 +00:00
renovate[bot] 1c980143d1 ci(action): update actions/checkout action to v4.1.1 (#3022)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 21:01:47 -05:00
renovate[bot] d1120546b5 ci(action): update actions/setup-node action to v3.8.2 (#3023)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 01:47:11 +00:00
renovate[bot] 164697ccd3 ci(action): update actions/setup-node digest to 1a4442c (#3021)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-24 00:02:36 +00:00
renovate[bot] bfd2506f5b ci(action): update actions/checkout digest to b4ffde6 (#3001)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-23 10:12:10 +00:00