---
title: "bun-types 1.4.4 Breaking Changes on npm | Since.dev"
description: "What each bun-types release removed, renamed or changed: 1,308 breaking changes in 63 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/bun-types
last_updated: 2026-12-04
---

# bun-types breaking changes

bun-types 1.4.4 (October 22, 2026) is its newest release with breaking changes, 57 of them. The first: Removed "bun:sqlite".native. Every breaking API change we have recorded in bun-types on npm: 1,308 breaking changes in 63 versions. Below, its 63 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `1.4.5`, released November 19, 2026. [Source repository](https://github.com/oven-sh/bun)

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

- From [0.8.0](#v-0-8-0) to [1.4.4](#v-1-4-4): 1,228 breaking changes in 61 versions.
- From [0.7.0](#v-0-7-0) to [1.4.4](#v-1-4-4): 1,277 breaking changes in 62 versions.

## bun-types 1.4.4 breaking changes

bun-types 1.4.4, released October 22, 2026: 57 breaking changes.

- **Removed** `"bun:sqlite".native`  

"bun:sqlite".native was removed in bun-types 1.4.4 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun:sqlite".Database.deserialize`  

Was static deserialize(serialized: NodeJS.TypedArray | ArrayBufferLike, options?: {readonly?: boolean; strict?: boolean; safeIntegers?: boolean}): Database; now static deserialize(serialized: NodeJS.TypedArray | ArrayBufferLike, options?... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun:sqlite".Database.fileControl`  

Was fileControl(op: number, arg?: ArrayBufferView | number): number fileControl(zDbName: string, op: number, arg?: ArrayBufferView | number): number; now fileControl(op: number, arg?: ArrayBufferView | number | null): number... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun:sqlite".DatabaseOptions.create`  

Was create?: boolean; now create?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun:sqlite".DatabaseOptions.readonly`  

Was readonly?: boolean; now readonly?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun:sqlite".DatabaseOptions.readwrite`  

Was readwrite?: boolean; now readwrite?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun:sqlite".DatabaseOptions.safeIntegers`  

Was safeIntegers?: boolean; now safeIntegers?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun:sqlite".DatabaseOptions.strict`  

Was strict?: boolean; now strict?: boolean | undefined. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun:sqlite".SQLQueryBindings`  

Was type SQLQueryBindings = | string | bigint | NodeJS.TypedArray | number | boolean | null | Record\<string, string | bigint | NodeJS.TypedArray | number | boolean | null>; now type SQLQueryBindings = | string | bigint | NodeJS.TypedArray... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun:sqlite".Statement.values`  

Was values(...params: ParamsType): Array\<Array\<string | bigint | number | boolean | Uint8Array>>; now values(...params: ParamsType): Array\<Array\<string | bigint | number | Uint8Array | null>>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".__internal.LibEmptyOrBunWebSocket.binaryType`  

Was binaryType: "arraybuffer" | "nodebuffer"; now binaryType: "arraybuffer" | "blob" | "nodebuffer". [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".__internal.LibEmptyOrBunWebSocket.onerror`  

Was onerror: ((this: WebSocket, ev: Event) => any) | null; now onerror: ((this: WebSocket, ev: ErrorEvent) => any) | null. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".__internal.LibEmptyOrBunWebSocket.onmessage`  

Was onmessage: ((this: WebSocket, ev: MessageEvent) => any) | null; now onmessage: ((this: WebSocket, ev: globalThis.MessageEvent) => any) | null. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".__internal.LibEmptyOrBunWebSocket.ping`  

Was ping(data?: string | ArrayBufferLike | ArrayBufferView): void; now ping(data?: string | ArrayBufferLike | ArrayBufferView | Blob): void. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".__internal.LibEmptyOrBunWebSocket.pong`  

Was pong(data?: string | ArrayBufferLike | ArrayBufferView): void; now pong(data?: string | ArrayBufferLike | ArrayBufferView | Blob): void. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".__internal.LibEmptyOrBunWebSocket.readyState`  

Was readonly readyState: | typeof WebSocket.CONNECTING | typeof WebSocket.OPEN | typeof WebSocket.CLOSING | typeof WebSocket.CLOSED; now readonly readyState: typeof WebSocket.CONNECTING | typeof WebSocket.OPEN | typeof WebSocket.CLOSING |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".__internal.LibEmptyOrBunWebSocket.send`  

Was send(data: string | ArrayBufferLike | ArrayBufferView): void; now send(data: string | ArrayBufferLike | ArrayBufferView | Blob): void. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".ArrayBufferView`  

Was type ArrayBufferView\<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> = | NodeJS.TypedArray\<TArrayBuffer> | DataView\<TArrayBuffer>; now type ArrayBufferView\<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> =... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".ArrayType`  

Was type ArrayType = | "BOOLEAN" | "BYTEA" | "CHAR" | "NAME" | "TEXT" | "CHAR" | "VARCHAR" | "SMALLINT" | "INT2VECTOR" | "INTEGER" | "INT" | "BIGINT" | "REAL" | "DOUBLE PRECISION" | "NUMERIC" | "MONEY" | "OID" | "TID" | "XID" | "CID" |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".BunLockFileBasePackageInfo`  

Was type BunLockFileBasePackageInfo = {dependencies?: Record\<string, string>; devDependencies?: Record\<string, string>; optionalDependencies?: Record\<string, string>; peerDependencies?: Record\<string, string>; optionalPeers?: string\[\]... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".BunLockFilePackageInfo`  

Was type BunLockFilePackageInfo = BunLockFileBasePackageInfo & {os?: string | string\[\]; cpu?: string | string\[\]; bundled?: true;}; now type BunLockFilePackageInfo = BunLockFileBasePackageInfo & {os?: string | string\[\]; cpu?: string |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".FileSystemRouter.assetPrefix`  

Was readonly assetPrefix: string; now readonly assetPrefix: string | null. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".FileSystemRouter.constructor`  

Was constructor(options: {dir: string; style: "nextjs"; assetPrefix?: string; origin?: string; fileExtensions?: string\[\];}); now constructor(options: FileSystemRouterOptions). [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".FileSystemRouter.origin`  

Was readonly origin: string; now readonly origin: string | null. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".FileSystemRouter.reload`  

Was reload(): void; now reload(): this. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".FileSystemRouter.style`  

Was readonly style: string; now readonly style: "nextjs". [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".hash`  

Was const hash: ((data: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer, seed?: number | bigint) => number | bigint) & Hash; now const hash: ((data: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer, seed?: number |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".indexOfLine`  

Was function indexOfLine(buffer: ArrayBufferView | ArrayBufferLike, offset?: number): number; now function indexOfLine(buffer: ArrayBufferView | ArrayBufferLike, offset?: number | bigint): number. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".mmap`  

Was function mmap(path: PathLike, opts?: MMapOptions): Uint8Array\<ArrayBuffer>; now function mmap(path: string, opts?: MMapOptions): Uint8Array\<ArrayBuffer>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".MMapOptions.offset`  

Was offset?: number; now offset?: number | bigint. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".MMapOptions.size`  

Was size?: number; now size?: number | bigint. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".Platform`  

Was type Platform = | "aix" | "android" | "darwin" | "freebsd" | "haiku" | "linux" | "openbsd" | "sunos" | "win32" | "cygwin" | "netbsd"; now type Platform = "aix" | "android" | "darwin" | "freebsd" | "haiku" | "linux" | "openbsd" |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".ReadableStreamDefaultReadResult`  

Was type ReadableStreamDefaultReadResult\<T> = | ReadableStreamDefaultReadValueResult\<T> | ReadableStreamDefaultReadDoneResult; now type ReadableStreamDefaultReadResult\<T> = ReadableStreamDefaultReadValueResult\<T> |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".ReservedSQL.release`  

Was release(): void; now release(): Promise\<void>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".ResourceUsage.cpuTime`  

Was cpuTime: {user: number; system: number; total: number;}; now cpuTime: {user: bigint; system: bigint; total: bigint;}. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".ResourceUsage.cpuTime.system`  

Was system: number; now system: bigint. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".ResourceUsage.cpuTime.total`  

Was total: number; now total: bigint. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".ResourceUsage.cpuTime.user`  

Was user: number; now user: bigint. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".SavepointSQL`  

Was interface SavepointSQL extends SQL; now interface SavepointSQL extends TransactionSQL. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".ServerWebSocket.cork`  

Was cork\<T = unknown>(callback: (ws: ServerWebSocket\<T>) => T): T; now cork\<R = unknown>(callback: (ws: ServerWebSocket\<T>) => R): R. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".SQL.array`  

Was array(values: any\[\], typeNameOrTypeID?: number | ArrayType): SQLArrayParameter; now array(values: any\[\] | NodeJS.TypedArray, typeNameOrTypeID?: number | ArrayType): SQLArrayParameter. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".SQL.Query`  

Was interface Query\<T> extends Promise\<T>; now interface Query\<T> extends Promise\<T & ResultMetadata>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".SQLArrayParameter.arrayType`  

Was arrayType: ArrayType; now arrayType: ArrayType | undefined. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".TransactionSQL.savepoint`  

Was savepoint\<T>(fn: SQL.SavepointContextCallback\<T>): Promise\<T> savepoint\<T>(name: string, fn: SQL.SavepointContextCallback\<T>): Promise\<T>; now savepoint\<T>(fn: SQL.SavepointContextCallback\<T>): Promise\<SQL.ContextCallbackResult\<T>>... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".WebSocketCompressor`  

Was type WebSocketCompressor = | "disable" | "shared" | "dedicated" | "3KB" | "4KB" | "8KB" | "16KB" | "32KB" | "64KB" | "128KB" | "256KB"; now type WebSocketCompressor = "disable" | "shared" | "dedicated" | "3KB" | "4KB" | "8KB" | "16KB"... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".WebSocketEventMap.error`  

Was error: Event; now error: ErrorEvent. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".WebSocketEventMap.message`  

Was message: MessageEvent; now message: globalThis.MessageEvent. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".WebSocketHandler.message`  

Was message(ws: ServerWebSocket\<T>, message: string | Buffer\<ArrayBuffer>): void | Promise\<void>; now message?(ws: ServerWebSocket\<T>, message: string | Buffer\<ArrayBuffer>): void | Promise\<void>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".WebSocketOptionsHeaders`  

Was type WebSocketOptionsHeaders = {headers?: import("node:http").OutgoingHttpHeaders;}; now type WebSocketOptionsHeaders = {headers?: import("node:http").OutgoingHttpHeaders | Headers | \[string, string\]\[\];}. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)
- **Signature changed** `"bun".WebSocketOptionsHeaders.headers`  

Was headers?: import("node:http").OutgoingHttpHeaders; now headers?: import("node:http").OutgoingHttpHeaders | Headers | \[string, string\]\[\]. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.4)

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

## bun-types 1.4.3 breaking changes

bun-types 1.4.3, released October 10, 2026: 24 breaking changes.

- **Removed** `"bun".WebView.back`  

"bun".WebView.back was removed in bun-types 1.4.3 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.3)
- **Removed** `"bun".WebView.forward`  

"bun".WebView.forward was removed in bun-types 1.4.3 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.3)
- **Signature changed** `"bun:test".Describe.each`  

Was each\<T extends any\[\]>(table: readonly T\[\]): Describe<\[...T\]> each\<const T>(table: T\[\]): Describe<\[T\]>; now each\<T extends readonly any\[\]>(table: readonly T\[\]): Describe<\[...T\]> each\<const T>(table: readonly T\[\]): Describe<\[T\]>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.3)
- **Signature changed** `"bun:test".Describe.skip`  

Was skip: Describe\<T>; now skip: ((label: string | number) => void) & Describe\<T>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.3)
- **Signature changed** `"bun:test".Describe.todo`  

Was todo: Describe\<T>; now todo: ((label: string | number) => void) & Describe\<T>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.3)
- **Signature changed** `"bun:test".Expect.__call`  

Was (actual?: never, customFailMessage?: string): Matchers\<undefined>; now (): Matchers\<undefined>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.3)
- **Signature changed** `"bun:test".Test.each`  

Was each\<T extends unknown\[\]>(table: readonly T\[\]): Test\<T> each\<const T>(table: T\[\]): Test<\[T\]>; now each\<T extends readonly unknown\[\]>(table: readonly T\[\]): Test\<T> each\<const T>(table: readonly T\[\]): Test<\[T\]>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.3)
- **Signature changed** `"bun:test".Test.skip`  

Was skip: Test\<T>; now skip: ((label: string) => void) & Test\<T>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.3)
- **Signature changed** `"bun:test".Test.todo`  

Was todo: Test\<T>; now todo: ((label: string) => void) & Test\<T>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.3)
- **Signature changed** `"bun".BuildMetafile.inputs`  

