Vestig v0.7.0: Full Deno Support, Advanced Sampling & More
We're excited to announce Vestig v0.7.0, a major release that delivers on our promise of true multi-runtime support and adds powerful new features for production observability.
What's New in v0.7.0
๐ฆ Full Deno Support
Vestig now runs natively on Deno 2.0+, making it the only zero-dependency logging library that works seamlessly across Node.js, Bun, Deno, Edge runtimes, and browsers.
The implementation uses Deno's Node.js compatibility layer for AsyncLocalStorage via node:async_hooks, ensuring context propagation works correctly across async operations.
๐ Advanced Sampling Strategies
Control your log volume intelligently with four new sampling strategies:
Probability Sampling - Sample a percentage of logs:
Rate Limiting - Cap logs per time window:
Namespace-Based - Different rates per module:
Composite Sampling - Combine multiple strategies:
๐ W3C Trace Context: Tracestate Support
Building on our traceparent support, v0.7.0 adds full W3C tracestate compliance for vendor-specific tracing metadata:
This enables seamless integration with OpenTelemetry-instrumented services and distributed tracing backends.
โ๏ธ VestigErrorBoundary for React
Capture errors with full context in your React applications:
๐ด Offline Queue Persistence
Client-side logs now survive page reloads with localStorage persistence:
Test Coverage
This release brings our test suite to 898 tests with 1,706 assertions, covering:
- 47 tests for W3C tracestate support
- 38 tests for DatadogTransport
- 41 tests for FileTransport
- 29 tests for VestigErrorBoundary
- 15 tests for offline queue persistence
- Comprehensive React hooks tests for @vestig/next/client
Breaking Changes
None! v0.7.0 is fully backward compatible with v0.6.x.
Upgrade
What's Next
We're working on v0.8.0 which will bring:
- OpenTelemetry Bridge - Export Vestig traces to OTLP collectors
- Trace Visualization - ASCII waterfall diagrams in the console
- Baggage Propagation - W3C Baggage header support
- Browser Performance Marks - Integration with Performance API
Thank You
Thank you to everyone who has tried Vestig, reported issues, and provided feedback. We're building observability that's actually enjoyable to use.
Links: