Deprecated & removed APIs
What libraries deprecated or removed, mined from their release notes, with the replacement when the notes name one. Agents get the ones for their stack in every sync.
354 entries
- deprecatedmastra @mastra/[email protected]
@mastra/factory:defineBoard()andMastraFactoryboards/includeDefaultBoardsare deprecated in favor of stored boards APIs; code reading deprecated board fields (title/role/next) should move toname/runner.context/nextPhases. - removedelectron v45.0.0Removed the
events,timersandurlmodules and theBuffer,setImmediateandclearImmediateglobals from sandboxed preload scripts; use a polyfill. - removedelectron v45.0.0The experimental
contentTracing.enableHeapProfiling()API has been removed. Chromium removed the memlog implementation that backed this API and replaced it with a Perfetto heap-profiling data source. Pass anativeHeapProfilingoption tocontentTracing.startRecording()to enable heap profiling for the duration of a trace. Like all recordings, heap-enabled recordings use the Perfetto protobuf format. - deprecatedfastapi 0.146.0🗑️ Deprecate the
root_pathparameter inFastAPI. PR. - deprecatedmastra @mastra/[email protected]
buildInputPreview()andINPUT_PREVIEW_MAX_LENGTHare deprecated in favor ofbuildPreview()andPREVIEW_MAX_LENGTH.use
buildPreview() - deprecatedmastra @mastra/[email protected]
@mastra/client-js/@mastra/reactcompare-experiments APIs deprecateexperimentIdA/experimentIdBin favor ofexperimentIds(+ optionalbaselineId).use
experimentIds - removedtanstack-start @tanstack/[email protected]Remove the deprecated
.inputValidator()fromcreateServerFnandcreateMiddleware. Use.validator(), which takes the same validator.use
.validator() - deprecatedfirebase [email protected]Deprecated
candidateCount,temperature,topP,topK,presencePenalty, andfrequencyPenaltyin bothGenerationConfigandLiveGenerationConfig. These parameters are unsupported in Gemini 3.x and later models. - deprecatedhono v4.13.13introduce Mount Middleware and deprecate
app.mount - deprecatedpydantic-ai v2.53.0Deprecate
pydantic_ai_harness.step_persistence.naming - removedmastra @mastra/[email protected]
@mastra/playground-uiremoved/renamed multiple UI APIs (notablyScrollAreaprops,PageHeaderprops,ToolCall→Activitycomponent renames, and significant color token API changes). - deprecatedpydantic-ai v2.52.0Stop
SubAgentsloading agent files by default, and deprecateinherit_tools - deprecatedmcp v2.2.0Pass
expectedIssuerto the machine-to-machine OAuth providers. ConstructingClientCredentialsProvider,PrivateKeyJwtProvider,StaticPrivateKeyJwtProviderorCrossAppAccessProviderwithout it is deprecated and logs a warning. Set it to theissuerof the authorization server the credentials were registered with. - deprecatedmcp 1.31.0Pass
expectedIssuerwhen constructingClientCredentialsProvider,PrivateKeyJwtProviderorStaticPrivateKeyJwtProvider. Constructing them without it is deprecated. - deprecatedmastra @mastra/[email protected]Trace grouping deprecations (Core/Server/Client): grouped results in
queryTraces()/ trace-querygroupare deprecated; migrate to thread query (queryTraceThreads()/queryThreadscontract). - removedsentry 11.0.0Replace
skipOpenTelemetrySetupwithenableOpenTelemetrySetupuse
enableOpenTelemetrySetup - removedsentry 11.0.0Remove deprecated
honoIntegration - removedmastra @mastra/[email protected]Replace
subscribeQueuedMessages({ resourceId, threadId }, listener)withsubscribeThreadEvents({ resourceId, threadId }, listener)(listener now receives typed events likequeue-count-changed).use
subscribeThreadEvents({ resourceId, threadId }, listener) - deprecatedollama v0.34.1Deprecated
typical_p: it can no longer be set when creating new models, existing GGUF models retain support. - deprecatednode v26.8.2[] - doc: deprecate
Server.prototype._listen2innode:net(Antoine du Hamel) - removedvllm v0.29.0Breaking changes: ten deprecated model architectures removed; FlexOlmo, Olmo3 and Hunyuan V1/VL migrated to the Transformers modeling backend; PyAV video decoder backend removed;
python -m vllm.entrypoints.openai.api_serverdeprecated in favor ofvllm serve;VLLM_TEST_FORCE_FP8_MARLINandVLLM_ROCM_USE_AITER_FP4_ASM_GEMMremoved.use
vllm serve - deprecatednode v24.21.0[] - build: deprecate always enabled
--enable-static(Chengzhong Wu) - deprecatedpydantic-ai v2.41.0Deprecate
fallback_modelin favor offallback_subagent_modelonImageGenerationandXSearchuse
fallback_subagent_model - deprecatedsentry 10.73.0Deprecate
shouldHandleErroronsetupExpressErrorHandlerandsetupFasitfyErrorHandler - removedmastra @mastra/[email protected]Removed exported types:
BlaxelProcessManagerOptions(@mastra/blaxel) andRailwayProcessManagerOptions(@mastra/railway) - removedvllm v0.28.0Breaking changes: bitsandbytes support migrated to an out-of-tree plugin; Transformers bumped to 5.15.0; the deprecated
calculate_kv_scalesruntime KV scale calculation was removed;override_attention_dtypewas removed. - deprecatedpydantic-ai v2.35.0Deprecate
RunContext.capability_loadedandavailable_capability_idsin favor ofcapability_activeandactive_capability_idsuse
capability_active - deprecatedcompose-multiplatform v1.12.0The
backgroundparameter ofSwingPanelhas been deprecated. Instead set the background manually in thefactorymethod. There's a new (experimental)Color.toAwtColor()function to convert Compose color objects to AWT ones - removedelectron v44.0.0Removed the
openAsHiddenoption fromapp.setLoginItemSettings()and theopenAsHidden,wasOpenedAsHiddenandrestoreStatefields from the return value ofapp.getLoginItemSettings(). These only worked on macOS 12 and below, which are no longer supported. - deprecatedsentry 10.71.0Deprecate
scope.clear()method - deprecatedpnpm v11.23.0The
importPackagepnpmfile hook is deprecated. pnpm now prints a warning when a pnpmfile defines it, and the hook will be removed in the next major version. It also opts the installation out of the parallel package importer, making installation slower. If you rely on this hook, comment on . - removedmastra @mastra/[email protected]
CostGuardProcessoris nowTokenCostControlwith processor id'token-cost-control'. TheCostGuardProcessorexport (and theCostGuardOptions,CostGuardUsage,CostGuardBreakdownEntry,CostGuardTripwireMetadata, andCostGuardViolationDetailtypes) remains available as a deprecated alias for the same class and will be removed in a future major version. - removedmastra @mastra/[email protected]
CostGuardProcessorrenamed toTokenCostControl(deprecated aliases remain for now, but will be removed in a future major version). - removedrolldown v1.2.3remove deprecated
watch.notifyoption - deprecatedfirebase [email protected]Deprecated
VertexAIBackendin favor ofAgentPlatformBackendto reflect the renaming of Vertex AI to Gemini Enterprise Agent Platform.use
AgentPlatformBackend - removedstripe v22.4.0Remove support for
dynamic_tax_ratesonCheckout.SessionCreateParams.line_items[]. This field was limited-use and is being deprecated. - removedstripe v22.4.0Remove support for
proof_of_registrationonAccountCreateParams.documents. This field was limited-use and is being deprecated. - removedstripe-python v15.4.0Remove support for
proof_of_registrationonAccountCreateParamsDocument. This field was limited-use and is being deprecated. - removedstripe-python v15.4.0Remove support for
dynamic_tax_ratesoncheckout.SessionCreateParamsLineItem. This field was limited-use and is being deprecated. - deprecatedpydantic-ai v2.15.0Deprecate the Exa search common tools in favor of the
ExaSearchcapability in Pydantic AI Harness
Extracted automatically from release notes — a starting point, not the full migration guide. Each entry links its release.