Was inputs: {\[path: string\]: {bytes: number; imports: Array<{path: string; kind: ImportKind; original?: string; external?: boolean; with?: Record\<string, string>;}>; format?: "esm" | "cjs" | "json" | "css";};}; now inputs: {\[path: string\]... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.3)

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

## bun-types 1.4.1 breaking changes

bun-types 1.4.1, released September 4, 2026: 9 breaking changes.

- **Signature changed** `"bun".BunFile.write`  

Was write(data: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer | Request | Response | BunFile, options?: {highWaterMark?: number}): Promise\<number>; now write(data: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.1)
- **Signature changed** `"bun".Encoding`  

Was type Encoding = "utf-8" | "windows-1252" | "utf-16"; now type Encoding = | "unicode-1-1-utf-8" | "unicode11utf8" | "unicode20utf8" | "utf-8" | "utf8" | "x-unicode20utf8" | "866" | "cp866" | "csibm866" | "ibm866" | "csisolatin2" |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.1)
- **Signature changed** `"bun".ServerWebSocket.binaryType`  

Was binaryType?: "nodebuffer" | "arraybuffer" | "uint8array"; now binaryType?: "nodebuffer" | "arraybuffer" | "uint8array" | "blob". [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.1)
- **Signature changed** `"bun".write`  

