Files
BitLogger/docs/changes/0.4.1.md
T
2026-05-12 10:37:43 +08:00

1019 B

BitLogger Update Changes

version 0.4.1

Feature

  • feat: make bitlogger_async compile on js / wasm / wasm-gc via a compatibility backend instead of abort-only stubs
  • feat: add async_runtime_mode() and related helpers so callers can explicitly detect native-worker vs compatibility async behavior
  • feat: add AsyncRuntimeState JSON/stringify helpers for exposing async runtime mode in diagnostics

Test

  • test: cover async logger compatibility backend queue drain behavior and keep async config roundtrip available on non-native targets
  • test: cover async runtime capability helper consistency across backend-specific implementations

Notes

  • bitlogger_async now provides a compatibility implementation on non-native targets; the standalone async example remains native-only because async fn main entry support is still toolchain-limited
  • examples/async_basic now prints the current async runtime state at startup so downstream projects have a minimal diagnostic pattern to copy