Change8

@cloudflare/playground-preview-worker@0.3.2

Breaking Changes
📦 cloudflare-workersView on GitHub →
1 breaking1 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 maintenance for Prometheus metrics exposition.

⚠️ 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

  1. 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.

Affected Symbols