Change8

@cloudflare/workers-utils@0.28.0

📦 cloudflare-workersView on GitHub →
2 features🐛 1 fixes🔧 1 symbols

Summary

Wrangler now supports 'nub' as a package manager and improves error handling for 'observability' configuration.

✨ New Features

  • Wrangler now detects 'nub' as a package manager, recognizing it by its `npm_config_user_agent` and an installed `nub` binary.
  • Autoconfiguration for Wrangler projects now detects 'nub' projects by their `nub.lock` file, in addition to npm, pnpm, yarn, and bun.

🐛 Bug Fixes

  • Previously, an 'observability' configuration set to `null` would cause a `TypeError` during validation. This has been fixed to return a clear error message: '"observability" should be an object but got null.', similar to the existing 'cache' validator.

Affected Symbols