Repository navigation
Releases
Releases · promptfoo/promptfoo
0.126.0
0.126.0 (2026-11-18)
Before upgrading
- Derived metrics. Check string formulas in
derivedMetrics. Arithmetic, comparisons, ternaries and score names such as__countstill work. Function calls, property access, assignments and formulas longer than 1,024 characters now stop the evaluation before any test cases run. For example, replacemax(a, b)witha > b ? a : b. For more complex logic, use a function in a JavaScript config. Formula syntax · #12125 - Full-repository code scans. Install and run Promptfoo with Node.js 24 or later for full scans. Diff-only scans still work on Node.js 22.22 or later. A full scan can share eligible committed text from the compared revision with the hosted scanner. Set
diffsOnly: truein the code-scan configuration to share only the diff. #12185
Highlights
- Evaluate GPT-6.2 Astra or Sol with
openai:gpt-6.2-astraoropenai:gpt-6.2-sol. Both use the Responses API by default. This release also adds Claude Fable and Mythos 5.2 and Gemini 4 Argon and Hydrogen. #12474 · #12358 · #12416 - Use
google:decisions:gemini-decision-1to grade text, images, audio, video and PDFs. Gemini and Vertex also support file and live transcription. #12393 · #12151 · #12153 - Promptfoo restricts access to saved cloud credentials on POSIX systems and redacts Azure Storage connection strings in logs and exports. #12177 · #12130
Full change list
Features
- providers: add Azure and Anthropic config schemas (#11747) (1a34bf6)
- providers: add Claude Fable and Mythos 5.2 (#12358) (5376cc9)
- providers: add Gemini Decisions API support (#12393) (c087d91)
- providers: refresh OpenAI model support on Bedrock (#12141) (059c749)
- providers: support Gemini 4 Argon and Hydrogen (#12416) (803ff25)
- providers: support Gemini file transcription through Interactions (#12151) (738e434)
- providers: support Gemini Live and Vertex file transcription (#12153) (7fda531)
- providers: support GPT Image 2.6 generation and edits (#12134) (7c90c8a)
- providers: support GPT-5.6 Cyber on Bedrock (#12137) (dc99c26)
- providers: support GPT-6.2 Astra and Sol (#12474) (0c123d8)
- providers: support Nova and Marengo text embeddings (#11562) (e48f9cc)
- providers: support Sol Ultrafast (#11547) (67651ef)
Bug Fixes
- assertions: apply weight 0 to throwing python and ruby file assertions (#12118) (9aff6d0)
- assertions: exclude tool calls when detecting refusals (#11957) (5ca33a6)
- assertions: record assertion failures when
file://orpackage:JavaScript assertions throw (#11939) (8399f76) - assertions: omit provider configuration from grader errors (#12190) (9d01dd4)
- assertions: preserve the receiver of exported grader methods (#12336) (fb61ad3)
- azure: isolate explicitly configured Foundry service principals (#12156) (2db2e1a)
- bedrock: return no output instead of throwing when a Nova message has no content (#11812) (8fd968a)
- cli: print the full evaluation summary when sharing is unavailable (#12332) (5e1a260)
- code-scan: upgrade the filesystem MCP server to 2.3.0 (#12185) (9e66910)
- config: preserve literal hashes in Excel workbook filenames (#12340) (6c06c8f)
- config: protect saved cloud credentials (#12177) (a3d02ed)
- db: recheck migrations after concurrent CLI startup (#12338) (0b4a1fb)
- deps: move the optional filesystem MCP server off the deprecated date version (#12397) (7b99385)
- deps: update Anthropic packages (#11991) (204cf8f) · (#12050) (44ef3dc) · (#12450) (3d4ec90)
- deps: update Azure Identity to use patched MSAL Node (#12110) (923a1c5)
- deps: update dependency
@anthropic-ai/sdkto v1 (#12091) (bfb96e2) - deps: update dependency
@anthropic-ai/sdkto v1.2.0 (#12102) (6b9ae7b) - deps: update dependency
@anthropic-ai/sdkto v1.3.0 (#12113) (06778a3) - deps: update dependency
@anthropic-ai/sdkto v1.4.0 (#12413) (af9ad5f) - deps: update dependency
@hono/node-serverto v2.1.6 (#12401) (4f67101) - deps: update dependency chokidar to v6 (#12047) (b3cea64)
- deps: update dependency glob to v14.0.3 ([#12226](https://github.com/promptfoo/...
code-scan-action: 0.2.3
0.2.3 (2026-11-18)
Changes
- Full-repository scans use the patched filesystem MCP server 2.3.0 and can share eligible committed text files from the compared revision with the hosted scanner. Working-tree changes and untracked files stay outside that snapshot. Set
diffsOnly: truein the scan configuration to share only the Git diff. The action runs the scanner with its bundled Node.js 24 runtime. #12185 - After each scan, the action removes its temporary Promptfoo CLI installation, including when the scan fails. The release workflow attests the executable payload before publishing it to the action repository. #10108
- The action now uses Undici 7.30.2, which includes fixes for handling credentials across redirects and for response integrity. #12437
0.125.1
0.125.0
0.125.0 (2026-10-23)
⚠ BREAKING CHANGES
- deps: make jks-js an optional peer dependency (#11739)
- providers: make Claude Agent and Codex SDKs opt-in (#11134)
Features
- add provider-only environment overrides (#11889) (2eed6e1)
- assertions: add rouge-l and rouge-s assertion types (#10256) (6842fc3)
- assertions: filter trace spans by attributes (#10648) (faf08b4)
- assertions: optional Unicode normalization for equals and contains (#10555) (92ae1ec)
- eval: add safe mode to disable inline JavaScript execution (#11382) (80a27b6)
- eval: disclose cache-hit rows in the eval summary (#11329) (3635a03)
- eval: report stability across repeated tests (#11416) (3f7bfa7)
- examples: add local Hermeneutic wording assertion (#10663) (636d59e)
- providers: add Daybreak access program config (#11737) (8f873ce)
- providers: add portable OpenAI config schemas (#11746) (3d6cdf2)
- providers: add templated request metadata for a2a provider (#10242) (f86c893)
- providers: support current Gemini media models (#11581) (f511091)
- redteam: add arabic-presentation-forms static encoding strategy (#11404) (ce7adab)
Bug Fixes
- accounting: ignore malformed optional token usage (#10112) (4f3b359)
- app: simplify navigation and refresh the local UI (#11740) (bbe73b5)
- assertions: honor the not- prefix for tool-call validity assertions (#11488) (f5b1d39)
- assertions: isolate cached answer relevance samples (#11628) (a98f031)
- assertions: match actual required XML elements (#11669) (6c3ffc5)
- assertions: preserve custom reason in not-javascript GradingResult inversion (#10880) (62cbfee)
- assertions: reject non-finite similarity calculations (#11627) (895bbe4)
- bound telemetry request lifetime (#11536) (04ab6fb)
- cache: honor disabled caching across package copies (#10793) (1b256fe)
- ci: refresh code scan action before OIDC expires (#11717) (7fd37b7)
- ci: secure code-scan action releases (#10108) (b5d6b20)
- cli: expose MCP errors and remove simulated tests (#11676) (0044799)
- code-scan: explain empty scan results instead of bare "No files to scan" (#11543) (0864873)
- config: remove the default configuration cache (#11166) (90c4a7a)
- config: scope runtime environment defaults (#11091) (fb50526)
- correct provider billing, configuration, and JUnit output (#11060) (c09adb3)
- csv: parse similar:cosine/dot/euclidean assertion types from CSV (#11365) (eb07d64)
- dataset: gracefully extract personas from varied JSON responses during dataset synthesis (#11293) (#11298) (2310a94)
- deps: align Storybook and update Mermaid/KaTeX (#11914) (03844fb)
- deps: hold IBM SDK before redaction regression (cbebb0e)
- deps: make jks-js an optional peer dependency (#11739) (1c28848)
- deps: preserve Claude permissions on SDK upgrade (#11696) (80f0a11)
- deps: raise webpack-dev-server Express minimum to 4.22.3 (#11865) (77c78d7)
- deps: synchronize Anthropic SDK upgrades (#11483) (be8b169)
- deps: synchronize Claude Agent SDK upgrade (#11553) (b4caec3)
- deps: update anthropic packages (#11860) (480893f)
- deps: update anthropic packages (#11871) (fa8886a)
- deps: update dependency @hono/node-server to v2.1.2 (#11535) (7afa715)
- deps: update dependency @hono/node-server to v2.1.3 (#11551) (6177a8b)
- deps: update dependency @hono/node-server to v2.1.4 (#11862) (0ed9ffd)
- deps: update dependency @hono/node-server to v2.1.5 ([#11951](https://github.com/promptfoo/p...
0.124.1
0.124.1 (2026-10-08)
Features
- assertions: record cost without a threshold (#11451) (037f1f6)
- providers: add OpenAI Decisions support (#11454) (2dbf3ec)
- providers: expose catalog text-token pricing (#11452) (3ecce2e)
Bug Fixes
- assertions: preserve async expression grading (#11453) (1df3eb8)
- assertions: preserve keyword-property grading (#11450) (a2da804)
- assertions: preserve regex operands after yield (#11463) (4b4151a)
- code-scan: mint OIDC after CLI installation (#11467) (9a404c8)
- deps: bump the npm_and_yarn group across 1 directory with 3 updates (#11441) (84f7aaa)
- deps: patch Sharp and Codex SDK security vulnerabilities (#11456) (0c78299)
- eval: respect #gid in Google Sheets URLs (#11460) (8950bce)
- handle assertion comments and dataset limits (#11435) (a65fe81)
- preserve Cloud errors and check npm aliases (#11447) (8321730)
- providers: expose incomplete Responses status (#11465) (49ba1ce)
- providers: retain prepared custom environment (#11442) (4415bcb)
- redteam: report missing target output as errors (#11445) (a2e6681)
- redteam: sample dataset plugin rows uniformly (#11461) (e9ba85c)
- redteam: stop Meta on invalid JSON requests (#11466) (d56d58c)
- redteam: sync Codex paths and client cleanup (#11462) (99b2b09)
- util: preserve complete JSON objects (#11468) (bde0dbe)
Performance Improvements
code-scan-action: 0.2.2
0.124.0
0.124.0 (2026-10-06)
⚠ BREAKING CHANGES
- providers: remove hosted ChatKit provider (#11434)
- providers: make WatsonX SDKs opt-in (#11359)
- deps: make Langfuse SDK opt-in (#11351)
- deps: make Slack SDK opt-in (#11349)
- providers: make OpenAI Agents an explicit install (#11177)
- providers: make Codex Security SDK opt-in (#11325)
- providers: make browser SDKs explicit installs (#11163)
- deps: make local Transformers opt-in (#11119)
Features
- cli: support comma-separated OR values in --filter-metadata (#11320) (b7cae9f)
- providers: add Claude Opus 5.5 support (#11037) (ae2aded)
- providers: add Claude Sonnet 5.5 support (#11295) (4a23db1)
- providers: add GPT-6 Sol and Luna (#11043) (92dd929)
- providers: add Grok 4.7 support (#11046) (4f7c400)
- providers: add OpenAI safety identifiers (#11330) (5d620e2)
- providers: add TypeSafe Jev provider (#11299) (6265741)
- providers: resume paused Claude server-tool turns (#11286) (f8ba0bc)
- providers: run coding agents in isolated workspaces (#11063) (822caba)
- providers: support GPT-6.1 Sol and ultrafast (#11303) (c58ec23)
- providers: update current model support (#11065) (37fc270)
Bug Fixes
- anthropic: bump OAuth Claude Code user-agent to 2.1.285 (#11323) (29bddde)
- app: share cloud configuration requests across consumers (#11193) (ef7923c)
- assertions: accept grader result shapes earlier releases recorded (#11391) (3233b37)
- assertions: await meteor handler so missing natural dep grades as failure (#11312) (6b00513)
- assertions: clamp inverse RAG scores to the documented 0-1 range (#11082) (eee76e2)
- assertions: honor the not- prefix for model-graded-closedqa and factuality (#11185) (8a1d6a7)
- assertions: ignore blank BLEU references (#11278) (eee7e74)
- assertions: ignore grader prose in context-relevance scoring (#10251) (016aad3)
- assertions: keep custom reason when negated script assertions fail (#11246) (0f11b51)
- assertions: log why select-best grading failed (#11396) (941f738)
- assertions: validate BLEU weights before empty score (#9858) (0251010)
- assertions: validate custom grading results (#11079) (f34fe4e)
- cli: allow a literal comma in --filter-metadata values (#11397) (d206bb3)
- cli: correct Cloud organization guidance (#11078) (de8a542)
- cli: fail the exit code when a target error stops the eval (#11400) (84fbc8e)
- cli: handle asynchronous browser launch errors (#11115) (11a4ce2)
- cli: keep Cloud login in the token organization (#11026) (b85c2f1)
- cli: preserve Cloud team selection (#11018) (3379c9e)
- cli: silence internal decompression warning (#11346) (c0017f6)
- code-scan: include large unknown text files (#11129) (3d65dce)
- code-scan: launch filesystem MCP on Windows (#11244) (9759f34)
- code-scan: pin MCP launch and await shutdown (#11285) (b0c124f)
- code-scan: share diff range parsing (#11204) (9a55724)
- config: accept numeric and boolean env values (#11386) (20b1ffe)
- config: expand globs in single-string tests (#11097) (874f44a)
- config: isolate evaluation context and preserve replay state (#10893) (8d5e81e)
- config: preserve imported test file path resolution (#11283) (78a76bd)
- config: restore relative labels for file prompts (#11384) (29a2e4f)
- config: restore relative vars file paths (#11380) (c4863c9)
- constrain provider and shell inputs (#11318) (b93b2e7)
- **cs...
code-scan-action: 0.2.1
0.123.1
0.123.1 (2026-09-18)
Features
- bedrock: refresh auth across HTTP adapters (#10123) (9d3f063)
- providers: add Gemini 3.8 and Vertex Live (#10956) (1417f22)
- providers: add GPT-Live voice sessions (#10891) (316a334)
- providers: add OpenAI Agents API (#10892) (ad3bee3)
- providers: add portable HTTP config schemas (#10968) (fcd0604)
- providers: add portable MCP config schemas (#10965) (f5ccb3c)
- providers: support Ollama 0.34 features and refresh model docs (#10964) (ac01a4f)
- providers: surface Ollama thinking output and finish reason (#10954) (27d4c22)
- providers: update Gemini tools and media support (#10172) (627bdd0)
Bug Fixes
- assertions: bound embedded tool call parsing (#10877) (78202a3)
- assertions: bound tool-call parser state (#10887) (15290b4)
- assertions: default RAG assertion thresholds to 0.5 (#10202) (4831b60), closes #9910 #9848
- assertions: invert score along with pass for search-rubric (#10103) (26e8f2f)
- assertions: never invert grader failures on not-classifier and not-search-rubric (#10904) (e049702)
- assertions: reject malformed webhook results (#10955) (fc57736)
- assertions: reject non-string search rubrics (#10934) (7bbb79e)
- auth: harden custom header requests (#10524) (5325084)
- cli: handle large values during result export (#10884) (be798f4)
- cli: preserve in-memory results for extensions (#10885) (60483d9)
- code-scan: extractValidLineRanges off-by-one on trailing newline (#10107) (2cbabdb)
- config: preserve discovery in paths containing quotes (#10549) (d9b3927)
- db: preserve shared blobs after persistence errors (#10897) (3b353fb)
- deps: update dependency @anthropic-ai/sdk to v0.123.0 (#10901) (14f7c06)
- deps: update dependency @anthropic-ai/sdk to v0.124.0 (#10940) (29a15d1)
- deps: update engine.io to v6.6.10 (#10915) (e54a968)
- deps: update opentelemetry (#10886) (280bc5e)
- deps: update type definitions (#10924) (01c6397)
- drain database writes and preserve provider options (#10911) (32bfa9e)
- eval: keep concurrent derived metrics consistent (#10873) (2a3a3bd)
- eval: preserve audio grading results and order (#10822) (395d21e)
- eval: preserve cloud UUID config semantics (#7732) (8544fed)
- fetch: decode URL credentials and match Authorization case-insensitively (#10909) (b8aa6ff)
- fetch: treat credit_balance_exhausted as a hard quota error (#10881) (7f21bb2)
- honor SDK options and load AVIF/TIFF images (#10902) (15bba21)
- integrations: honor --env-file and config env for Helicone key and Langfuse base URL (#10942) (8bd9f37)
- integrations: read Langfuse env at fetch time (#10937) (033080c)
- integrations: share Langfuse prompt fetches and surface real SDK load errors (#10943) (379ecd0)
- matchers: tag context-faithfulness grader failures (#9907) (77bc3ba)
- matchers: tag RAG grader failures so inverse assertions cannot pass (#10494) (b3d21d2)
- mcp: accept fine-tuned model identifiers (#10847) (9442129)
- opencode: capture skill calls from full session history (#10011) (290973d)
- prompts: CSV rows collapse to duplicate labels/IDs when basePrompt.label is set (#10102) (25963c3)
- providers: align ElevenLabs requests and audio inputs (#10736) (de12341)
- providers: apply normalized Envoy base URL after user config spread (#10642) (1b6e793)
...
0.123.0
0.123.0 (2026-09-10)
⚠ BREAKING CHANGES
- providers: default GPT-5.6+ to Responses (#10803)
Features
- assertions: grade native audio with llm-rubric (#10814) (39c4fb5)
- providers: add Claude Fable and Mythos 5.1 (#10601) (ac6ba5b)
- providers: add GPT-6 Astra support (#10625) (cd4c68b)
- providers: add grok-4.6, grok-imagine-image-2.0, and grok-imagine-video-1.5 (#10587) (48a71cd)
- providers: default GPT-5.6+ to Responses (#10803) (b051efd)
- providers: expose MCP tool calls in response metadata (#10516) (891d870)
- providers: support Gemini 3.8 Flash (#10616) (b89a25d)
- providers: support GPT Image 2.5 generation (#10812) (71346b0)
- providers: support GPT Transcribe file uploads (#10813) (c85b395)
- providers: support Muse Spark 1.3 (#10617) (8e0de03)
Bug Fixes
- assertions: parse multiline tool calls and clarify guides (#10789) (5f0324f)
- assertions: recognize OpenAI Responses function_call items in tool-call-f1 (#10665) (028282c)
- claude-agent-sdk: recognize documented model selectors (#10741) (c7e32f6)
- claude-agent: preserve per-server env for stdio MCP servers (#10557) (6fd4c41)
- cli: remove retired GitHub example downloads (#10876) (bf09397)
- cloudflare: use the versioned Mistral gateway route (#10734) (ea6d6d3)
- config: avoid stack traces for missing optional configs (#10523) (3d67680)
- db: preserve writes after lock failures and during shutdown (#9009) (130389e)
- deps: preserve browser production dependencies (#10755) (0b4ccbe)
- deps: update anthropic packages (#10571) (93f963d)
- deps: update anthropic packages (#10679) (152c423)
- deps: update dependency @inquirer/core to v12 (#10554) (90fa399)
- deps: update dependency ai to ^6.0.264 (#10585) (da073db)
- deps: update dependency js-yaml to v5.4.0 (#10629) (58fe7cc)
- deps: update dependency zod to v4.5.4 (#10788) (03b0564)
- deps: update Hono to v4.13.5 (#10815) (6a7568d)
- deps: update js-yaml to 5.4.1 (#10680) (bd18712)
- deps: update OpenCode SDK to v1.18.21 (#10565) (93b9f8c)
- deps: update webpack to v5.110.3 (#10863) (fbfc5fb)
- eval: keep the CLI alive while watch mode is watching (#10562) (89d4138)
- eval: watch mode ignored scalar and generator
testsreferences (#10169) (71499e3) - examples: honor framework model selection (#10781) (34cfb68)
- examples: use selected CrewAI credentials (#10799) (e2cabfa)
- go-provider: support importable packages (#10540) (10deb31)
- google: route stable Omni through Interactions (#10737) (9ef3c96)
- guard empty drift stats and clarify provider options (#10645) (bfcd067)
- harden eval and provider edge cases (#10576) (1adb6e5)
- http: clear error context when signature fails due to missing private key (#10586) (7abf349)
- http: support Windows drive letter and file:// source paths in multipart (#10566) (22468f4)
- huggingface: normalize classification and embedding responses (#10735) (d31716d)
- mcp: use valid provider model selectors (#10806) (8bcf17d)
- n8n: omit request bodies for HEAD webhooks (#10730) (7f897cf)
- openai: preserve model routing and historical compatibility (#10810) (460e221)
- openclaw: sign the server challenge timestamp (#10739) (517e181)
- providers: address AI code quality findings (#10552) ([9cd1924](https://github.com/promptfoo/promptfoo/...