@bymax-one/nest-logger 1.4.32 → 1.4.33

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
@@ -12,12 +12,21 @@ heading here.
12
12
 
13
13
  ## [Unreleased]
14
14
 
15
+ ## [1.4.33] - 2026-11-27
16
+
17
+ No behaviour change: the published code differs from `1.4.32` in one comment.
18
+
19
+ ### Documentation
20
+
21
+ - **`minLevel` of `DefaultStdoutDestination` says what omitting it does.** The destination then receives what the module `level` lets through, and a `minLevel` below that level widens nothing.
22
+ - **The `1.4.32` entry on the README says what it filled**: gaps against the behaviour as well as against the types.
23
+
15
24
  ## [1.4.32] - 2026-11-26
16
25
 
17
26
  ### Documentation
18
27
 
19
28
  - **Every log key is listed with its level and fields.** `LOGGER_BOOTSTRAP_OK` and `LOGGER_SHUTDOWN_OK` had no row, and `LOGGER_BUILTINS_REPLACED` is now listed under thrown errors.
20
- - **The README fills gaps it had against the published types**, in the options, the HTTP fields, the decorators, the helpers and the destinations.
29
+ - **The README fills gaps it had against the published types and the behaviour**, in the options, the HTTP fields, the decorators, the helpers and the destinations.
21
30
  - **The row for `censorMessageText` is removed.** The method is marked `@internal`.
22
31
  - **The comments on `ILogDestination` match the registry**, on write failure reports and on the shutdown budget.
23
32
 
@@ -3586,7 +3595,8 @@ published `dist/` is identical — no runtime behaviour changes for consumers.
3586
3595
  - Professional CI suite: `ci.yml`, `bench.yml`, `codeql.yml`, `scorecard.yml`,
3587
3596
  `release.yml`, Dependabot, and issue templates
3588
3597
 
3589
- [Unreleased]: https://github.com/bymaxone/nest-logger/compare/v1.4.32...HEAD
3598
+ [Unreleased]: https://github.com/bymaxone/nest-logger/compare/v1.4.33...HEAD
3599
+ [1.4.33]: https://github.com/bymaxone/nest-logger/compare/v1.4.32...v1.4.33
3590
3600
  [1.4.32]: https://github.com/bymaxone/nest-logger/compare/v1.4.31...v1.4.32
3591
3601
  [1.4.31]: https://github.com/bymaxone/nest-logger/compare/v1.4.30...v1.4.31
3592
3602
  [1.4.30]: https://github.com/bymaxone/nest-logger/compare/v1.4.29...v1.4.30
@@ -1940,9 +1940,9 @@ function writeStderrSafely(line) {
1940
1940
  // src/server/destinations/default-stdout.destination.ts
1941
1941
  exports.DefaultStdoutDestination = class DefaultStdoutDestination {
1942
1942
  /**
1943
- * @param opts.minLevel — Optional minimum level filter. Entries below this
1944
- * level are dropped by the destination registry before reaching `write`.
1945
- * Omit (or pass `undefined`) to accept every level.
1943
+ * @param opts.minLevel — Optional minimum level for this destination. Entries
1944
+ * below it, or below the module `level`, never reach `write`. Omit (or pass
1945
+ * `undefined`) to receive what the module `level` lets through.
1946
1946
  */
1947
1947
  constructor(opts = {}) {
1948
1948
  this.name = "stdout-json";
@@ -1249,9 +1249,9 @@ declare class DefaultStdoutDestination implements ILogDestination {
1249
1249
  readonly name = "stdout-json";
1250
1250
  readonly minLevel?: LogLevel;
1251
1251
  /**
1252
- * @param opts.minLevel — Optional minimum level filter. Entries below this
1253
- * level are dropped by the destination registry before reaching `write`.
1254
- * Omit (or pass `undefined`) to accept every level.
1252
+ * @param opts.minLevel — Optional minimum level for this destination. Entries
1253
+ * below it, or below the module `level`, never reach `write`. Omit (or pass
1254
+ * `undefined`) to receive what the module `level` lets through.
1255
1255
  */
1256
1256
  constructor(opts?: {
1257
1257
  minLevel?: LogLevel;
@@ -1249,9 +1249,9 @@ declare class DefaultStdoutDestination implements ILogDestination {
1249
1249
  readonly name = "stdout-json";
1250
1250
  readonly minLevel?: LogLevel;
1251
1251
  /**
1252
- * @param opts.minLevel — Optional minimum level filter. Entries below this
1253
- * level are dropped by the destination registry before reaching `write`.
1254
- * Omit (or pass `undefined`) to accept every level.
1252
+ * @param opts.minLevel — Optional minimum level for this destination. Entries
1253
+ * below it, or below the module `level`, never reach `write`. Omit (or pass
1254
+ * `undefined`) to receive what the module `level` lets through.
1255
1255
  */
1256
1256
  constructor(opts?: {
1257
1257
  minLevel?: LogLevel;
@@ -1937,9 +1937,9 @@ function writeStderrSafely(line) {
1937
1937
  // src/server/destinations/default-stdout.destination.ts
1938
1938
  var DefaultStdoutDestination = class {
1939
1939
  /**
1940
- * @param opts.minLevel — Optional minimum level filter. Entries below this
1941
- * level are dropped by the destination registry before reaching `write`.
1942
- * Omit (or pass `undefined`) to accept every level.
1940
+ * @param opts.minLevel — Optional minimum level for this destination. Entries
1941
+ * below it, or below the module `level`, never reach `write`. Omit (or pass
1942
+ * `undefined`) to receive what the module `level` lets through.
1943
1943
  */
1944
1944
  constructor(opts = {}) {
1945
1945
  this.name = "stdout-json";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bymax-one/nest-logger",
3
- "version": "1.4.32",
3
+ "version": "1.4.33",
4
4
  "description": "Structured JSON logging for NestJS based on Pino 10, with optional OpenTelemetry correlation.",
5
5
  "author": "Bymax One <support@bymax.one>",
6
6
  "license": "MIT",