RATATOSK
← All releases

OpenCostv1.119.0

Security 2Breaking changes 7Important fixes 13Enhancements 28Dependency updates 3Other changes 37

Get OpenCost alerts

Email is sent weekly only when there are changes to check; critical security advisories are sent immediately.

Security2

OpenCost TLS minimum raised to TLS 1.2

AffectsOpenCost TLS connections to the Kubelet API, Prometheus, or storage backends

Previously, these connections could negotiate TLS 1.0 or 1.1 because no minimum was set. They now require TLS 1.2 or later, so peers that support only TLS 1.0 or 1.1 cannot connect.

Show release-note lines
* Enforce secure TLS MinVersion across all configurations by @fromsaurav in https://github.com/opencost/opencost/pull/3309
- 3690a9047f0e Enforce secure TLS MinVersion across all configurations (#3309) (Saurav Teli)
github.com/opencost/opencost/releases/tag/v1.119.0

Dockerfile build image pinned to golang:1.24-alpine3.20

Affectsbuilds using the OpenCost Dockerfile(Inferred)

Previously, the golang:latest build image included vulnerabilities and made builds unpredictable. The PR reports that the count across those findings fell from 13 to 2.

Show release-note lines
- 07832d1baa92 security: update to Go 1.24-alpine3.20 to fix critical vulnerabilities (#3367) (Brian Olson)
* security: update to Go 1.24-alpine3.20 to fix critical vulnerabilities by @brian-olson in https://github.com/opencost/opencost/pull/3367
github.com/opencost/opencost/compare/v1.117.4...v1.119.0

Breaking changes7

Cloud Cost Status JSON key now uses refreshRate

Affectssetups using Cloud Cost Status JSON or displaying integration refresh rates in the Kubecost UI

Previously, the RefreshRate key prevented the integration refresh rate from appearing in the Kubecost UI; with the new refreshRate key, it appears there.

Evidence“Updates the JSON casing on the Cloud Cost `Status` type, which will allow the refresh rate to show up in the Kubecost UI.” opencost/opencost/pull/3462 ↗
Show release-note lines
* Fix JSON Casing by @nik-kc in https://github.com/opencost/opencost/pull/3462
- e5e045db8607 Fix JSON Casing (#3462) (nik-kc)
github.com/opencost/opencost/releases/tag/v1.119.0

Unreadable plugin configuration directories now return errors

Affectsplugin discovery with a configured plugin directory

Previously, a failed directory read was logged and discovery continued with an empty plugin list; this could happen when the configured path did not exist or was a file rather than a directory. The returned error message is prefixed failed to read plugin config directory.

Evidence“return nil, fmt.Errorf("failed to read plugin config directory: %w", err)” opencost/opencost/pull/3491 ↗
Show release-note lines
* fix(plugins): Return error when plugin config directory is unreadable by @vtushar06 in https://github.com/opencost/opencost/pull/3491
- 55c7f42a8b8d fix(plugins): Return error when plugin config directory is unreadable (#3491) (Tushar-Verma)
github.com/opencost/opencost/releases/tag/v1.119.0

SBOM workflow now selects only vX.Y.Z tags

AffectsSBOM workflow tag selection(Inferred)

Previously, tags beginning with v and a digit could be selected even if they lacked exactly three numeric version segments; those tags are no longer selected.

Evidence“- TAG=$(git tag --points-at $SHA | grep '^v[0-9]' | head -1)” opencost/opencost/pull/3509 ↗
Show release-note lines
* use major minor path version for SBOM by @ameijer in https://github.com/opencost/opencost/pull/3509
- db5391182d39 use major minor path version for SBOM (#3509) (Alex Meijer)
github.com/opencost/opencost/releases/tag/v1.119.0

MCP server filter-parsing warnings use structured logging

Affectsfilter parsing in the MCP server

When filter strings or combined filters are malformed, warnings previously went to stdout through fmt.Printf without log levels. They now use structured warning-level logging, while malformed-filter handling continues without failing the request.

Evidence“**After**: Warning messages use structured logging with appropriate log levels and formatting” opencost/opencost/pull/3488 ↗
Show release-note lines
- 095b293a7657 Refactor logging to use structured logging for filter parsing errors (#3488) (Tushar-Verma)
* Refactor logging to use structured logging for filter parsing errors by @vtushar06 in https://github.com/opencost/opencost/pull/3488
github.com/opencost/opencost/compare/v1.117.4...v1.119.0

Cloud-cost and custom-cost environment getters now return int

AffectsGo code that calls the affected cloud-cost or custom-cost environment getter functions(Inferred)

The getters previously returned int64; their configured environment values and shown defaults are unchanged, including 6 for cloud-cost refresh hours, 7 for the cloud-cost query window, and 1 for custom-cost query window hours.

Evidence“+func GetCloudCostRefreshRateHours() int {” opencost/opencost/pull/3376 ↗
Show release-note lines
- 55d1f7a28d9e Sth/kcm 4452 (#3376) (Sean Holcomb)
github.com/opencost/opencost/compare/v1.117.4...v1.119.0

Important fixes13Silent failure2

  • Promless asset CPU and RAM pricing fallback fixed
    Affectspromless mode with custom pricing available

    When collector asset pricing returned 0 or NaN—especially just after startup or while collector metrics were unavailable—allocations fell back to custom pricing but assets stayed at $0, producing negative idle costs. Idle costs are now positive or zero in that situation.

    * fix: Negative idle cost on promless mode by @spa-raj in https://github.com/opencost/opencost/pull/3393
    - 9bf926c15c1b fix: Negative idle cost on promless mode (#3393) (Sparsh Raj)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • GCP BigQuery billing partition-time filter logic corrected
    AffectsGCP BigQuery billing integrations using ExcludePartitionTime(Inferred)
    * feat: increase test coverage for pkg/cloud/gcp by @Jetshree in https://github.com/opencost/opencost/pull/3329
    github.com/opencost/opencost/releases/tag/v1.119.0
  • GCP A100 GPU price mapping fixedSilent failure
    AffectsGKE nodes in the GCP A2-Ultra (A100 80GB) and A2-HighGPU (A100 40GB) instance families

    On A2-Ultra nodes labeled like nvidia-a100-80gb, SKU-derived names did not match GKE labels, so OpenCost fell back to default GPU pricing; the A2-HighGPU mapping was also affected. These families now receive their correctly mapped GPU prices.

    * Fix GCP GPU mapping for A100 40GB/80GB (A2-HighGPU & A2-Ultra) instances by @mohamedosama113 in https://github.com/opencost/opencost/pull/3446
    - 1798f562af55 Fix GCP GPU mapping for A100 40GB/80GB (A2-HighGPU & A2-Ultra) instances (#3446) (mohamedosama113)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • GCS root-path directory listing fixed
    AffectsGCS storage with directory listings from the root path (path="")

    Before this release, root-path listings returned no entries because the filter discarded prefixes with an empty attrs.Name. They now return the GCS directory prefixes.

    * Fix listing directories in root path(empty string path) by @mittal-ishaan in https://github.com/opencost/opencost/pull/3499
    - 2c004e2ef433 Fix listing directories in root path(empty string path) (#3499) (Ishaan Mittal)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • Ownerless ReplicaSets now emit owner metrics
    AffectsKubernetes ReplicaSets without owner references

    For these ReplicaSets, KubeReplicasetOwner is emitted with <none> for the owner name and kind and a value of 0.

    - 7de9e7f49d01 Write Unowned ReplicaSet Owner as <none> (#3380) (Matt Bolt)
    * Write Unowned ReplicaSet Owner as <none> by @mbolt35 in https://github.com/opencost/opencost/pull/3380
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • /allocation idle-by-node breakdown fixedSilent failure
    Affects/allocation API requests with includeIdle=true

    On clusters with multiple nodes, idleByNode=true was ignored, so requests returned one cluster-level idle allocation without node or providerID instead of a per-node breakdown. Now idleByNode=true returns separate idle allocations for each node, while idleByNode=false selects cluster-level idle allocations.

    - 2d29127dcb05 Fix idleByNode parameter ignored in allocation API (#3402) (Robert Kessler)
    * Fix idleByNode parameter ignored in allocation API by @rbtkess in https://github.com/opencost/opencost/pull/3402
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • Order-independent AND filters in v2 allocations
    Affectsv2 allocation filters using +

    Previously, aggregation could merge or lose properties such as cluster before filtering, so namespace and cluster conditions could return different results depending on their order. Filters now match individual allocations before aggregation, and an allocation is included only when both conditions match.

    - 38281b6b227d fix: Apply allocation filters before aggregation to ensure AND operator order independence (#3394) (Sparsh Raj)
    * fix: Apply allocation filters before aggregation to ensure AND operator order independence by @spa-raj in https://github.com/opencost/opencost/pull/3394
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • CSV provider PV matching now handles uppercase InstanceIDField values
    AffectsCSV pricing for PVs with uppercase letters in InstanceIDField

    Previously, the CSV value was lowercased but the PV's ProviderID was not, so uppercase letters could keep a PV from matching its pricing entry.

    - 5beea6ca53da fix(csvprovider): convert ProviderID to lowercase for pv (#3361) (Salwa Mohamed)
    * fix(csvprovider): convert ProviderID to lowercase for pv by @jumana-s in https://github.com/opencost/opencost/pull/3361
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • Idle allocation properties.providerID now uses asset ProviderID
    Affectssetups querying idle allocations

    Previously, properties.providerID held the Kubernetes node name, making idle costs impossible to reconcile with cloud-provider billing data. properties.node continues to hold the Kubernetes node name.

    - e7eb25b169c8 Fix providerID set to node name in idle allocations (#3403) (Robert Kessler)
    * Fix providerID set to node name in idle allocations by @rbtkess in https://github.com/opencost/opencost/pull/3403
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • Azure Retail Prices API node price selection corrected
    AffectsAzure node pricing through the Retail Prices API without Azure credentials

    Spot-versus-on-demand selection could be wrong, and the on-demand heuristic could include low-priority or cloud services virtual machines, producing inaccurate Azure node prices. The selection is corrected, and the heuristic now excludes those virtual machines.

    - 7d41c8915332 Improve heuristics to get Azure node prices from Retail Prices API (#3230) (João Pimentel)
    * Improve heuristics to get Azure node prices from Retail Prices API by @joao-pimentel-randoli in https://github.com/opencost/opencost/pull/3230
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • Node stats client no longer skips nodes without SpecProviderID
    AffectsKubernetes installations with nodes whose SpecProviderID is empty, including on-premises installations

    Previously, the node stats client logged a warning and skipped a node when its SpecProviderID was empty.

    * Remove requirement for SpecProviderID for node stats by @mbolt35 in https://github.com/opencost/opencost/pull/3418
    - 503c0cdea187 Remove requirement for SpecProviderID for node stats (#3418) (Matt Bolt)
    - core/pkg/nodestats/nodestats.go (+0 -5)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • CSV export continues with missing coverage data and failed dates
    AffectsCSV export

    Previously, missing coverage results or an unavailable metric could cause “no data” or “querying oldest sample: no results,” while a failed allocation computation for any requested date aborted the export. It now uses a one-day range when coverage metrics are unavailable, skips dates whose allocation computation fails, and still returns errNoData if no allocation rows are exported.

    * Fix: CSV export data query failures with missing metrics by @fromsaurav in https://github.com/opencost/opencost/pull/3284
    - 7048a93b0491 Fix: CSV export data query failures with missing metrics (#3284) (Saurav Teli)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • Graceful shutdown for the MCP HTTP server
    Affectssetups running the MCP HTTP server(Inferred)

    During pod termination or restart, connections previously dropped abruptly and could corrupt in-flight queries. On context cancellation, existing requests can now complete before the server stops, with a 10-second timeout.

    - 296dd00b374d fix(mcp): Implement graceful shutdown for MCP HTTP server (#3494) (Tushar-Verma)
    * fix(mcp): Implement graceful shutdown for MCP HTTP server by @vtushar06 in https://github.com/opencost/opencost/pull/3494
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0

Enhancements28

  • Unicode identifiers and clearer errors in the filter lexer
    * feat: Implement Unicode support in filter lexer with improved error h… by @sneaxhuh in https://github.com/opencost/opencost/pull/3299
    - faff1c39d11a feat: Implement Unicode support in filter lexer with improved error h… (#3299) (segfault_bits)
    - core/pkg/filter/ast/lexer.go (+38 -26)
    - core/pkg/filter/ast/unicode_test.go (+84 -0)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • Window temporal overlap detection implemented
    * Implement missing Window methods and tests by @sneaxhuh in https://github.com/opencost/opencost/pull/3305
    - a6f28e05c0a6 Implement missing Window methods and tests (#3305) (segfault_bits)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • Kubernetes version added to ClusterInfo
    * Kcm-4679: K8s version information in cluster info meta provider  by @avrodrigues5 in https://github.com/opencost/opencost/pull/3398
    - a423d3540838 Kcm-4679: K8s version information in cluster info meta provider  (#3398) (Alan Rodrigues)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • OpenCost MCP server with allocation and asset cost tools

    To use Enabled by default; MCP_SERVER_ENABLED controls enablement.

    * feat: add MCP server for OpenCost allocation and asset queries by @sneaxhuh in https://github.com/opencost/opencost/pull/3386
    - 37e08c6365d0 feat: add MCP server for OpenCost allocation and asset queries (#3386) (segfault_bits)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • Cloud Cost View table token metadata support
    * Support token hooks and name splitting in Cloud Cost View and Trends by @nikovacevic in https://github.com/opencost/opencost/pull/3407
    - 466ae53d15e6 Support token hooks and name splitting in Cloud Cost View and Trends (#3407) (Niko Kovacevic)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • Cloud cost properties gain slice-key generation and name splitting
    * Support token hooks and name splitting in Cloud Cost View and Trends by @nikovacevic in https://github.com/opencost/opencost/pull/3407
    github.com/opencost/opencost/releases/tag/v1.119.0
  • Kubernetes resource UIDs added to metric results and metrics
    * feat: Add UID field to all metric result types and queries by @spa-raj in https://github.com/opencost/opencost/pull/3384
    - 0cd79f398f35 feat: Add UID field to all metric result types and queries (#3384) (Sparsh Raj)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • Azure storage connection-string authorizer for custom URLs

    To use Configure authorizerType as AzureStorageConnectionString and provide storageConnectionString.

    * Implment new authorizer: Connection String for azure cloud integration by @mittal-ishaan in https://github.com/opencost/opencost/pull/3434
    - ad829e725cd2 Implment new authorizer: Connection String for azure cloud integration (#3434) (Ishaan Mittal)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • MCP get_efficiency workload analysis tool added
    * feat:add efficiency mcp tool by @sneaxhuh in https://github.com/opencost/opencost/pull/3431
    - 32ad3dc7639b feat:add efficiency mcp tool (#3431) (segfault_bits)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • Optional mutual TLS for the Prometheus backend

    To use Specify all three environment variables—PROM_MTLS_AUTH_CA_FILE, PROM_MTLS_AUTH_CRT_FILE, and PROM_MTLS_AUTH_KEY_FILE—together, and mount their respective files.

    * Enable the use of mTLS with the prometheus backend by @mrak in https://github.com/opencost/opencost/pull/3459
    - ab58a8f68405 Enable the use of mTLS with the prometheus backend (#3459) (Eric Mrak)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • config.ParseConfig() exported for external callers
    * Export `config.ParseConfig()` by @nik-kc in https://github.com/opencost/opencost/pull/3469
    - c0b7ce4d40de Export `config.ParseConfig()` (#3469) (nik-kc)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • CLI configuration flags for cost-model and agent settings

    To use cost-model: --port, --kubernetes-enabled, --carbon-estimates-enabled, --cloud-cost-enabled, and --custom-cost-enabled; agent: --port

    * feat(cmd): Implement command-line flag support for cost-model and age… by @sneaxhuh in https://github.com/opencost/opencost/pull/3304
    - 75253e9ce35a feat(cmd): Implement command-line flag support for cost-model and age… (#3304) (segfault_bits)
    github.com/opencost/opencost/releases/tag/v1.119.0
  • Core MCP server structs and query types added
    - 353b9f29714f feat(mcp): add MCP server structs and query types (#3375) (segfault_bits)
    * feat(mcp): add MCP server structs and query types by @sneaxhuh in https://github.com/opencost/opencost/pull/3375
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • New protobuf label-set messages and generic data decoders
    - 55d1f7a28d9e Sth/kcm 4452 (#3376) (Sean Holcomb)
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • Optional partition-time filter exclusion for BigQuery queries

    To use Set ExcludePartitionTime to true in BigQueryConfiguration to omit the partition-time filter.

    - 55d1f7a28d9e Sth/kcm 4452 (#3376) (Sean Holcomb)
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • CPU and memory limit averages added to allocation results
    - 955e58275ab8 Allocations: Add CPUCoreLimitAverage/RAMBytesLimitAverage (#3421) (Bianca Burtoiu)
    * Allocations: Add CPUCoreLimitAverage/RAMBytesLimitAverage by @biancaburtoiu in https://github.com/opencost/opencost/pull/3421
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • Kubernetes ResourceQuota support in cluster cache and export/import
    - 111cd37677f8 Add ResourceQuota to ClusterCache (#3274) (Matt Bolt)
    * Add ResourceQuota to ClusterCache by @mbolt35 in https://github.com/opencost/opencost/pull/3274
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • Summary allocations now use the RAM limit average
    - fc5f02290833 Allocation Summary: Fix RAMBytesLimitAverage item (#3427) (Bianca Burtoiu)
    * Allocation Summary: Fix RAMBytesLimitAverage item by @biancaburtoiu in https://github.com/opencost/opencost/pull/3427
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • OpenCost scrape job restored in Prometheus configuration
    - d13a362c7286 add back scrape configs (#3433) (Alex Meijer)
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • ResourceQuota CPU and memory request and limit metrics added
    - eba802ef15fe Ingest K8s ResourceQuota metrics (#3430) (Bianca Burtoiu)
    * Ingest K8s ResourceQuota metrics by @biancaburtoiu in https://github.com/opencost/opencost/pull/3430
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • SBOM generation and attachment to GitHub releases

    To use Completion of “Build and Publish Release”; manual dispatch requires release_version.

    - 75f959675d39 feat: Add SBOM generation workflow using Anchore SBOM Action (#3455) (Warwick)
    * feat: Add SBOM generation workflow using Anchore SBOM Action by @peatey in https://github.com/opencost/opencost/pull/3455
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • Synchronous cloud-integration status checks
    - 534b98c101a3 Cloud Integration Status Refresh (#3482) (nik-kc)
    * Cloud Integration Status Refresh by @nik-kc in https://github.com/opencost/opencost/pull/3482
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • KubeModel computation and ResourceQuotas export
    - d3bd2fd27f11 ResourceQuotas support: KubeModel types, source, exporter (#3435) (Niko Kovacevic)
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • New container-limit and ResourceQuota metrics, plus cluster and namespace info metrics
    - d3bd2fd27f11 ResourceQuotas support: KubeModel types, source, exporter (#3435) (Niko Kovacevic)
    * ResourceQuotas support: KubeModel types, source, exporter by @nikovacevic in https://github.com/opencost/opencost/pull/3435
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • Namespace label filtering in allocation filters
    - core/pkg/filter/allocation/fields.go (+1 -0)
    - core/pkg/filter/allocation/parser.go (+1 -0)
    - core/pkg/filter/allocation/parser_test.go (+4 -0)
    - core/pkg/filter/fieldstrings/fieldstrings.go (+5 -0)
    - d3bd2fd27f11 ResourceQuotas support: KubeModel types, source, exporter (#3435) (Niko Kovacevic)
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • ResourceQuota filtering gains a parser and fields
    - core/pkg/filter/fieldstrings/fieldstrings.go (+5 -0)
    - core/pkg/filter/resourcequota/fields.go (+17 -0)
    - core/pkg/filter/resourcequota/parser.go (+38 -0)
    - core/pkg/filter/resourcequota/parser_test.go (+43 -0)
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • Kubeconfig adds the GetClusterUID helper
    - core/pkg/kubeconfig/loader.go (+14 -0)
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0
  • Protobuf window conversion with ConvertWindow
    - core/pkg/model/helper.go (+35 -0)
    - core/pkg/model/helper_test.go (+88 -0)
    github.com/opencost/opencost/compare/v1.117.4...v1.119.0

Dependency updates3

2 more, none mentioning security
  • * bump dependencies by @mittal-ishaan in https://github.com/opencost/opencost/pull/3382
  • * use 3.22 by @ameijer in https://github.com/opencost/opencost/pull/3490
Other changes37

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.