All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- support for configuring the internal yaml cache size.
- feature flags for mixed-mode database encryption.
- user-interface re-design
- removed deprecated kubernetes integration in favor of official kubernetes runner.
- removed deprecated nomad integration in favor of official nomad runner.
- support for repository-level concurrency limits.
- support for gitlab and github internal visibility on initial sync.
- create machine user with a custom API token.
- support for starlark scripts in core.
- support for executing pipelines in debug mode.
- update go-scm dependency to fix
- support for increasing the http request timeout for extensions. #2998.
- support for skipping a pipeline if the validation extension returns an ErrSkip.
- support for blocking a pipeline if the validation extension returns an ErrBlock.
- rollback endpoint should be available to users with write permission.
- retrying a build should re-use custom build parameters from parent build.
- ui support for deployment list and summary.
- ui support for promoting and rolling back builds.
- feature flag to use static secret when signing webhooks, from @chiraggadasc.
- ui branch list improperly capped.
- upgrade drone/envsubst dependency
- upgrade drone/go-scm dependency
- support for gitea api pagination, repository sync hanging.
- re-assigned repository ownership when deactivating a user.
- re-assigned repository ownership when deleting a user.
- de-activate a repository when deleting a user if re-assignment fails.
- de-activate a repository when deactivating a user if re-assignment fails.
- routine to cleanup builds stuck in a pending state.
- routine to cleanup builds stuck in a running state.
- private mode setting requires authentication to view public repositories.
- canceling a build emits a sql.ErrNoRows error.
- custom token is ignored when creating a user account via the API.
- machine accounts with sufficient permissions can create builds via the API.
- upgraded Go toolchain to version 1.14.4.
- endpoint to display the latest build by branch. #2940.
- endpoint to display the latest build by pull request. #2940.
- endpoint to display the latest build by environment. #2940.
- endpoint to delete a branch from the index. #2940.
- endpoint to delete a pull request from the index. #2940.
- endpoint to delete an environment from the index. #2940.
- page to view the latest build per branch.
- sync routine not executing asyncronously, being cancelled by http context.
- sync routine should ignore gitlab subrepositories
- convert deploy events in 0.8 yaml to promote events.
- do not execute cron job for disabled repositories. #2931.
- remove trailing slash from gitea url to prevent oauth2 token refresh errors, by @cmj0121. #2920.
- disable font ligatures in build log output. drone/drone-ui#322.
- missing am/pm in timstamps
- update version of go-scm
- update alpine version in docker images
- use ticker for cron jobs for more accurate timing
- optionally enable pprof endpoints for profiling, by @bradrydzewski.
- disable caching generated yaml files by commit sha, by @bradrydzewski.
- support for bitbucket skipverify, by @toni-moreno.
- support for gitea skipverify, by @toni-moreno.
- support for loading license contents from env, by @bradrydzewski.
- regression not converting legacy pipeline when using new runners, by @bradrydzewski.
- updated autocert library in support of acme v2 protocol, by @bradrydzewski.
- fixed nil pointer when manually adding user from api, by @bradrydzewski.
- added nsswitch to docker images
- option to auto-cancel pending builds when newer build enqueued, by @bradrydzewski. #1980.
- endpoint to list all repositories in the database, by @bradrydzewski. #2785.
- improve sync to handle duplicate repository names with different unique identifiers, by @bradrydzewski. #2658. You can revert to the previous sync logic with DRONE_DATABASE_LEGACY_BATCH=true.
- allow organization admins access to organization secret endpoints, by @bradrydzewski. #2838.
- fix invalid deep links in UI for github enterprise, by @bradrydzewski.
- ensure correct casing when manually adding user, by @bradrydzewski. #2766.
- endpoint to execute a cron pipeline on-demand, by @bradrydzewski. #2781.
- endpoint to list builds by branch, by @bradrydzewski. #1495.
- ignore skip comments when cron event, by @bradrydzewski. #2835.
- support for admission extensions, by @bradrydzewski. #2043.
- endpoint to provide link to git resources, by @bradrydzewski. #2843.
- improve bitbucket status display text on new pull request screen, by @bradrydzewski.
- missing cron job name in user interface, by @bradrydzewski.
- log lines not properly wrapping in user interface, by @bradrydzewski. #309.
- the server now runs in multi-machine mode by default. In order to run the server in single-machine mode (agents disabled) you must set DRONE_AGENTS_DISABLED=true.
- upgrade to Go 1.13 to resolve arm segfault, by @KN4CK3R. #2823.
- configure default visibility, by @JordanSussman. #2824.
- configure default trusted flag, by @vyckou.
- support for validation plugins, by @bradrydzewski. #2266.
- support for conversion plugins, by @bradrydzewski.
- support for cron event type, by @bradrydzewski. #2705.
- support for rollback event, by @bradrydzewski. #2695.
- support for lets encrypt email, by @bradrydzewski. #2505.
- Support for basic auth as an option for Gitea, by @techknowlogick. #2721
- copy cron job name when restarting a cron job, by @bradrydzewski. #2760.
- support for the GitHub deployment status API, by @bradrydzewski.
- support for storing logs in Azure Cloud Storage, by @Lucretius. #2788
- support for windows server 1903, by @bradrydzewski.
- button to view the full log file, by @dramich. drone/drone-ui#287.
- read gogs sha from webhook, by @marcotuna.
- create bind volume on host if not exists, by @bradrydzewski. #2725.
- preserve whitespace in build logs, by @geek1011. drone/drone-ui#294.
- enable log file download on firefox, by @bobmanary. drone/drone-ui#303
- upgraded to Go 1.12.9 due to CVE-2019-9512 and CVE-2019-9514
- disable github status for cron jobs
- support for action in conditionals, by @bradrydzewski. #2685.
- improve cancel logic for dangling stages, by @bradrydzewski.
- improve error when kubernetes malforms the port configuration, by @bradrydzewski. #2742.
- copy parameters from parent build when promoting, by @bradrydzewski. #2748.
- support for legacy environment variables
- support for legacy workspace based on repository name
- support for github deployment hooks
- provide base sha for github pull requests
- option to filter webhooks by event and type
- upgrade drone-yaml to v1.2.2
- upgrade drone-runtime to v1.0.7
- error when manually creating an empty user, by @bradrydzewski. #2738.
- support for legacy tokens to ease upgrade path, by @bradrydzewski. #2713.
- include repository name and id in batch update error message, by @bradrydzewski.
- fix inconsistent base64 encoding and decoding of encrypted secrets, by @bradrydzewski.
- update drone-yaml to version 1.1.2 for improved 0.8 to 1.0 yaml marshal escaping.
- update drone-yaml to version 1.1.3 for improved 0.8 to 1.0 workspace conversion.
- endpoint to trigger new build for default branch, by @bradrydzewski. #2679.
- endpoint to trigger new build for branch, by @bradrydzewski. #2679.
- endpoint to trigger new build for branch and sha, by @bradrydzewski. #2679.
- enable optional prometheus metrics guest access, by @janberktold
- fallback to database when logs not found in s3, by @bradrydzewski. #2689.
- support for custom stage definitions and runners, by @bradrydzewski. #2680.
- update drone-yaml to version 1.1.0
- retrieve latest build by branch, by @tboerger.
- copy the fork value when restarting a build, by @bradrydzewski. #2708.
- make healthz available without redirect, by @bradrydzewski. #2706.
- specify a user for the pipeline step, by @bradrydzewski. #2651.
- support for Gitea oauth2, by @techknowlogick. #2622.
- ping the docker daemon before starting the agent, by @bradrydzewski. #2495.
- support for Cron job name in Yaml trigger block, by @bradrydzewski. #2628.
- support for Cron job name in Yaml when block, by @bradrydzewski. #2628.
- sqlite username column changed to case-insensitive, by @bradrydzewski.
- endpoint to purge repository from database, by @bradrydzewski.
- support for per-organization secrets, by @bradrydzewski.
- include system metadata in global webhooks, by @bradrydzewski.
- ability to customize cookie secure flag, by @bradrydzewski.
- update drone-yaml from version 1.0.6 to 1.0.8.
- update drone-runtime from version 1.0.4 to 1.0.6.
- update go-scm from version 1.0.3 to 1.0.4.
- fixed error in mysql table creation syntax, from @xuyang2. #2677.
- fixed stuck builds when upstream dependency is skipped, from @bradrydzewski. #2634.
- fixed issue running steps with dependencies on failure, from @bradrydzewski. #2667.
- pass stage environment variables to pipeline steps, by @bradrydzewski.
- update go-scm to version 1.3.0, by @bradrydzewski.
- update drone-runtime to version to 1.0.4, by @bradrydzewski.
- ping docker daemon before agent starts to ensure connectivity, by @bradrydzewski.