Skip to content

Latest commit

 

History

History
88 lines (63 loc) · 5.16 KB

v0.18.md

File metadata and controls

88 lines (63 loc) · 5.16 KB

v0.18

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

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

v0.18.2

  • (server): fix(jwt): set issued_at to nil prior to validating claims by @ecrupper in go-vela/server#813

v0.18.1

  • (server): fix(database): revert column size bump to users token values by @ecrupper in go-vela/server#784

v0.18.0

Greetings, Vela Community!

Below is a summary of what's new in 0.18.0.

Breaking Changes

Platform Admin

  • Admins now must provide a VELA_SERVER_PRIVATE_KEY value to their server environment. See build token proposal for more information. There is also further documentation here
  • VELA_ACCESS_TOKEN_DURATION changed to VELA_USER_ACCESS_TOKEN_DURATION
  • VELA_REFRESH_TOKEN_DURATION changed to VELA_USER_REFRESH_TOKEN_DURATION

Users

  • The default clone image used for checking out repositories from git was updated from a hardcoded target/vela-git:v0.5.1 to target/vela-git:v0.7.0@sha256:c2e8794556d6debceeaa2c82ff3cc9e8e6ed045b723419e3ff050409f25cc258 (now configurable by your Vela platform administrator). The update contains a change that could yield unexpected behavior or, in the worst case, breaking builds. See the vela-git v0.7.0 release notes for more information.

Features

Build Tokens

  • feat(build_tokens): constants for build tokens + refactor login type by @ecrupper in go-vela/types#276
  • feat(auth)!: build token implementation by @ecrupper in go-vela/server#765
  • feat(build_token): sdk changes for build token implementation by @ecrupper in go-vela/sdk-go#201
  • feat(build_token): worker changes for build token implementation by @ecrupper in go-vela/worker#427
  • fix(perm): allow workers with build tokens to access MustRead() for private visibility repos by @ecrupper in go-vela/server#776
  • fix(validate): update validation to use new, shorter name for token durations by @ecrupper in go-vela/server#768

Configurable Clone Image

Enhancements

Kubernetes Executor Test Improvement

  • enhance(executor tests): test StreamBuild logging during build tests by @cognifloyd in go-vela/worker#419
  • enhance(executor tests): Sanitize pipelines to handle runtime specific differences by @cognifloyd in go-vela/worker#422
  • enhance(executor tests): Add test helpers to generate test Pods by @cognifloyd in go-vela/worker#424
  • enhance(executor tests): Call k8s SetupMock method after CreateBuild in tests by @cognifloyd in go-vela/worker#425
  • enhance(executor tests): Manage k8s mocks for Executor exec tests by @cognifloyd in go-vela/worker#431
  • enhance(executor tests): Manage k8s mocks for Executor AssembleBuild test by @cognifloyd in go-vela/worker#432
  • refactor(executor tests): Make runtime a test arg by @cognifloyd in go-vela/worker#418

Customizable Default Repo Events

  • enhance(repo): customizable default events for new repos by @JordanSussman in go-vela/server#758
  • enhance: utilize default repo events from api by @JordanSussman in go-vela/ui#621

Bug Fixes

Refactors

  • refactor(database): move hook logic into separate package by @jbrockopp in go-vela/server#721
  • refactor(database): move log logic into separate package by @jbrockopp in go-vela/server#722

Contributors <3

  • @cognifloyd
  • @ecrupper
  • @jbrockopp
  • @JordanSussman
  • @plyr4
  • @wass3r