Skip to content

Commit 29cf026

Browse files
docs: changelog for v0.2.0
1 parent 7a98230 commit 29cf026

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Changelog
2+
3+
## v0.2.0
4+
5+
### Breaking changes
6+
7+
- **`openstatus_notification.name` is now `Required`.** Configs that previously omitted `name` already failed at apply time against the API (server enforces `min_len=1`); this change surfaces the failure at plan time.
8+
- **Unknown `access_type` values returned by the API are no longer silently coerced to `"public"`.** A status page in an unrecognized state will surface a diagnostic warning and leave `access_type` empty until a recognized value is set. The new `"ip"` value is also valid for `access_type`.
9+
- **`description`, `body`, `timeout`, and `retry` are now sent on every monitor update,** including zero/empty values. The first apply after upgrade may clear a `description` that was set out-of-band (e.g., via the dashboard) but not declared in HCL. To avoid this, add `description = "..."` to HCL before upgrading.
10+
11+
### Added
12+
13+
- **New `ms_teams` notification provider** for Microsoft Teams webhooks.
14+
- **Status page**: new `theme`, `default_locale`, `locales`, `allow_index`, and `allowed_ip_ranges` attributes; `theme` is now writable (was read-only).
15+
- **Status page**: new `access_type = "ip"` mode (pairs with `allowed_ip_ranges`).
16+
- **Monitors**: new `open_telemetry` block on `openstatus_http_monitor`, `openstatus_tcp_monitor`, and `openstatus_dns_monitor` to configure OpenTelemetry exporters.
17+
- **Client-side slug regex validation** on `openstatus_status_page.slug` (matches the server's `^[a-z0-9]+(?:-[a-z0-9]+)*$`).
18+
- **Diagnostic warnings** when the API returns unrecognized enum values (notification provider, Opsgenie region, status page theme/locale/access type) instead of silently corrupting state.
19+
20+
### Fixed
21+
22+
- **`openstatus_notification` updates to `monitor_ids` are now applied.** The provider now sends the API's `update_monitor_ids` flag and an explicit `monitor_ids` list (including empty `[]` to clear). Previously the field was silently ignored server-side.
23+
- **Monitor `timeout = 0` and `retry = 0` are now honored.** Previously `omitempty` collapsed explicit zeros into "not set" and the server applied its defaults (45000ms / 3 retries).

0 commit comments

Comments
 (0)