|
4 | 4 |
|
5 | 5 | ## 0.5.0 - 2026-09-03 |
6 | 6 |
|
7 | | -The NetBox 4.7 release, and a new line rather than an upgrade: 0.5.x runs on NetBox 4.7, 0.4.x stays on NetBox 4.6, and no version of NetBox supports both. netbox-branching decides that, not the plugin. See the [compatibility matrix](https://antoinekh.github.io/netbox-change-control/compatibility/). |
8 | | - |
9 | | -### Added |
10 | | - |
11 | | -- **An event rule can report a pre-merge check.** A new action type writes a check result onto the change request of the branch the event came from: no webhook, no pipeline, no code. The check must still be declared, in a policy's Checks field or in `required_external_checks`. Treat it as provisional: it reports only onto a change request which is already open, so a change made before that is missed, and the action may be removed in a later release. See [reporting a check without leaving NetBox](https://antoinekh.github.io/netbox-change-control/event-rules/#reporting-a-check-without-leaving-netbox). |
12 | | -- **A policy condition can read the transition, not just a value.** `{"attr": "status", "op": "changed"}` matches when the status moved, whatever it moved from; `unchanged` is the inverse; and `snapshots.prechange.status` reads one named side of the change. **Condition state** is unaffected and still governs plain attribute names. See [policy conditions](https://antoinekh.github.io/netbox-change-control/policy-conditions/). |
13 | | -- **A [compatibility matrix](https://antoinekh.github.io/netbox-change-control/compatibility/)**, saying which release runs on which NetBox. It lists the 0.4.x and 0.5.x lines only: releases before 0.4.0 are not recommended. |
| 7 | +0.5.x runs on NetBox 4.7, 0.4.x stays on NetBox 4.6, and no version of NetBox runs both. See the [compatibility matrix](https://antoinekh.github.io/netbox-change-control/compatibility/). |
14 | 8 |
|
15 | 9 | ### Changed |
16 | 10 |
|
17 | 11 | - **Requires NetBox 4.7 and netbox-branching 1.2.** NetBox enforces the range itself, so an install on 4.6 refuses to start rather than failing later. |
18 | 12 | - **Webhook payloads lost `username` and `request_id`**, which NetBox 4.7 removed from the event context. Both values are still delivered, as `request.user` and `request.id`. Update any receiver reading the old names. |
19 | 13 | - CI runs against NetBox 4.7 only, on PostgreSQL 17, and on Python 3.12, 3.13 and 3.14, which are the three versions NetBox 4.7 supports. |
20 | 14 |
|
| 15 | +### Added |
| 16 | + |
| 17 | +- **An event rule can report a pre-merge check.** A new action type writes a check result onto the change request of the branch the event came from: no webhook, no pipeline, no code. The check must still be declared, in a policy's Checks field or in `required_external_checks`. Treat it as provisional: it reports only onto a change request which is already open, so a change made before that is missed, and the action may be removed in a later release. See [reporting a check without leaving NetBox](https://antoinekh.github.io/netbox-change-control/event-rules/#reporting-a-check-without-leaving-netbox). |
| 18 | +- **A policy condition can read the transition, not just a value.** `{"attr": "status", "op": "changed"}` matches when the status moved, whatever it moved from; `unchanged` is the inverse; and `snapshots.prechange.status` reads one named side of the change. **Condition state** is unaffected and still governs plain attribute names. See [policy conditions](https://antoinekh.github.io/netbox-change-control/policy-conditions/). |
| 19 | +- **A [compatibility matrix](https://antoinekh.github.io/netbox-change-control/compatibility/)**, saying which release runs on which NetBox. It lists the 0.4.x and 0.5.x lines only: releases before 0.4.0 are not recommended. |
| 20 | + |
21 | 21 | ### Fixed |
22 | 22 |
|
23 | 23 | - **Every read of a review raised `TypeError` on Django 6.1.** `Review.from_db()` did not accept an argument 6.1 added, so nothing which loads a review worked: opening a change request, evaluating a policy, submitting a review. It now takes `**kwargs`. |
|
0 commit comments