Repository navigation
Releases: AgentiX-E/drain-ts
Releases · AgentiX-E/drain-ts
Release list
drain-ts v1.1.1
See CHANGELOG.md for details.
Full Changelog: v1.1.0...v1.1.1
drain-ts v1.1.0
[1.1.0] - 2026-07-26
Added
- JaccardDrain algorithm variant (first-token-based tree with Jaccard similarity)
- DrainStream: Node.js Transform stream for real-time log processing
- RoundRobinPool: In-process round-robin TemplateMiner instances
- AbstractMaskingInstruction: Pluggable masking backends (non-regex)
- RFC 4180 CSV parser: Self-built, 40+ test vectors validated
- Playwright browser tests: Verified Drain/JaccardDrain/masking/LRU in real Chromium
- Dependabot: Weekly npm ecosystem version updates
- INI config support:
TemplateMinerConfig.fromIni()for drain3.ini compatibility - Benchmark CI: HDFS smoke test in quality pipeline
- Node 24 CI: Forward compatibility matrix
- 4 new masking presets:
HOST_PORT,BLOCK_ID,PATH,SYSLOG_NUM getParameterList(): Drain3 API compatibility
Changed
- Profiler aligned with Drain3: custom printer, enclosing section %, batch rates, sorted output, Hz
addLogMessagemoved to DrainBase: shared by Drain and JaccardDrain (matches Python)- PTA evaluator:
<...>token normalization for masked parameter equivalence - Benchmark: Uses GT CSV Content column as input (standard Loghub approach)
- Extended masking: 5 → 9 presets
- TemplateMinerConfig: added
enginefield ("Drain" | "JaccardDrain")
Fixed
- P0: Benchmark broken: parseGroundTruth() repaired (CSV header skip, EventTemplate column, RFC 4180 quoting)
- P0: Package.json
typesordering: moved beforeimport/require - Dependabot vulnerabilities: 9 → 1 (esbuild override, brace-expansion false positive)
- Flaky benchmark test: adaptive threshold (20k → 15k logs/sec)
Security
- Dependabot version updates (no alerts)
- esbuild CVE GHSA-g7r4 mitigated via override
Full Changelog: v1.0.1...v1.1.0
drain-ts v1.0.1
drain-ts v1.0.1
@agentix-e/drain-ts — TypeScript/Node.js streaming log template miner.
Highlights
- Full Drain3 v0.9.11 parity: treeSearch, fastMatch, LRU eviction, match inference, parameter extraction
- 184 tests, 98.86% statement coverage, 95.5% branch coverage
- Zero runtime dependencies — no mandatory peer deps
- Framework-agnostic state persistence (File, Redis, Kafka, S3)
- Cross-runtime: Node.js ≥22, Deno, Bun, browsers
Installation
pnpm add @agentix-e/drain-tsSee documentation and README for full details.
drain-ts v1.0.0
drain-ts v1.0.0
@agentix-e/drain-ts — TypeScript/Node.js streaming log template miner.
Highlights
- Full Drain3 v0.9.11 parity: treeSearch, fastMatch, LRU eviction, match inference, parameter extraction
- 184 tests, 98.86% statement coverage, 95.5% branch coverage
- Zero runtime dependencies — no mandatory peer deps
- Framework-agnostic state persistence (File, Redis, Kafka, S3)
- Cross-runtime: Node.js ≥22, Deno, Bun, browsers
Installation
pnpm add @agentix-e/drain-tsSee documentation and README for full details.