This document contains all release notes pertaining to the v0.20.x
releases of Vela.
- When upgrading from
v0.19
, please take note of the migration information - You can control access to the new scheduling functionality by supplying a list of org/repos into the
VELA_SCHEDULE_ALLOWLIST
flag.<org>/*
will allow all repositories within the given org access to the schedule functionality.*
allows anyone access. Please note, you will want to supply this flag to both theserver
andui
components.
Bug fixes in the API, CLI, and secret handling for schedules.
- (types) patch(v0.20.2/secrets): allow schedule event type #311
- (server) patch(webhook): support transfer and rename #959
- (server) patch(api/build): add commit to compiler instantiation #960
- (server) patch(sync): address sync bug with update webhook call #962
- (cli) patch(v0.20.2/secrets): support schedule event for secrets #476
- (ui) patch(v0.21.1/secrets): allow schedules for secret form if on allowlist #719
This release contains all the bug fixes specified in v0.20.3
, but it also reverts a bug fix that was done in v0.20.1
. This was a mistake.
This version is still viable, but users will experience issues running the validate command with local templates if they are leveraging nested templates.
We recommend users take advantage of the rectified version v0.20.3
but will leave this version available for posterity.
Fixes an issue with nested template validation in the CLI.
- (cli) fix(pipeline): set max template depth and adjust CompileLite call #467
- (server) fix(compiler): convert local templates to an engine field for nested templates #916
- (server) patch(compiler): put local templates into the compiler engine struct #917
- Schedules (PR)
- Nested Templates (PR)
- Repo Transfer Event (PR)
- Cancel Pending Builds (PR)
- Restart Build Author Accuracy (PR)
- Worker Visibility Enhancements (PR)
- UI enhancements (various PRs)
- Dependency Updates (various PRs)
- Builds that were queued before a Vela upgrade or downgrade will be invalidated if the two Vela versions between worker and server do not share the same queue ItemVersion.
- (types) feat!: protect against stale queue items #292 - thanks @cognifloyd!
- (worker) feat!: Use queue Item.ItemVersion field to fail stale builds #478 - thanks @cognifloyd!
- The release updates the default clone image to
vela-git:v0.8.0
which includes a breaking change in how pull requests are checked out during theclone
step. This clone image can be overridden by platform admins via theVELA_CLONE_IMAGE
flag:- fix!: branch setup for git init in #138
- The release updates the default clone image to
vela-git:v0.8.0
which includes a breaking change in how pull requests are checked out. If your installation does not use a custom clone image for theclone
step, the checkout behavior for pull requests will be slightly different and can cause certain pipelines to behave in an unexpected way.- fix!: branch setup for git init in #138
- (cli) feat: add support for schedules #446 - thanks @jbrockopp!
- (sdk-go) feat(admin): add clean endpoint to sdk #241 - thanks @ecrupper!
- (sdk-go) feat: add support for schedules #233 - thanks @jbrockopp!
- (server) feat(api): add support for schedules #836 - thanks @JordanSussman!
- (server) feat(database): add agnostic engine #868 - thanks @jbrockopp!
- (server) feat(database): add engine options #886 - thanks @jbrockopp!
- (server) feat(database): add engine.NewResources() #870 - thanks @jbrockopp!
- (server) feat(database): add engine.Ping() #869 - thanks @jbrockopp!
- (server) feat(database): add support for schedules #834 - thanks @jbrockopp!
- (server) feat(templates): add ability to call templates within a template #794 - thanks @ecrupper!
- (server) feat(worker-visibility): extend worker table with 5 fields #772 - thanks @KellyMerrick!
- (server) feat: add support for processing schedules #846 - thanks @jbrockopp!
- (types) feat(worker-visibility): extend worker table with 5 fields #277 - thanks @KellyMerrick!
- (types) feat: add support for schedules #289 - thanks @jbrockopp!
- (ui) feat: add UI for schedules #660 - thanks @JayCeeJr!
- (ui) feat: adding /pulls shortcut route for viewing pull request builds #656 - thanks @plyr4!
- (ui) feat: adding /tags shortcut route for viewing tag builds #663 - thanks @plyr4!
- (worker) feat(worker-visibility): allow update to worker table with status and build info #482 - thanks @KellyMerrick!
- (worker) feat: add support for schedules #479 - thanks @jbrockopp!
- (cli) fix(schedule): fix update action #463 - thanks @wass3rw3rk!
- (sdk-go) fix(version): bump version number #244 - thanks @ecrupper!
- (server) fix(api): support schedule in filter #900 - thanks @wass3rw3rk!
- (server) fix(compiler): add commit field to compiler engine to handle file type template lite compilation #859 - thanks @ecrupper!
- (server) fix(compose): use hashicorp/vault docker repo #897 - thanks @ecrupper!
- (server) fix(db tests): use lenient timestamp check for time.Now query matching #902 - thanks @ecrupper!
- (server) fix(docker-compose): fix env var names for tokens #841 - thanks @wass3r!
- (server) fix(mock): correct query param mocks #866 - thanks @ecrupper!
- (server) fix(restart): correct build sender using claims subject #839 - thanks @ecrupper!
- (server) fix(router): establish claims before user on logout #857 - thanks @ecrupper!
- (server) fix(schedules): criteria for triggering a build #893 - thanks @jbrockopp!
- (server) fix(schedules): increment repo counter after read #877 - thanks @plyr4!
- (server) fix(schedules): updated_at automatically updates to any change to row #894 - thanks @ecrupper!
- (server) fix: allow setting worker.active to false #850 - thanks @plyr4!
- (types) fix(schema): use anyOf for ruleset matching #288 - thanks @plyr4!
- (types) fix(total-size): calculation not accounting for database commas in lists #296 - thanks @KellyMerrick!
- (ui) fix(build): fetch resource updates when they are incomplete #642 - thanks @plyr4!
- (ui) fix(build): handle runtime for build.started == 0 #653 - thanks @plyr4!
- (ui) fix(build): update favicon for all build tabs #641 - thanks @plyr4!
- (ui) fix(deployments): fetch deployment when tab switching to PromoteDeployment page #643 - thanks @plyr4!
- (ui) fix(deployments): point commit link to clone/tree/ref instead of api deployment #640 - thanks @plyr4!
- (ui) fix: remove template wording from pipeline expansion #645 - thanks @plyr4!
- (worker) fix(compose): use hashicorp/vault docker repo #490 - thanks @ecrupper!
- (sdk-go) enhance(log): do not return log library type on add / update #242 - thanks @ecrupper!
- (server) enhance(build): add ability to cancel pending builds #840 - thanks @ecrupper!
- (server) enhance(clone): upgrade target/vela-git to v0.8.0 #876 - thanks @jbrockopp!
- (server) enhance(log): do not return log object for POST and PUT requests #879 - thanks @ecrupper!
- (server) enhance(webhook): handle repository transfer events #883 - thanks @ecrupper!
- (types) enhance(constants): add transferred event action constant #295 - thanks @ecrupper!
- (types) enhance(repo): add AllowSchedule field #291 - thanks @jbrockopp!
- (ui) enhance(pipeline): render expansion toggle regardless of templates #639 - thanks @plyr4!
- (ui) enhance: improve tables error/loading experience #644 - thanks @plyr4!
- (ui) enhance: add cancel button for pending builds #661 - thanks @ecrupper!
- (ui) enhance: wrap SourceRepos loading in skeleton frames #679 - thanks @plyr4!
- (worker) enhance(exec): do not kill worker if build has been canceled and build token minting fails #472 - thanks @ecrupper!
- (worker) enhance(log): no library log return for update calls #485 - thanks @ecrupper!
- (sdk-go) chore: vscode gitignore from toptal #235 - thanks @plyr4!
- (server) chore(database): remove unused packages #880 - thanks @jbrockopp!
- (server) chore(docker-alpine): pin to alpine tag and sha #909 - thanks @ecrupper!
- (server) chore: vscode gitignore from toptal #845 - thanks @plyr4!
- (types) chore: vscode gitignore from toptal #290 - thanks @plyr4!
- (ui) chore(docker-compose): remove unsupported log method flag #637 - thanks @wass3r!
- (worker) chore: add vscode project files to gitignore #469 - thanks @plyr4!
- (worker) chore: vscode gitignore from toptal #476 - thanks @plyr4!
- (server) refactor(api): move auth logic to separate package #853 - thanks @cognifloyd!
- (server) refactor(api): move build logic to separate package #864 - thanks @ecrupper!
- (server) refactor(api): move deployment logic to separate package #847 - thanks @ecrupper!
- (server) refactor(api): move hook handlers to new package #829 - thanks @jbrockopp!
- (server) refactor(api): move log logic into separate package #855 - thanks @ecrupper!
- (server) refactor(api): move scm logic to separate package #848 - thanks @ecrupper!
- (server) refactor(api): move secret logic to separate package #856 - thanks @ecrupper!
- (server) refactor(api): move service logic to separate package #849 - thanks @ecrupper!
- (server) refactor(api): move step logic to separate package #851 - thanks @ecrupper!
- (server) refactor(api): move worker logic to separate package #828 - thanks @jbrockopp!
- (server) refactor(database): move build logic into separate package #858 - thanks @jbrockopp!
- (server) refactor(database): move service logic into separate package #816 - thanks @jbrockopp!
- (server) refactor(database): return build object on created and updated #884 - thanks @ecrupper!
- (server) refactor(database): return pipeline on created and updated #882 - thanks @ecrupper!
- (server) refactor(database): use agnostic engine #873 - thanks @jbrockopp!
- (server) refactor(db): return hook created or updated #861 - thanks @ecrupper!
- (server) refactor(templates): use yaml for tests instead of base64 encoded json #881 - thanks @JordanSussman!
- (server) refactor(testing): use database.NewTest() #878 - thanks @jbrockopp!
- https://github.com/go-vela/cli/releases
- https://github.com/go-vela/sdk-go/releases
- https://github.com/go-vela/server/releases
- https://github.com/go-vela/types/releases
- https://github.com/go-vela/ui/releases
- https://github.com/go-vela/worker/releases
- @cognifloyd
- @ecrupper
- @jbrockopp
- @JordanSussman
- @KellyMerrick
- @plyr4
- @renovate[bot]
- @wass3r
- @wass3rw3rk