Was function write(destination: BunFile | S3File | PathLike, input: Blob | NodeJS.TypedArray | ArrayBufferLike | string | BlobPart\[\] | Archive, options?: {mode?: number; createPath?: boolean;}): Promise\<number> function write(destination... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.1)
- **Signature changed** `BunFetchRequestInit.protocol`  

Was protocol?: "http2" | "http1.1" | "h2" | "h1"; now protocol?: "http2" | "http1.1" | "http3" | "h2" | "h1" | "h3". [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.1)
- **Signature changed** `Event`  

Was interface Event; now interface Event extends Bun.\_\_internal.LibEmptyOrBunEvent. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.1)
- **Signature changed** `EventTarget`  

Was interface EventTarget; now interface EventTarget extends Bun.\_\_internal.LibEmptyOrBunEventTarget. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.1)
- **Signature changed** `EventTarget.addEventListener`  

Was addEventListener(type: string, listener: EventListener | EventListenerObject, options?: AddEventListenerOptions | boolean): void; now addEventListener(type: string, listener: Bun.EventListener | Bun.EventListenerObject, options?... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.1)
- **Signature changed** `EventTarget.removeEventListener`  

Was removeEventListener(type: string, listener: EventListener | EventListenerObject, options?: Bun.EventListenerOptions | boolean): void; now removeEventListener(type: string, listener: Bun.EventListener | Bun.EventListenerObject... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.1)

## bun-types 1.4.0 breaking changes

bun-types 1.4.0, released August 20, 2026: 125 breaking changes.

- **Removed** `"bun:ffi".CString.[Symbol.iterator]`  

"bun:ffi".CString.\[Symbol.iterator\] was removed in bun-types 1.4.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.0)
- **Removed** `"bun:ffi".CString.anchor`  

"bun:ffi".CString.anchor was removed in bun-types 1.4.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.0)
- **Removed** `"bun:ffi".CString.arrayBuffer`  

"bun:ffi".CString.arrayBuffer was removed in bun-types 1.4.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.0)
- **Removed** `"bun:ffi".CString.at`  

"bun:ffi".CString.at was removed in bun-types 1.4.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.0)
- **Removed** `"bun:ffi".CString.big`  

"bun:ffi".CString.big was removed in bun-types 1.4.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.0)
- **Removed** `"bun:ffi".CString.blink`  

"bun:ffi".CString.blink was removed in bun-types 1.4.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.0)
- **Removed** `"bun:ffi".CString.bold`  

"bun:ffi".CString.bold was removed in bun-types 1.4.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.0)
- **Removed** `"bun:ffi".CString.byteLength`  

"bun:ffi".CString.byteLength was removed in bun-types 1.4.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.0)
- **Removed** `"bun:ffi".CString.byteOffset`  

"bun:ffi".CString.byteOffset was removed in bun-types 1.4.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.0)
- **Removed** `"bun:ffi".CString.charAt`  

"bun:ffi".CString.charAt was removed in bun-types 1.4.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.4.0)

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

## bun-types 1.3.14 breaking changes

bun-types 1.3.14, released May 13, 2026: 25 breaking changes.

- **Signature changed** `"bun:ffi".FFITypeToArgsType.1`  

The signature of "bun:ffi".FFITypeToArgsType.1 changed in bun-types 1.3.14 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.14)
- **Signature changed** `"bun:ffi".FFITypeToArgsType.10`  

The signature of "bun:ffi".FFITypeToArgsType.10 changed in bun-types 1.3.14 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.14)
- **Signature changed** `"bun:ffi".FFITypeToArgsType.12`  

The signature of "bun:ffi".FFITypeToArgsType.12 changed in bun-types 1.3.14 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.14)
- **Signature changed** `"bun:ffi".FFITypeToArgsType.2`  

The signature of "bun:ffi".FFITypeToArgsType.2 changed in bun-types 1.3.14 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.14)
- **Signature changed** `"bun:ffi".FFITypeToArgsType.3`  

The signature of "bun:ffi".FFITypeToArgsType.3 changed in bun-types 1.3.14 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.14)
- **Signature changed** `"bun:ffi".FFITypeToArgsType.4`  

The signature of "bun:ffi".FFITypeToArgsType.4 changed in bun-types 1.3.14 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.14)
- **Signature changed** `"bun:ffi".FFITypeToArgsType.5`  

The signature of "bun:ffi".FFITypeToArgsType.5 changed in bun-types 1.3.14 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.14)
- **Signature changed** `"bun:ffi".FFITypeToArgsType.6`  

The signature of "bun:ffi".FFITypeToArgsType.6 changed in bun-types 1.3.14 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.14)
- **Signature changed** `"bun:ffi".FFITypeToArgsType.7`  

The signature of "bun:ffi".FFITypeToArgsType.7 changed in bun-types 1.3.14 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.14)
- **Signature changed** `"bun:ffi".FFITypeToArgsType.8`  

The signature of "bun:ffi".FFITypeToArgsType.8 changed in bun-types 1.3.14 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.14)

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

## bun-types 1.3.12 breaking changes

bun-types 1.3.12, released April 10, 2026: 5 breaking changes.

- **Signature changed** `"bun".cron`  

Was const cron: {(path: string, schedule: CronWithAutocomplete, title: string): Promise\<void>; remove(title: string): Promise\<void>; parse(expression: CronWithAutocomplete, relativeDate?: Date | number): Date | null;}; now const cron... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.12)
- **Signature changed** `"bun".udp.ConnectedSocketHandler.data`  

Was data?(socket: ConnectedSocket\<DataBinaryType>, data: BinaryTypeList\[DataBinaryType\], port: number, address: string): void | Promise\<void>; now data?(socket: ConnectedSocket\<DataBinaryType>, data: BinaryTypeList\[DataBinaryType\], port... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.12)
- **Signature changed** `"bun".udp.SocketHandler.data`  

