Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .changeset/description-and-resolution.md

This file was deleted.

11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## 0.4.0

### Minor Changes

- [#11](https://github.com/IQAIcom/alert-logger/pull/11) [`44f5ee8`](https://github.com/IQAIcom/alert-logger/commit/44f5ee8eec9cd2b622c857e4b438b8d407893d16) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - feat: add `description` option and fix resolution noise

- Add `description` field to `AlertOptions` for separating short titles from detailed messages. When set, `description` is used as the embed body instead of the title.
- Allow `error()` and `critical()` to accept `(title, options)` without an intermediate `undefined` error param.
- Resolution notifications now only fire for sustained incidents (count > rampThreshold). One-off or sporadic alerts no longer produce "Resolved" messages.
- NestJS exception filter uses `{METHOD} {PATH}` as the alert title instead of the full error message.

## 0.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@iqai/alert-logger",
"version": "0.3.1",
"version": "0.4.0",
"description": "Smart alert aggregation for any destination — Discord, Sentry, Slack, console, or your own adapter",
"type": "module",
"license": "MIT",
Expand Down