Note about upgrading CDS
You have to install version 0.49.0 or newer if you want to upgrade your CDS Instance from a version < 0.49.0 to this newer version.
When you are upgrading CDS:
- backup your database before any operation
- run the database migration, documentation on https://ovh.github.io/cds/hosting/database/
- after running the API, check if there is no error on migration, with
cdsctl admin migration list
Notable Changes in version 0.50
More info on https://ovh.github.io/cds/hosting/upgrade/migrate_0.50/
Features
- api: allow variable interpolation in notification recipients (#5946) (9f81302)
- api: delete workflow with dependencies (#5957) (a7a1201)
- api: disable project secrets auto injection for given regions (#6048) (1ac7500)
- api, sql: worker hooks (#5980) (4e320d2)
- api,cli: delete secret from commandline (#5933) (833ebb3)
- api,plugin-kafka: allow set the sarama version (#6029) (3803658)
- artifactory: allow to re run actions (#5913) (5b9b536)
- cdsctl: cdsctl admin database for cdn service (#5930) (5e6911e)
- cli: max number of retries for HTTP calls from env variable (#5934) (f0337e4)
- cli,cdn: add command to migrate artifact into CDN (#5884) (4b6bb08)
- engine: add region requirement on integration (#5932) (0c4b620)
- harchery:swarm: improve stability when sharing host (#6000) (3641057)
- hatchery: allow to disable or change max job start attempts count (#5914) (8dc52d6)
- hatchery,worker: worker start command (#5986) (d9eec0f)
- hatchery:swarm: login on private registry (#5908) (c7f3334)
- sdk: reduce memory allocations (#5909) (c80557c)
- ui: use local fonts (#5966) (c44b723)
- allow lazy binary download (#5915) (d5d094e)
- postgresql 14.0 recommanded (#5990) (37d5efc)
- worker run-result add static-file (#5941) (48aa23d)
- ui,api: workflow v3 preview (#5927) (cf2d21b)
Bug Fixes
- api: always add log fields from auth middleware (#6046) (dc93280)
- api: purge check vcsclient (#6019) (982f2a1)
- api: select requirements from plugin binary depending os/arch (#6017) (fb437e9)
- api: take care of integration model requirements for region check (#6021) (4421b59)
- api: validate username with regex (#6026) (ccfee12)
- api,cdsctl: download artifacts and coverage from artifacts manager (#6041) (139ea40)
- contrib: use markdown as default release note format (#5993) (fd7b0a4)
- doc: see also link to root command (#5994) (fec0611)
- hooks: remove deprecated branch deletion from hooks (#5955) (08ef0d8)
- interpolate: wrong µµµ replacement (#6047) (8d8a5b4)
- docker-compose upgrade (#6043) (8d175a0)
- ui: lint + websocketV3 (#5989) (96f5e87)
- worker: base dir + env variable (#6024) (2da9361)
- worker: executing plugin is failing for windows worker (#6042) (74696a1)
- worker: remove all download artifact code (#6001) (af0a7e3)
- worker: warn for invalid junit file (#6011) (20cd0e1)
- worker: worker set version message typo (#5981) (2df6cc0)
- remove default group (#5956) (a0b430b)
- api: craft workflow run now locks repository (#5943) (a752427)
- api: protect api from bad interpolation sequences from git info (#5944) (ed59ae3)
- api: recursively stop parent run using workflow hook (#5906) (9fee75d)
- api: remove deacklock on database (#5945) (ef9d729)
- cdn: do not compute size from hidden directory (#5883) (b4d99f6)
- cdn: do not stack purge goroutine (#5862) (2f6a6fc)
- cdn: insert item unit on deduplication (#5882) (c7e1148)
- cdn: reduce transaction duration (#5878) (ae86426)
- cdn: update query to use index (#5873) (cf7caf9)
- doc: add missing builtin actions (#5917) (63d48e9)
- engine: add missing index + improve query (#5876) (8e4c7de)
- engine: do not load all branches all the time (#5900) (bbae9de)
- hatchery: fail the job after too many attempts for the same job (#5902) (d72081c)
- hatchery/swarm: improve spawn error message on docker pull (#5918) (ed52fa5)
- ui: fix variable audit + group project usage (#5860) (b1d34a3)
- ui: handle events sequentially (#5877) (f5852d8)
- ui: link to the outoing hook wf on another prj (#5895) (31932b9)
- ui,api: allow maintainers to read job info, update deps (#5881) (6c07e41)
- vcs: add get default branch for each vcs manager (#5921) (36e45c4)
- vcs: nonce (#5894) (f8dd4b0)
- vcs: remove UI URL from config, get it by API call (#5936) (48da39b)
- worker: job interpolation should be done only once (#5931) (6b133b8)
- worker,cdn: logs order (#5939) (947426a)
- get default branch from github (#5919) (23d0dfe)
- move default purge on configuration (#5888) (8d73e27)
- tag is no more required with CDN artifact management (#5889) (780acb6)
- worker: remove srv timeout (#5863) (966f98a)
- update kubernetes hatchery lib + fix service logs (#5967) (0ae9e8b)
New Contributors
- @Mama59 made their first contribution in #5870
- @philippgille made their first contribution in #5909
- @butuzov made their first contribution in #5962
- @Juneezee made their first contribution in #5999
Full Changelog: 0.49.0...0.50.0