github oven-sh/bun bun-v0.0.41
Bun v0.0.41

latest releases: bun-v1.1.29, bun-v1.1.28, bun-v1.1.27...
2 years ago

To upgrade:

bun upgrade

What's new:

bun run:

bun run ./file.js now supports running JavaScript, TS, TSX, and JSX files using Bun.js. If you pass bun run a filepath to a .js, .jsx, .tsx, or .ts file, it will run it with Bun.js instead of saying "error: Missing script". This is very experimental!

Bun.js

Bun.js is Bun's JavaScript runtime environment.

  • Top-level await works now
  • performance.now() is implemented

Bug fixes

  • [.env loader] functions from bash were exported incorrectly due to parsing process environment variables similarly to .env files which is unnecessary. Now process environment variables are passed through without extra parsing
  • fetch() wasn't working due to a silly mistake. That's fixed

Don't miss a new bun release

NewReleases is sending notifications on new releases.