Skip to content

Latest commit

 

History

History
443 lines (369 loc) · 73.6 KB

CHANGELOG.md

File metadata and controls

443 lines (369 loc) · 73.6 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.14.0 (2022-03-30)

⚠ BREAKING CHANGES

  • cli: The CLI does not require anymore passing git_user as a parameter to create or upgrade a project. In case you are experiencing issues with the command, we suggest trying it without specifying the user.

  • configuration-service: adding invalid token results now to 404 error code (424 was used previously)

  • fix: Return 404 when token is invalid

Features

  • Add prometheus-service scope to secret-service (#6938) (b2993f2)
  • Add SSH publicKey auth support (#6855) (b1b3d11)
  • api: Added automaticProvisioning helm value to api-service (#7269) (0bda1c7)
  • bridge: Allow to configure sendStarted flag for webhook config (#7183) (7117204)
  • bridge: Make secret selection dynamic (#6940) (be8394d)
  • bridge: Show history of quality gates in environment details (#7009) (d1b96ef)
  • bridge: Trigger a sequence from Bridge (#4507) (84322f3)
  • bridge: Use new evaluation finished payload and UI adoptions in SLI breakdown (#6813) (711b845)
  • cli: Added keptn trigger sequence cmd (#7070) (80f2f7d)
  • cli: trigger authorization code flow when refresh token is expired (#7014) (d596efb)
  • distributor: Added preamble to distributor logs (#7296) (1413ad6)
  • Improve unallowed URLs of webhook-service (#7147) (d5c1d3c)
  • resource-service: Delete project via cloud events (#7024) (86b0cb9)
  • shipyard-controller: Added leader election (#6967) (c5264bd)
  • shipyard-controller: Introduce new data model (#6977) (f46905a)
  • shipyard-controller: Subscribe to events using Jetstream (#6834) (753547b)
  • Support --git-commit-id flag in CLI trigger evaluation (#6956) (f98155c)
  • Support auth via proxy (#6984) (63fca54)

Bug Fixes

  • add default helm value for project name max size (#7289) (1b016a1)
  • Backup git-credentials when using resource-service in integration tests (#7111) (cafab72)
  • bridge: Add latestEvaluationTrace to every stage (8048020)
  • bridge: Break words in project tile, to keep fix width (#7214) (3227f8a)
  • bridge: Fix duplicated sequence and incorrect show older sequences (#7054) (95c5bdc)
  • bridge: Fix incorrect content security policy (e575943)
  • bridge: Fix no-services message and link (#7035) (c9e58a7)
  • bridge: Fix quick filter overflow (#7077) (2dff06a)
  • bridge: Fix wrong time in sequence timeline (#7036) (76811ec)
  • bridge: load projects, also if version.json could not be loaded (#7241) (50acc3a)
  • bridge: Prevent spaces in URL (#7023) (0d01639)
  • bridge: Remove line breaks and unnecessary escaping in strings in webhook.yaml (#7025) (23ac339)
  • bridge: Rounding evaluation score correctly (#6976) (5b89a91)
  • bridge: Truncate evaluation score (#6993) (df8e03a)
  • bridge: Validate start end date duration (0596eae)
  • cli: Added missing env variables to tests (#6867) (33feef1)
  • cli: Fixed parsing of image option in trigger delivery (#7302) (171a979)
  • cli: Removed user check from create/update project and added simple tests (#7193) (2b490d5)
  • configuration-service: Return 404 when token is invalid (#7121) (6805da2)
  • correct passing of projectNameMaxSize helm value with quotes (#7288) (517e2a2)
  • distributor: Added longer sleep for Nats down test in forwarder (#7205) (3fff36d)
  • distributor: Fixed reconnection issue of (re)used ce clients (#7109) (9b69d64)
  • distributor: Include event filter for project, stage, service (#6968) (#6972) (6ab050d)
  • distributor: Increase timout of http client to 30s (#6948) (#6954) (3ccbd77)
  • distributor: shut down distributor when not able to send heartbeat to control plane (#7263) (7c50feb)
  • ensure indicators are set in computeObjectives (#6922) (b1cc56d)
  • Forbid project names longer than a certain size (#7277) (237c4cf)
  • hardening of oauth in distributor and cli (#6917) (b73a379)
  • helm-service: Handling of helm-charts loading problems (#7108) (3a60e50)
  • installer: Make securityContext configurable (#6932) (#6949) (b711b0a)
  • lighthouse-service: Fail sequence when evaluation is aborted/errored (#7211) (1faca09)
  • Normalize error messages (#7080) (0730f1d)
  • resource-service: fix nats subscription and added retry logic (#7215) (180d833)
  • resource-service: Make sure to delete "/" prefix in resourcePath when resolving git commit id (#6919) (2ae4c52)
  • shipyard-controller: Abort multi-stage sequences (#7175) (d06aefb)
  • shipyard-controller: Consider parallel stages when trying to set overall sequence state to finished (#7250) (9550f59)
  • shipyard-controller: Do not exit pull subscription loop when invalid event has been received (#7255) (75c5971)
  • shipyard-controller: Do not reset subscriptions when updating distributor/integration version (#7046) (#7059) (5865cf1), closes #6598 #6613 #6618 #6619 #6634 #6559 #6642 #6643 #6659 #6670 #6632 #6718 #6816 #6819 #6820 #6875 #6763 #6857 #6804 #6931 #6944 #6966 #6971
  • webhook-service: Disallow @ file uploads inside data block (#7158) (aa0f71e)
  • webhook-service: enhance denylist of disallowed urls (#7191) (048dbe4)
  • webhook-service: Fix retrieval of webhook config (#7144) (08ae798)

Docs

  • bridge: Add documentation for environment variables (0bb45a9)
  • Reference the code of conduct in the .github repository (#7110) (3dbd75c)
  • Stop-gap info about filtering by stage, project,service (#7155) (ee03d92)
  • Use K3d 5.3.0 in README for developing (#6926) (f02cad5)

Other

0.13.0 (2022-02-17)

⚠ BREAKING CHANGES

Features

  • Added commitID to webhook and jmeter, updated go-utils dependencies (#6567) (#6787) (5ad04fa)
  • Added get options to fake keptn in go-sdk (#6742) (c6f298c)
  • Block external traffic to internal API endpoints (#6625) (7f6a864)
  • bridge: Login via OpenID (#6076) (#6077) (1a657c8)
  • bridge: Poll sequence metadata for filters and deployed artifacts (#5246) (4c5b9df)
  • bridge: Replace memory store with MongoDB (8d7708f), closes #6076 #6688 #6784
  • bridge: Send access token for each request (#6078) (6726306), closes #6076
  • bridge: Show secret scope and keys on overview table (#6296) (39fef32)
  • bridge: Show specific error message if secret already exists (#6297) (fbf7eb0)
  • bridge: Unify notifications (#5087) (11941fd), closes #6076
  • cli: Added --sso-scopes flag to cli (#6708) (e6e11ba)
  • cli: Allow to skip sending the API token when using an SSO integration (#6675) (5644e03)
  • cli: SSO integration (#6549) (2c5f3f7)
  • cli: Use state param during Oauth flow (#6701) (02aecbc)
  • Get and post with commitid (#6349) (#6567) (c3496c0)
  • installer: Allow API token to be pulled from pre-defined secret (#6312) (dc1037a)
  • Introduce 'waiting' status to sequences (#6603) (e63f312)
  • Introduce Oauth integration for distributor and Oauth enhancements for CLI (#6729) (7245013)
  • Mark endpoints as internal in swagger doc (#6599) (3785eed)
  • mongodb-datastore: Use simple join query instead of uncorrelated sub-query (#6612) (f57412a)
  • Release helm charts on GitHub pages (#6559) (efc285e)
  • resource-service: Added support for directory based git model (#6397) (#6714) (ddd5585)
  • shipyard-controller: Propagate git commit ID passed in sequence.triggered events (#6348) (#6597) (ac1f44e)
  • Update pod config to be more strict w.r.t. security (#6020) (6d69563)
  • webhook-service: Allow disabling .started events (#6524) (#6664) (e07091f)

Bug Fixes

  • Adapt http status code for not found upstream repositories (#6641) (a3ad118)
  • Avoid nil pointer access for undefined value in helm charts (#6863) (d845ea6)
  • bridge: Add message that no events are available when sequence has no traces (#5985) (64540b9)
  • bridge: Display additional error information when creating a project (#6715) (e8b263f)
  • bridge: Fix failed sequence shown as succeeded (#6896) (e723398)
  • bridge: Fix style content security policy (#6750) (bd0d569)
  • bridge: Fixed incorrectly shown loading indicator in sequence list (#6579) (f238cf4)
  • bridge: Show error when having problems parsing shipyard.yaml (#6592) (#6606) (0ceb54d)
  • bridge: When updating an all events subscription, keep sh.keptn.> format (#6628) (1e83fb7)
  • cli: Added missing command description for keptn create secret (#6621) (22bddf9)
  • cli: Check for unknown subcommands (#6698) (c1782c0)
  • cli: CLI new version checker message (#6864) (d836e89)
  • configuration-service: Adapt to different response from git CLI when upstream branch is not there yet (#6876) (#6882) (c9f0b78)
  • configuration-service: Ensure that git user and email are set before committing (#6645) (#6654) (d38bb6e)
  • Fix container image OCI labels (#6878) (0f759d4)
  • Fixed wrong nginx location for bridge urls (#6696) (700895e)
  • installer: External connection string not used while helm upgrade (#6760) (6d04780)
  • installer: Fixed helm/jmeter service helm values schema (#6629) (085edf1)
  • installer: Set distributor version in helm chart (#6652) (#6658) (8c2d8de)
  • jmeter-service: Finish processes when '.finished' event is sent (#6786) (4484a80)
  • resource-service: Fix git-id based file retrieval (#6616) (6ba0165)
  • revert intaller mongoDB version dump (#6733) (d96495b)
  • shipyard-controller: Reflect cancellation in sequence state even when no triggered event is there anymore (#6837) (bdcd95e)
  • Support Openshift 3.11 (#6578) (c72dbf2)
  • Trim Incoming Keptn Context and Triggered ID via API (#6845) (32d98d9)

Performance

  • Directly return Bridge version (#6764) (345469c)

  • bridge: Restructuring of Bridge settings for project (75e2842)

Other

Docs

0.12.0 (2022-01-17)

Features

Bug Fixes

  • added delay and logging to graceful shutdown (#6485) (#6486) (313db7f)
  • Backup and restore integration test (#6224) (7d622f8)
  • bridge: Allow server inline script for base href (#6248) (adebbbb)
  • bridge: Fix problem with redirect and headers on cluster (7407bcd)
  • bridge: fix showing error message for OAUTH (#6294) (6120087)
  • bridge: Fixed bridge server test (#6314) (2d59f64)
  • bridge: Fixed bridge server tests (#6261) (9f02adc)
  • bridge: Fixed environment screen update issues (#6271) (0d5ff40)
  • bridge: Fixed incorrect deployment link title (#6304) (f237520)
  • bridge: Fixed removal of sequences if project endpoint of bridge server responds before projects endpoint of shipyard (#6183) (8153fea)
  • bridge: Remove .event suffix from payload variables in webhook (#6396) (f67e5da)
  • bridge: Update services on project change (#6252) (65d4437)
  • cli: Added rollback events to generated spec (#3722) (#6161) (15ff2c6)
  • cli: Fix error handling during helm installation (#6437) (#6583) (88c418b)
  • cli: Print error message if service does not exist with trigger delivery (#6351) (1d994a4)
  • cli: project without upstream is defined as project without (#6584) (aaf0a61)
  • cli: Set CLI context before attempting to check for K8s context change (#6449) (#6458) (3c2236d)
  • cli: wrong handling of HTTPS in auth command (#6268) (fa8fd1c)
  • configuration-service: Create tmpdir for unarchiving in /data/config (#6329) (#6331) (a1f04af)
  • configuration-service: Creating projects from empty upstream (#6398) (#6399) (dc8337e)
  • configuration-service: Fix permission issues for configuration service (#6315) (#6317) (#6321) (61d9914)
  • configuration-service: Make check for helm chart archives more strict (#6447) (#6457) (babb3cd)
  • Dependencies cleanup (#6369) (a38507b)
  • Dependencies in lighthouse and remediation services (#6368) (3f1646c)
  • Disable gitea installation on k3d (#6408) (#6409) (cd984d4)
  • distributor: forcing restart if integration is malformed (#6309) (#6363) (308261e)
  • fix graceful shutdown in sdk (#6234) (a8db696)
  • Fix uniform integration test (#6171) (#6174) (e55c398)
  • Graceful shutdown failing test (#6462) (#6427) (4a28d73)
  • Increase Bridge memory limits to avoid OOM (#6562) (7f8d1a5)
  • installer: Disable nats config reloader per default (#6316) (#6318) (#6322) (d9263cf)
  • installer: Remove obsolete openshift-route-service (#6272) (#6389) (508dc25)
  • installer: Remove unneeded helm chart values (#6419) (e5e508e)
  • installer: Use previous fsGroup per default, provide option to execute init container (#6385) (#6386) (91eca02)
  • lighthouse-service: Lighthouse now fails if SLI fails (#6096) (#6281) (218cc39)
  • lighthouse-service: Modified criteria example in SLO (#6106) (#6404) (5b7bd19)
  • minor fix in integration tests + added configuration-service securityContext (#6540) (00cfe26)
  • mongodb-datastore: Ensure MongoDB Client is not nil before retrieving database (#6251) (#6255) (#6257) (fbaf0f0)
  • remediation-service: add problemTitle to event message (#5719) (c7d09d8)
  • Remove deprecated commands from CLI (#6435) (d1625a7)
  • Remove hardcoded namespace reference in installer (#6286) (5396d6d)
  • Removed path issue within tests (#6523) (#6525) (4295e2e)
  • Stabilize BackupRestore integration test (#6344) (6fbd8cb)
  • statistics-service: migrate data containing dots in keys (#6266) (663c2bc)
  • statistics-service: migration of keptn service execution data (#6324) (766a8e3)
  • Unit test in shipyard-controller (#6370) (491a19a)
  • Update dependencies (#6381) (65a229a)
  • Update error messages (#6197) (d43188e)
  • Update go.sum of distributor (#6367) (fc2b60a)
  • Update the JMeter Service to JMeter 5.4.2 (#6405) (ccef405)
  • webhook-service: Disallow requests to loopback addresses (#6361) (e7f814e)

Refactoring

  • bridge: Move secret picker in own component (#5733) (#6099) (a54f6a7)
  • bridge: Replace data service mock with api service mock (#5093) (101e472)

Docs

  • Add Keptn versioning and version compatibility document (#5489) (c6e8a5c)
  • configuration-service: Update API documentation (#6008) (76f9ef2)
  • Update Integration Tests Developer documentation (#6548) (d34b70c)

Performance

  • shipyard-controller: Remove DB connection locking (#6326) (690ce1c)

Other

0.11.0 (2021-11-24)

⚠ BREAKING CHANGES

  • MongoDB was updated from 3.6 to 4.4, also the custom helm chart was switched out for the Bitnami MongoDB Helm Chart. This means that a manual database migration is needed to preserve data during the keptn upgrade process! Steps to upgrade keptn with the manual migration can be found on the Keptn Upgrade page.

Features

Bug Fixes

  • Adapt log level of SDK logs (#5920) (#5921) (d314008)
  • api: Remove multiple types in event model (#5948) (#5957) (30d5556)
  • approval-service: Fall back to manual strategy when there is no result available (#6012) (#6017) (9617814)
  • bridge: Add empty state to sequence-view (#5084) (#5693) (b7c10df)
  • bridge: Correctly show warning state (#6003) (9a21d19)
  • bridge: don't log err (contains the x-token), only log err.message (#6047) (#6052) (3eea6e3)
  • bridge: Fix integration curl commands for api (#5941) (d76eccc)
  • bridge: Fixed missing problem title and decode of remediation config (#6053) (ea0c53f)
  • bridge: Fixed overwriting of data in environment screen (#5841) (74a9a3d)
  • bridge: Fixed wrong weight of SLI (#5987) (e536dbc)
  • bridge: Possible fix for flaky clicks in UI tests (#5909) (58c5deb)
  • bridge: Remove inline script for base url and upgrade-insecure-requests header part (#6019) (b2e9960)
  • bridge: Show right event type (#5828) (316d117)
  • bridge: Take SLI-weight out of SLO-file (#5782) (f961ce1)
  • bridge: Use helmet middlewares to prevent XSS (8a58fb3)
  • cli: Make sure the release version is set in command descriptions (#5762) (#5888) (24110c0)
  • cli: problem with missing http(s) in endpoint flag during keptn auth (#6039) (e4164db)
  • configuration-service: changed bad order of extracting and adding resources to services (#6006) (35605b7)
  • configuration-service: Completely replace previous helm chart directory when updating (#6050) (#6058) (74eefdf)
  • configuration-service: Fix order of extracting and adding files to the repo (#6041) (#6045) (4a3bf22)
  • distributor: Fix message filtering in distributor (#6074) (#6075) (602eb37)
  • distributor: fix subscription handling after message broker reconnect (#5823) (49b1051)
  • distributor: Sanitized logs and cleaned up forwarder lifecycle (#6036) (be5adb5)
  • distributor: Set default timeout of Uniform API requests to 5s (#6011) (#6015) (d89cab9)
  • Fix bug where approval and remediation service would not run through unit tests anymore (495654c)
  • Fix bug where DCO check always fails on dependabot PRs (6a4b58d)
  • Fix multiple issues found by Sonatype Lift static analysis (#5934) (dd93b4e)
  • Fix sub-project change detection for build-everything and master builds (db808d6)
  • Fix version not showing up anymore in API (#5783) (1eea3f9)
  • Fixed bug where MongoDB would not come up in airgapped setup (#5939) (079a6b4)
  • Handle upstream not found (#5977) (#5994) (77240d4)
  • shipyard-controller: cleanup uniform subscriptions when service is deleted (#5725) (#5766) (d95f7a6)
  • shipyard-controller: migrate and avoid mongodb keys containing dots (#6065) (5259bcf)
  • shipyard-controller: removed error shadowing (#6048) (04416da)
  • shipyard-controller: Store lastEventTypes only for events that belong to a sequence controlled by the shipyard controller (#5309) (#5777) (ee27c62)
  • Update auto-update pipelines to follow keptns semantic PR guidelines (#5931) (280fa4e)
  • webhook-service: Avoid .finished.finished/.started.finished events (#5954) (#6000) (fbe01a8)
  • webhook-service: invalid conversion of eventType (#5998) (67dba55)

Docs

  • Add release notes for 0.10.0 (d748251)

Other

  • Add @RealAnna to Maintainers list (34175bb)
  • Add environment variables for setting log levels of Keptn services (#5373) (#5911) (809baea)
  • Add flowcharts that describe components of the shipyard controller (#5919) (8aa4dd8)
  • add missing release notes (#5781) (dab9844)
  • Add odubajDT as maintainer (#60) (#6049) (65ae6cf)
  • Add TannerGilbert as project member (#5899) (65148be)
  • Add the correct label for bug reports (#5908) (dc296a5)
  • Added go-sdk and webhook-service to dependencies-and-licenses check (#5898) (6481ca3)
  • Cancel integration tests when mismatch between CLI and kube context is detected (#5743) (#5824) (5596611), closes #5734
  • fixing imports according to snyc (#5936) (391ace2)
  • helm-service: More meaningful error messages (#6089) (80d59cb)
  • Increase timeout of DeliveryAssistant integration test (#6067) (b141ce4)
  • jmeter-service: bump version of jmeter binary to 5.4.1 (#6032) (3c250d2)
  • jmeter-service: cleanups (#6014) (5e779eb)
  • Mitigating racecondition in unit tests (#5901) (5a642a5)
  • mongodb-datastore: Refactoring (#5917) (#6002) (3242094)
  • Polish HTTP(S) headers (a4f52b4)
  • Remove sequence migration integration test because component has been removed (#6101) (afeb7fc)
  • removed cluster role binding (#5955) (391a3ba)
  • Removed obsolete files (#4818) (#5932) (588a76d)
  • shipyard-controller: Adapted log level (#5978) (3cbfcd7)
  • shipyard-controller: cleaning up package(s) (#5786) (a6e51d4)
  • shipyard-controller: cleanups & refactorings 2 (#5937) (adf4078)
  • shipyard-controller: Do not interpret absence of configurationChange property as an error (#5979) (#5982) (28a9a92)
  • shipyard-controller: Extract shipyard retrieval into its own component (#5243) (#5821) (a1d18ae)
  • shipyard-controller: move event operations to event repo (#5902) (730864b)
  • Updated dependencies according to ArtifactHub and Snyk (#5543) (#5951) (48fc51c)
  • Updated go-utils dependency (#5968) (#5969) (f2c796e)
  • use correct link in CLI upgrade message (961ea2a)
  • Version 0.10.0 into master (9eb12ec)

Refactoring

  • bridge: Reduce number of API calls for project endpoint (#5450) (25fd876)
  • bridge: Refactoring of project settings / create project (#5100) (03fc3d2)
  • bridge: Refactoring of service screen (#4918) (#5244) (8f3b810)
  • bridge: Refactoring of services settings (#5100) (771ec59)
  • cli: use viper to manage keptn config (#5694) (498d893)