chore: prepare release 0.12.0

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2025-01-29 11:08:29 +02:00
parent 030a390159
commit 64e76a97a8
4 changed files with 54 additions and 2 deletions
+46
View File
@@ -4,6 +4,52 @@ This file summarizes the user-visible changes to `radicle-ci-broker`
between releases.
## Version 0.12.0, released 2025-01-29
Breaking changes:
* The `radicle_ci_broker::msg::helper` module error type has been
renames to `MessageHelperError` from `NativeMessageError`. The old
name was misleading and copy-pasted from the Radicle native CI
adapter.
* The `radicle_ci_broker::db::Db::queued_events` method has been
dropped. This also means the CI broker no longer checks that the old
"broker events" queue is empty when starting. Previously `cib` would
refuse to start if the old queue wasn't empty. (The new queue has
"CI events", which are different from "broker events". This change
only affects the old queue, which hasn't been used in several
releases.)
New features:
* There is now a new way to specify when a CI run should trigger,
using the new `triggers` field in the configuration file. The new
approach allows many runs to be triggered from one change, and each
run can have a different CI adapter. See the user guide chapter
"Triggering CI" for details. The old `filter` and `default_adapter`
approach is still supported, but will eventually go away.
* As part of the `triggers` change, because of old mistakes, filtering
of event now happens when queued events are processed. Previously,
the filter was applied before an event was queued. This will
hopefully not cause problems due to the event queue exploding in
size. If it does cause problems, we can fix that, although it'll
require a database schema change. Let us know.
* The `cibtool trigger` option `--ref` (also known as `--name`) now
defaults to `main` and `--commit` defaults to `HEAD`. This makes the
command a little bit more convenient to use.
* The frequency of how often the event queue length is logged can now
be configured. This reduces log spam when the CI broker is idle. The
setting is called `queue_len_interval` and is set to one hour by
default.
* The source code repository for the CI broker now includes packaging
for the NixOS operating system.
## Version 0.11.1, released 2025-01-09
This is primarily a bug fix release.