promptfoo breaking changes
Updated December 4, 2026
On this page
Latest version 0.127.0, released December 2, 2026. Source repository
Its 0.126.0 release requires Node.js 22.22 or later. Node.js end of life dates.
promptfoo 0.127.0 breaking changes
- Behavior changed
Promptfoo now requires Node.js ^22.22.2, ^24.15.0 or >=26. Upgrade Node.js before installing or running this version. github.com - Behavior changed
Proxy support moves to an updated proxy-agent, and PAC files hosted on FTP are rejected. Check that your proxy setup does not rely on FTP-hosted PAC files. github.com - Signature changed
contracts:GetUserResponseSchema
Was const GetUserResponseSchema: z$1.ZodObject<{email: z$1.ZodNullable<z$1.ZodString>;}, z$1.core.$strip>; now const GetUserResponseSchema: z$1.ZodObject<{email: z$1.ZodNullable<z$1.ZodString>; telemetryEnabled... npmjs.com - Signature changed
contracts:UserSchemas
Was const UserSchemas: {readonly Get: {readonly Response: z$1.ZodObject<{email: z$1.ZodNullable<z$1.ZodString>;}, z$1.core.$strip>;}; readonly GetId: {readonly Response: z$1.ZodObject<{id: z$1.ZodString;}, z$1.core.$strip>;}; readonly... npmjs.com - Signature changed
TestSuiteConfigSchema
Was const TestSuiteConfigSchema: z$1.ZodObject<{tags: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>; description: z$1.ZodOptional<z$1.ZodString>; providers: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodCustom<CallApiFunction... npmjs.com - Signature changed
UnifiedConfigSchema
Was const UnifiedConfigSchema: z$1.ZodPipe<z$1.ZodObject<{tags: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>; description: z$1.ZodOptional<z$1.ZodString>; prompts: z$1.ZodUnion<readonly [z$1.ZodString... npmjs.com
promptfoo 0.126.0 breaking changes
- Behavior changed
Install and run Promptfoo with Node.js 24 or later for full repository scans. Diff-only scans still work on Node.js 22.22 or later. github.com - Behavior changed
A full scan can share eligible committed text from the compared revision with the hosted scanner. Set diffsOnly: true in the code-scan configuration to share only the diff. github.com - Behavior changed
derivedMetrics
Formulas that use function calls, property access, assignments or exceed 1,024 characters now stop the evaluation before any test cases run. Rewrite them, for example replace max(a, b) with a > b ? a : b, or use a function in a JavaScript... github.com - Signature changed
cache.fetchWithCache
Was function fetchWithCache<T = unknown>(url: RequestInfo, options?: FetchOptions, timeout?: number, format?: 'json' | 'text', bustOrOptions?: boolean | CacheOptions | undefined, maxRetries?: number, onResponsePrepared?: (response... npmjs.com - Signature changed
contracts:OpenAiChatConfigInputJsonSchema
Was const OpenAiChatConfigInputJsonSchema: z$1.core.ZodStandardJSONSchemaPayload<z$1.ZodObject<{apiKey: z$1.ZodOptional<z$1.ZodString>; apiKeyEnvar: z$1.ZodOptional<z$1.ZodString>; apiKeyRequired: z$1.ZodOptional<z$1.ZodBoolean>... npmjs.com - Signature changed
contracts:OpenAiChatConfigInputSchema
Was const OpenAiChatConfigInputSchema: z$1.ZodObject<{apiKey: z$1.ZodOptional<z$1.ZodString>; apiKeyEnvar: z$1.ZodOptional<z$1.ZodString>; apiKeyRequired: z$1.ZodOptional<z$1.ZodBoolean>; useDefaultApiKey: z$1.ZodOptional<z$1.ZodBoolean>... npmjs.com - Signature changed
contracts:OpenAiProviderOptionsInputJsonSchema
Was const OpenAiProviderOptionsInputJsonSchema: z$1.core.ZodStandardJSONSchemaPayload<z$1.ZodUnion<readonly [z$1.ZodObject<{label: z$1.ZodOptional<z$1.ZodString>; prompts: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>; transform... npmjs.com - Signature changed
contracts:OpenAiProviderOptionsInputSchema
Was const OpenAiProviderOptionsInputSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{label: z$1.ZodOptional<z$1.ZodString>; prompts: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>; transform: z$1.ZodOptional<z$1.ZodString>; delay... npmjs.com - Signature changed
contracts:OpenAiResponsesConfigInputJsonSchema
Was const OpenAiResponsesConfigInputJsonSchema: z$1.core.ZodStandardJSONSchemaPayload<z$1.ZodObject<{apiKey: z$1.ZodOptional<z$1.ZodString>; apiKeyEnvar: z$1.ZodOptional<z$1.ZodString>; apiKeyRequired: z$1.ZodOptional<z$1.ZodBoolean>... npmjs.com - Signature changed
contracts:OpenAiResponsesConfigInputSchema
Was const OpenAiResponsesConfigInputSchema: z$1.ZodObject<{apiKey: z$1.ZodOptional<z$1.ZodString>; apiKeyEnvar: z$1.ZodOptional<z$1.ZodString>; apiKeyRequired: z$1.ZodOptional<z$1.ZodBoolean>; useDefaultApiKey... npmjs.com
promptfoo 0.125.0 breaking changes
- Behavior changed
The Claude Agent and Codex SDK providers are no longer enabled by default and must be opted in. Users who depend on them must enable them explicitly. github.com - Behavior changed
JKS support now requires explicitly installing jks-js, which is no longer installed automatically. Users who rely on JKS must install it themselves. github.com - Signature changed
AssertionOrSetSchema
Was const AssertionOrSetSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{type: z$1.ZodLiteral<"assert-set">; assert: z$1.ZodArray<z$1.ZodLazy<z$1.ZodObject<{type: z$1.ZodUnion<readonly [z$1.ZodEnum<{"agent-rubric": "agent-rubric"... npmjs.com - Signature changed
AssertionSchema
Was const AssertionSchema: z$1.ZodObject<{type: z$1.ZodUnion<readonly [z$1.ZodEnum<{"agent-rubric": "agent-rubric"; "answer-relevance": "answer-relevance"; bleu: "bleu"; classifier: "classifier"; contains: "contains"; "contains-all"... npmjs.com - Signature changed
AssertionSetSchema
Was const AssertionSetSchema: z$1.ZodObject<{type: z$1.ZodLiteral<"assert-set">; assert: z$1.ZodArray<z$1.ZodLazy<z$1.ZodObject<{type: z$1.ZodUnion<readonly [z$1.ZodEnum<{"agent-rubric": "agent-rubric"; "answer-relevance"... npmjs.com - Signature changed
AssertionTypeSchema
Was const AssertionTypeSchema: z$1.ZodUnion<readonly [z$1.ZodEnum<{"agent-rubric": "agent-rubric"; "answer-relevance": "answer-relevance"; bleu: "bleu"; classifier: "classifier"; contains: "contains"; "contains-all": "contains-all"... npmjs.com - Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z$1.ZodObject<{description: z$1.ZodOptional<z$1.ZodString>; provider: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{id: z$1.ZodOptional<z$1.ZodCustom<string, string>>; label... npmjs.com - Signature changed
BaseAssertionTypesSchema
Was const BaseAssertionTypesSchema: z$1.ZodEnum<{"agent-rubric": "agent-rubric"; "answer-relevance": "answer-relevance"; bleu: "bleu"; classifier: "classifier"; contains: "contains"; "contains-all": "contains-all"; "contains-any"... npmjs.com - Signature changed
cache.fetchWithCache
Was function fetchWithCache<T = unknown>(url: RequestInfo, options?: FetchOptions, timeout?: number, format?: 'json' | 'text', bustOrOptions?: boolean | CacheOptions | undefined, maxRetries?: number): Promise<FetchWithCacheResult<T>>; now... npmjs.com - Signature changed
CommandLineOptionsSchema
Was const CommandLineOptionsSchema: z$1.ZodObject<{description: z$1.ZodOptional<z$1.ZodString>; prompts: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>; providers: z$1.ZodArray<z$1.ZodString>; output: z$1.ZodArray<z$1.ZodString>... npmjs.com
And 31 more in this version. Sign up to see every change
promptfoo 0.124.1 breaking changes
- Signature changed
ApiClassificationProvider.callClassificationApi
Was callClassificationApi: (prompt: string) => Promise<ProviderClassificationResponse>; now callClassificationApi: (prompt: string, options?: CallApiOptionsParams) => Promise<ProviderClassificationResponse>. npmjs.com - Signature changed
ApiProvider.callClassificationApi
Was callClassificationApi?: (prompt: string) => Promise<ProviderClassificationResponse>; now callClassificationApi?: (prompt: string, options?: CallApiOptionsParams) => Promise<ProviderClassificationResponse>. npmjs.com - Signature changed
default
Was const _default$1: {assertions: {runAssertion: typeof runAssertion; runAssertions: typeof runAssertions; matchesSimilarity: typeof matchesSimilarity; matchesClassification: typeof matchesClassification; matchesLlmRubric: typeof... npmjs.com - Signature changed
UnifiedConfigSchema
Was const UnifiedConfigSchema: z$1.ZodPipe<z$1.ZodObject<{tags: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>; description: z$1.ZodOptional<z$1.ZodString>; prompts: z$1.ZodUnion<readonly [z$1.ZodString... npmjs.com
promptfoo 0.124.0 breaking changes
- Removed
The hosted ChatKit provider is no longer available in this release. Configs that use it must be moved to another provider. github.com - Removed
The hosted ChatKit provider is removed in this release, so configurations that use it will no longer work. github.com - Behavior changed
The WatsonX SDKs are now opt-in, so users who rely on the WatsonX provider must install them explicitly. github.com - Behavior changed
The Codex Security SDK is no longer installed by default and must be installed explicitly to keep using it. github.com - Behavior changed
The OpenAI Agents support is no longer installed by default and must be installed explicitly to keep using it. github.com - Behavior changed
The Slack SDK is no longer installed by default and must be installed explicitly to keep using it. github.com - Behavior changed
Default installs omit the browser SDKs and Chromium download. Browser users must install the documented SDKs and matching Chromium themselves. github.com - Behavior changed
The Slack SDK is now opt-in, so users of Slack integration must install it explicitly. github.com - Behavior changed
Local Transformers is no longer installed by default and must be installed explicitly to keep using it. github.com - Behavior changed
The WatsonX SDKs are no longer installed by default and must be installed explicitly to keep using the WatsonX provider. github.com
And 24 more in this version. Sign up to see every change
promptfoo 0.123.1 breaking changes
- Behavior changed
For the search-rubric assertion, inverting the result now also inverts the score. Review inverted search-rubric assertions that read scores. github.com - Behavior changed
Responses with credit_balance_exhausted are now treated as hard quota errors rather than retryable failures. Adjust retry handling that expected the old behavior. github.com - Behavior changed
Grader failures under not-classifier and not-search-rubric are no longer inverted, so they stay failures. Check inverse assertions that relied on the old behavior. github.com - Behavior changed
Ollama embeddings move to the /api/embed endpoint and honor config. Check setups that depended on the previous endpoint behavior. github.com - Default changed
Assertions that use a RAG threshold now default to 0.5 when none is set. Set the threshold explicitly if you need the previous default. github.com - Signature changed
ApiProvider.getAudioInputFormat
Was getAudioInputFormat?: () => 'openai' | undefined; now getAudioInputFormat?: () => 'openai' | 'google' | undefined. npmjs.com - Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z$1.ZodObject<{description: z$1.ZodOptional<z$1.ZodString>; provider: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{id: z$1.ZodOptional<z$1.ZodCustom<string, string>>; label... npmjs.com - Signature changed
cache.fetchWithCache
Was function fetchWithCache<T = unknown>(url: RequestInfo, options?: RequestInit, timeout?: number, format?: 'json' | 'text', bustOrOptions?: boolean | CacheOptions | undefined, maxRetries?: number): Promise<FetchWithCacheResult<T>>; now... npmjs.com - Signature changed
contracts:ProviderEnvOverridesSchema
Was const ProviderEnvOverridesSchema: z$1.ZodObject<{ABLIT_API_BASE_URL: z$1.ZodOptional<z$1.ZodString>; ABLIT_KEY: z$1.ZodOptional<z$1.ZodString>; AI21_API_BASE_URL: z$1.ZodOptional<z$1.ZodString>; AI21_API_KEY... npmjs.com - Signature changed
ProvidersSchema
Was const ProvidersSchema: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodCustom<CallApiFunction & {label?: string;}, CallApiFunction & {label?: string;}>, z$1.ZodArray<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodCustom<CallApiFunction &... npmjs.com
And 7 more in this version. Sign up to see every change
Older versions
76 older versions, each with its first changes. Sign up to see every change
Show 76 older versions
promptfoo 0.123.0 breaking changes
- Removed
Claude model ids that did not resolve to any model were removed. Code that uses them must switch to a valid Claude model id. github.com - Removed
GitHub Models inference support has been removed. Configurations that use it will no longer work and need to move to another provider. github.com
And 13 more in this version.
promptfoo 0.122.1 breaking changes
- Signature changed
AssertionOrSetSchema
Was const AssertionOrSetSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{type: z$1.ZodLiteral<"assert-set">; assert: z$1.ZodArray<z$1.ZodLazy<z$1.ZodObject<{type: z$1.ZodUnion<readonly [z$1.ZodEnum<{"agent-rubric": "agent-rubric"... npmjs.com - Signature changed
AssertionSchema
Was const AssertionSchema: z$1.ZodObject<{type: z$1.ZodUnion<readonly [z$1.ZodEnum<{"agent-rubric": "agent-rubric"; "answer-relevance": "answer-relevance"; bleu: "bleu"; classifier: "classifier"; contains: "contains"; "contains-all"... npmjs.com
And 37 more in this version.
promptfoo 0.122.0 breaking changes
- Removed
Node.js 20 is no longer supported by this release. Upgrade to a supported Node.js version before using it. github.com - Signature changed
Assertion
Was type Assertion = z.infer<typeof AssertionSchema>; now type Assertion = z$1.infer<typeof AssertionSchema>. npmjs.com
And 114 more in this version.
promptfoo 0.121.20 breaking changes
- Default changed
conversation-relevance
The conversation-relevance assertion now uses a default threshold of 0.5 when none is set. Users who relied on the previous default should set the threshold explicitly. github.com - Signature changed
cache.FetchWithCacheResult
Was type FetchWithCacheResult<T> = {data: T; cached: boolean; status: number; statusText: string; headers?: Record<string, string>; latencyMs?: number; deleteFromCache?: () => Promise<void>;}; now type FetchWithCacheResult<T> = {data: T... npmjs.com
And 3 more in this version.
promptfoo 0.121.19 breaking changes
- Removed
NormalizedTokenUsage
The NormalizedTokenUsage export from the util module was removed as unused. Code that imports this type will no longer compile and should stop importing it. github.com - Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodCustom<string, string>>; label... npmjs.com
And 10 more in this version.
promptfoo 0.121.18 breaking changes
- Removed
This release starts cutting off Node.js 20 support. Users on Node.js 20 should move to a newer supported Node.js version. github.com - Behavior changed
The legacy API_HOST environment variable no longer changes which cloud host is used. Code or setups relying on it must configure the cloud host another way. github.com
And 11 more in this version.
promptfoo 0.121.16 breaking changes
- Signature changed
OutputFile.runtimeOptions
Was runtimeOptions?: Partial<EvaluateOptions>; now runtimeOptions?: EvalRuntimeOptions. npmjs.com
promptfoo 0.121.15 breaking changes
- Behavior changed
Remote auth is now only sent to the cloud host. Setups that sent remote auth to other hosts will no longer work and must be moved to the cloud host. github.com - Behavior changed
Azure provider types that have no default now require a deployment name. Configs that omit it will fail, so add a deployment name to them. github.com
And 1 more in this version.
promptfoo 0.121.14 breaking changes
- Behavior changed
eval
API keys and legacy transport headers are redacted in JSONL and database output, so code reading those stored values will see redacted content. github.com - Behavior changed
redteam
Remote-generation requests are authenticated against on-prem cloud hosts. Users on on-prem setups may need to ensure their credentials are configured. github.com
And 16 more in this version.
promptfoo 0.121.13 breaking changes
- Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodCustom<string, string>>; label... npmjs.com - Signature changed
ProvidersSchema
Was const ProvidersSchema: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CallApiFunction & {label?: string;}, CallApiFunction & {label?: string;}>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CallApiFunction & {label?... npmjs.com
And 7 more in this version.
promptfoo 0.121.12 breaking changes
- Removed
BaseTokenUsage
BaseTokenUsage was removed in promptfoo 0.121.12 npmjs.com - Behavior changed
code-scan
Logs are routed to stderr for structured output, so code that reads stdout for logs may see different output. github.com
And 16 more in this version.
promptfoo 0.121.10 breaking changes
- Behavior changed
Nested test case metadata is now stripped from eval output. Code that reads that metadata from outputs may need to change. github.com - Behavior changed
Nested response metadata is now stripped from eval output. Code that reads that metadata from outputs may need to change. github.com
And 15 more in this version.
promptfoo 0.121.7 breaking changes
- Signature changed
ApiProvider.transform
Was transform?: string; now transform?: string | TransformFunction. npmjs.com - Signature changed
AssertionOrSetSchema
Was const AssertionOrSetSchema: z.ZodUnion<readonly [z.ZodObject<{type: z.ZodLiteral<"assert-set">; assert: z.ZodArray<z.ZodLazy<z.ZodObject<{type: z.ZodUnion<readonly [z.ZodEnum<{"answer-relevance": "answer-relevance"; bleu: "bleu"... npmjs.com
And 17 more in this version.
promptfoo 0.121.5 breaking changes
- Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodCustom<string, string>>; label... npmjs.com - Signature changed
ProvidersSchema
Was const ProvidersSchema: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CallApiFunction & {label?: string;}, CallApiFunction & {label?: string;}>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CallApiFunction & {label?... npmjs.com
And 7 more in this version.
promptfoo 0.121.4 breaking changes
- Removed
RedteamCliGenerateOptions.inputs
RedteamCliGenerateOptions.inputs was removed in promptfoo 0.121.4 npmjs.com - Removed
RedteamFileConfig.inputs
RedteamFileConfig.inputs was removed in promptfoo 0.121.4 npmjs.com
And 16 more in this version.
promptfoo 0.121.3 breaking changes
- Signature changed
AssertionOrSetSchema
Was const AssertionOrSetSchema: z.ZodUnion<readonly [z.ZodObject<{type: z.ZodLiteral<"assert-set">; assert: z.ZodArray<z.ZodLazy<z.ZodObject<{type: z.ZodUnion<readonly [z.ZodEnum<{"answer-relevance": "answer-relevance"; bleu: "bleu"... npmjs.com - Signature changed
AssertionSchema
Was const AssertionSchema: z.ZodObject<{type: z.ZodUnion<readonly [z.ZodEnum<{"answer-relevance": "answer-relevance"; bleu: "bleu"; classifier: "classifier"; contains: "contains"; "contains-all": "contains-all"; "contains-any"... npmjs.com
And 12 more in this version.
promptfoo 0.121.2 breaking changes
- Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodCustom<string, string>>; label... npmjs.com - Signature changed
ProvidersSchema
Was const ProvidersSchema: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CallApiFunction & {label?: string;}, CallApiFunction & {label?: string;}>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CallApiFunction & {label?... npmjs.com
And 7 more in this version.
promptfoo 0.121.0 breaking changes
- Behavior changed
Relative paths in claude-agent-sdk provider config now resolve against the config file's directory instead of the previous base. Check relative paths in existing configs and adjust them if needed. github.com
promptfoo 0.120.27 breaking changes
- Behavior changed
eval
Evaluations no longer auto-share by default for most users; users who relied on automatic sharing must enable it explicitly. github.com - Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodCustom<string, string>>; label... npmjs.com
And 9 more in this version.
promptfoo 0.120.26 breaking changes
- Signature changed
ProviderResponse.metadata
Was metadata?: {redteamFinalPrompt?: string; http?: {status: number; statusText: string; headers: Record<string, string>; requestHeaders?: Record<string, string>;}; [key: string]: any;}; now metadata?: {redteamFinalPrompt?: string; http?... npmjs.com - Signature changed
ProviderResponse.metadata.http
Was http?: {status: number; statusText: string; headers: Record<string, string>; requestHeaders?: Record<string, string>;}; now http?: {status: number; statusText: string; headers?: Record<string, string>; requestHeaders?: Record<string... npmjs.com
And 1 more in this version.
promptfoo 0.120.25 breaking changes
- Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodCustom<string, string>>; label... npmjs.com - Signature changed
ProvidersSchema
Was const ProvidersSchema: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CallApiFunction & {label?: string;}, CallApiFunction & {label?: string;}>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CallApiFunction & {label?... npmjs.com
And 7 more in this version.
promptfoo 0.120.24 breaking changes
- Default changed
MCP caching is off unless enabled; users who relied on the old default must opt in with the cache_mcp option. github.com - Signature changed
CommandLineOptionsSchema
Was const CommandLineOptionsSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; prompts: z.ZodOptional<z.ZodArray<z.ZodString>>; providers: z.ZodArray<z.ZodString>; output: z.ZodArray<z.ZodString>; maxConcurrency... npmjs.com
And 2 more in this version.
promptfoo 0.120.18 breaking changes
- Behavior changed
Requests that set temperature or max_tokens to 0 now include those values, where they were previously dropped. Code that relied on the old omission may get different output. github.com - Behavior changed
The package no longer installs @huggingface/transformers by default. Code that depends on it being present must install it explicitly. github.com
And 10 more in this version.
promptfoo 0.120.17 breaking changes
- Signature changed
EvalResultsFilterMode
Was const EvalResultsFilterMode: z.ZodEnum<{all: "all"; failures: "failures"; different: "different"; highlights: "highlights"; errors: "errors"; passes: "passes";}>; now const EvalResultsFilterMode: z.ZodEnum<{all: "all"; failures... npmjs.com
promptfoo 0.120.16 breaking changes
- Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodCustom<string, string>>; label... npmjs.com - Signature changed
ScenarioSchema
Was const ScenarioSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; config: z.ZodArray<z.ZodObject<{description: z.ZodOptional<z.ZodOptional<z.ZodString>>; vars: z.ZodOptional<z.ZodOptional<z.ZodCustom<Vars, Vars>>>; provider... npmjs.com
And 6 more in this version.
promptfoo 0.120.15 breaking changes
- Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodCustom<string, string>>; label... npmjs.com - Signature changed
ProvidersSchema
Was const ProvidersSchema: z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CallApiFunction & {label?: string;}, CallApiFunction & {label?: string;}>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodCustom<CallApiFunction & {label?... npmjs.com
And 7 more in this version.
promptfoo 0.120.14 breaking changes
- Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodCustom<string, string>>; label... npmjs.com - Signature changed
ScenarioSchema
Was const ScenarioSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; config: z.ZodArray<z.ZodObject<{description: z.ZodOptional<z.ZodOptional<z.ZodString>>; vars: z.ZodOptional<z.ZodOptional<z.ZodCustom<Vars, Vars>>>; provider... npmjs.com
And 7 more in this version.
promptfoo 0.120.13 breaking changes
- Signature changed
AssertionOrSetSchema
Was const AssertionOrSetSchema: z.ZodUnion<[z.ZodObject<{type: z.ZodLiteral<"assert-set">; assert: z.ZodArray<z.ZodLazy<z.ZodObject<{type: z.ZodUnion<[z.ZodEnum<["answer-relevance", "bleu", "classifier", "contains", "contains-all"... npmjs.com - Signature changed
AssertionSchema
Was const AssertionSchema: z.ZodObject<{type: z.ZodUnion<[z.ZodEnum<["answer-relevance", "bleu", "classifier", "contains", "contains-all", "contains-any", "contains-html", "contains-json", "contains-sql", "contains-xml"... npmjs.com
And 33 more in this version.
promptfoo 0.120.12 breaking changes
- Signature changed
AssertionOrSetSchema
Was const AssertionOrSetSchema: z.ZodUnion<[z.ZodObject<{type: z.ZodLiteral<"assert-set">; assert: z.ZodArray<z.ZodLazy<z.ZodObject<{type: z.ZodUnion<[z.ZodEnum<["answer-relevance", "bleu", "classifier", "contains", "contains-all"... npmjs.com - Signature changed
AssertionSchema
Was const AssertionSchema: z.ZodObject<{type: z.ZodUnion<[z.ZodEnum<["answer-relevance", "bleu", "classifier", "contains", "contains-all", "contains-any", "contains-html", "contains-json", "contains-sql", "contains-xml"... npmjs.com
And 12 more in this version.
promptfoo 0.120.10 breaking changes
- Removed
SynthesizeOptions.targetLabels
SynthesizeOptions.targetLabels was removed in promptfoo 0.120.10 npmjs.com - Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>; label... npmjs.com
And 12 more in this version.
promptfoo 0.120.7 breaking changes
- Signature changed
EvaluateTableOutput.audio
Was audio?: {id?: string; expiresAt?: number; data?: string; transcript?: string; format?: string;}; now audio?: {id?: string; expiresAt?: number; data?: string; blobRef?: BlobRef; transcript?: string; format?: string;}. npmjs.com - Signature changed
ProviderResponse.audio
Was audio?: {id?: string; expiresAt?: number; data?: string; transcript?: string; format?: string; sampleRate?: number; channels?: number; duration?: number;}; now audio?: {id?: string; expiresAt?: number; data?: string; blobRef?: BlobRef... npmjs.com
And 1 more in this version.
promptfoo 0.120.6 breaking changes
- Signature changed
EvalTableDTO
Was type EvalTableDTO = {table: EvaluateTable; totalCount: number; filteredCount: number; filteredMetrics: PromptMetrics[] | null; config: Partial<UnifiedConfig>; author: string | null; version: number; id: string;}; now type EvalTableDTO... npmjs.com - Signature changed
GradingResult.metadata
Was metadata?: {pluginId?: string; strategyId?: string; context?: string | string[]; contextUnits?: string[]; renderedAssertionValue?: string; [key: string]: any;}; now metadata?: {pluginId?: string; strategyId?: string; context?: string |... npmjs.com
And 2 more in this version.
promptfoo 0.120.5 breaking changes
- Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>; label... npmjs.com - Signature changed
BaseRedteamMetadata.redteamHistory
Was redteamHistory?: {prompt: string; output: string;}[]; now redteamHistory?: RedteamHistoryEntry[]. npmjs.com
And 10 more in this version.
promptfoo 0.120.4 breaking changes
- Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; provider: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{id: z.ZodOptional<z.ZodType<string, z.ZodTypeDef, string>>; label... npmjs.com - Signature changed
ScenarioSchema
Was const ScenarioSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; config: z.ZodArray<z.ZodObject<{description: z.ZodOptional<z.ZodOptional<z.ZodString>>; vars: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString... npmjs.com
And 6 more in this version.
promptfoo 0.120.2 breaking changes
- Signature changed
AssertionSchema
Was const AssertionSchema: z.ZodObject<{type: z.ZodUnion<[z.ZodEnum<["answer-relevance", "bleu", "classifier", "contains", "contains-all", "contains-any", "contains-html", "contains-json", "contains-sql", "contains-xml"... npmjs.com - Signature changed
AssertionTypeSchema
Was const AssertionTypeSchema: z.ZodUnion<[z.ZodEnum<["answer-relevance", "bleu", "classifier", "contains", "contains-all", "contains-any", "contains-html", "contains-json", "contains-sql", "contains-xml", "context-faithfulness"... npmjs.com
And 10 more in this version.
promptfoo 0.120.0 breaking changes
- Removed
TypeScript enums were replaced with const objects, so code that uses the enum types as TypeScript types may need to change. github.com - Removed
ResultFailureReason.ASSERT
ResultFailureReason.ASSERT was removed in promptfoo 0.120.0 npmjs.com
And 26 more in this version.
promptfoo 0.119.14 breaking changes
- Signature changed
AssertionSchema
Was const AssertionSchema: z.ZodObject<{type: z.ZodUnion<[z.ZodEnum<["answer-relevance", "bleu", "classifier", "contains", "contains-all", "contains-any", "contains-html", "contains-json", "contains-sql", "contains-xml"... npmjs.com - Signature changed
AssertionTypeSchema
Was const AssertionTypeSchema: z.ZodUnion<[z.ZodEnum<["answer-relevance", "bleu", "classifier", "contains", "contains-all", "contains-any", "contains-html", "contains-json", "contains-sql", "contains-xml", "context-faithfulness"... npmjs.com
And 10 more in this version.
promptfoo 0.119.9 breaking changes
- Removed
PluginConfig.examples
PluginConfig.examples was removed in promptfoo 0.119.9 npmjs.com - Removed
PluginConfig.excludeStrategies
PluginConfig.excludeStrategies was removed in promptfoo 0.119.9 npmjs.com
And 29 more in this version.
promptfoo 0.119.7 breaking changes
- Behavior changed
The commit is marked as a breaking change because the bundled web UI now runs on React 19. Code that depends on the React version used by the UI may need to be updated. github.com - Signature changed
AssertionSchema
Was const AssertionSchema: z.ZodObject<{type: z.ZodUnion<[z.ZodEnum<["answer-relevance", "bleu", "classifier", "contains", "contains-all", "contains-any", "contains-html", "contains-json", "contains-sql", "contains-xml"... npmjs.com
And 12 more in this version.
promptfoo 0.119.5 breaking changes
- Removed
PluginConfig.gradingGuidance
PluginConfig.gradingGuidance was removed in promptfoo 0.119.5 npmjs.com - Signature changed
GradingResult.metadata
Was metadata?: {pluginId?: string; strategyId?: string; [key: string]: any;}; now metadata?: {pluginId?: string; strategyId?: string; context?: string | string[]; contextUnits?: string[]; renderedAssertionValue?: string; [key: string]... npmjs.com
And 1 more in this version.
promptfoo 0.119.4 breaking changes
- Default changed
The meta agent is added as a default red team strategy, so existing red team runs may include it without any config change. Users who want the previous strategy set should exclude it explicitly. github.com
promptfoo 0.119.2 breaking changes
- Default changed
The default request timeout for Python providers is now 300 seconds instead of 120. Users who depend on the old timeout must set it explicitly. github.com - Configuration changed
Multilingual settings are now set in the global language configuration rather than per strategy. Existing per-strategy multilingual config must be moved. github.com
And 14 more in this version.
promptfoo 0.119.1 breaking changes
- Removed
AssertionParams.context
AssertionParams.context was removed in promptfoo 0.119.1 npmjs.com
promptfoo 0.119.0 breaking changes
- Removed
RunEvalOptions.allTests
RunEvalOptions.allTests was removed in promptfoo 0.119.0 npmjs.com - Signature changed
cache.FetchWithCacheResult
Was type FetchWithCacheResult<T> = {data: T; cached: boolean; status: number; statusText: string; headers?: Record<string, string>; deleteFromCache?: () => Promise<void>;}; now type FetchWithCacheResult<T> = {data: T; cached: boolean... npmjs.com
And 3 more in this version.
promptfoo 0.118.16 breaking changes
- Signature changed
EvalSummary
Was type EvalSummary = ResultLightweightWithLabel & {isRedteam: boolean; passRate: number; label: string; providers: {id: string; label: string | null;}[];}; now type EvalSummary = ResultLightweightWithLabel & {isRedteam: boolean... npmjs.com
promptfoo 0.118.15 breaking changes
- Renamed
azure ai foundry assistant
The Azure AI Foundry Assistant provider is renamed to AI Foundry Agent. Update any configuration or code that refers to the old provider name. github.com - Signature changed
AssertionSchema
Was const AssertionSchema: z.ZodObject<{type: z.ZodUnion<[z.ZodEnum<["answer-relevance", "bleu", "classifier", "contains", "contains-all", "contains-any", "contains-html", "contains-json", "contains-sql", "contains-xml"... npmjs.com
And 11 more in this version.
promptfoo 0.118.13 breaking changes
- Removed
IBM BAM provider
The deprecated IBM BAM provider has been removed, so configs that use it will no longer work and must be moved to another provider. github.com - Behavior changed
Not every request error message is logged anymore, so code or log monitoring that depended on those messages may see less output. github.com
And 10 more in this version.
promptfoo 0.118.12 breaking changes
- Default changed
The default unblocking behavior was flipped in this release. Code that relied on the previous default should set the behavior explicitly. github.com - Signature changed
GradingResult.assertion
Was assertion?: Assertion | null; now assertion?: Assertion. npmjs.com
promptfoo 0.118.11 breaking changes
- Default changed
The default model used by red team init is now gpt-5. Code that relied on the previous default should set the model explicitly. github.com - Default changed
The default Granite model is now granite-3-3-8b-instruct. Code that relied on the previous default should set the model explicitly. github.com
And 8 more in this version.
promptfoo 0.118.10 breaking changes
- Signature changed
PoliciesById
Was type PoliciesById = Map<PolicyObject['id'], {text: Required<PolicyObject>['text']; severity: Severity;}>; now type PoliciesById = Map<PolicyObject['id'], {text: Required<PolicyObject>['text']; name: Required<PolicyObject>['name']... npmjs.com - Signature changed
PolicyObjectSchema
Was const PolicyObjectSchema: z.ZodObject<{id: z.ZodString; text: z.ZodOptional<z.ZodString>;}, "strip", z.ZodTypeAny, {id: string; text?: string | undefined;}, {id: string; text?: string | undefined;}>; now const PolicyObjectSchema... npmjs.com
promptfoo 0.118.9 breaking changes
- Renamed
agentcore provider
The agentcore provider is now called the bedrock agents provider, so configs that reference the old name must be updated to the new one. github.com
promptfoo 0.118.7 breaking changes
- Signature changed
CommandLineOptionsSchema
Was const CommandLineOptionsSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; prompts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; providers: z.ZodArray<z.ZodString, "many">; output: z.ZodArray<z.ZodString, "many">... npmjs.com - Signature changed
EvalSummary
Was type EvalSummary = ResultLightweightWithLabel & {passRate: number;}; now type EvalSummary = ResultLightweightWithLabel & {isRedteam: boolean; passRate: number; label: string; providers: {id: string; label: string | null;}[];}. npmjs.com
And 1 more in this version.
promptfoo 0.118.5 breaking changes
- Removed
Lambda Labs provider
The Lambda Labs provider was removed because its API was deprecated, so configs that use it will no longer work and need a different provider. github.com - Removed
PolicyTexts
PolicyTexts was removed in promptfoo 0.118.5 npmjs.com
And 11 more in this version.
promptfoo 0.118.4 breaking changes
- Removed
Pandamonium
The Pandamonium red team strategy has been retired and is no longer available. Remove any configs that reference it. github.com - Signature changed
PluginConfig
Was type PluginConfig = {examples?: string[]; graderExamples?: {output: string; pass: boolean; score: number; reason: string;}[]; severity?: Severity; language?: string; prompt?: string; purpose?: string; modifiers?... npmjs.com
And 1 more in this version.
promptfoo 0.118.3 breaking changes
- Default changed
sharing
Sharing is now off by default, so users who relied on the previous default must enable it explicitly. github.com
promptfoo 0.118.2 breaking changes
- Removed
Node.js 18 is no longer supported, so users on Node.js 18 must upgrade their Node.js runtime before using this release. github.com - Signature changed
CommandLineOptionsSchema
Was const CommandLineOptionsSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; prompts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; providers: z.ZodArray<z.ZodString, "many">; output: z.ZodArray<z.ZodString, "many">... npmjs.com
And 1 more in this version.
promptfoo 0.118.0 breaking changes
- Behavior changed
contextTransform
contextTransform now gets the output of the provider transform directly instead of the previous value. Code that relied on the old input should be checked and updated. github.com
promptfoo 0.117.6 breaking changes
- Signature changed
CommandLineOptionsSchema
Was const CommandLineOptionsSchema: z.ZodObject<{description: z.ZodOptional<z.ZodString>; prompts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; providers: z.ZodArray<z.ZodString, "many">; output: z.ZodArray<z.ZodString, "many">... npmjs.com - Signature changed
TestSuiteConfigSchema
Was const TestSuiteConfigSchema: z.ZodObject<{tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; description: z.ZodOptional<z.ZodString>; providers: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodFunction<z.ZodTuple<[z.ZodString... npmjs.com
And 1 more in this version.
promptfoo 0.117.0 breaking changes
- Configuration changed
The project now uses Biome instead of ESLint plus Prettier for linting and formatting. Users relying on the old ESLint or Prettier configuration may need to update their own tooling setup. github.com - Signature changed
AssertionValueFunctionContext.test
Was test: AtomicTestCase<Record<string, string | object>>; now test: AtomicTestCase. npmjs.com
And 13 more in this version.
promptfoo 0.116.0 breaking changes
- Signature changed
UnifiedConfigSchema
Was const UnifiedConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; description: z.ZodOptional<z.ZodString>; prompts: z.ZodUnion<[z.ZodString... npmjs.com
promptfoo 0.115.0 breaking changes
- Removed
Deprecated functions and unused types were removed from the package. Code that imports or calls them must move to their replacements. github.com - Renamed
The plugin parameter is now named prompt. Configurations using the old parameter name must be updated. github.com
And 9 more in this version.
promptfoo 0.113.0 breaking changes
- Removed
The deprecated sharing setups were removed in this release. Code relying on them must move to the current sharing setup. github.com - Removed
Sharing to self-hosted servers deployed with a version earlier than 0.103.8 no longer works. Upgrade those servers to the latest version. github.com
promptfoo 0.112.0 breaking changes
- Removed
DefaultProviders.datasetGenerationProvider
DefaultProviders.datasetGenerationProvider was removed in promptfoo 0.112.0 npmjs.com - Configuration changed
natural is no longer installed automatically with promptfoo, so projects that rely on it must install it themselves. github.com
And 12 more in this version.
promptfoo 0.111.0 breaking changes
- Default changed
Generated Redteam config files are now output in the same directory as the input config instead of the previous default location. Check scripts or paths that expect the old output location. github.com - Default changed
The default OpenAI model used for grading is now GPT-4.1. Grading results may differ from earlier releases if you rely on the default grader. github.com
promptfoo 0.110.0 breaking changes
- Removed
The deprecated login flow was removed in this release, so code or scripts relying on it must switch to the current login method. github.com - Renamed
multimodal live
The multimodal live name was changed to live, so references to the old name must be updated. github.com
And 13 more in this version.
promptfoo 0.109.0 breaking changes
- Removed
CompletionTokenDetails.acceptedPrediction
CompletionTokenDetails.acceptedPrediction was removed in promptfoo 0.109.0 npmjs.com - Removed
CompletionTokenDetails.reasoning
CompletionTokenDetails.reasoning was removed in promptfoo 0.109.0 npmjs.com
And 25 more in this version.
promptfoo 0.107.0 breaking changes
- Removed
harmCategory
The harmCategory variable is no longer set on harmful plugin test vars. Code that reads it from those vars must be updated. github.com - Default changed
The default value of the moderation flag in redteam was changed. Users relying on the old default should set it explicitly. github.com
promptfoo 0.106.0 breaking changes
- Signature changed
Prompt
Was type Prompt = {id?: string; raw: string; display?: string; label: string; function?: PromptFunction; config?: any;}; now interface Prompt. npmjs.com - Signature changed
PromptConfig
Was type PromptConfig = {prefix?: string; suffix?: string;}; now interface PromptConfig. npmjs.com
And 2 more in this version.
promptfoo 0.105.0 breaking changes
- Removed
Direct provider exports were removed from the package; use loadApiProvider instead. github.com - Removed
EnvOverrides.AI21_API_BASE_URL
EnvOverrides.AI21_API_BASE_URL was removed in promptfoo 0.105.0 npmjs.com
And 66 more in this version.
promptfoo 0.104.0 breaking changes
- Default changed
The default grading provider is now gpt-4o-2024-11-20. Users who relied on the previous default grader should set the grading provider explicitly if they need the old model. github.com - Signature changed
default
Was const _default: {assertions: {runAssertion: typeof import("./assertions").runAssertion; runAssertions: typeof import("./assertions").runAssertions; matchesSimilarity: typeof import("./matchers").matchesSimilarity... npmjs.com
promptfoo 0.102.0 breaking changes
- Signature changed
EvaluateOptions
Was type EvaluateOptions = z.infer<typeof EvaluateOptionsSchema>; now type EvaluateOptions = z.infer<typeof EvaluateOptionsSchema> & {abortSignal?: AbortSignal;}. npmjs.com - Signature changed
Job.status
Was status: 'in-progress' | 'complete'; now status: 'in-progress' | 'complete' | 'error'. npmjs.com
promptfoo 0.101.0 breaking changes
- Signature changed
CompletedPromptSchema
Was const CompletedPromptSchema: z.ZodObject<z.objectUtil.extendShape<{id: z.ZodOptional<z.ZodString>; raw: z.ZodString; display: z.ZodOptional<z.ZodString>; label: z.ZodString; function... npmjs.com - Signature changed
TestCasesWithMetadataPromptSchema
Was const TestCasesWithMetadataPromptSchema: z.ZodObject<{prompt: z.ZodObject<z.objectUtil.extendShape<{id: z.ZodOptional<z.ZodString>; raw: z.ZodString; display: z.ZodOptional<z.ZodString>; label: z.ZodString; function... npmjs.com
And 3 more in this version.
promptfoo 0.100.0 breaking changes
- Renamed
responseParser
The HTTP provider's responseParser option was renamed to transformResponse, and transformRequest was added. Update configs that set responseParser to use transformResponse. github.com - Signature changed
RedteamStrategyObject
Was type RedteamStrategyObject = ConfigurableObject & {config?: StrategyConfig & {plugins?: RedteamPluginObject['id'][];};}; now type RedteamStrategyObject = ConfigurableObject & {config?: StrategyConfig & {plugins?... npmjs.com
And 2 more in this version.
promptfoo 0.99.0 breaking changes
- Signature changed
RedteamStrategyObject
Was type RedteamStrategyObject = ConfigurableObject; now type RedteamStrategyObject = ConfigurableObject & {config?: StrategyConfig & {plugins?: RedteamPluginObject['id'][];};}. npmjs.com - Signature changed
TestSuiteConfigSchema
Was const TestSuiteConfigSchema: z.ZodObject<{tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; description: z.ZodOptional<z.ZodString>; providers: z.ZodUnion<[z.ZodString, z.ZodIntersection<z.ZodFunction<z.ZodTuple<[z.ZodString... npmjs.com
And 1 more in this version.
promptfoo 0.98.0 breaking changes
- Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<z.objectUtil.extendShape<{description: z.ZodOptional<z.ZodString>; vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodNumber, string, number>... npmjs.com - Signature changed
cache.FetchWithCacheResult
Was type FetchWithCacheResult<T> = {data: T; cached: boolean; status: number; statusText: string;}; now type FetchWithCacheResult<T> = {data: T; cached: boolean; status: number; statusText: string; headers?: Record<string, string>;}. npmjs.com
And 7 more in this version.
promptfoo 0.97.0 breaking changes
- Signature changed
AtomicTestCaseSchema
Was const AtomicTestCaseSchema: z.ZodObject<z.objectUtil.extendShape<{description: z.ZodOptional<z.ZodString>; vars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodNumber, string, number>... npmjs.com - Signature changed
CompletedPromptSchema
Was const CompletedPromptSchema: z.ZodObject<z.objectUtil.extendShape<{id: z.ZodOptional<z.ZodString>; raw: z.ZodString; display: z.ZodOptional<z.ZodString>; label: z.ZodString; function... npmjs.com
And 11 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.