Repository navigation
make it runtime-neutral - #36
Merged
Merged
Conversation
Co-Authored-By: LLM <noreply@block65.dev>
Lint, format and dead-code checks come from @block65/shared-config, with type-aware linting through the Block65 oxlint builds. Tasks run from a justfile, and the package ships its TypeScript source with no build. Dependencies move to maintained equivalents that run outside Node: @pinojs/redact for fast-redact, safe-stable-stringify for fast-safe-stringify, and loupe with tinyrainbow for util.inspect and the unpublished @block65/color. Co-Authored-By: LLM <noreply@block65.dev>
The main entry point imports nothing from Node, so it bundles for Workers.
createLogger and the platform formats live in @block65/logger/node, which
re-exports the main entry point.
- the CLI transformer formats with loupe and tinyrainbow, takes
{ color, timestamps }, pads level labels outside the colour codes and
prints the log's own time
- Level is a frozen object typed as a union of its values
- processors return a whole log; one that throws is skipped, and a
transformer that throws drops that log, both reported as errors
- child loggers flush, end and destroy in parallel
- createLogger writes to stdout with write callbacks, keeps pid and
hostname when context is given, and detects a TTY on stdout
- the redact processor redacts a copy, without eval
- the CloudWatch transformer keeps primitive data values intact
- the caller processor and the benchmark are removed: processors run
after the call returns, so no call site was ever found
BREAKING CHANGE: Sentry support, the express and lambda entry points and
logger.als are removed. createLogger moves to @block65/logger/node.
Destinations are web WritableStreams. Level is no longer an enum. Event
listeners receive { name, data }. Node 24 or later is required.
Co-Authored-By: LLM <noreply@block65.dev>
The tests assert what each log, transformer and lifecycle call does instead of pinning output. The Workers test bundles the main entry point the way wrangler does, asserts no Node built-in, require or code generation, and runs the bundle in a context that has web globals only. Co-Authored-By: LLM <noreply@block65.dev>
Co-Authored-By: LLM <noreply@block65.dev>
Co-Authored-By: LLM <noreply@block65.dev>
Co-Authored-By: LLM <noreply@block65.dev>
Co-Authored-By: LLM <noreply@block65.dev>
maxholman
Bot
force-pushed
the
feat/14.0.0
branch
from
October 13, 2026 02:38
4a5b152 to
d7798e7
Compare
maxholman
approved these changes
Oct 13, 2026
This was referenced Oct 13, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The main entry is runtime-neutral and runs in Workers.
createLogger()for stdout is in./node.Breaking
createLogger()moved from.to./node.Fixed
Release setup
block65, repositorylogger, workflowdeploy.yml.pnpm stage approve.