birpc breaking changes
birpc 4.0.0 (December 13, 2025) is its newest release with breaking changes, 48 of them. The first: Removes APIs that were previously deprecated in birpc 4.0.0. Every breaking API change we have recorded in birpc on npm: 64 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.2.0, released August 19, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
birpc 4.0.0 breaking changes
- Removed
This major release removes the deprecated APIs. The notes do not name them, so check your code for deprecated calls and update them before upgrading. github.com - Removed
ArgumentsType
ArgumentsType was removed in birpc 4.0.0 npmjs.com - Removed
BirpcGroupReturn.$call
BirpcGroupReturn.$call was removed in birpc 4.0.0 npmjs.com - Removed
BirpcGroupReturn.$callEvent
BirpcGroupReturn.$callEvent was removed in birpc 4.0.0 npmjs.com - Removed
BirpcGroupReturn.$callOptional
BirpcGroupReturn.$callOptional was removed in birpc 4.0.0 npmjs.com - Removed
BirpcOptions.onError
Use onFunctionError instead. npmjs.com - Removed
BirpcReturn.$call
BirpcReturn.$call was removed in birpc 4.0.0 npmjs.com - Removed
BirpcReturn.$callEvent
BirpcReturn.$callEvent was removed in birpc 4.0.0 npmjs.com - Removed
BirpcReturn.$callOptional
BirpcReturn.$callOptional was removed in birpc 4.0.0 npmjs.com - Removed
BirpcReturn.$callRaw
BirpcReturn.$callRaw was removed in birpc 4.0.0 npmjs.com - Removed
BirpcReturn.$close
BirpcReturn.$close was removed in birpc 4.0.0 npmjs.com - Removed
BirpcReturn.$closed
BirpcReturn.$closed was removed in birpc 4.0.0 npmjs.com - Removed
BirpcReturn.$functions
BirpcReturn.$functions was removed in birpc 4.0.0 npmjs.com - Removed
BirpcReturn.$meta
BirpcReturn.$meta was removed in birpc 4.0.0 npmjs.com - Removed
BirpcReturn.$rejectPendingCalls
BirpcReturn.$rejectPendingCalls was removed in birpc 4.0.0 npmjs.com - Removed
cachedMap
cachedMap was removed in birpc 4.0.0 npmjs.com - Removed
DEFAULT_TIMEOUT
DEFAULT_TIMEOUT was removed in birpc 4.0.0 npmjs.com - Removed
EventOptions.onError
Use onFunctionError instead. npmjs.com - Removed
ReturnType
ReturnType was removed in birpc 4.0.0 npmjs.com - Removed
Thenable
Thenable was removed in birpc 4.0.0 npmjs.com - Signature changed
BirpcGroup
Was interface BirpcGroup<RemoteFunctions, LocalFunctions = Record<string, never>>; now interface BirpcGroup<RemoteFunctions extends object = Record<string, unknown>, LocalFunctions extends object = Record<string, unknown>, Proxify extends... npmjs.com - Signature changed
BirpcGroup.broadcast
Was readonly broadcast: BirpcGroupReturn<RemoteFunctions>; now readonly broadcast: BirpcGroupReturn<RemoteFunctions, Proxify>. npmjs.com - Signature changed
BirpcGroup.clients
Was readonly clients: BirpcReturn<RemoteFunctions, LocalFunctions>[]; now readonly clients: BirpcReturn<RemoteFunctions, LocalFunctions, Proxify>[]. npmjs.com - Signature changed
BirpcGroup.updateChannels
Was updateChannels: (fn?: ((channels: ChannelOptions[]) => void)) => BirpcReturn<RemoteFunctions, LocalFunctions>[]; now updateChannels: (fn?: ((channels: ChannelOptions[]) => void)) => BirpcReturn<RemoteFunctions, LocalFunctions... npmjs.com - Signature changed
BirpcGroupReturn
Was type BirpcGroupReturn<RemoteFunctions> = {[K in keyof RemoteFunctions]: BirpcGroupFn<RemoteFunctions[K]>} & BirpcGroupReturnBuiltin<RemoteFunctions>; now type BirpcGroupReturn<RemoteFunctions extends object = Record<string, unknown>... npmjs.com - Signature changed
BirpcGroupReturnBuiltin.$call
Was $call: <K$1 extends keyof RemoteFunctions>(method: K$1, ...args: ArgumentsType<RemoteFunctions[K$1]>) => Promise<Awaited<ReturnType<RemoteFunctions[K$1]>>>; now $call: <K$1 extends keyof RemoteFunctions>(method: K$1, ...args... npmjs.com - Signature changed
BirpcOptions
Was type BirpcOptions<RemoteFunctions, LocalFunctions extends object = Record<string, never>> = EventOptions<RemoteFunctions, LocalFunctions> & ChannelOptions; now type BirpcOptions<RemoteFunctions extends object = Record<string, unknown>... npmjs.com - Signature changed
BirpcOptions.off
Was off?: (fn: (data: any, ...extras: any[]) => void) => any | Promise<any>; now off?: (fn: (data: any, ...extras: any[]) => void) => Thenable<any>. npmjs.com - Signature changed
BirpcOptions.on
Was on: (fn: (data: any, ...extras: any[]) => void) => any | Promise<any>; now on: (fn: (data: any, ...extras: any[]) => void) => Thenable<any>. npmjs.com - Signature changed
BirpcOptions.onFunctionError
Was onFunctionError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions>, error: Error, functionName: string, args: any[]) => boolean | void; now onFunctionError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions, Proxify>, error... npmjs.com - Signature changed
BirpcOptions.onGeneralError
Was onGeneralError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions>, error: Error, functionName?: string, args?: any[]) => boolean | void; now onGeneralError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions, Proxify>, error... npmjs.com - Signature changed
BirpcOptions.onRequest
Was onRequest?: (this: BirpcReturn<RemoteFunctions, LocalFunctions>, req: Request, next: (req?: Request) => Promise<any>, resolve: (res: any) => void) => void | Promise<void>; now onRequest?: (this: BirpcReturn<RemoteFunctions... npmjs.com - Signature changed
BirpcOptions.onTimeoutError
Was onTimeoutError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions>, functionName: string, args: any[]) => boolean | void; now onTimeoutError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions, Proxify>, functionName: string, args... npmjs.com - Signature changed
BirpcOptions.post
Was post: (data: any, ...extras: any[]) => any | Promise<any>; now post: (data: any, ...extras: any[]) => Thenable<any>. npmjs.com - Signature changed
BirpcOptions.resolver
Was resolver?: BirpcResolver<BirpcReturn<RemoteFunctions, LocalFunctions>>; now resolver?: BirpcResolver<BirpcReturn<RemoteFunctions, LocalFunctions, Proxify>>. npmjs.com - Signature changed
BirpcReturn
Was type BirpcReturn<RemoteFunctions, LocalFunctions = Record<string, never>> = {[K in keyof RemoteFunctions]: BirpcFn<RemoteFunctions[K]>} & BirpcReturnBuiltin<RemoteFunctions, LocalFunctions>; now type BirpcReturn<RemoteFunctions extends... npmjs.com - Signature changed
BirpcReturnBuiltin
Was interface BirpcReturnBuiltin<RemoteFunctions, LocalFunctions = Record<string, never>>; now interface BirpcReturnBuiltin<RemoteFunctions, LocalFunctions = Record<string, unknown>>. npmjs.com - Signature changed
ChannelOptions.off
Was off?: (fn: (data: any, ...extras: any[]) => void) => any | Promise<any>; now off?: (fn: (data: any, ...extras: any[]) => void) => Thenable<any>. npmjs.com - Signature changed
ChannelOptions.on
Was on: (fn: (data: any, ...extras: any[]) => void) => any | Promise<any>; now on: (fn: (data: any, ...extras: any[]) => void) => Thenable<any>. npmjs.com - Signature changed
ChannelOptions.post
Was post: (data: any, ...extras: any[]) => any | Promise<any>; now post: (data: any, ...extras: any[]) => Thenable<any>. npmjs.com - Signature changed
createBirpc
Was function createBirpc<RemoteFunctions = Record<string, never>, LocalFunctions extends object = Record<string, never>>($functions: LocalFunctions, options: BirpcOptions<RemoteFunctions, LocalFunctions>): BirpcReturn<RemoteFunctions... npmjs.com - Signature changed
createBirpcGroup
Was function createBirpcGroup<RemoteFunctions = Record<string, never>, LocalFunctions extends object = Record<string, never>>(functions: LocalFunctions, channels: ChannelOptions[] | (() => ChannelOptions[]), options?... npmjs.com - Signature changed
EventOptions
Was interface EventOptions<RemoteFunctions, LocalFunctions extends object = Record<string, never>>; now interface EventOptions<RemoteFunctions extends object = Record<string, unknown>, LocalFunctions extends object = Record<string... npmjs.com - Signature changed
EventOptions.onFunctionError
Was onFunctionError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions>, error: Error, functionName: string, args: any[]) => boolean | void; now onFunctionError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions, Proxify>, error... npmjs.com - Signature changed
EventOptions.onGeneralError
Was onGeneralError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions>, error: Error, functionName?: string, args?: any[]) => boolean | void; now onGeneralError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions, Proxify>, error... npmjs.com - Signature changed
EventOptions.onRequest
Was onRequest?: (this: BirpcReturn<RemoteFunctions, LocalFunctions>, req: Request, next: (req?: Request) => Promise<any>, resolve: (res: any) => void) => void | Promise<void>; now onRequest?: (this: BirpcReturn<RemoteFunctions... npmjs.com - Signature changed
EventOptions.onTimeoutError
Was onTimeoutError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions>, functionName: string, args: any[]) => boolean | void; now onTimeoutError?: (this: BirpcReturn<RemoteFunctions, LocalFunctions, Proxify>, functionName: string, args... npmjs.com - Signature changed
EventOptions.resolver
Was resolver?: BirpcResolver<BirpcReturn<RemoteFunctions, LocalFunctions>>; now resolver?: BirpcResolver<BirpcReturn<RemoteFunctions, LocalFunctions, Proxify>>. npmjs.com
birpc 3.0.0 breaking changes
- Behavior changed
The package no longer supports CommonJS loading, so code that uses require() must switch to import. github.com - Signature changed
ArgumentsType
Was type ArgumentsType<T> = T extends (...args: infer A) => any ? A : never; now type ArgumentsType<T> = T extends ((...args: infer A) => any) ? A : never. npmjs.com - Signature changed
BirpcGroupReturn.$call
Was $call: <K extends keyof RemoteFunctions>(method: K, ...args: ArgumentsType<RemoteFunctions[K]>) => Promise<Awaited<ReturnType<RemoteFunctions[K]>>>; now $call: <K$1 extends keyof RemoteFunctions>(method: K$1, ...args... npmjs.com - Signature changed
BirpcGroupReturn.$callEvent
Was $callEvent: <K extends keyof RemoteFunctions>(method: K, ...args: ArgumentsType<RemoteFunctions[K]>) => Promise<void>; now $callEvent: <K$1 extends keyof RemoteFunctions>(method: K$1, ...args: ArgumentsType<RemoteFunctions[K$1]>) =>... npmjs.com - Signature changed
BirpcGroupReturn.$callOptional
Was $callOptional: <K extends keyof RemoteFunctions>(method: K, ...args: ArgumentsType<RemoteFunctions[K]>) => Promise<Awaited<ReturnType<RemoteFunctions[K]> | undefined>>; now $callOptional: <K$1 extends keyof RemoteFunctions>(method... npmjs.com - Signature changed
BirpcGroupReturnBuiltin.$call
Was $call: <K extends keyof RemoteFunctions>(method: K, ...args: ArgumentsType<RemoteFunctions[K]>) => Promise<Awaited<ReturnType<RemoteFunctions[K]>>>; now $call: <K$1 extends keyof RemoteFunctions>(method: K$1, ...args... npmjs.com - Signature changed
BirpcGroupReturnBuiltin.$callEvent
Was $callEvent: <K extends keyof RemoteFunctions>(method: K, ...args: ArgumentsType<RemoteFunctions[K]>) => Promise<void>; now $callEvent: <K$1 extends keyof RemoteFunctions>(method: K$1, ...args: ArgumentsType<RemoteFunctions[K$1]>) =>... npmjs.com - Signature changed
BirpcGroupReturnBuiltin.$callOptional
Was $callOptional: <K extends keyof RemoteFunctions>(method: K, ...args: ArgumentsType<RemoteFunctions[K]>) => Promise<Awaited<ReturnType<RemoteFunctions[K]> | undefined>>; now $callOptional: <K$1 extends keyof RemoteFunctions>(method... npmjs.com - Signature changed
BirpcReturn.$call
Was $call: <K extends keyof RemoteFunctions>(method: K, ...args: ArgumentsType<RemoteFunctions[K]>) => Promise<Awaited<ReturnType<RemoteFunctions[K]>>>; now $call: <K$1 extends keyof RemoteFunctions>(method: K$1, ...args... npmjs.com - Signature changed
BirpcReturn.$callEvent
Was $callEvent: <K extends keyof RemoteFunctions>(method: K, ...args: ArgumentsType<RemoteFunctions[K]>) => Promise<void>; now $callEvent: <K$1 extends keyof RemoteFunctions>(method: K$1, ...args: ArgumentsType<RemoteFunctions[K$1]>) =>... npmjs.com
And 6 more in this version. Sign up to see every change
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.