Was data?(socket: Socket\<DataBinaryType>, data: BinaryTypeList\[DataBinaryType\], port: number, address: string): void | Promise\<void>; now data?(socket: Socket\<DataBinaryType>, data: BinaryTypeList\[DataBinaryType\], port: number, address... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.12)
- **Signature changed** `"bun".WebAssembly.ImportExportKind`  

Was type ImportExportKind = "function" | "global" | "memory" | "table"; now type ImportExportKind = "function" | "global" | "memory" | "table" | "tag". [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.12)
- **Signature changed** `WebAssembly.Instance`  

Was var Instance: {prototype: Instance; new (module: Module, importObject?: Bun.WebAssembly.Imports): Instance;}; now var Instance: Bun.\_\_internal.UseLibDomIfAvailable<"WebAssembly", {Instance: {prototype: Instance; new (module: Module... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.12)

## Older versions

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

### bun-types 1.3.11 breaking changes

bun-types 1.3.11, released March 18, 2026: 2 breaking changes.

- **Signature changed** `"bun".JSONL.parseChunk`  

Was function parseChunk(input: NodeJS.TypedArray | DataView\<ArrayBuffer> | ArrayBufferLike, start?: number, end?: number): ParseChunkResult function parseChunk(input: string): ParseChunkResult; now function parseChunk(input: string |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.11)
- **Signature changed** `"bun".markdown.RenderCallbacks.listItem`  

Was listItem?: (children: string, meta?: ListItemMeta) => string | null | undefined; now listItem?: (children: string, meta: ListItemMeta) => string | null | undefined. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.11)

### bun-types 1.3.10 breaking changes

bun-types 1.3.10, released February 26, 2026: 5 breaking changes.

- **Removed** `"bun".BuildConfigBase`  

"bun".BuildConfigBase was removed in bun-types 1.3.10 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.10)
- **Removed** `"bun".CompileBuildConfig`  

"bun".CompileBuildConfig was removed in bun-types 1.3.10 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.10)

And 3 more in this version.

### bun-types 1.3.9 breaking changes

bun-types 1.3.9, released February 8, 2026: 4 breaking changes.

- **Signature changed** `"bun".Build.CompileTarget`  

