Commit Graph

2186 Commits

Author SHA1 Message Date
babblebey 5870fe67bc fix: adjust plugins.prepare call leaving dryRun skip to plugin normalization 2026-07-13 12:13:27 +01:00
babblebey c2aaa0dde7 fix: ensure plugins.prepare is called in the correct condition 2026-07-11 03:27:02 +01:00
Gregor Martynus 8e28dd3d6c fix: ensure encoded secrets get masked v25.0.6 2026-07-10 15:08:47 -07:00
Gregor Martynus f293647392 Merge commit from fork
* fix: ensure percent-encoded secrets get masked

Co-authored-by: Gregor Martynus <39992+gr2m@users.noreply.github.com>

* fix: mask secrets in the exact form url.format() embeds them in git URLs

The authenticated repository URL is built with the legacy url.format(),
which encodes the auth field like encodeURIComponent() except that ":"
separators are kept as is. A GIT_CREDENTIALS value such as
"user:abc@def-secret" therefore appears as "user:abc%40def-secret" in a
failing git command, a form matched by neither the raw value, encodeURI(),
nor encodeURIComponent() candidates, and leaked unmasked.

Add the colon-preserving encoded form to the redaction candidates, assert
the unit tests against URLs built the same way get-git-auth-url.js builds
them, and add an integration test reproducing the leak end-to-end with a
git remote on a closed loopback port.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Co-authored-by: Matt Travi <programmer@travi.org>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 15:06:51 -07:00
renovate[bot] a973d20a0f ci(action): update github/codeql-action action to v4.37.0 (#4241)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-08 15:58:09 +00:00
renovate[bot] c62136f5b1 chore(deps): update dependency mockserver-client to v7.4.0 (#4240)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-07 20:01:54 +00:00
renovate[bot] 9be3e6c1bb chore(deps): lock file maintenance (#4239)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-06 03:12:10 +00:00
renovate[bot] 3259ebbd87 chore(deps): update dependency got to v15.1.0 (#4238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-05 14:32:30 +00:00
renovate[bot] 1c17eb50e6 chore(deps): update dependency mockserver-client to v7.3.0 (#4237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-04 10:12:39 +00:00
renovate[bot] b3da275054 chore(deps): update dependency testcontainers to v12.0.4 (#4233)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-03 01:05:03 +00:00
renovate[bot] d0467bb6e0 chore(deps): update dependency fs-extra to v11.3.6 (#4236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-02 22:50:13 +00:00
renovate[bot] 96fb7833bf chore(deps): update npm to v11.18.0 (#4235)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-02 19:22:59 +00:00
renovate[bot] 5f269be2e9 ci(action): update github/codeql-action action to v4.36.3 (#4234)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-02 12:34:05 +00:00
renovate[bot] 2837e96e51 chore(deps): update dependency got to v15.0.7 (#4231)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-01 22:45:44 +00:00
renovate[bot] e238309667 chore(deps): update verdaccio/verdaccio docker tag to v6.7.4 (#4226) 2026-06-30 01:17:47 +00:00
renovate[bot] 4546915407 chore(deps): update dependency js-yaml to v4.3.0 (#4229)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-29 23:46:38 +00:00
renovate[bot] 028a9f3c8a chore(deps): update dependency prettier to v3.8.5 (#4228)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-29 20:07:57 +00:00
renovate[bot] 53e6dde454 chore(deps): update dependency nock to v14.0.16 (#4227)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-29 13:56:31 +00:00
Matt Travi 97c21aa4f7 test(e2e): pin mockserver and verdaccio to full semver 2026-06-28 23:56:25 -05:00
renovate[bot] 3a01a87308 chore(deps): pin dependencies (#4223) 2026-06-29 04:12:35 +00:00
Matt Travi 86c1c8223c ci(renovate): configure managerFilePatterns for docker-compose to include the e2e compose file 2026-06-28 23:08:12 -05:00
renovate[bot] 7eabffba92 chore(deps): lock file maintenance (#4222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-29 03:46:41 +00:00
Matt Travi b19d4c168a test(e2e): move compose file out of the test/ directory
to help make it discoverable to renovate
2026-06-28 22:36:52 -05:00
Matt Travi c2586029d3 test(e2e): migrate from raw use of dockerode to use testcontainers instead (#4221)
which uses dockerode internally. this is a follow up to
https://github.com/semantic-release/semantic-release/pull/4220 to simplify teardown and avoid
managing the complexity as directly
2026-06-28 14:21:27 -07:00
Matt Travi 38abd1e157 test(e2e): drain the container stream for gitbox to resolve hang after completion (#4220) 2026-06-28 11:22:03 -07:00
renovate[bot] 8a5129225e chore(deps): update dependency dockerode to v5.0.1 (#4219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-27 22:10:38 +00:00
renovate[bot] 91dbcc4b4d chore(deps): update dependency mockserver-client to v7.2.0 (#4218)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-25 22:57:17 +00:00
renovate[bot] 8d1b7ffb63 chore(deps): update dependency got to v15.0.6 (#4217)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-24 17:57:08 +00:00
renovate[bot] 892f7b3806 chore(deps): update dependency ls-engines to v0.10.1 (#4215)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-23 07:48:31 +00:00
renovate[bot] ac82b30725 chore(deps): lock file maintenance (#4214)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-22 01:33:36 +00:00
renovate[bot] 7eb073590d chore(deps): update dependency mockserver-client to v7.1.0 (#4211)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-19 00:08:21 +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
Olabode Lawal-Shittabey d871161133 Merge pull request #4209 from semantic-release/chore/docs
docs: integrate new doc site
2026-06-17 10:17:02 -07:00
renovate[bot] 6ca39fd752 chore(deps): update dependency npm-run-all2 to v9.0.2 (#4208)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-16 02:08:02 +00:00
renovate[bot] 0759f1e3bf chore(deps): lock file maintenance (#4207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-15 01:39:41 +00:00
renovate[bot] 2257d88c34 chore(deps): update npm to v11.17.0 (#4206)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-14 22:16:28 +00:00
renovate[bot] 86372c2a65 chore(deps): update dependency @types/node to v24.13.2 (#4205)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-14 01:58:20 +00:00
renovate[bot] e189e63a74 chore(deps): update dependency prettier to v3.8.4 (#4204)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-12 18:01:13 +00:00
Gregor Martynus 4df788e9eb reset next branch (#4202)
* refactor: remove obsolete branch, error, and plugin definitions

- Deleted the branches.js file, removing maintenance, prerelease, and release definitions.
- Removed errors.js, eliminating various error handling functions related to semantic-release.
- Eliminated plugins.js, which contained definitions for plugin configurations and behaviors.
- Cleaned up get-commits.js, get-config.js, get-error.js, get-last-release.js, get-next-version.js, get-release-to-add.js, and plugins/index.js, removing unused functions and streamlining the codebase.
- Refactored plugin normalization and pipeline execution logic in plugins/normalize.js and plugins/pipeline.js.
- Removed utility functions in plugins/utils.js that were no longer necessary.
- Cleaned up verify.js to remove redundant checks and streamline the verification process.

* refactor(tests): remove obsolete tests for plugins and verification

- Deleted tests for normalize, pipeline, and plugin utilities as they are no longer needed.
- Removed tests for verify functionality that were outdated and not aligned with current implementation.
- Cleaned up test files to streamline the testing process and improve maintainability.

* refactor: remove obsolete Git-related utilities and logging functions

* refactor: remove obsolete test files for logger, git, sensitive data handling, and utility functions

- Deleted `get-logger.test.js` as it is no longer needed.
- Removed `git.test.js` which contained extensive tests for git-related functionalities.
- Eliminated `hide-sensitive.test.js` that tested the sensitive data masking functionality.
- Purged `utils.test.js` which included various utility function tests.

* refactor: remove obsolete release type constants and notes separator

* refactor: integrate `core`; remove unused imports and restructuring the main export function

* test: add tests for core delegation and dry-run policy handling

* refactor: replace direct logger and env-ci replacements with a mockCore function for better test organization

* fix(code-quality): add missing comma in context object for consistency

* docs: update README to include information about the new core engine integration

* fix(revert): next (#4200)

* Revert "docs: update README to include information about the new core engine integration"

This reverts commit 4e476dee14.

* Revert "fix(code-quality): add missing comma in context object for consistency"

This reverts commit 493d6cdaa1.

* Revert "refactor: replace direct logger and env-ci replacements with a mockCore function for better test organization"

This reverts commit d05e160668.

* Revert "test: add tests for core delegation and dry-run policy handling"

This reverts commit 4f464a72ae.

* Revert "refactor: integrate `core`; remove unused imports and restructuring the main export function"

This reverts commit 3f5d1b785b.

* Revert "refactor: remove obsolete release type constants and notes separator"

This reverts commit 7d71f2eb14.

* Revert "refactor: remove obsolete test files for logger, git, sensitive data handling, and utility functions"

This reverts commit 1ae1a19cdf.

* Revert "refactor: remove obsolete Git-related utilities and logging functions"

This reverts commit bedddc4091.

* Revert "refactor(tests): remove obsolete tests for plugins and verification"

This reverts commit 7172195d12.

* Revert "refactor: remove obsolete branch, error, and plugin definitions"

This reverts commit 51d1f5f9b2.

* Merge branch 'master' of https://github.com/semantic-release/semantic-release into fix(revert)/next

* Revert "Merge branch 'master' of https://github.com/semantic-release/semantic-release into fix(revert)/next"

This reverts commit bbfdc36be6.

---------

Co-authored-by: babblebey <babblebey@gmail.com>
2026-06-09 16:24:05 -07:00
Olabode Lawal-Shittabey db8ffaad90 fix(revert): next (#4200)
* Revert "docs: update README to include information about the new core engine integration"

This reverts commit 4e476dee14.

* Revert "fix(code-quality): add missing comma in context object for consistency"

This reverts commit 493d6cdaa1.

* Revert "refactor: replace direct logger and env-ci replacements with a mockCore function for better test organization"

This reverts commit d05e160668.

* Revert "test: add tests for core delegation and dry-run policy handling"

This reverts commit 4f464a72ae.

* Revert "refactor: integrate `core`; remove unused imports and restructuring the main export function"

This reverts commit 3f5d1b785b.

* Revert "refactor: remove obsolete release type constants and notes separator"

This reverts commit 7d71f2eb14.

* Revert "refactor: remove obsolete test files for logger, git, sensitive data handling, and utility functions"

This reverts commit 1ae1a19cdf.

* Revert "refactor: remove obsolete Git-related utilities and logging functions"

This reverts commit bedddc4091.

* Revert "refactor(tests): remove obsolete tests for plugins and verification"

This reverts commit 7172195d12.

* Revert "refactor: remove obsolete branch, error, and plugin definitions"

This reverts commit 51d1f5f9b2.

* Merge branch 'master' of https://github.com/semantic-release/semantic-release into fix(revert)/next

* Revert "Merge branch 'master' of https://github.com/semantic-release/semantic-release into fix(revert)/next"

This reverts commit bbfdc36be6.
v25.0.5
2026-06-09 16:08:49 -07:00
renovate[bot] f6da026308 chore(deps): update dependency mockserver-client to v7 (#4201)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-09 19:43:04 +00:00
babblebey 4e476dee14 docs: update README to include information about the new core engine integration v25.0.4 2026-06-09 18:59:37 +01:00
babblebey 493d6cdaa1 fix(code-quality): add missing comma in context object for consistency 2026-06-09 11:22:02 +01:00
babblebey d05e160668 refactor: replace direct logger and env-ci replacements with a mockCore function for better test organization 2026-06-09 11:17:25 +01:00
babblebey 4f464a72ae test: add tests for core delegation and dry-run policy handling 2026-06-09 11:00:00 +01:00
babblebey 3f5d1b785b refactor: integrate core; remove unused imports and restructuring the main export function 2026-06-09 10:32:50 +01:00
babblebey 7d71f2eb14 refactor: remove obsolete release type constants and notes separator 2026-06-09 10:19:34 +01:00
babblebey 1ae1a19cdf refactor: remove obsolete test files for logger, git, sensitive data handling, and utility functions
- Deleted `get-logger.test.js` as it is no longer needed.
- Removed `git.test.js` which contained extensive tests for git-related functionalities.
- Eliminated `hide-sensitive.test.js` that tested the sensitive data masking functionality.
- Purged `utils.test.js` which included various utility function tests.
2026-06-09 10:10:14 +01:00
babblebey bedddc4091 refactor: remove obsolete Git-related utilities and logging functions 2026-06-09 09:55:33 +01:00
renovate[bot] 46d5517f45 chore(deps): update dependency @types/node to v24.13.1 (#4198)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-09 01:53:30 +00:00