Skip to content

Latest commit

 

History

History
125 lines (95 loc) · 13.6 KB

v0.19.md

File metadata and controls

125 lines (95 loc) · 13.6 KB

v0.19 🚀

This document contains all release notes pertaining to the v0.19.x releases of Vela.

For Vela Administrators

v0.19.2

Reverts an upgrade to envsubst library due to issues substituting certain secret values.

  • (types) revert(envsubst): rolling back upgrade to envsubst library due to errors in handling multiline json keys #286 - thanks @ecrupper!
  • (server) revert(envsubst): roll back envsubst library upgrade due to multiline secret errors #838 - thanks @ecrupper!

v0.19.1

  • (sdk-go) fix(version): adjust to use correct version #228 - thanks @wass3rw3rk!

v0.19.0

💥 Breaking Changes

Platform Admin:

  • Admins will need to run the migration script to add a new field to the repo object.
    • (server) enhance(repo)!: add topics field to build env and repo #807 - thanks @ecrupper!

Users

  • Users will be notified via error message if their repo is associated with a user that has insufficient access in GitHub. Any impacted users can utilize Vela's "Chown" feature (via UI or CLI) using a currently valid GitHub admin user for their repo.
    • (server) enhance(webhook)!: verify repo owner has at least write access to SCM repo #811 - thanks @ecrupper!

Note: The following change exists in v0.19.0 but was reverted in v0.19.2.

  • In certain scenarios, it's possible that the contents of a payload coming from GitHub contain certain characters that the compiler can't handle. A library dealing with variable substitution (which populates variables from GitHub webhook payloads) has been upgraded. While no issues were detected during testing, this is marked as breaking in a precautionary way.
    • (server) fix(compiler)!: webhook payload containing message with special characters causes failure #793 - thanks @NickHackman!

✨ Features

  • (cli) feat(worker): add ability to manage workers #430 - thanks @wass3rw3rk!
  • (sdk-go) feat(auth): add token auth expiration helper #214 - thanks @plyr4!
  • (sdk-go) feat(build): Support paging on BuildService.GetLogs #216 - thanks @cognifloyd!
  • (sdk-go) feat(worker): worker registration #218 - thanks @wass3rw3rk!
  • (sdk-go) feat: worker auth endpoints #212 - thanks @plyr4!
  • (server) feat(auth): server side changes for new worker auth flow #790 - thanks @ecrupper!
  • (server) feat(compiler): Enables Starlark structs #781 - thanks @colindean!
  • (server) feat(templates): allow for compile-time rulesets for template steps #720 - thanks @ecrupper!
  • (types) feat(consts): add worker auth and worker register token types #283 - thanks @ecrupper!
  • (worker) feat(mock): add support for register endpoint #457 - thanks @wass3rw3rk!
  • (worker) feat: use validate-token endpoint in MustServer #449 - thanks @plyr4!

🐛 Bug Fixes

  • (cli) fix(register): show error message #439 - thanks @wass3rw3rk!
  • (cli) fix: worker registration #438 - thanks @wass3rw3rk!
  • (sdk-go) fix(register): return error on non-200 response #221 - thanks @plyr4!
  • (server) fix(jwt): set issued_at to nil prior to validating claims #814 - thanks @wass3rw3rk!
  • (server) fix(pipelines): support for file template type when gathering templates #788 - thanks @ecrupper!
  • (server) fix(scm): correct init hook status and send accurate events #825 - thanks @ecrupper!
  • (server) fix(scm): handle new go-github validation changes and ensure correct number for init hook #822 - thanks @ecrupper!
  • (server) fix(webhook): relocate topics & branch setting to avoid overwrite #824 - thanks @ecrupper!
  • (server) fix: Misc typos #797 - thanks @cognifloyd!
  • (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(register): verify hostname #465 - thanks @wass3rw3rk!
  • (worker) fix: err shadowing #464 - thanks @wass3rw3rk!

🚸 Enhancements

  • (cli) enhance(output): Switch human logging to stderr to enable pipeable validation output #416 - thanks @colindean!
  • (cli) enhance(registration): derive hostname from address #440 - thanks @wass3r!
  • (server) enhance(metrics): gather queued builds #802 - thanks @ecrupper!
  • (server) enhance(queue): validate queue route and add error wrapping to clean build #801 - thanks @ecrupper!
  • (types) enhance(repo): add repo topics to repo object + build environment #285 - thanks @ecrupper!
  • (ui) enhance(pipeline): render expansion toggle regardless of templates #639 - thanks @plyr4!
  • (ui) enhance: improve tables error/loading experience #644 - thanks @plyr4!
  • (worker) enhance(auth): implement registration flow #452 - thanks @ecrupper!
  • (worker) enhance(executor tests): Add kubernetes runtime test cases for Build tests #438 - thanks @cognifloyd!
  • (worker) enhance(executor tests): Add kubernetes runtime test cases for Opts and Secrets tests #439 - thanks @cognifloyd!
  • (worker) enhance(executor tests): Add kubernetes runtime test cases for Service tests #442 - thanks @cognifloyd!
  • (worker) enhance(executor tests): Add kubernetes runtime test cases for Stage tests #441 - thanks @cognifloyd!
  • (worker) enhance(executor tests): Add kubernetes runtime test cases for Step tests #440 - thanks @cognifloyd!
  • (worker) enhance: operate/exec logging #461 - thanks @plyr4!

🔧 Miscellaneous

  • (sdk-go) chore: Delete unused /stream endpoints #215 - thanks @cognifloyd!
  • (sdk-go) chore: remove redundant error message #222 - thanks @plyr4!
  • (server) chore: Delete unused /stream endpoints #799 - thanks @cognifloyd!
  • (server) chore: address #722 review feedback #780 - thanks @jbrockopp!
  • (worker) chore(log): remove byte-chunks log method #447 - thanks @wass3r!

♻️ Refactors

  • (server) refactor(api): move repo logic to separate package #754 - thanks @jbrockopp!
  • (server) refactor(api): move user handlers to new package #809 - thanks @jbrockopp!
  • (server) refactor(database): move secret logic into separate package #782 - thanks @jbrockopp!
  • (server) refactor(database): move step logic into separate package #810 - thanks @jbrockopp!

🔗 Full release notes available on github.com/go-vela

💟 Thank you to all the contributors in this release!

  • @cognifloyd
  • @colindean
  • @ecrupper
  • @jbrockopp
  • @NickHackman
  • @plyr4
  • @timhuynh94
  • @wass3r
  • @wass3rw3rk