Upgrading @willsoto/nestjs-prometheus from 6.x to 7.x
Comparison of the public API of @willsoto/nestjs-prometheus 6.1.1 and 7.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 1 |
| Removed class or interface members | 0 |
| Changed class or interface members | 1 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 2 |
| New exports | 0 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
@willsoto/nestjs-prometheus · PrometheusUseFactoryOptions | { pushgateway?: { url: string; options?: unknown; registry?: any; } | undefined; customMetricPrefix?: string | undefined; global?: boolean | undefined; path?: string | undefined; defaultMetrics?: PrometheusDefaultMetrics<T> | undefined; defaultLabels?: object | undefined; } | { pushgateway?: { url: string; options?: any; registry?: any; } | undefined; customMetricPrefix?: string | undefined; global?: boolean | undefined; path?: string | undefined; defaultMetrics?: PrometheusDefaultMetrics<T> | undefined; defaultLabels?: object | undefined; } |
Removed class or interface members
None detected.
Changed class or interface members
| member | Before | After |
|---|---|---|
PrometheusOptions.pushgateway | { url: string; options?: unknown; registry?: any; } | undefined | { url: string; options?: any; registry?: any; } | undefined |
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
peerDependencies.prom-client | ^15.0.0 | — |
peerDependencies.@prometheus-io/client | — | ^0.16.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading @willsoto/nestjs-prometheus from 6 to 7?
Between @willsoto/nestjs-prometheus 6.1.1 and 7.0.0, Vigia found 0 removed exports, 1 changed signatures and 1 removed or changed class or interface members.
What became deprecated in @willsoto/nestjs-prometheus 7?
0 exports or members are newly marked as deprecated in @willsoto/nestjs-prometheus 7.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@willsoto/nestjs-prometheus/upgrade?from=6.1.1&to=7.0.0