Bun bun-v0.6.8stable Released Jun 10, 2023
โš ๏ธ Breaking Change Impact Score: 7/10

Bun v0.6.8

Source available โ€” automated, not human-reviewed

Component: bun ยท Channel: stable. Automated analysis, not a compatibility certification. How this works.

Analysis updated: 2026-11-01.

Breaking-change evidence from the source

  • [breaking][bun:sqlite] `.values()` returns `[]` instead of `null` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3219
Read the original context โ†—
Source flags breaking changes โ€” review applicability
๐Ÿ“„ .MD
โšก Executive Summary (TL;DR)

Bun bun-v0.6.8. Source highlight: **Read Bun v0.6.8's release notes on Bun's blog**

Who Does This Impact? (Role-Based Analysis)

๐Ÿ’ป Software Engineers & Devs

Check the source notes against the package and APIs you use before upgrading.

๐Ÿ“Š Product & Engineering Leads

Use the documented changes to assess relevance to your product; release frequency alone is not a quality measure.

โš™๏ธ DevOps & Security

Verify the target version, runtime requirements and rollback procedure in the official documentation.

โš ๏ธ Breaking Changes & Deprecations (1)

  • [breaking][bun:sqlite] `.values()` returns `[]` instead of `null` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3219

โœจ New Features & Capabilities (3)

  • Add test case for bundler
  • add a test for lodash-es
  • docs: add missing right parenthesis in example code

โšก Performance & Enhancements (2)

  • improve stream types
  • Improve types for mocks

๐Ÿ”ง Bug Fixes & Patches (5)

  • [Transpiler] Fix normalizing \r\n in tagged template string literals
  • [transpiler] Fix new length for raw template contents
  • Fix to retain a newline after removing a package
  • [install] fix life cycle scripts execution
  • Fixes #3206
๐Ÿ“„ View Raw Release Notes (Original Developer Log)
**[Read Bun v0.6.8's release notes on Bun's blog](https://bun.sh/blog/bun-v0.6.8)** To install: ```bash curl https://bun.sh/install | bash # or you can use npm # npm install -g bun ``` To upgrade: ```bash bun upgrade ``` ## What's Changed * [tests] prisma tests by @cirospaciari in https://github.com/oven-sh/bun/pull/3197 * make hardcoded -> make esm + document needing bun to build bun by @paperdave in https://github.com/oven-sh/bun/pull/3188 * Add test case for bundler by @paperdave in https://github.com/oven-sh/bun/pull/3186 * [Transpiler] Fix normalizing \r\n in tagged template string literals by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3209 * `removeAllListeners` return `this` by @dylan-conway in https://github.com/oven-sh/bun/pull/3208 * Implement `Bun.password` and `Bun.passwordSync` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3204 * [transpiler] Fix new length for raw template contents by @dylan-conway in https://github.com/oven-sh/bun/pull/3215 * allow `v` flag in regexp literal by @dylan-conway in https://github.com/oven-sh/bun/pull/3213 * add a test for lodash-es by @paperdave in https://github.com/oven-sh/bun/pull/3217 * Bun.passwordSync -> Bun.password.{method}Sync by @colinhacks in https://github.com/oven-sh/bun/pull/3228 * put exact zig version in development docs by @paperdave in https://github.com/oven-sh/bun/pull/3229 * Docs for `Bun.password` and ws publish by @colinhacks in https://github.com/oven-sh/bun/pull/3227 * console.log(Buffer.from('a')) -> `Buffer(1) [...` instead of `Uint8Array(1) [...` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3220 * [breaking][bun:sqlite] `.values()` returns `[]` instead of `null` by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3219 * improve stream types by @paperdave in https://github.com/oven-sh/bun/pull/3240 * replace `sudo` usage in GitHub Actions by @alexlamsl in https://github.com/oven-sh/bun/pull/3254 * docs: add missing right parenthesis in example code by @jamesliu96 in https://github.com/oven-sh/bun/pull/3245 * Fix to retain a newline after removing a package by @ytakhs in https://github.com/oven-sh/bun/pull/3231 * Implement mocks in bun:test by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3252 * Improve types for mocks by @colinhacks in https://github.com/oven-sh/bun/pull/3261 * [install] fix life cycle scripts execution by @alexlamsl in https://github.com/oven-sh/bun/pull/3235 * Fixes #3206 by @Jarred-Sumner in https://github.com/oven-sh/bun/pull/3262 * `toMatchObject` and some asymmetric matchers by @dylan-conway in https://github.com/oven-sh/bun/pull/3260 * [docs] update implemented matchers by @dylan-conway in https://github.com/oven-sh/bun/pull/3264 ## New Contributors * @jamesliu96 made their first contribution in https://github.com/oven-sh/bun/pull/3245 * @ytakhs made their first contribution in https://github.com/oven-sh/bun/pull/3231 **Full Changelog**: https://github.com/oven-sh/bun/compare/bun-v0.6.7...bun-v0.6.8