Skip to content

@loglayer/plugin-redaction Changelog

4.0.0

Major Changes

  • #404 9cf3b79 Thanks @theogravity! - @loglayer/plugin-redaction: Switched from onMetadataCalled to onBeforeDataOut hook. The plugin now redacts all assembled data (metadata, context, error fields, and rootData) instead of only metadata from withMetadata() calls. This ensures sensitive fields are redacted regardless of how they enter the logging pipeline.

Minor Changes

  • #405 bdec560 Thanks @theogravity! - Bump versions for packages depending on loglayer due to minor version update in loglayer and @loglayer/shared (types changed).

Patch Changes

  • Updated dependencies [bdec560]:
    • @loglayer/plugin@3.2.0

3.1.0

Minor Changes

  • #387 677043e Thanks @theogravity! - Add missing parameters to plugin hooks and transports for feature parity with loglayer-go

    Added to all plugin params (PluginBeforeDataOutParams, PluginBeforeMessageOutParams, PluginShouldSendToLoggerParams, PluginTransformLogLevelParams) and LogLayerTransportParams:

    • groups?: string[] - The group names this log entry belongs to
    • schema?: LogLayerPluginSchema - Schema information for navigating the assembled data (contextFieldName, metadataFieldName, errorFieldName)
    • prefix?: string - The prefix attached via withPrefix()

    New LogLayerPluginSchema interface provides:

    • contextFieldName?: string - Key under which persistent context data is nested
    • metadataFieldName?: string - Key under which per-call metadata is nested
    • errorFieldName: string - Key under which serialized error is stored

Patch Changes

  • Updated dependencies [677043e]:
    • @loglayer/plugin@3.1.0

3.0.2

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@3.0.2

3.0.1

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@3.0.1

3.0.0

Major Changes

  • fc56d4b Thanks @theogravity! - Major version bump to align all packages with loglayer v9. No breaking changes in these packages; update your loglayer dependency to v9 for lazy evaluation support.

Patch Changes

  • Updated dependencies [fc56d4b]:
    • @loglayer/plugin@3.0.0

2.1.15

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.2.7

2.1.14

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.2.6

2.1.13

Patch Changes

  • #318 358032a Thanks @theogravity! - - Add to package.json sideEffects: false, which will better help with tree shaking
    • Dev dependency updates
  • Updated dependencies [358032a]:
    • @loglayer/plugin@2.2.5

2.1.12

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.2.4

2.1.12-alpha-0.0

Patch Changes

  • @loglayer/plugin@2.2.4-alpha-0.0

2.1.11

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.2.3

2.1.10

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.2.2

2.1.9

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.2.1

2.1.8

Patch Changes

  • Updated dependencies [4b0996c]:
    • @loglayer/plugin@2.2.0

2.1.7

Patch Changes

  • Updated dependencies [8554479]:
    • @loglayer/plugin@2.1.7

2.1.6

Patch Changes

  • #277 1e01627 Thanks @Eptagone! - Migration from tsup to tsdown and small dependency updates.

  • Updated dependencies [1e01627]:

    • @loglayer/plugin@2.1.6

2.1.5

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.1.5

2.1.4

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.1.4

2.1.3

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.1.3

2.1.2

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.1.2

2.1.1

Patch Changes

2.1.0

Minor Changes

Patch Changes

  • Updated dependencies [818bae5]:
    • @loglayer/plugin@2.1.0

2.0.4

Patch Changes

  • Updated dependencies [a66ce9b]:
    • @loglayer/plugin@2.0.4

2.0.3

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.0.3

2.0.2

Patch Changes

2.0.1

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@2.0.1

2.0.0

Major Changes

  • #151 5f1260b Thanks @theogravity! - Bump major version to reflect major version bump to v6 in main loglayer library, which implements the new Context Manager feature.

Patch Changes

  • Updated dependencies [5f1260b]:
    • @loglayer/plugin@2.0.0

1.0.10

Patch Changes

  • Updated dependencies [733ba8f]:
    • @loglayer/plugin@1.3.0

1.0.9

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@1.2.2

1.0.8

Patch Changes

  • Updated dependencies []:
    • @loglayer/plugin@1.2.1

1.0.7

Patch Changes

  • Updated dependencies [d8054c8]:
    • @loglayer/plugin@1.2.0

1.0.6

Patch Changes

  • #112 561a1a6 Thanks @theogravity! - Update changelog doc formatting, add links to documentation site

  • Updated dependencies [561a1a6]:

    • @loglayer/plugin@1.1.1

1.0.5

Patch Changes

  • Updated dependencies [c38d650]:
    • @loglayer/plugin@1.1.0

1.0.4

Patch Changes

1.0.3

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

1.0.0

Major Changes

Patch Changes

  • Updated dependencies [44b9b77]:
    • @loglayer/plugin@1.0.0