Skip to main content

It's time for some changes - Woodpecker 2.0.0

ยท 4 min read
Anbraten
Maintainer of Woodpecker
qwerty287
Maintainer of Woodpecker

We are proud to present you Woodpecker v2.0.0 with more than 350 changes from our fabulous community. This release includes a lot of new features, improvements and some breaking changes which most of you probably already tested using the next tag or the RC version.

How we plan to handle releases in the futureโ€‹

In the future, there won't be backports anymore as they require quite an amount of maintenance. Instead, we'll release our current state of the main branch with the correct version (according to semver) every few weeks. Of course, critical bug and security fixes are released as soon as possible. To not release new major version too often, we'll try to hold back breaking changes pull-request for a longer time and release them all together in a new major version.

Breaking changesโ€‹

Renamed some api routesโ€‹

We renamed some API routes to be more consistent. So we suggest admins to update all repository webhooks by clicking on the newly added Repair all repositories button in the admin settings.

Dropped deprecated environment variables and CLI commandsโ€‹

For v1.0.0, we deprecated a bunch of old environment variables like CI_BUILD_*. These variables were removed in this version, you therefore have to use the new ones. Also, the deprecated build command of the CLI was removed. Use pipeline instead.

Removed SSH backendโ€‹

Due to various issues with the SSH backend we decided to remove it. As an alternative, you can install an agent running the local backend directly on the remote machine or you can simply execute ssh commands connecting to the remote server in your pipeline.

Deprecated platform filterโ€‹

The platform filter has been removed. Use the more advanced labels instead (read more).

Update Docker to v24โ€‹

We updated Docker to v24 as of some security patches. If you use an older version of Docker, you might need to upgrade it.

Removed plugin-only option from secretsโ€‹

Security is pretty important to us and we want to make sure that no one can steal your secrets. Therefore, we decided to remove the plugin-only option from secrets and instead, if you define an image filter, it will be automatically only available to plugins using the defined image names.

Migration notesโ€‹

There have been a few more breaking changes. Read more about what you need to do when upgrading!

New featuresโ€‹

But that's enough about breaking changes. Let's talk about the new features!

Config warnings and errors in the UIโ€‹

You ever wondered why a secret was not working and after hours of debugging you found out that you misspelled the secret name? Or you used a wrong key in your YAML config? Woodpecker now shows errors and linter warnings directly in it's UI, notifying you about missing secrets, incorrect configuration or deprecated settings!

Image of warnings and errors in the UI

Repository and organization overview for adminsโ€‹

Admins now get an overview over all repositories and organizations registered on the server, allowing them to perform common actions like deleting directly from the admin dashboard.

Image of repos overview

Support for user secretsโ€‹

It is now possible to add secrets for all repos owned by yourself, similar to organization and global secrets.

Bitbucket cloud support for multi-workflowsโ€‹

We enhanced support for Bitbucket, allowing you to use multiple workflows just as you probably know from all other forges already.

Full support for Kubernetes backendโ€‹

Many of you already used it extensively in the past, but now we can finally call the Kubernetes backend ready for production use. Supporting all major features and even quite some Kubernetes specific options.

Auto themeโ€‹

The UI now supports automatically adapting the theme to your browser config, so no more light mode in the middle of the night!

Update notificationโ€‹

Updates are awesome as they bring new features and bug fixes most of the time, but sometimes there are also important security fixes which should be installed as soon as possible. To not miss any of them, we added a notification to the UI for admins if there's a new update available.

Changelogโ€‹

The full changelog can be viewed in our project source folder at CHANGELOG.md