Best of Bun2024

  1. 1
    Article
    Avatar of bunBun·2y

    Bun v1.0.27

    Bun v1.0.27 is a release that fixes 72 bugs, improves Bun Shell, and adds support for streaming Response bodies using async generators.

  2. 2
    Article
    Avatar of bunBun·2y

    Bun v1.0.26

    Bun is an incredibly fast JavaScript runtime, bundler, transpiler, and package manager. The latest release of Bun fixes bugs, adds new features, and improves compatibility with Node.js.

  3. 3
    Article
    Avatar of bunBun·2y

    Compile and run C in JavaScript

    Bun v1.1.28 introduces experimental support for compiling and running native C from JavaScript. This method aims to overcome the complexities and performance hits associated with current practices like N-API and WebAssembly. By using TinyCC, Bun ensures fast compilation and near-zero call overhead, making it ideal for integrating C libraries and system APIs with JavaScript without a separate build step.

  4. 4
    Article
    Avatar of bunBun·2y

    How Bun supports V8 APIs without using V8 (part 2)

    Bun aims to support V8 APIs without using V8 by simulating V8's memory layout using JavaScriptCore (JSC) types. Key methods include representing tagged pointers, managing maps and objects, and ensuring that native modules precompiled for the V8 API still function properly. Additionally, Bun implements Node.js-style module registration, allowing easier writing and testing of native addons. Future work will address JSC's garbage collector interaction, representation of various JavaScript values, and other parts of the V8 compatibility layer.

  5. 5
    Article
    Avatar of bunBun·2y

    Bun v1.1.26

    Bun v1.1.26 introduces fixes for 9 bugs and several new features. Notable updates include a new 'bun outdated' command to identify outdated dependencies, enhanced 'Bun.serve()' method with 'idleTimeout' and 'subscriberCount' options, and improvements in Bun's test runner like 'test.only' to skip other tests. Additionally, Bun has increased Node.js compatibility and introduced several bug fixes.

  6. 6
    Article
    Avatar of bunBun·2y

    Bun v1.1.27

    Bun v1.1.27 brings significant updates including 130 bug fixes, faster node:zlib performance, static route options in Bun.serve(), support for cloning ReadableStream in requests and responses, per-request timeouts, and better CTRL+C handling in bun run. Enhancements for watching arbitrary file types, and numerous Node.js compatibility improvements are also featured. Installation and upgrade instructions are provided for various platforms.

  7. 7
    Article
    Avatar of bunBun·2y

    Bun v1.1.11

    Bun v1.1.11 is a release that fixes 36 bugs, improves Node.js compatibility, and introduces new features. It also includes installation instructions and information about hiring systems engineers in San Francisco.

  8. 8
    Article
    Avatar of bunBun·2y

    Bun v1.1.9

    Bun v1.1.9 is a release that includes bug fixes for workspaces, improved IPv4, IPv6, and VPN connectivity, faster fetch() function, new dns.prefetch() API, and more. It also mentions the availability of job positions for systems engineers in San Francisco.

  9. 9
    Article
    Avatar of bunBun·2y

    Bun v1.0.29

    Bun v1.0.29 is an update that includes bug fixes, performance improvements, and new features like Bun.stringWidth(), expect().toBeOneOf() in bun:test, and support for advanced redirects in Bun Shell. It also announces upcoming Windows support in Bun v1.1.