Skip to content
Closed
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
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "IQAIcom/alert-logger" }
{ "repo": "IQOfficial/alert-logger" }
],
"commit": false,
"fixed": [],
Expand Down
20 changes: 10 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Minor Changes

- [#21](https://github.com/IQAIcom/alert-logger/pull/21) [`3633fee`](https://github.com/IQAIcom/alert-logger/commit/3633fee337b1b42275e63e10dfad01d49257a639) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Make sustained alerting quieter and more informative by:
- [#21](https://github.com/IQOfficial/alert-logger/pull/21) [`3633fee`](https://github.com/IQOfficial/alert-logger/commit/3633fee337b1b42275e63e10dfad01d49257a639) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Make sustained alerting quieter and more informative by:

- adding rate-aware early handoff from ramp to sustained mode
- changing the default sustained update interval from 5 minutes to 15 minutes
Expand All @@ -16,7 +16,7 @@

### Patch Changes

- [`942e36f`](https://github.com/IQAIcom/alert-logger/commit/942e36fc5351232fc91f87dc57003a73a2326514) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - fix(fingerprinter): normalize numbers adjacent to unit letters
- [`942e36f`](https://github.com/IQOfficial/alert-logger/commit/942e36fc5351232fc91f87dc57003a73a2326514) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - fix(fingerprinter): normalize numbers adjacent to unit letters

The built-in `NUMBER_RE` used `\b\d+\b`, which failed to match digits
immediately followed by word characters (e.g. `330s`, `120ms`). Messages
Expand All @@ -25,7 +25,7 @@
onset and no suppression occurred. Loosened to `\d+` so duration/size
suffixes are collapsed too.

- [#20](https://github.com/IQAIcom/alert-logger/pull/20) [`3239f66`](https://github.com/IQAIcom/alert-logger/commit/3239f665ad30c04204adbefa12c06a76123464f9) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - fix(fingerprinter): run built-in normalizers before user-defined ones
- [#20](https://github.com/IQOfficial/alert-logger/pull/20) [`3239f66`](https://github.com/IQOfficial/alert-logger/commit/3239f665ad30c04204adbefa12c06a76123464f9) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - fix(fingerprinter): run built-in normalizers before user-defined ones

User-defined normalizers previously ran before the built-in ones, so a
broad rule like `{ pattern: /\d+/g, replacement: "<num>" }` would strip
Expand All @@ -41,7 +41,7 @@

### Major Changes

- [#16](https://github.com/IQAIcom/alert-logger/pull/16) [`bc50c1a`](https://github.com/IQAIcom/alert-logger/commit/bc50c1aaf4660872db6d81b3726b732d25e87794) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Add Slack and Telegram adapters with adapter-owned routing
- [#16](https://github.com/IQOfficial/alert-logger/pull/16) [`bc50c1a`](https://github.com/IQOfficial/alert-logger/commit/bc50c1aaf4660872db6d81b3726b732d25e87794) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Add Slack and Telegram adapters with adapter-owned routing

**Breaking changes:**

Expand Down Expand Up @@ -83,7 +83,7 @@

### Patch Changes

- [#13](https://github.com/IQAIcom/alert-logger/pull/13) [`417688e`](https://github.com/IQAIcom/alert-logger/commit/417688e9ec62ac8540a88aa3e559e7648f3195dd) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - fix: improve default fingerprint aggregation to reduce alert noise
- [#13](https://github.com/IQOfficial/alert-logger/pull/13) [`417688e`](https://github.com/IQOfficial/alert-logger/commit/417688e9ec62ac8540a88aa3e559e7648f3195dd) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - fix: improve default fingerprint aggregation to reduce alert noise

- Normalize titles with the same rules used for messages (UUIDs, hex addresses, timestamps, numbers) so dynamic values in titles don't split fingerprints.
- Reduce default `stackDepth` from 3 to 1 so the same error from different callers groups into a single aggregation stream. Users can restore the previous behavior with `fingerprint: { stackDepth: 3 }`.
Expand All @@ -92,7 +92,7 @@

### 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
- [#11](https://github.com/IQOfficial/alert-logger/pull/11) [`44f5ee8`](https://github.com/IQOfficial/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.
Expand All @@ -103,13 +103,13 @@

### Patch Changes

- [#9](https://github.com/IQAIcom/alert-logger/pull/9) [`c578183`](https://github.com/IQAIcom/alert-logger/commit/c5781833c3afc9acb062d22120cd6de7c0c45cbf) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Add typesVersions for TypeScript moduleResolution "node" subpath type resolution
- [#9](https://github.com/IQOfficial/alert-logger/pull/9) [`c578183`](https://github.com/IQOfficial/alert-logger/commit/c5781833c3afc9acb062d22120cd6de7c0c45cbf) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Add typesVersions for TypeScript moduleResolution "node" subpath type resolution

## 0.3.0

### Minor Changes

- [#6](https://github.com/IQAIcom/alert-logger/pull/6) [`83c2811`](https://github.com/IQAIcom/alert-logger/commit/83c281125fc637731f09c1753fa5c9702fc9f874) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Add configurable HealthPolicy for adapter health/retry behavior
- [#6](https://github.com/IQOfficial/alert-logger/pull/6) [`83c2811`](https://github.com/IQOfficial/alert-logger/commit/83c281125fc637731f09c1753fa5c9702fc9f874) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Add configurable HealthPolicy for adapter health/retry behavior

- New `health` config option with `unhealthyThreshold`, `healthWindowMs`, `drainIntervalMs`, `maxRetries`, and `entryExpiryMs`
- Extract shared `formatDuration` utility to eliminate duplication between health-manager and discord formatter
Expand All @@ -118,13 +118,13 @@

### Patch Changes

- [#8](https://github.com/IQAIcom/alert-logger/pull/8) [`0746d58`](https://github.com/IQAIcom/alert-logger/commit/0746d5833628db1af3d2d985031dd672c5fd484a) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Add CommonJS build output alongside ESM for compatibility with projects using `moduleResolution: "node"`
- [#8](https://github.com/IQOfficial/alert-logger/pull/8) [`0746d58`](https://github.com/IQOfficial/alert-logger/commit/0746d5833628db1af3d2d985031dd672c5fd484a) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Add CommonJS build output alongside ESM for compatibility with projects using `moduleResolution: "node"`

## 0.2.0

### Minor Changes

- [`c31f9b9`](https://github.com/IQAIcom/alert-logger/commit/c31f9b99ed5b35fc3def62370a89875b924627df) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Initial release of @iqai/alert-logger with core engine, Discord/Console adapters, reliability layer, and NestJS/Next.js integrations.
- [`c31f9b9`](https://github.com/IQOfficial/alert-logger/commit/c31f9b99ed5b35fc3def62370a89875b924627df) Thanks [@Royal-lobster](https://github.com/Royal-lobster)! - Initial release of @iqai/alert-logger with core engine, Discord/Console adapters, reliability layer, and NestJS/Next.js integrations.

## 0.1.0

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Thanks for your interest in contributing!
## Development Setup

```bash
git clone https://github.com/IQAIcom/alert-logger.git
git clone https://github.com/IQOfficial/alert-logger.git
cd alert-logger
npm install
```
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Smart alert aggregation for any destination — Discord, Sentry, Slack, console, or your own adapter",
"type": "module",
"license": "MIT",
"author": "IQ AI <https://github.com/IQAIcom>",
"author": "IQ AI <https://github.com/IQOfficial>",
"keywords": [
"alert",
"logger",
Expand All @@ -19,7 +19,7 @@
],
"repository": {
"type": "git",
"url": "https://github.com/IQAIcom/alert-logger"
"url": "https://github.com/IQOfficial/alert-logger"
},
"exports": {
".": {
Expand Down
Loading