@cloudflare/format-errors@0.0.8
Breaking Changes📦 cloudflare-workersView on GitHub →
⚠ 1 breaking✨ 1 features🔧 2 symbols
Summary
This patch replaces the deprecated and unmaintained `promjs` library with the new `MetricsRegistry` from `@cloudflare/workers-utils/prometheus-metrics` to ensure continued compatibility and stability for Prometheus metrics generation.
⚠️ Breaking Changes
- The deprecated `promjs` library has been removed. Code relying on `promjs` for Prometheus metrics exposition must be updated to use `MetricsRegistry` from `@cloudflare/workers-utils/prometheus-metrics`.
Migration Steps
- Replace usage of the deprecated `promjs` library with `MetricsRegistry` imported from `@cloudflare/workers-utils/prometheus-metrics`.
✨ New Features
- Introduced `MetricsRegistry` from `@cloudflare/workers-utils/prometheus-metrics` as the replacement for the deprecated `promjs` library for generating Prometheus text exposition format output.