Was type CompileTarget = | \`bun-darwin-${Architecture}\` | \`bun-darwin-x64-${SIMD}\` | \`bun-linux-${Architecture}\` | \`bun-linux-${Architecture}-${Libc}\` | "bun-windows-x64" | \`bun-windows-x64-${SIMD}\` | \`bun-linux-x64-${SIMD}-${Libc}\`; now... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.9)
- **Signature changed** `"bun".Hash.crc32`  

Was crc32: (data: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer) => number; now crc32: (data: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer, seed?: number) => number. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.9)

And 2 more in this version.

### bun-types 1.3.7 breaking changes

bun-types 1.3.7, released January 27, 2026: 3 breaking changes.

- **Renamed** `"bun".Build.Target`  

Use "bun".Build.CompileTarget instead. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.7)
- **Signature changed** `"bun".CompileBuildConfig.compile`  

Was compile: boolean | Bun.Build.Target | CompileBuildOptions; now compile: boolean | Bun.Build.CompileTarget | CompileBuildOptions. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.7)

And 1 more in this version.

### bun-types 1.3.6 breaking changes

bun-types 1.3.6, released January 13, 2026: 8 breaking changes.

- **Removed** `"bun".WebSocketOptionsTLS.tls.rejectUnauthorized`  

"bun".WebSocketOptionsTLS.tls.rejectUnauthorized was removed in bun-types 1.3.6 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.6)
- **Signature changed** `"bun".FileSink.write`  

Was write(chunk: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer): number; now write(chunk: string | ArrayBufferView | ArrayBuffer | SharedArrayBuffer): number | Promise\<number>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.6)

And 6 more in this version.

### bun-types 1.3.5 breaking changes

bun-types 1.3.5, released December 17, 2025: 11 breaking changes.

- **Removed** `"bun".__internal.NodeCryptoWebcryptoSubtleCrypto`  

"bun".\_\_internal.NodeCryptoWebcryptoSubtleCrypto was removed in bun-types 1.3.5 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.5)
- **Signature changed** `"bun:test".MatchersBuiltin.toContainAllKeys`  

Was toContainAllKeys(expected: Array\<keyof T>): void toContainAllKeys\<X = T>(expected: NoInfer\<Array\<keyof X>>): void; now toContainAllKeys(expected: Array<\_\_internal.IfNeverThenElse\<keyof T, PropertyKey>>): void toContainAllKeys\<X =... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.5)

And 9 more in this version.

### bun-types 1.3.4 breaking changes

bun-types 1.3.4, released December 7, 2025: 5 breaking changes.

- **Signature changed** `"bun:test".jest.useFakeTimers`  

Was function useFakeTimers(): void; now function useFakeTimers(options?: {now?: number | Date}): typeof vi. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.4)
- **Signature changed** `"bun:test".jest.useRealTimers`  

Was function useRealTimers(): void; now function useRealTimers(): typeof vi. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.4)

And 3 more in this version.

### bun-types 1.3.3 breaking changes

bun-types 1.3.3, released November 21, 2025: 8 breaking changes.

- **Removed** `"bun".__experimental`  

"bun".\_\_experimental was removed in bun-types 1.3.3 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.3)
- **Signature changed** `"bun".BunLockFile`  

Was type BunLockFile = {lockfileVersion: 0 | 1; workspaces: {\[workspace: string\]: BunLockFileWorkspacePackage;}; overrides?: Record\<string, string>; patchedDependencies?: Record\<string, string>; trustedDependencies?: string\[\]; catalog?... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.3)

And 6 more in this version.

### bun-types 1.3.2 breaking changes

bun-types 1.3.2, released November 8, 2025: 7 breaking changes.

- **Signature changed** `"bun:test".Describe.each`  

Was each\<T>(table: T\[\]): Describe<\[T\]>; now each\<const T>(table: T\[\]): Describe<\[T\]>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.2)
- **Signature changed** `"bun:test".Test.each`  

Was each\<T>(table: T\[\]): Test<\[T\]>; now each\<const T>(table: T\[\]): Test<\[T\]>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.2)

And 5 more in this version.

### bun-types 1.3.1 breaking changes

bun-types 1.3.1, released October 22, 2025: 1 breaking change.

- **Signature changed** `"bun".$.ShellPromise.quiet`  

Was quiet(): this; now quiet(isQuiet?: boolean): this. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.1)

### bun-types 1.3.0 breaking changes

bun-types 1.3.0, released October 10, 2025: 48 breaking changes.

- **Removed** `"bun".GenericServeOptions`  

"bun".GenericServeOptions was removed in bun-types 1.3.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.0)
- **Removed** `"bun".RouterTypes`  

"bun".RouterTypes was removed in bun-types 1.3.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.3.0)

And 46 more in this version.

### bun-types 1.2.23 breaking changes

bun-types 1.2.23, released September 28, 2025: 31 breaking changes.

- **Signature changed** `"bun:test".afterAll`  

Was function afterAll(fn: (() => void | Promise\<unknown>) | ((done: (err?: unknown) => void) => void)): void; now function afterAll(fn: (() => void | Promise\<unknown>) | ((done: (err?: unknown) => void) => void), options?: HookOptions)... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.23)
- **Signature changed** `"bun:test".afterEach`  

Was function afterEach(fn: (() => void | Promise\<unknown>) | ((done: (err?: unknown) => void) => void)): void; now function afterEach(fn: (() => void | Promise\<unknown>) | ((done: (err?: unknown) => void) => void), options?: HookOptions)... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.23)

And 29 more in this version.

### bun-types 1.2.22 breaking changes

bun-types 1.2.22, released September 14, 2025: 38 breaking changes.

- **Signature changed** `"bun:test".Expect.__call`  

Was \<T = unknown>(actual?: T, customFailMessage?: string): Matchers\<T>; now (actual?: never, customFailMessage?: string): Matchers\<undefined> \<T = unknown>(actual: T, customFailMessage?: string): Matchers\<T> \<T = unknown>(actual?: T... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.22)
- **Signature changed** `"bun:test".MatchersBuiltin.toBeOneOf`  

Was toBeOneOf(expected: Array\<unknown> | Iterable\<unknown>): void; now toBeOneOf(expected: Iterable\<T>): void toBeOneOf\<X = T>(expected: NoInfer\<Iterable\<X>>): void. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.22)

And 36 more in this version.

### bun-types 1.2.21 breaking changes

bun-types 1.2.21, released August 25, 2025: 63 breaking changes.

- **Removed** `"bun".BuildConfig.banner`  

"bun".BuildConfig.banner was removed in bun-types 1.2.21 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.21)
- **Removed** `"bun".BuildConfig.bytecode`  

"bun".BuildConfig.bytecode was removed in bun-types 1.2.21 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.21)

And 61 more in this version.

### bun-types 1.2.20 breaking changes

bun-types 1.2.20, released August 10, 2025: 32 breaking changes.

- **Signature changed** `"bun:sqlite".Database.transaction`  

Was transaction(insideTransaction: (...args: any) => void): CallableFunction & {deferred: (...args: any) => void; immediate: (...args: any) => void; exclusive: (...args: any) => void;}; now transaction\<A extends any\[\]... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.20)
- **Signature changed** `"bun:test".mock`  

Was const mock: {\<T extends (...args: any\[\]) => any>(Function?: T): Mock\<T>; module(id: string, factory: () => any): void | Promise\<void>; restore(): void;}; now const mock: {\<T extends (...args: any\[\]) => any>(Function?: T): Mock\<T>... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.20)

And 30 more in this version.

### bun-types 1.2.19 breaking changes

bun-types 1.2.19, released July 19, 2025: 67 breaking changes.

- **Removed** `"bun".__internal.NodeWorkerThreadsWorker`  

"bun".\_\_internal.NodeWorkerThreadsWorker was removed in bun-types 1.2.19 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.19)
- **Removed** `"bun".BunFile.readable`  

"bun".file().readable was removed in bun-types 1.2.19 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.19)

And 65 more in this version.

### bun-types 1.2.18 breaking changes

bun-types 1.2.18, released July 3, 2025: 3 breaking changes.

- **Signature changed** `"bun".BunFile.readable`  

Was readonly readable: ReadableStream; now readonly readable: BunReadableStream. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.18)
- **Signature changed** `"bun".RouterTypes.RouteValue`  

Was type RouteValue\<T extends string> = Response | false | RouteHandler\<T> | RouteHandlerObject\<T>; now type RouteValue\<T extends string> = Response | false | RouteHandler\<T> | RouteHandlerObject\<T> | HTMLBundle. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.18)

And 1 more in this version.

### bun-types 1.2.17 breaking changes

bun-types 1.2.17, released June 21, 2025: 1 breaking change.

- **Signature changed** `"bun".RedisClient.del`  

Was del(key: RedisClient.KeyLike, ...keys: RedisClient.KeyLike\[\]): Promise\<number>; now del(...keys: RedisClient.KeyLike\[\]): Promise\<number>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.17)

### bun-types 1.2.16 breaking changes

bun-types 1.2.16, released June 12, 2025: 61 breaking changes.

- **Signature changed** `"bun:test".jest`  

The signature of "bun:test".jest changed in bun-types 1.2.16 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.16)
- **Signature changed** `"bun".dns.prefetch`  

Was function prefetch(hostname: string): void; now function prefetch(hostname: string, port?: number): void. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.16)

And 59 more in this version.

### bun-types 1.2.15 breaking changes

bun-types 1.2.15, released May 28, 2025: 2 breaking changes.

- **Signature changed** `"bun:test".spyOn`  

Was function spyOn\<T extends object, K extends keyof T>(obj: T, methodOrPropertyValue: K): Mock\<T\[K\] extends (...args: any\[\]) => any ? T\[K\] : never>; now function spyOn\<T extends object, K extends keyof T>(obj: T, methodOrPropertyValue... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.15)
- **Signature changed** `"bun".GenericServeOptions.development`  

Was development?: | boolean | {hmr?: boolean; console?: boolean;}; now development?: | boolean | {hmr?: boolean; console?: boolean; chromeDevToolsAutomaticWorkspaceFolders?: boolean;}. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.15)

### bun-types 1.2.14 breaking changes

bun-types 1.2.14, released May 21, 2025: 1 breaking change.

- **Signature changed** `"bun".BunLockFile`  

Was type BunLockFile = {lockfileVersion: 0 | 1; workspaces: {\[workspace: string\]: BunLockFileWorkspacePackage;}; overrides?: Record\<string, string>; patchedDependencies?: Record\<string, string>; trustedDependencies?: string\[\]; packages... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.14)

### bun-types 1.2.13 breaking changes

bun-types 1.2.13, released May 10, 2025: 17 breaking changes.

- **Removed** `"bun:sqlite".SQLiteError.prepareStackTrace`  

"bun:sqlite".SQLiteError.prepareStackTrace was removed in bun-types 1.2.13 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.13)
- **Removed** `"bun".$.ShellError.prepareStackTrace`  

"bun".$.ShellError.prepareStackTrace was removed in bun-types 1.2.13 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.13)

And 15 more in this version.

### bun-types 1.2.12 breaking changes

bun-types 1.2.12, released May 4, 2025: 3 breaking changes.

- **Signature changed** `"bun".GenericServeOptions.development`  

Was development?: | boolean | {hmr?: boolean;}; now development?: | boolean | {hmr?: boolean; console?: boolean;}. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.12)
- **Signature changed** `"bun".Subprocess`  

Was interface Subprocess\<In extends SpawnOptions.Writable, Out extends SpawnOptions.Readable, Err extends SpawnOptions.Readable> extends AsyncDisposable; now interface Subprocess\<In extends SpawnOptions.Writable = SpawnOptions.Writable... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.12)

And 1 more in this version.

### bun-types 1.2.11 breaking changes

bun-types 1.2.11, released April 29, 2025: 42 breaking changes.

- **Removed** `"bun".origin`  

"bun".origin was removed in bun-types 1.2.11 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.11)
- **Removed** `"bun".Peek`  

"bun".Peek was removed in bun-types 1.2.11 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.11)

And 40 more in this version.

### bun-types 1.2.10 breaking changes

bun-types 1.2.10, released April 17, 2025: 30 breaking changes.

- **Removed** `"bun".__internal.LibEmptyOrNodeTransformStream`  

"bun".\_\_internal.LibEmptyOrNodeTransformStream was removed in bun-types 1.2.10 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.10)
- **Removed** `"bun".__internal.NodePerfHooksPerformance`  

"bun".\_\_internal.NodePerfHooksPerformance was removed in bun-types 1.2.10 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.10)

And 28 more in this version.

### bun-types 1.2.9 breaking changes

bun-types 1.2.9, released April 9, 2025: 5 breaking changes.

- **Removed** `"*.svg"`  

"\*.svg" was removed in bun-types 1.2.9 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.9)
- **Signature changed** `"bun".env`  

Was const env: Env & NodeJS.ProcessEnv; now const env: Env & NodeJS.ProcessEnv & ImportMetaEnv. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.9)

And 3 more in this version.

### bun-types 1.2.8 breaking changes

bun-types 1.2.8, released March 31, 2025: 23 breaking changes.

- **Removed** `"bun".__internal.LibWorkerOrNodeWorkerThreadsWorker`  

"bun".\_\_internal.LibWorkerOrNodeWorkerThreadsWorker was removed in bun-types 1.2.8 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.8)
- **Removed** `"bun".__internal.NodeUtilTextDecoder`  

"bun".\_\_internal.NodeUtilTextDecoder was removed in bun-types 1.2.8 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.8)

And 21 more in this version.

### bun-types 1.2.7 breaking changes

bun-types 1.2.7, released March 27, 2025: 173 breaking changes.

- **Removed** `_BunTLSOptions`  

\_BunTLSOptions was removed in bun-types 1.2.7 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.7)
- **Removed** `"bun:ffi".CString.isWellFormed`  

"bun:ffi".CString.isWellFormed was removed in bun-types 1.2.7 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.7)

And 171 more in this version.

### bun-types 1.2.6 breaking changes

bun-types 1.2.6, released March 25, 2025: 6 breaking changes.

- **Removed** `_ShellError`  

\_ShellError was removed in bun-types 1.2.6 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.6)
- **Signature changed** `"bun".serve`  

Was function serve\<T, R extends {\[K in keyof R\]: RouterTypes.RouteValue\<K & string>}>(options: (| (DistributedOmit\<Serve, "fetch"> & {routes: R; fetch?: (this: Server, request: Request, server: Server) => Response | Promise\<Response>;}) |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.6)

And 4 more in this version.

### bun-types 1.2.5 breaking changes

bun-types 1.2.5, released March 11, 2025: 32 breaking changes.

- **Removed** `"bun".ShellError.captureStackTrace`  

"bun".ShellError.captureStackTrace was removed in bun-types 1.2.5 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.5)
- **Removed** `"bun".ShellError.isError`  

"bun".ShellError.isError was removed in bun-types 1.2.5 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.5)

And 30 more in this version.

### bun-types 1.2.4 breaking changes

bun-types 1.2.4, released February 26, 2025: 5 breaking changes.

- **Signature changed** `"bun".PluginBuilder.module`  

Was module(specifier: string, callback: () => OnLoadResult | Promise\<OnLoadResult>): void; now module(specifier: string, callback: () => OnLoadResult | Promise\<OnLoadResult>): this. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.4)
- **Signature changed** `"bun".PluginBuilder.onBeforeParse`  

Was onBeforeParse(constraints: PluginConstraints, callback: {napiModule: unknown; symbol: string; external?: unknown | undefined;}): void; now onBeforeParse(constraints: PluginConstraints, callback: {napiModule: unknown; symbol: string... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.4)

And 3 more in this version.

### bun-types 1.2.3 breaking changes

bun-types 1.2.3, released February 22, 2025: 20 breaking changes.

- **Removed** `"bun".GenericServeOptions.static`  

"bun".GenericServeOptions.static was removed in bun-types 1.2.3 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.3)
- **Signature changed** `"bun".GenericServeOptions.development`  

Was development?: boolean; now development?: | boolean | {hmr?: boolean;}. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.3)

And 18 more in this version.

### bun-types 1.2.1 breaking changes

bun-types 1.2.1, released January 27, 2025: 6 breaking changes.

- **Signature changed** `"bun".BunLockFile`  

Was type BunLockFile = {lockfileVersion: 0; workspaces: {\[workspace: string\]: BunLockFileWorkspacePackage;}; overrides?: Record\<string, string>; patchedDependencies?: Record\<string, string>; trustedDependencies?: string\[\]; packages: {\[pkg... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.1)
- **Signature changed** `"bun".BunLockFile.lockfileVersion`  

Was lockfileVersion: 0; now lockfileVersion: 0 | 1. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.1)

And 4 more in this version.

### bun-types 1.2.0 breaking changes

bun-types 1.2.0, released January 22, 2025: 4 breaking changes.

- **Removed** `"bun".BuildConfig.experimentalCss`  

"bun".BuildConfig.experimentalCss was removed in bun-types 1.2.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.0)
- **Removed** `"bun".BuildConfig.html`  

"bun".BuildConfig.html was removed in bun-types 1.2.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.2.0)

And 2 more in this version.

### bun-types 1.1.44 breaking changes

bun-types 1.1.44, released January 17, 2025: 3 breaking changes.

- **Removed** `BufferEncodingOption`  

BufferEncodingOption was removed in bun-types 1.1.44 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.44)
- **Signature changed** `"bun".dns`  

Was const dns: {lookup(hostname: string, options?: {family?: 4 | 6 | 0 | "IPv4" | "IPv6" | "any"; socketType?: "udp" | "tcp"; flags?: number; port?: number; backend?: "libc" | "c-ares" | "system" | "getaddrinfo";}): Promise\<DNSLookup\[\]>... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.44)

And 1 more in this version.

### bun-types 1.1.43 breaking changes

bun-types 1.1.43, released January 8, 2025: 3 breaking changes.

- **Signature changed** `"bun".generateHeapSnapshot`  

Was function generateHeapSnapshot(): HeapSnapshot; now function generateHeapSnapshot(format: "v8"): string function generateHeapSnapshot(format?: "jsc"): HeapSnapshot. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.43)
- **Signature changed** `"bun".Loader`  

Was type Loader = | "js" | "jsx" | "ts" | "tsx" | "json" | "toml" | "file" | "napi" | "wasm" | "text" | "css"; now type Loader = | "js" | "jsx" | "ts" | "tsx" | "json" | "toml" | "file" | "napi" | "wasm" | "text" | "css" | "html". [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.43)

And 1 more in this version.

### bun-types 1.1.41 breaking changes

bun-types 1.1.41, released December 20, 2024: 1 breaking change.

- **Signature changed** `"bun".BuildConfig.sourcemap`  

Was sourcemap?: "none" | "linked" | "inline" | "external" | "linked"; now sourcemap?: "none" | "linked" | "inline" | "external" | "linked" | boolean. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.41)

### bun-types 1.1.39 breaking changes

bun-types 1.1.39, released December 17, 2024: 2 breaking changes.

- **Signature changed** `"bun:ffi".ConvertFns`  

Was type ConvertFns\<Fns extends Symbols> = {\[K in keyof Fns\]: (...args: Fns\[K\]\["args"\] extends infer A extends readonly FFITypeOrString\[\] ? {\[L in keyof A\]: FFITypeToArgsType\[ToFFIType\<A\[L\]>\]} : \[unknown\] extends \[Fns\[K\]\["args"\]\] ? \[\]... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.39)
- **Signature changed** `"bun".OnLoadResult`  

Was type OnLoadResult = OnLoadResultSourceCode | OnLoadResultObject | undefined; now type OnLoadResult = | OnLoadResultSourceCode | OnLoadResultObject | undefined | void. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.39)

### bun-types 1.1.35 breaking changes

bun-types 1.1.35, released November 19, 2024: 1 breaking change.

- **Signature changed** `"bun".Loader`  

Was type Loader = | "js" | "jsx" | "ts" | "tsx" | "json" | "toml" | "file" | "napi" | "wasm" | "text"; now type Loader = | "js" | "jsx" | "ts" | "tsx" | "json" | "toml" | "file" | "napi" | "wasm" | "text" | "css". [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.35)

### bun-types 1.1.32 breaking changes

bun-types 1.1.32, released October 21, 2024: 2 breaking changes.

- **Signature changed** `"bun".color`  

Was function color(input: ColorInput, outputFormat?: | "ansi" | "ansi256" | "hex" | "rgb" | "rgba" | "hsl" | "lab" | "css" | "lab" | "HEX"): string | null; now function color(input: ColorInput, outputFormat?: | "ansi" | "ansi-16" |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.32)
- **Signature changed** `"bun".DigestEncoding`  

Was type DigestEncoding = "hex" | "base64"; now type DigestEncoding = | "utf8" | "ucs2" | "utf16le" | "latin1" | "ascii" | "base64" | "base64url" | "hex". [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.32)

### bun-types 1.1.31 breaking changes

bun-types 1.1.31, released October 18, 2024: 1 breaking change.

- **Signature changed** `"bun".BunPlugin.name`  

Was name?: string; now name: string. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.31)

### bun-types 1.1.30 breaking changes

bun-types 1.1.30, released October 8, 2024: 6 breaking changes.

- **Removed** `"bun".ModuleFormat`  

"bun".ModuleFormat was removed in bun-types 1.1.30 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.30)
- **Signature changed** `"bun".BuildArtifact.kind`  

Was kind: "entry-point" | "chunk" | "asset" | "sourcemap"; now kind: "entry-point" | "chunk" | "asset" | "sourcemap" | "bytecode". [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.30)

And 4 more in this version.

### bun-types 1.1.27 breaking changes

bun-types 1.1.27, released September 7, 2024: 1 breaking change.

- **Signature changed** `"bun:sqlite".Database.constructor`  

Was constructor(filename?: string, options?: | number | {readonly?: boolean; create?: boolean; readwrite?: boolean; safeInteger?: boolean; strict?: boolean;}); now constructor(filename?: string, options?: | number | {readonly?: boolean... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.27)

### bun-types 1.1.21 breaking changes

bun-types 1.1.21, released July 27, 2024: 6 breaking changes.

- **Signature changed** `"bun".deflateSync`  

Was function deflateSync(data: Uint8Array | string | ArrayBuffer, options?: ZlibCompressionOptions): Uint8Array; now function deflateSync(data: Uint8Array | string | ArrayBuffer, options?: ZlibCompressionOptions |... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.21)
- **Signature changed** `"bun".gunzipSync`  

Was function gunzipSync(data: Uint8Array | string | ArrayBuffer): Uint8Array; now function gunzipSync(data: Uint8Array | string | ArrayBuffer, options?: ZlibCompressionOptions | LibdeflateCompressionOptions): Uint8Array. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.21)

And 4 more in this version.

### bun-types 1.1.19 breaking changes

bun-types 1.1.19, released July 12, 2024: 1 breaking change.

- **Signature changed** `"bun:jsc".profile`  

Was function profile(callback: CallableFunction, sampleInterval?: number): {functions: string; bytecodes: string; stackTraces: string\[\];}; now function profile\<T extends (...args: any\[\]) => any>(callback: T, sampleInterval?: number... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.19)

### bun-types 1.1.18 breaking changes

bun-types 1.1.18, released July 3, 2024: 1 breaking change.

- **Signature changed** `"bun".Semver.order`  

Was order(v1: StringLike, v2: StringLike): -1 | 0 | 1; now order(this: void, v1: StringLike, v2: StringLike): -1 | 0 | 1. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.18)

### bun-types 1.1.16 breaking changes

bun-types 1.1.16, released June 23, 2024: 1 breaking change.

- **Signature changed** `"bun".BuildConfig.sourcemap`  

Was sourcemap?: "none" | "inline" | "external"; now sourcemap?: "none" | "linked" | "inline" | "external". [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.16)

### bun-types 1.1.14 breaking changes

bun-types 1.1.14, released June 19, 2024: 4 breaking changes.

- **Signature changed** `"bun:sqlite".Database.constructor`  

Was constructor(filename?: string, options?: | number | {readonly?: boolean; create?: boolean; readwrite?: boolean;}); now constructor(filename?: string, options?: | number | {readonly?: boolean; create?: boolean; readwrite?: boolean... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.14)
- **Signature changed** `"bun:sqlite".Database.exec`  

Was exec\<ParamsType extends SQLQueryBindings\[\]>(sqlQuery: string, ...bindings: ParamsType\[\]): void; now exec\<ParamsType extends SQLQueryBindings\[\]>(sqlQuery: string, ...bindings: ParamsType\[\]): Changes. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.14)

And 2 more in this version.

### bun-types 1.1.13 breaking changes

bun-types 1.1.13, released June 12, 2024: 2 breaking changes.

- **Signature changed** `"bun:test".Expect.__call`  

Was \<T = unknown>(actual?: T): Matchers\<T>; now \<T = unknown>(actual?: T, customFailMessage?: string): Matchers\<T>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.13)
- **Signature changed** `"test".Expect.__call`  

Was \<T = unknown>(actual?: T): Matchers\<T>; now \<T = unknown>(actual?: T, customFailMessage?: string): Matchers\<T>. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.13)

### bun-types 1.1.11 breaking changes

bun-types 1.1.11, released June 1, 2024: 2 breaking changes.

- **Signature changed** `"bun".CryptoHasher.digest`  

Was digest(hashInto?: NodeJS.TypedArray): NodeJS.TypedArray; now digest(): Buffer digest(hashInto: NodeJS.TypedArray): NodeJS.TypedArray. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.11)
- **Signature changed** `"bun".CryptoHasher.hash`  

Was static hash(algorithm: SupportedCryptoAlgorithms, input: Bun.BlobOrStringOrBuffer, hashInto?: NodeJS.TypedArray): NodeJS.TypedArray; now static hash(algorithm: SupportedCryptoAlgorithms, input: Bun.BlobOrStringOrBuffer): Buffer static... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.11)

### bun-types 1.1.9 breaking changes

bun-types 1.1.9, released May 22, 2024: 5 breaking changes.

- **Signature changed** `"bun".concatArrayBuffers`  

Was function concatArrayBuffers(buffers: Array\<ArrayBufferView | ArrayBufferLike>): ArrayBuffer; now function concatArrayBuffers(buffers: Array\<ArrayBufferView | ArrayBufferLike>, maxLength: number, asUint8Array: false): ArrayBuffer... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.9)
- **Signature changed** `"bun".dns`  

Was const dns: {lookup(hostname: string, options?: {family?: 4 | 6 | 0 | "IPv4" | "IPv6" | "any"; socketType?: "udp" | "tcp"; flags?: number; port?: number; backend?: "libc" | "c-ares" | "system" | "getaddrinfo";}): Promise\<DNSLookup\[\]>;}... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.9)

And 3 more in this version.

### bun-types 1.1.7 breaking changes

bun-types 1.1.7, released May 3, 2024: 1 breaking change.

- **Removed** `"bun".parseArgs`  

"bun".parseArgs was removed in bun-types 1.1.7 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.7)

### bun-types 1.1.5 breaking changes

bun-types 1.1.5, released April 26, 2024: 8 breaking changes.

- **Removed** `"bun".TLSServeOptions.serverNames`  

"bun".TLSServeOptions.serverNames was removed in bun-types 1.1.5 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.5)
- **Removed** `"bun".UnixTLSServeOptions.serverNames`  

"bun".UnixTLSServeOptions.serverNames was removed in bun-types 1.1.5 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.5)

And 6 more in this version.

### bun-types 1.1.4 breaking changes

bun-types 1.1.4, released April 16, 2024: 5 breaking changes.

- **Signature changed** `"bun:sqlite".constants`  

Was const constants: {SQLITE_OPEN_READONLY: number; SQLITE_OPEN_READWRITE: number; SQLITE_OPEN_CREATE: number; SQLITE_OPEN_DELETEONCLOSE: number; SQLITE_OPEN_EXCLUSIVE: number; SQLITE_OPEN_AUTOPROXY: number; SQLITE_OPEN_URI: number... [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.4)
- **Signature changed** `"bun:sqlite".Database`  

Was class Database; now class Database implements Disposable. [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.1.4)

And 3 more in this version.

### bun-types 1.0.0 breaking changes

bun-types 1.0.0, released September 8, 2023: 160 breaking changes.

- **Removed** `"*.toml"`  

"\*.toml" was removed in bun-types 1.0.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.0.0)
- **Removed** `"*.txt"`  

"\*.txt" was removed in bun-types 1.0.0 [npmjs.com](https://www.npmjs.com/package/bun-types/v/1.0.0)

And 158 more in this version.

### bun-types 0.8.0 breaking changes

bun-types 0.8.0, released August 24, 2023: 49 breaking changes.

- **Signature changed** `"bun:ffi".ConvertFns`  

Was type ConvertFns\<Fns extends Record\<string, FFIFunction>> = {\[K in keyof Fns\]: (...args: Fns\[K\]\["args"\] extends infer A extends FFITypeOrString\[\] ? {\[L in keyof A\]: FFITypeToType\[ToFFIType\<A\[L\]>\]} : never) =>... [npmjs.com](https://www.npmjs.com/package/bun-types/v/0.8.0)
- **Signature changed** `"bun:ffi".FFIFunction.args`  

Was args?: FFITypeOrString\[\]; now readonly args?: readonly FFITypeOrString\[\]. [npmjs.com](https://www.npmjs.com/package/bun-types/v/0.8.0)

And 47 more in this version.

### bun-types 0.7.0 breaking changes

bun-types 0.7.0, released July 21, 2023: 31 breaking changes.

- **Signature changed** `"bun:ffi".FFITypeToType.10`  

Was \[FFIType.f32\]: UNTYPED \[FFIType.float\]: UNTYPED; now \[FFIType.f32\]: number \[FFIType.float\]: number. [npmjs.com](https://www.npmjs.com/package/bun-types/v/0.7.0)
- **Signature changed** `"bun:ffi".FFITypeToType.13`  

Was \[FFIType.void\]: UNTYPED; now \[FFIType.void\]: void. [npmjs.com](https://www.npmjs.com/package/bun-types/v/0.7.0)

And 29 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.
