Skip to content

photon-otel v3.3.0

Choose a tag to compare

@photon-action-bot photon-action-bot released this 21 Jul 22:39
· 11 commits to main since this release

Breaking Changes

  • setupOtel({ logLevel }) and setLogLevel() now win over LOG_LEVEL. If your deploys used LOG_LEVEL to override a value set in code, update the code-level setting instead.
  • The default log level is now always info; DEPLOYMENT_ENV=development no longer turns on debug logs by default.

Bug Fixes

  • Fixed the release workflow permissions so GitHub can validate the reusable release job and publish reliably. 🚀

Improvement

  • Logger configuration is now separate from deployment metadata, so DEPLOYMENT_ENV only sets the deployment.environment resource attribute.
  • LOG_LEVEL is easier to use: values are trimmed, case-insensitive, empty values are treated as unset, and invalid values warn once before falling back to info.
  • Invalid programmatic log levels now throw a TypeError before changing logger state, which makes mistakes easier to catch in plain JavaScript.

Version: 3.3.0