---
title: "braintrust 3.44.0 Breaking Changes on npm | Since.dev"
description: "What each braintrust release removed, renamed or changed: 741 breaking changes in 34 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/braintrust
last_updated: 2026-12-04
---

# braintrust breaking changes

braintrust 3.44.0 (November 11, 2026) is its newest release with breaking changes, 3 of them. The first: Upgrades minimatch dependency from v10 to v11 in braintrust 3.44.0. Every breaking API change we have recorded in braintrust on npm: 741 breaking changes in 34 versions. Below, its 34 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.0.0`, released November 30, 2026. [Source repository](https://github.com/braintrustdata/braintrust-sdk-javascript)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.2.2](#v-2-2-2) to [3.44.0](#v-3-44-0): 715 breaking changes in 29 versions.
- From [2.0.2](#v-2-0-2) to [3.44.0](#v-3-44-0): 735 breaking changes in 33 versions.

## braintrust 3.44.0 breaking changes

braintrust 3.44.0, released November 11, 2026: 3 breaking changes.

- **Behavior changed**  

The bundled minimatch dependency moved from v10 to v11, which may change glob matching behavior for code relying on it indirectly. [github.com](https://github.com/braintrustdata/braintrust-sdk-javascript/releases/tag/braintrust%403.44.0)
- **Signature changed** `BraintrustLangChainCallbackHandler.handleLLMNewToken`  

Was handleLLMNewToken(\_token: string, \_idx: {prompt: number; completion: number;}, runId: string, \_parentRunId?: string, \_tags?: string\[\]): Promise\<void>; now handleLLMNewToken(\_token: string, \_idx: {prompt: number; completion: number;}... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.44.0)
- **Signature changed** `LangChainCallbackHandlerOptions`  

Was type LangChainCallbackHandlerOptions\<IsAsyncFlush extends boolean> = {debug: boolean; excludeMetadataProps: RegExp; logger?: Logger\<IsAsyncFlush> | Span; parent?: Span | (() => Span);}; now type... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.44.0)

## braintrust 3.42.0 breaking changes

braintrust 3.42.0, released October 29, 2026: 1 breaking change.

- **Default changed**  

MCP tool and prompt content is now traced by default instead of opt-in. Users who do not want this content recorded must turn capture off themselves. [github.com](https://github.com/braintrustdata/braintrust-sdk-javascript/releases/tag/braintrust%403.42.0)

## braintrust 3.40.0 breaking changes

braintrust 3.40.0, released October 26, 2026: 2 breaking changes.

- **Behavior changed**  

Log rows in long-lived Node processes now wait up to 1s before flushing, so code that exits on signals or process.exit() must call flush() first or rows may be lost. The delay can be set with BRAINTRUST_FLUSH_DELAY_MS. [github.com](https://github.com/braintrustdata/braintrust-sdk-javascript/releases/tag/braintrust%403.40.0)
- **Signature changed** `util:spanTypeAttributeValues`  

Was const spanTypeAttributeValues: readonly \["llm", "score", "function", "eval", "task", "tool", "automation", "facet", "preprocessor", "classifier", "review"\]; now const spanTypeAttributeValues: readonly \["llm", "score", "function"... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.40.0)

## braintrust 3.38.0 breaking changes

braintrust 3.38.0, released October 19, 2026: 16 breaking changes.

- **Removed** `esbuild:EsbuildPluginOptions.instrumentations`  

EsbuildPluginOptions.instrumentations was removed in braintrust 3.38.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.38.0)
- **Removed** `esbuild:InstrumentationConfig`  

InstrumentationConfig was removed in braintrust 3.38.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.38.0)
- **Removed** `instrumentation:BasePlugin.subscribe`  

BasePlugin.subscribe was removed in braintrust 3.38.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.38.0)
- **Removed** `instrumentation:BasePlugin.subscribeToChannel`  

BasePlugin.subscribeToChannel was removed in braintrust 3.38.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.38.0)
- **Removed** `instrumentation:BasePlugin.subscribeToStreamingChannel`  

BasePlugin.subscribeToStreamingChannel was removed in braintrust 3.38.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.38.0)
- **Removed** `instrumentation:BasePlugin.subscribeToSyncStreamChannel`  

BasePlugin.subscribeToSyncStreamChannel was removed in braintrust 3.38.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.38.0)
- **Removed** `instrumentation:BraintrustPlugin.subscribe`  

BraintrustPlugin.subscribe was removed in braintrust 3.38.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.38.0)
- **Removed** `instrumentation:BraintrustPlugin.subscribeToChannel`  

BraintrustPlugin.subscribeToChannel was removed in braintrust 3.38.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.38.0)
- **Removed** `instrumentation:BraintrustPlugin.subscribeToStreamingChannel`  

BraintrustPlugin.subscribeToStreamingChannel was removed in braintrust 3.38.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.38.0)
- **Removed** `instrumentation:BraintrustPlugin.subscribeToSyncStreamChannel`  

BraintrustPlugin.subscribeToSyncStreamChannel was removed in braintrust 3.38.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.38.0)

And 6 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## braintrust 3.37.0 breaking changes

braintrust 3.37.0, released October 5, 2026: 1 breaking change.

- **Behavior changed**  

When an eval times out or its signal aborts, it stops scheduling new trials and waits for running tasks and scorers to settle before rejecting, instead of rejecting immediately. Code that depends on the earlier immediate rejection should... [github.com](https://github.com/braintrustdata/braintrust-sdk-javascript/releases/tag/braintrust%403.37.0)

## braintrust 3.36.0 breaking changes

braintrust 3.36.0, released October 1, 2026: 18 breaking changes.

- **Signature changed** `browser:evaluatorDefinitionSchema`  

Was const evaluatorDefinitionSchema: z.ZodObject<{parameters: z.ZodOptional\<z.ZodNullable\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">; properties... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.36.0)
- **Signature changed** `browser:evaluatorDefinitionsSchema`  

Was const evaluatorDefinitionsSchema: z.ZodRecord\<z.ZodString, z.ZodObject<{parameters: z.ZodOptional\<z.ZodNullable\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.36.0)
- **Signature changed** `browser:promptDefinitionSchema`  

Was const promptDefinitionSchema: z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{prompt: z.ZodString;}, "strip", z.ZodTypeAny, {prompt: string;}, {prompt: string;}>, z.ZodObject<{messages: z.ZodArray\<z.ZodUnion<\[z.ZodObject<{content... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.36.0)
- **Signature changed** `browser:promptDefinitionWithToolsSchema`  

Was const promptDefinitionWithToolsSchema: z.ZodIntersection\<z.ZodIntersection\<z.ZodUnion<\[z.ZodObject<{prompt: z.ZodString;}, "strip", z.ZodTypeAny, {prompt: string;}, {prompt: string;}>, z.ZodObject<{messages... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.36.0)
- **Signature changed** `CodeFunction.parameters`  

Was readonly parameters?: z.ZodSchema\<Input>; now readonly parameters?: ZodSchema\<Input>. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.36.0)
- **Signature changed** `CodeFunction.returns`  

Was readonly returns?: z.ZodSchema\<Output>; now readonly returns?: ZodSchema\<Output>. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.36.0)
- **Signature changed** `CodeOpts`  

Was type CodeOpts\<Params, Returns, Fn extends GenericFunction\<Params, Returns>> = Partial\<BaseFnOpts> & {handler: Fn; metadata?: Record\<string, unknown>;} & Schema\<Params, Returns>; now type CodeOpts\<Params, Returns, Fn extends... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.36.0)
- **Signature changed** `CodeOpts.parameters`  

Was parameters: z.ZodSchema\<Input>; now parameters?: ZodSchema\<Params>. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.36.0)
- **Signature changed** `CodeOpts.returns`  

Was returns: z.ZodSchema\<Output>; now returns?: ZodSchema\<Returns>. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.36.0)
- **Signature changed** `CreateProjectOpts`  

Was type CreateProjectOpts = NameOrId; now type CreateProjectOpts = {name: string; projectGroupName?: string;} | {id: string;}. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.36.0)

And 8 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Older versions

28 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### braintrust 3.33.0 breaking changes

braintrust 3.33.0, released September 15, 2026: 17 breaking changes.

- **Removed** `BatchScorer`  

BatchScorer was removed in braintrust 3.33.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.33.0)
- **Removed** `BatchTask`  

BatchTask was removed in braintrust 3.33.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.33.0)

And 15 more in this version.

### braintrust 3.32.0 breaking changes

braintrust 3.32.0, released September 9, 2026: 10 breaking changes.

- **Signature changed** `browser:evaluatorDefinitionSchema`  

Was const evaluatorDefinitionSchema: z.ZodObject<{parameters: z.ZodOptional\<z.ZodNullable\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">; properties... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.32.0)
- **Signature changed** `browser:evaluatorDefinitionsSchema`  

Was const evaluatorDefinitionsSchema: z.ZodRecord\<z.ZodString, z.ZodObject<{parameters: z.ZodOptional\<z.ZodNullable\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.32.0)

And 8 more in this version.

### braintrust 3.29.0 breaking changes

braintrust 3.29.0, released August 27, 2026: 8 breaking changes.

- **Removed** `CurrentSpanStore.enterWith`  

CurrentSpanStore.enterWith was removed in braintrust 3.29.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.29.0)
- **Signature changed** `browser:evaluatorDefinitionSchema`  

Was const evaluatorDefinitionSchema: z.ZodObject<{parameters: z.ZodOptional\<z.ZodNullable\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">; properties... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.29.0)

And 6 more in this version.

### braintrust 3.28.0 breaking changes

braintrust 3.28.0, released August 17, 2026: 3 breaking changes.

- **Signature changed** `AttachmentReference`  

Was const AttachmentReference: z.ZodDiscriminatedUnion<"type", \[z.ZodObject<{type: z.ZodLiteral<"braintrust_attachment">; filename: z.ZodString; content_type: z.ZodString; key: z.ZodString;}, "strip", z.ZodTypeAny, {type... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.28.0)
- **Signature changed** `evaluatorDefinitionSchema`  

Was const evaluatorDefinitionSchema: z.ZodObject<{parameters: z.ZodOptional\<z.ZodNullable\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">; properties... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.28.0)

And 1 more in this version.

### braintrust 3.26.0 breaking changes

braintrust 3.26.0, released August 1, 2026: 20 breaking changes.

- **Removed** `esbuild:EsbuildPluginOptions.debug`  

EsbuildPluginOptions.debug was removed in braintrust 3.26.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.26.0)
- **Removed** `rollup:RollupPluginOptions.debug`  

RollupPluginOptions.debug was removed in braintrust 3.26.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.26.0)

And 18 more in this version.

### braintrust 3.24.0 breaking changes

braintrust 3.24.0, released July 21, 2026: 2 breaking changes.

- **Signature changed** `InitLoggerOptions`  

Was type InitLoggerOptions\<IsAsyncFlush> = FullLoginOptions & {projectName?: string; projectId?: string; setCurrent?: boolean; state?: BraintrustState; orgProjectMetadata?: OrgProjectMetadata;} & AsyncFlushArg\<IsAsyncFlush>; now type... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.24.0)
- **Signature changed** `vite:vitePlugin`  

Was const vitePlugin: (options: LegacyBundlerPluginOptions) => VitePlugin\<any> | VitePlugin\<any>\[\]; now const vitePlugin: (options: LegacyBundlerPluginOptions) => any. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.24.0)

### braintrust 3.22.0 breaking changes

braintrust 3.22.0, released July 13, 2026: 11 breaking changes.

- **Signature changed** `browser:evaluatorDefinitionSchema`  

Was const evaluatorDefinitionSchema: z.ZodObject<{parameters: z.ZodOptional\<z.ZodNullable\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">; properties... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.22.0)
- **Signature changed** `browser:evaluatorDefinitionsSchema`  

Was const evaluatorDefinitionsSchema: z.ZodRecord\<z.ZodString, z.ZodObject<{parameters: z.ZodOptional\<z.ZodNullable\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.22.0)

And 9 more in this version.

### braintrust 3.21.0 breaking changes

braintrust 3.21.0, released July 7, 2026: 27 breaking changes.

- **Signature changed** `_exportsForTestingOnly`  

Was const \_exportsForTestingOnly: {extractAttachments: typeof extractAttachments; deepCopyEvent: typeof deepCopyEvent; useTestBackgroundLogger: typeof useTestBackgroundLogger; clearTestBackgroundLogger: typeof clearTestBackgroundLogger... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.21.0)
- **Signature changed** `AttachmentReference`  

Was const AttachmentReference: z.ZodDiscriminatedUnion<"type", \[z.ZodObject<{type: z.ZodLiteral<"braintrust_attachment">; filename: z.ZodString; content_type: z.ZodString; key: z.ZodString;}, "strip", z.ZodTypeAny, {type... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.21.0)

And 25 more in this version.

### braintrust 3.19.0 breaking changes

braintrust 3.19.0, released June 23, 2026: 1 breaking change.

- **Signature changed** `braintrustFlueObserver`  

Was const braintrustFlueObserver: FlueObserver; now const braintrustFlueObserver: BraintrustFlueObserver. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.19.0)

### braintrust 3.18.0 breaking changes

braintrust 3.18.0, released June 18, 2026: 3 breaking changes.

- **Signature changed** `EvalCase`  

Was type EvalCase\<Input, Expected, Metadata> = {input: Input; tags?: string\[\]; id?: string; \_xact_id?: TransactionId; created?: string | null; upsert_id?: string; trialCount?: number;} & (Expected extends void ? object : {expected... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.18.0)
- **Signature changed** `evaluatorDefinitionSchema`  

Was const evaluatorDefinitionSchema: z.ZodObject<{parameters: z.ZodOptional\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">; properties: z.ZodRecord\<z.ZodString... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.18.0)

And 1 more in this version.

### braintrust 3.15.0 breaking changes

braintrust 3.15.0, released June 1, 2026: 4 breaking changes.

- **Removed** `default.wrapFlueContext`  

wrapFlueContext was removed in braintrust 3.15.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.15.0)
- **Removed** `default.wrapFlueSession`  

wrapFlueSession was removed in braintrust 3.15.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.15.0)

And 2 more in this version.

### braintrust 3.13.0 breaking changes

braintrust 3.13.0, released May 27, 2026: 15 breaking changes.

- **Signature changed** `CachedSpanFetcher.getSpans`  

Was getSpans({spanType}?: {spanType?: string\[\];}): Promise\<SpanData\[\]>; now getSpans({spanType, includeScorers}?: {spanType?: string\[\]; includeScorers?: boolean;}): Promise\<SpanData\[\]>. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.13.0)
- **Signature changed** `Dataset.insert`  

Was insert({input, expected, metadata, tags, id, output}: {readonly input?: unknown; readonly expected?: unknown; readonly tags?: string\[\]; readonly metadata?: Record\<string, unknown>; readonly id?: string; readonly output?: unknown;})... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.13.0)

And 13 more in this version.

### braintrust 3.12.0 breaking changes

braintrust 3.12.0, released May 26, 2026: 52 breaking changes.

- **Removed** `instrumentation:BraintrustPluginConfig.integrations.aisdk`  

BraintrustPluginConfig.integrations.aisdk was removed in braintrust 3.12.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.12.0)
- **Removed** `instrumentation:BraintrustPluginConfig.integrations.anthropic`  

BraintrustPluginConfig.integrations.anthropic was removed in braintrust 3.12.0 [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.12.0)

And 50 more in this version.

### braintrust 3.11.0 breaking changes

braintrust 3.11.0, released May 19, 2026: 237 breaking changes.

- **Signature changed** `default`  

Was namespace exports; now namespace exports$1. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.11.0)
- **Signature changed** `default._exportsForTestingOnly`  

Was const exports\_\_exportsForTestingOnly: typeof \_exportsForTestingOnly; now const exports$1\_\_exportsForTestingOnly: typeof \_exportsForTestingOnly. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.11.0)

And 235 more in this version.

### braintrust 3.10.0 breaking changes

braintrust 3.10.0, released May 4, 2026: 5 breaking changes.

- **Signature changed** `Dataset.constructor`  

Was constructor(state: BraintrustState, lazyMetadata: LazyValue\<ProjectDatasetMetadata>, pinnedVersion?: string, legacy?: IsLegacyDataset, \_internal_btql?: Record\<string, unknown>); now constructor(state: BraintrustState, lazyMetadata... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.10.0)
- **Signature changed** `InitDatasetOptions`  

Was type InitDatasetOptions\<IsLegacyDataset extends boolean> = FullLoginOptions & {dataset?: string; description?: string; version?: string; projectId?: string; metadata?: Record\<string, unknown>; state?: BraintrustState; \_internal_btql?... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.10.0)

And 3 more in this version.

### braintrust 3.9.0 breaking changes

braintrust 3.9.0, released April 20, 2026: 9 breaking changes.

- **Signature changed** `EvalCase`  

Was type EvalCase\<Input, Expected, Metadata> = {input: Input; tags?: string\[\]; id?: string; \_xact_id?: TransactionId; created?: string | null; upsert_id?: string;} & (Expected extends void ? object : {expected: Expected;}) & (Metadata... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.9.0)
- **Signature changed** `EvalResult`  

Was type EvalResult\<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalCase\<Input, Expected, Metadata> & {output: Output; scores: Record\<string, number | null>; error: unknown; origin?... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.9.0)

And 7 more in this version.

### braintrust 3.8.0 breaking changes

braintrust 3.8.0, released April 8, 2026: 4 breaking changes.

- **Signature changed** `evaluatorDefinitionSchema`  

Was const evaluatorDefinitionSchema: z.ZodObject<{parameters: z.ZodOptional\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">; properties: z.ZodRecord\<z.ZodString... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.8.0)
- **Signature changed** `evaluatorDefinitionsSchema`  

Was const evaluatorDefinitionsSchema: z.ZodRecord\<z.ZodString, z.ZodObject<{parameters: z.ZodOptional\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">; properties... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.8.0)

And 2 more in this version.

### braintrust 3.6.0 breaking changes

braintrust 3.6.0, released March 23, 2026: 2 breaking changes.

- **Signature changed** `instrumentation:BraintrustPluginConfig.integrations`  

Was integrations?: {openai?: boolean; anthropic?: boolean; vercel?: boolean; aisdk?: boolean; google?: boolean; googleGenAI?: boolean; claudeAgentSDK?: boolean;}; now integrations?: {openai?: boolean; anthropic?: boolean; vercel?: boolean... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.6.0)
- **Signature changed** `InstrumentationConfig.integrations`  

Was integrations?: {openai?: boolean; anthropic?: boolean; vercel?: boolean; aisdk?: boolean; google?: boolean; claudeAgentSDK?: boolean;}; now integrations?: {openai?: boolean; anthropic?: boolean; vercel?: boolean; aisdk?: boolean... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.6.0)

### braintrust 3.5.0 breaking changes

braintrust 3.5.0, released March 19, 2026: 224 breaking changes.

- **Signature changed** `CompiledPromptParams`  

Was type CompiledPromptParams = Omit\<NonNullable\<PromptDataType\["options"\]>\["params"\], "use_cache"> & {model: NonNullable\<NonNullable\<PromptDataType\["options"\]>\["model"\]>;}; now type CompiledPromptParams =... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.5.0)
- **Signature changed** `default`  

Was namespace \_exports; now namespace exports. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.5.0)

And 222 more in this version.

### braintrust 3.4.0 breaking changes

braintrust 3.4.0, released March 11, 2026: 9 breaking changes.

- **Signature changed** `_exportsForTestingOnly`  

Was const \_exportsForTestingOnly: {extractAttachments: typeof extractAttachments; deepCopyEvent: typeof deepCopyEvent; useTestBackgroundLogger: typeof useTestBackgroundLogger; clearTestBackgroundLogger: typeof clearTestBackgroundLogger... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.4.0)
- **Signature changed** `evaluatorDefinitionSchema`  

Was const evaluatorDefinitionSchema: z.ZodObject<{parameters: z.ZodOptional\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">; properties: z.ZodRecord\<z.ZodString... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.4.0)

And 7 more in this version.

### braintrust 3.2.0 breaking changes

braintrust 3.2.0, released February 27, 2026: 3 breaking changes.

- **Signature changed** `braintrustStreamChunkSchema`  

Was const braintrustStreamChunkSchema: z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"text_delta">; data: z.ZodString;}, "strip", z.ZodTypeAny, {type: "text_delta"; data: string;}, {type: "text_delta"; data: string;}>, z.ZodObject<{type... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.2.0)
- **Signature changed** `evaluatorDefinitionSchema`  

Was const evaluatorDefinitionSchema: z.ZodObject<{parameters: z.ZodOptional\<z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"braintrust.parameters">; schema: z.ZodObject<{type: z.ZodLiteral<"object">; properties: z.ZodRecord\<z.ZodString... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.2.0)

And 1 more in this version.

### braintrust 3.1.0 breaking changes

braintrust 3.1.0, released February 19, 2026: 2 breaking changes.

- **Signature changed** `_exportsForTestingOnly`  

Was const \_exportsForTestingOnly: {extractAttachments: typeof extractAttachments; deepCopyEvent: typeof deepCopyEvent; useTestBackgroundLogger: typeof useTestBackgroundLogger; clearTestBackgroundLogger: typeof clearTestBackgroundLogger... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.1.0)
- **Signature changed** `InitOptions`  

Was type InitOptions\<IsOpen extends boolean> = FullLoginOptions & {experiment?: string; description?: string; dataset?: AnyDataset | DatasetRef; update?: boolean; baseExperiment?: string; isPublic?: boolean; metadata?: Record\<string... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.1.0)

### braintrust 3.0.0 breaking changes

braintrust 3.0.0, released February 19, 2026: 6 breaking changes.

- **Signature changed** `_exportsForTestingOnly`  

Was const \_exportsForTestingOnly: {extractAttachments: typeof extractAttachments; deepCopyEvent: typeof deepCopyEvent; useTestBackgroundLogger: typeof useTestBackgroundLogger; clearTestBackgroundLogger: typeof clearTestBackgroundLogger... [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.0.0)
- **Signature changed** `ExperimentLogFullArgs.origin`  

Was origin: z.infer\<typeof ObjectReference$1>; now origin: z.infer\<typeof ObjectReference>. [npmjs.com](https://www.npmjs.com/package/braintrust/v/3.0.0)

And 4 more in this version.

### braintrust 2.2.2 breaking changes

braintrust 2.2.2, released February 12, 2026: 1 breaking change.

- **Signature changed** `updateSpan`  

Was function updateSpan({exported, state, ...event}: {exported: string;} & Omit\<Partial\<ExperimentEvent>, "id"> & OptionalStateArg): void; now function updateSpan({exported, state, ...event}: {exported: string;} &... [npmjs.com](https://www.npmjs.com/package/braintrust/v/2.2.2)

### braintrust 2.2.1 breaking changes

braintrust 2.2.1, released February 10, 2026: 9 breaking changes.

- **Signature changed** `braintrustStreamChunkSchema`  

Was const braintrustStreamChunkSchema: z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"text_delta">; data: z.ZodString;}, "strip", z.ZodTypeAny, {type: "text_delta"; data: string;}, {type: "text_delta"; data: string;}>, z.ZodObject<{type... [npmjs.com](https://www.npmjs.com/package/braintrust/v/2.2.1)
- **Signature changed** `Evaluator.parameters`  

Was parameters?: Parameters; now parameters?: Parameters | RemoteEvalParameters\<boolean, boolean, InferParameters\<Parameters>> | Promise\<RemoteEvalParameters\<boolean, boolean, InferParameters\<Parameters>>>. [npmjs.com](https://www.npmjs.com/package/braintrust/v/2.2.1)

And 7 more in this version.

### braintrust 2.2.0 breaking changes

braintrust 2.2.0, released January 28, 2026: 1 breaking change.

- **Signature changed** `runEvaluator`  

Was function runEvaluator(experiment: Experiment | null, evaluator: EvaluatorDef\<any, any, any, any, any>, progressReporter: ProgressReporter, filters: Filter\[\], stream: ((data: SSEProgressEventDataType) => void) | undefined, parameters?... [npmjs.com](https://www.npmjs.com/package/braintrust/v/2.2.0)

### braintrust 2.1.0 breaking changes

braintrust 2.1.0, released January 23, 2026: 9 breaking changes.

- **Signature changed** `braintrustStreamChunkSchema`  

Was const braintrustStreamChunkSchema: z.ZodUnion<\[z.ZodObject<{type: z.ZodLiteral<"text_delta">; data: z.ZodString;}, "strip", z.ZodTypeAny, {type: "text_delta"; data: string;}, {type: "text_delta"; data: string;}>, z.ZodObject<{type... [npmjs.com](https://www.npmjs.com/package/braintrust/v/2.1.0)
- **Signature changed** `EvalScorerArgs`  

Was type EvalScorerArgs\<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalCase\<Input, Expected, Metadata> & {output: Output;}; now type EvalScorerArgs\<Input, Output, Expected, Metadata extends BaseMetadata... [npmjs.com](https://www.npmjs.com/package/braintrust/v/2.1.0)

And 7 more in this version.

### braintrust 2.0.2 breaking changes

braintrust 2.0.2, released January 15, 2026: 6 breaking changes.

- **Removed** `InvokeFunctionArgs.context`  

InvokeFunctionArgs.context was removed in braintrust 2.0.2 [npmjs.com](https://www.npmjs.com/package/braintrust/v/2.0.2)
- **Signature changed** `AttachmentReference`  

Was const AttachmentReference: z.ZodDiscriminatedUnion<"type", \[z.ZodObject<{type: z.ZodLiteral<"braintrust_attachment">; filename: z.ZodString; content_type: z.ZodString; key: z.ZodString;}, "strip", z.ZodTypeAny, {type... [npmjs.com](https://www.npmjs.com/package/braintrust/v/2.0.2)

And 4 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
