Upgrading github.com/prometheus/common 0.61 to 0.62
Breakingv0.61.0 → v0.62.0Breaking4New1Changed2Other3
BreakingUpgrade verdict
4 breaking changes.
In plain terms
- By default, the library now uses the more permissive UTF-8 validation instead of the legacy scheme.
- Code that imports the old promlog logging package will no longer compile and must switch to another logging package.
- The old sigv4 module is gone, so any code depending on it must be updated.
- The library now accepts a wider range of metric and label names by default, so names that were previously rejected may now be allowed.
Must act Top 3 of 4 that need code or config changes
What you must change
Breaking4
Changes the default validation scheme to UTF8Validation.
UTF8ValidationRemoves the deprecated promlog package.
promlogRemoves the deprecated sigv4 module.
sigv4Changes the internal global validation scheme from LegacyValidation to UTF8Validation, relaxing validation.
UTF8ValidationLegacyValidation