mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 12:29:07 +00:00
docs: add missing v1.2.3 changelog information
Add documentation for features and improvements from Bun v1.2.3:
- bun install --analyze flag for scanning and installing missing dependencies
- SQL array retrieval support with null handling
- NODE_EXTRA_CA_CERTS environment variable for custom CA certificates
- Buffer.inspect() hexadecimal output format
- Node.js fs APIs support for embedded files in executables
- Environment variables in HTML via bunfig.toml
- IPInt WebAssembly interpreter with performance improvements
- process.binding("fs") and process.binding("buffer") support
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -420,6 +420,16 @@ console.log(buf.toString());
|
||||
// => Hello world
|
||||
```
|
||||
|
||||
When printing `Buffer` instances with `console.log()`, `Bun.inspect()`, or `node:util.inspect()`, the output format shows byte content in hexadecimal and additional properties:
|
||||
|
||||
```ts
|
||||
let b = Buffer.allocUnsafe(4);
|
||||
b.fill("1234");
|
||||
b.specialnumber = 42;
|
||||
console.log(b);
|
||||
// => <Buffer 31 32 33 34, specialnumber: 42>
|
||||
```
|
||||
|
||||
For complete documentation, refer to the [Node.js documentation](https://nodejs.org/api/buffer.html).
|
||||
|
||||
## `Blob`
|
||||
|
||||
Reference in New Issue
Block a user