Bun
Backend & InfraIncredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Release History
bun-v1.3.10Bun v1.3.10 has been released, with installation and upgrade instructions provided. Further details are available on the Bun blog.
bun-v1.3.9Bun version 1.3.9 has been released, with installation and upgrade instructions provided. Further details are available on the Bun blog.
bun-v1.3.8Bun v1.3.8 release notes are available on the official blog, focusing on minor updates and thanking contributors.
bun-v1.3.7Bun v1.3.7 is released, with installation and upgrade instructions provided. Further details are available on the official blog.
bun-v1.3.6Bun v1.3.6 has been released, thanking 23 contributors for their work. Installation and upgrade instructions are provided.
bun-v1.3.5Bun v1.3.5 is a maintenance release featuring contributions from 10 developers. Detailed changes are documented on the official Bun blog.
bun-v1.3.4Bun v1.3.4 is a maintenance release featuring contributions from 14 developers. Detailed changes are documented on the official Bun blog.
bun-v1.3.34 fixes5 featuresBun v1.3.3 introduces new APIs for password hashing, DNS resolution, and promise peeking, alongside significant performance improvements to JSON processing and bug fixes for the installer and fetch API.
bun-v1.3.2Bun v1.3.2 is a maintenance release featuring contributions from 18 developers. Detailed changes and improvements are documented in the official release blog post.
bun-v1.3.11 fixBun v1.3.1 is a maintenance release featuring bug fixes identified through fuzzing and contributions from 15 community members.
bun-v1.3.03 fixes6 featuresBun v1.3 introduces the Bun Shell, a cross-platform solution for executing shell scripts within JavaScript, alongside significant performance improvements for Windows and enhanced framework support.
bun-v1.2.23Bun v1.2.23 is a maintenance release featuring contributions from 16 developers. Detailed changes are documented in the official blog post.
bun-v1.2.22Bun v1.2.22 is a maintenance release featuring contributions from 14 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.21Bun v1.2.21 is a maintenance release involving contributions from 23 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.20Bun v1.2.20 is a maintenance release featuring contributions from 19 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.19Bun v1.2.19 is a maintenance release featuring contributions from 18 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.18Bun v1.2.18 is a maintenance release featuring contributions from 14 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.17Bun v1.2.17 is a maintenance release featuring contributions from 15 developers. Detailed changes and improvements are documented on the official Bun blog.
bun-v1.2.16Bun v1.2.16 is a maintenance release featuring contributions from 25 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.15Bun v1.2.15 is a maintenance release featuring contributions from 15 developers. Detailed changes are documented in the official release blog post.
bun-v1.2.14Bun v1.2.14 is a maintenance release featuring contributions from 13 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.13Bun v1.2.13 is a maintenance release involving contributions from 7 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.12Bun v1.2.12 is a maintenance release involving contributions from 10 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.11Bun v1.2.11 is a maintenance release featuring contributions from 14 developers. Detailed changes are documented in the official Bun blog.
bun-v1.2.10Bun v1.2.10 is a maintenance release featuring contributions from 13 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.9Bun v1.2.9 is a maintenance release featuring contributions from 13 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.8Bun v1.2.8 is a maintenance release involving contributions from 10 developers. Detailed changes are documented in the official blog post.
bun-v1.2.7Bun v1.2.7 is a maintenance release featuring contributions from 13 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.6Bun v1.2.6 is a maintenance release featuring contributions from 23 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.5Bun v1.2.5 is a maintenance release involving contributions from 25 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.4Bun v1.2.4 is a maintenance release featuring contributions from 17 developers. Detailed changes are documented in the official release blog post.
bun-v1.2.3Bun v1.2.3 is a maintenance release involving contributions from 23 developers. Detailed feature updates and bug fixes are documented on the official Bun blog.
bun-v1.2.2Bun v1.2.2 is a maintenance release involving contributions from 12 developers. Detailed changes are documented on the official Bun blog.
bun-v1.2.1Bun v1.2.1 is a maintenance release following the major v1.2.0 launch, featuring contributions from 16 developers.
bun-v1.2.01 featureBun 1.2.0 is a major release featuring significant updates and improvements to the runtime. Users can upgrade via the 'bun upgrade' command.
bun-v1.1.45Bun v1.1.45 is a maintenance release involving contributions from five developers. Detailed changes are documented on the official Bun blog.
bun-v1.1.44Bun v1.1.44 is a maintenance release featuring contributions from 21 community members.
Common Errors
DataCloneError2 reportsDataCloneError in Bun generally arises when attempting to transfer objects between contexts (like worker threads or WASM) that contain non-transferable or non-clonable data, such as functions, native objects, or circular references. To resolve this, either restructure your data to exclude these problematic elements before transferring or leverage structured cloning alternatives allowing custom handling of specific data types that are not natively clonable in Bun. Ensure that you are only transferring plain JavaScript objects, arrays, and primitive values when using the default cloning mechanism.
TimedOutTimeoutError1 reportTimedOutTimeoutError in Bun often arises from network requests exceeding the default timeout, especially with HTTP/2. To fix this, explicitly set a longer timeout or disable HTTP/2 support for the individual request using the `timeout` option or the `http2: false` option, respectively, in the request configuration. You might also need to investigate and address any underlying network connectivity issues.
SyntaxError1 reportA "SyntaxError" in Bun often arises from duplicate export statements, especially when using code splitting or dynamic imports. To resolve this, carefully review your code and bundler configuration to ensure no modules are exporting the same symbol multiple times. Remove the duplicate export statements to eliminate the syntax error.
ZodFlattenedError1 reportZodFlattenedError in bun often stems from malformed JSON within a package's `package.json` file, usually an unterminated string or missing comma. Inspect your project and dependency `package.json` files for JSON syntax errors using a linter or online validator, and correct the mistakes to resolve the issue. Consider running `bun install` with a specific registry mirror using the `--registry` option as a temporary workaround to bypass problematic package versions if the error lies in an external dependency.
ZodFormattedError1 reportThe "ZodFormattedError" during bun installation often arises from syntax errors or incomplete code in package files, especially within dependencies using Zod. To fix it, carefully examine the package's source code (or its dependencies) for unterminated strings, missing semicolons, or invalid JSON. Reporting the specific package causing the issue to its maintainers can also lead to a quick resolution.
InvalidAccessError1 reportInvalidAccessError in Bun often arises when attempting DOM manipulation or accessing browser APIs outside of a proper browser environment or before the DOM is fully loaded. Ensure that your DOM-related operations are wrapped within `document.addEventListener('DOMContentLoaded', function(){ /* code here */ });` or executed within a browser context (if you intended to run browser code). If you're running code intended for Node, replace browser-specific code with Node equivalents or use a library like `jsdom` for a simulated environment.
Related Backend & Infra Packages
Production-Grade Container Scheduling and Management
Node.js JavaScript runtime ✨🐢🚀✨
Promise based HTTP client for the browser and node.js
A modern runtime for JavaScript and TypeScript.
Deliver web apps with confidence 🚀
Free and Open Source, Distributed, RESTful Search Engine
Subscribe to Updates
Get notified when new versions are released