@onlineapps/error-handler-core 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -4,6 +4,18 @@ All notable changes to this package. Follows [Keep a Changelog](https://keepacha
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [2.0.1] — 2026-09-15
8
+
9
+ ## [2.0.0] — 2026-09-14
10
+
11
+ ### Changed — a swallowed DLQ publish failure is reported through the injected logger, not `console.error`
12
+
13
+ `DLQRouter.routeToDLQ()` used to write `[DLQRouter] DLQ routing failed` to `console.error`
14
+ when the dead-letter publish itself failed; it now writes the same record through the
15
+ logger the router was constructed with, and nothing reaches stdout. Measured by the
16
+ conn-infra-error-handler test that spied on `console.error` and went red on the 2.0.0
17
+ pin (d.265b, `2c2fbee8`); this entry was missing when 2.0.0 was cut.
18
+
7
19
  ### Added
8
20
 
9
21
  - **Regrese pro tři řádky tabulky, které ji neměly (d.331).** `401` → `BUSINESS` (neopakuje se), `408` → `TIMEOUT` a `429` → `RATE_LIMIT` (obojí se opakuje) — u každého se tvrdí verdikt I `shouldRetry`, protože klasifikace bez opakovatelnosti neříká nic o osudu zprávy. Právě těmhle třem statusům chyběl záznam v druhé, dnes už smazané mapě orchestrátoru, takže se rate-limitovaný krok neopakoval proti řádku `RATE_LIMIT` v `docs/standards/ERROR_HANDLING.md`. Tabulka je měřením v pořádku — chyběl jí hlas, kterým se ozve, až se pohne (`automation-gates.md` §5). Kontrolní případ pojmenuje důsledek jediného jména: chyba značkovaná vyřazeným `statusCode` propadne na hláškové vzory.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlineapps/error-handler-core",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Core error handling functionality for OA Drive microservices - classification, retry, circuit breaker, DLQ routing",
5
5
  "oa": {
6
6
  "category": "connector"
@@ -25,8 +25,8 @@
25
25
  "author": "OnlineApps",
26
26
  "license": "MIT",
27
27
  "dependencies": {
28
- "@onlineapps/logger-contract": "1.1.0",
29
- "@onlineapps/runtime-config": "1.1.0",
28
+ "@onlineapps/logger-contract": "2.0.0",
29
+ "@onlineapps/runtime-config": "1.2.0",
30
30
  "opossum": "10.0.0"
31
31
  },
32
32
  "devDependencies": {