github woodpecker-ci/woodpecker v3.21.0
3.21.0

one hour ago

3.21.0 - 2026-11-25

❤️ Thanks to all contributors! ❤️

@6543, @AhmadNajiKam, @Bynlk, @amalsaidov, @arpitjain099, @bitskeptic, @chaitanya-y20, @chiliec, @confusedsushi, @dgesteves, @gzm0, @hippi345, @hsdfat, @ivaldibot, @nk-batman21, @pcbeingused333, @qsun, @qwerty287, @roian6, @sarankumar1325, @savv, @slayerjain, @solarhell, @thomas-baumeister, @xoxys, @xunguangzlj-cloud, @zeevogels

🔒 Security

  • Use constant time to compare agent tokens [#7638]
  • Use repo read-only deploy-token to clone Gitea repos [#7625]
  • Check allowed deployments also on deployment restarts [#7621]
  • Sync repo visibility with forge as new default option [#7602]
  • Log agent auth fails fail2ban friendly [#7601]
  • Use project read-only deploy-token to clone gitlab repos [#7590]
  • Update module go.opentelemetry.io/otel/trace to v1.47.0 [#7564]
  • Use repo visibility instead of forge private flag for event stream [#7559]
  • Only accept step updates for steps of the agent's own workflow [#7547]
  • Only link http(s) forge URLs in the web UI [#7548]
  • Check webhooks body signature where already setup [#7407]
  • Add flag to restrict admins to the primary forge [#7430]

📈 Enhancement

  • Watch only the step's own pod in the Kubernetes backend [#7600]
  • Generate SBOM on release [#6075]
  • Make the task lease timeout configurable via WOODPECKER_TASK_TIMEOUT [#7558]
  • Remove --pipeline-counter arg from CLI repo update [#7586]
  • local: add initial support for C# script runners [#7215]
  • Report skipped and canceled workflows as such to GitLab [#7512]
  • Send forge status on cancel [#7516]
  • Report skipped workflows as skipped to gitea >= 1.25 [#7514]
  • Speed up queue scheduling for large concurrency group backlogs [#7425]
  • Show the workflow file in config and compile error messages [#7539]
  • Filter waiting queue tasks in place [#7537]
  • Allow configuring the plugin-git version for local backend clone [#7536]
  • Map skipped and canceled workflows to Bitbucket STOPPED / DC CANCELLED [#7513]
  • Extend the forge cache TTL on hits [#7529]
  • Explain forge timeouts when fetching the pipeline config [#7521]
  • Report substitution errors in cli lint and server with custom error [#7534]
  • Report skipped and canceled workflows as error to GitHub [#7517]
  • Report skipped workflows as skipped to forgejo >= 16 [#7515]
  • Raise matrix per-axis variable limit from 10 to 64 [#7526]
  • Show the latest release of plugins in the plugin index if exist [#7480]
  • For Bitbucket avoid looking up all repositories in forge when enabling only one [#7491]
  • Make builtin env var scopes more descriptive [#7486]
  • Add support for forgejo to pull draft metadata [#7470]
  • Add CI_FORGE_HOST as a built-in environment variable [#7391]
  • Fetch config directories on GitHub via a single GraphQL request [#7025]
  • Add optional display name for forges [#7445]

🐛 Bug Fixes

  • Ensure full Kubernetes workflow cleanup on teardown [#7635]
  • Count agent retry timeout from first failure, not from call start [#7111]
  • Harden config service [#7241]
  • Migrate legacy SQLite inline constrains and fix long running ones [#7440]
  • Allow failure: cancel on plugin steps in the schema [#7594]
  • Do not count marking a skipped workflow as done as agent work [#7560]
  • For gitlab do paginate loading changed files [#7561]
  • Subscribe GitHub webhooks to release events [#7543]
  • Forge status report fixes [#7520]
  • Close forge instances before cache replacement [#7525]
  • Only auto-cancel older pipelines [#7345]
  • Report SQLite database lock on reads instead of "record not found" [#7503]
  • Reject Bitbucket webhooks whose repository full name has no owner [#7507]
  • Fail pipelines whose workflows depend on each other in a cycle [#7471]
  • Return log store errors to the agent, except for duplicate entries [#7501]
  • Preserve previous pull request file paths for gitea & forgejo [#7492]
  • Add small margin between log groups [#7485]
  • Fix image tag detection for registries with a port [#7454]
  • Use OrgID to match Orgs belong to users [#7441]
  • CreateUser in one SQL session and report back constrain name on insert error [#7439]
  • Add /tmp to server & agent scratch images [#7452]
  • Fix addon logger dropping log fields [#7453]

🧪 Tests

  • Make sure test file names map source files names [#7338]

📚 Documentation

  • Clarify matrix variable expansion in platform labels [#7511]
  • Remove overrides from docs dependencies [#7497]
  • Add plugin Betterleaks [#7446]
  • Fix dead links in CLI readme and docs pages [#7451]
  • Clarify trusted permissions config for the TLS DinD example [#7356]

📦️ Dependency

  • Update module gitlab.com/gitlab-org/api/client-go/v3 to v3.56.0 [#7626]
  • Update codeberg.org/mvdkleijn/forgejo-sdk/forgejo/v4 digest to 0f7befc [#7617]
  • Update gitea.dev/sdk digest to 0a741c0 [#7604]
  • Update woodpeckerci/plugin-git Docker tag to v2.12.1 [#7506]
  • Update module github.com/mattn/go-sqlite3 to v1.14.53 [#7488]
  • Update module go.yaml.in/yaml/v4 to v4.0.0 [#7482]

Misc

  • Modernize and fix build system [#7546]

Don't miss a new woodpecker release

NewReleases is sending notifications on new releases.