Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 4, 2024

This PR contains the following updates:

Package Change Age Confidence
tslog (source) 3.3.44.10.2 age confidence

Release Notes

fullstack-build/tslog (tslog)

v4.10.2

Compare Source

  • Fix CJS build, add README to dist folder e1bdfd7

v4.10.1

Compare Source

v4.10.0

Compare Source

Breaking
  • Custom transportFormatted overrides now receive logMeta as the fourth argument; pass five parameters to also receive settings, otherwise adjust implementations that previously read settings from the fourth position.
  • Deprecated runtime entry points under src/runtime/** and related browser mappings have been removed; use the primary Logger export instead of importing runtime-specific helpers.
  • Logger metadata now exposes lowercase runtime identifiers (for example node, browser, deno, bun, worker) and normalized versions without the leading v; adjust consumers that compared against Nodejs or relied on the old format.
Added
  • Introduced universal runtime detection that recognises Node.js, browsers, web workers, Deno, and Bun, enriching metadata with runtime versions and hostnames when available.
  • Documented first-class Deno and Bun usage, refreshed examples under examples/server, and aligned development scripts (npm run dev-ts*).
  • Pretty transports now detect when the browser console supports CSS, rendering styled output with %c tokens and gracefully falling back when styling is unavailable.
  • Error formatting captures chained Error.cause entries (up to depth five) and includes them in both pretty error blocks and JSON error objects.
Changed
  • The core logger automatically locates the first user stack frame instead of relying on hard-coded depths, producing stable file and line metadata across bundlers; manual stackDepthLevel overrides continue to work.
  • Placeholder formatting now routes through a shared buildPrettyMeta utility, improving consistency for custom templates and nested style tokens.
  • Masking internals normalise and cache case-insensitive keys, reducing repeated allocations and keeping behaviour consistent when toggling mask options.
  • Browser styling defaults keep ANSI colouring enabled unless explicitly disabled, letting CSS-capable consoles honour stylePrettyLogs without runtime-specific tweaks.
Fixed
  • Runtime error detection now treats objects with an Error-suffixed name as errors, ensuring they are formatted via the error transport.
  • Browser stack parsing guards against malformed frames, avoiding crashes when devtools emit unexpected stack entries.
  • Logging no longer fails when process.cwd() throws (for example under restricted permissions); environment helpers fall back to cached working directories and hostname detection across Node, Deno, and Bun.

v4.9.3

Compare Source

  • Fix _extend fn - alter provided object 135ee61

v4.9.2

Compare Source

v4.9.1

Compare Source

v4.9.0

Compare Source

v4.8.7

Compare Source

v4.8.6

Compare Source

  • fix nodejs environment usage in browser environments for v4.8.5 dee37b0

v4.8.5

Compare Source

v4.8.4

Compare Source

  • Make Universal again 80ace78
  • allow for custom placeholders in the template string 2467191
  • Clone error with all constructor parameters 0e751a5
  • Add typings for helper methods c643b10
  • Fix typing for settings 6f3b68e
  • Actually export my types 1929006
  • Fix stack depth 911b783

v4.8.3

Compare Source

  • allow for custom placeholders in the template string 2467191
  • Clone error with all constructor parameters 0e751a5
  • Add typings for helper methods c643b10
  • Fix typing for settings 6f3b68e
  • Actually export my types 1929006
  • Fix stack depth 911b783

v4.8.2

Compare Source

v4.8.1

Compare Source

v4.8.0

Compare Source

v4.7.5

Compare Source

v4.7.4

Compare Source

Same as 4.7.3 but with missing artefacts (server build and types)

v4.7.3

Compare Source

v4.7.2

Compare Source

  • Readme update and a small bug fix for #​209

v4.7.1

Compare Source

v4.7.0

Compare Source

  • Increase performance and add production setting hideLogPositionForProduction 073a7b1

v4.6.0

Compare Source

  • Add fileNameWithLine, Fix #​182 2d45617
  • Add formatWithOptions polyfill 7c8be79
  • Add timezone support to pretty log messages Fix #​198 b7c75d7
  • Fix interpolation and maskValuesRegEx with different types like undefined, Buffer, objects etc. Fix #​197 0da3c30

v4.5.0

Compare Source

v4.4.6

Compare Source

v4.4.5

Compare Source

  • Handle logs with missing setters, Fix #​190 1f2ea99
  • Add failing test case for missing setters 65231c2

v4.4.4

Compare Source

v4.4.3

Compare Source

  • Bug fix for #​186: Handling undefined in browser util.inspect polyfil fix.

v4.4.2

Compare Source

v4.4.1

Compare Source

v4.4.0

Compare Source

  • Don't manipulate original when masking
  • Possibility to overwrite LogObj for sub-logger
  • ESM / CJS build fixes

v4.3.1

Compare Source

  • Add better Buffer and Date support
  • Fix path to type definitions

v4.3.0: ESM and CJS and runtime settings alternations

Compare Source

  • Open settings for alternation at runtime. Fix #​176 6118748
  • ESM and CJS

v4.2.0

Compare Source

  • Clean up logger name output and add delimiter d866d8f
  • adding placeholder to render raw ISO date string ac6b81e
  • fixing non-functional template keyword dateIsoStr 1795ab6
  • fixing extra space in parent logger name 35b7e9f

v4.1.0

Compare Source

  • Add named loggers with inheritance

v4.0.4

Compare Source

  • Update README for NPM. No other Changes.

v4.0.3

Compare Source

  • Update README only. No other changes.

v4.0.2

Compare Source

  • Update readme with some backwards compatibility docs ec9ddba
  • Add license in package.json 1905604

v4.0.1

Compare Source

  • Add MIT licence

v4.0.0: : Complete rewrite

Compare Source

A complete rewrite:

  • Works in Node.js and Browser
  • No dependencies
  • ESM
  • Super customizable: Every aspect can be overwritten
  • Customizable log level: BaseLogger with configurable log level
  • Many other features...

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Updates or changes a dependency file label Jul 4, 2024
@renovate renovate bot force-pushed the renovate/dev-main-tslog-4.x branch 3 times, most recently from 853174b to 0da0d8c Compare July 10, 2024 18:47
@renovate renovate bot force-pushed the renovate/dev-main-tslog-4.x branch from 0da0d8c to a37bb74 Compare September 7, 2024 18:37
@renovate renovate bot force-pushed the renovate/dev-main-tslog-4.x branch from a37bb74 to 739d120 Compare February 17, 2025 12:32
@renovate renovate bot force-pushed the renovate/dev-main-tslog-4.x branch from 739d120 to 14f6398 Compare August 10, 2025 12:49
@renovate renovate bot force-pushed the renovate/dev-main-tslog-4.x branch from 14f6398 to 455e444 Compare September 28, 2025 18:05
@renovate renovate bot force-pushed the renovate/dev-main-tslog-4.x branch from 455e444 to 2c5fcbe Compare September 30, 2025 14:41
@Luna-Klatzer Luna-Klatzer self-assigned this Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updates or changes a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant