15 KiB
15 KiB
Changelog
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.
[unreleased]
Added
- support for repository-level concurrency limits.
- support for gitlab and github internal visibility on initial sync.
Fixed
- create machine user with a custom API token.
[1.10.0]
Added
- support for starlark scripts in core.
- support for executing pipelines in debug mode.
[1.9.2]
Added
- update go-scm dependency to fix
[1.9.1]
Added
- 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.
Fixed
- rollback endpoint should be available to users with write permission.
- retrying a build should re-use custom build parameters from parent build.
[1.9.0] - 2020-07-12
Added
- 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.
Fixed
- ui branch list improperly capped.
Changed
- upgrade drone/envsubst dependency
- upgrade drone/go-scm dependency
[1.8.1] - 2020-06-23
Fixed
- support for gitea api pagination, repository sync hanging.
[1.8.0] - 2020-06-10
Added
- 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.
Fixed
- 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.
Changed
- upgraded Go toolchain to version 1.14.4.
[1.7.0] - 2020-03-27
Added
- 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.
Fixed
- 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
[1.6.5] - 2020-01-29
Changed
- update version of go-scm
- update alpine version in docker images
- use ticker for cron jobs for more accurate timing
[1.6.4] - 2019-12-30
Added
- optionally enable pprof endpoints for profiling, by @bradrydzewski.
[1.6.3] - 2019-12-10
Fixed
- disable caching generated yaml files by commit sha, by @bradrydzewski.
Added
- support for bitbucket skipverify, by @toni-moreno.
- support for gitea skipverify, by @toni-moreno.
[1.6.2] - 2019-11-08
Added
- support for loading license contents from env, by @bradrydzewski.
Fixed
- regression not converting legacy pipeline when using new runners, by @bradrydzewski.
[1.6.1] - 2019-10-17
Added
- updated autocert library in support of acme v2 protocol, by @bradrydzewski.
Fixed
- fixed nil pointer when manually adding user from api, by @bradrydzewski.
[1.6.0] - 2019-10-04
Added
- 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.
Fixed
- 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.
[1.5.1] - 2019-09-30
Added
- allow organization admins access to organization secret endpoints, by @bradrydzewski. #2838.
Fixed
- fix invalid deep links in UI for github enterprise, by @bradrydzewski.
- ensure correct casing when manually adding user, by @bradrydzewski. #2766.
[1.5.0] - 2019-09-28
Added
- 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.
Fixed
- missing cron job name in user interface, by @bradrydzewski.
- log lines not properly wrapping in user interface, by @bradrydzewski. #309.
Breaking
- 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.
[1.4.0] - 2019-09-12
Added
- 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.
Removed
- Support for basic auth as an option for Gitea, by @techknowlogick. #2721
Fixed
- copy cron job name when restarting a cron job, by @bradrydzewski. #2760.
[1.3.1] - 2019-08-26
Added
- support for the GitHub deployment status API, by @bradrydzewski.
[1.3.0] - 2019-08-20
Added
- 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.
Fixed
- 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
Security
- upgraded to Go 1.12.9 due to CVE-2019-9512 and CVE-2019-9514
[1.2.3] - 2019-07-30
Added
- disable github status for cron jobs
- support for action in conditionals, by @bradrydzewski. #2685.
Fixed
- 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.
[1.2.2] - 2019-07-29
Added
- 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
Fixed
- error when manually creating an empty user, by @bradrydzewski. #2738.
[1.2.1] - 2019-06-11
Added
- support for legacy tokens to ease upgrade path, by @bradrydzewski. #2713.
- include repository name and id in batch update error message, by @bradrydzewski.
Fixed
- 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.
[1.2.0] - 2019-05-30
Added
- 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
Fixed
- 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.
[1.1.0] - 2019-04-23
Added
- 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
- 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.
[1.0.1] - 2019-04-10
Added
- 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.