Check out the announcement
v0.15.0 - 2025-10-31
Added
- Sloth SLO generation can be used as a Go library in 
github.com/slok/sloth/pkg/lib. - Sloth lib 
PrometheusSLOGeneratorwithGenerateFromSlothV1to generate SLOs based on Sloth v1 spec. - Sloth lib 
PrometheusSLOGeneratorwithGenerateFromK8sV1to generate SLOs based on Kubernetes Sloth v1 spec. - Sloth lib 
PrometheusSLOGeneratorwithGenerateFromOpenSLOV1Alphato generate SLOs based on OpenSLO v1Alpha spec. - Sloth lib 
PrometheusSLOGeneratorwithGenerateFromRawto generate SLOs based on any raw string spec. - Sloth lib 
WriteResultAsPrometheusStdhelper method to write generated SLO results into standard Prometheus rules YAML. - Sloth lib 
WriteResultAsK8sPrometheusOperatorhelper method to write generated SLO results into Prometheus operator rules YAML. - The resulting SLO Prometheus rule group name can be customized by SLO plugins.
 - SLO plugins have the ability to add extra Prometheus Rule groups.
 
Changed
- The CLI commands 
generateandvalidateuse the public Sloth Go library.