syntropylog 0.11.0 → 0.11.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.11.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Fix: remove duplicate createRequire declaration in ESM bundle. Rollup was injecting an intro that re-declared createRequire already imported by SerializationManager, causing "Identifier 'createRequire' has already been declared" when loading the package in Node ESM (e.g. tsx or "type": "module").
8
+
3
9
  ## 0.11.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -73,23 +73,6 @@ SyntropyLog v0.11.0 introduces the **Log Resilience Engine**, making your applic
73
73
 
74
74
  ---
75
75
 
76
- ## 📊 Performance Benchmarks
77
-
78
- Tested with **2,000,000 logs** on Node.js 20+ (Nulled I/O).
79
-
80
- | Library | Throughput | Avg Latency | Notes |
81
- | :--- | :--- | :--- | :--- |
82
- | **Pino** | ~4.1M ops/s | 0.24 µs | Fastest, no masking by default |
83
- | **SyntropyLog v0.11.0** | **~980k ops/s** | **1.02 µs** | **Secure-by-default (Masking + Context)** |
84
- | **Console.log** | ~1.2M ops/s | 0.83 µs | Baseline Node.js performance |
85
- | **Winston** | ~175k ops/s | 5.70 µs | Traditional legacy logger |
86
-
87
- > SyntropyLog is **5.5x faster than Winston** and only ~20% slower than pure console while providing deep-object masking and context management.
88
-
89
- To compare native addon vs JS-only pipeline: run `pnpm run bench` (with addon) and `SYNTROPYLOG_NATIVE_DISABLE=1 pnpm run bench` (JS only). The benchmark reports "native addon (Rust): yes/no" at startup.
90
-
91
- ---
92
-
93
76
  ## 🚀 Quick Start (60 seconds)
94
77
 
95
78
  ### **1. Install**
@@ -663,7 +646,7 @@ const dbTransport = new UniversalAdapter({
663
646
 
664
647
  - **[Improvement plan & roadmap](docs/code-improvement-analysis-and-plan.md)** — Code analysis, prioritized backlog, and phased work plan.
665
648
  - **[Rust addon implementation plan](doc-es/rust-implementation-plan.md)** (ES) — Phased checklist to maximize use of the native addon (“Formula 1” path); links to [rust-pipeline-optimization.md](doc-es/rust-pipeline-optimization.md) for details.
666
- - **Benchmarks** — Summary in the [Performance Benchmarks](#-performance-benchmarks) section above; run `pnpm run bench` or `pnpm run bench:memory` from the repo root. [Benchmark run report (throughput + memory + high-demand stack)](docs/benchmark-memory-run.md) (EN) · [Informe de ejecución (ES)](doc-es/benchmark-memory-run.md). With the optional Rust addon built (`cd syntropylog-native && pnpm run build`), the benchmark reports native addon usage.
649
+ - **Benchmarks** — Run `pnpm run bench` or `pnpm run bench:memory` from the repo root. [Benchmark run report (throughput + memory + high-demand stack)](docs/benchmark-memory-run.md) (EN) · [Informe de ejecución (ES)](doc-es/benchmark-memory-run.md). With the optional Rust addon built (`cd syntropylog-native && pnpm run build`), the benchmark reports native addon usage. To compare native vs JS-only: `pnpm run bench` vs `SYNTROPYLOG_NATIVE_DISABLE=1 pnpm run bench`.
667
650
 
668
651
  ---
669
652
 
package/dist/index.mjs CHANGED
@@ -1,7 +1,3 @@
1
- import { createRequire } from 'node:module';
2
- const require = createRequire(import.meta.url);
3
-
4
-
5
1
  import { EventEmitter } from 'events';
6
2
  import { AsyncLocalStorage } from 'node:async_hooks';
7
3
  import { randomUUID } from 'crypto';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "syntropylog",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "engines": {
5
5
  "node": ">=20.0.0"
6
6
  },