This release fixes a long-standing annoyance with Bun's built-in TypeScript types. Previously, global types that exist in both browsers and Node.js-like environments (such as EventSource, Performance, and BroadcastChannel) were declared with empty interfaces like interface EventSource {}. This allowed them to merge with the DOM's built-in types when you included "lib": ["dom"] in your tsconfig.json.However, if you did not include the DOM library then any usage of these interfaces would appear empty, with no properties existing.Bun's types are now smarter. They detect if "lib": ["dom"] is present in your tsconfig.json and if it's not, they automatically extend the corresponding Node.js-compatible types from modules like undici-types, node:perf_hooks, and node:worker_threads.Thanks to for the contribution!NODE_NO_WARNINGS environment variable is now respectednode:http2 no longer sends multiple RST frames when it should only send oneThe -t filter now hides skipped and todo tests from the outputMemory corruption that could cause the names of later tests to be corrupted when a beforeEach hook threw an error has been fixedA rare hypothetical crash in Bun.which() has been fixedThe Request constructor now stores the redirect option, fixing a bug where fetch() would not prevent redirects when the input Request had passed redirect: "manual" in the constructor.Fixed a bug that could remove the Content-Type header after accessing request.body when the input Request came from a FormData object or from ReadableStream objects constructed from some code paths.Bun.inspect now shows file size for Response objects when a Bun.file is passed in.Fixed a bug that could cause unref'd setTimeout or setInterval to not be executed in very tiny applicationsA crash that could occur on Windows when using async macros inside the bundler has been fixed. This impacted OpenCode.The "error" event on WebSocket now includes an Error object instead of just a string.Bun.S3 presigned URLs now sort query parameters alphabetically, fixing a bug that could lead to invalid signature generation.fetch() now allows users to override the Connection header, fixing a bug that could cause fetch() to always set the Connection header to keep-alive.A bug in Bun.s3 when loading HTTP-only S3_ENDPOINT from environment variables has been fixed.Fixed a bug that could cause a "identifier has already been declared" error with React HMR when referencing a default exported component from a sibling scopeFixed a bug that could occur when using onLoad plugins and loader: "file"Fixed a CSS parser bug that could occur when parsing CSS with calc() and color-mix() involving hsl()Fixed a bug when sourcemap: true was passed to Bun.build, the sourcemap would not be generated. Previously it would only accept a string enum.ReadableStream now includes .text(), .json(), .bytes(), and .blob()process.env types no longer incorrectly inherit from import.meta.envTypeScript types for Bun.serve now correctly support Bun.file()A bug when passing multiple packages via CLI to add to the project when using certain dependency types in bun install has been fixed.bunx yarn no longer fails on Windows due to an unnecessary postinstall scriptbun install summary output is now buffered, which in large monorepos makes bun install about 20ms fasterA bug when a lifecycle script failed due to the directory being deleted during bun install has been fixedA bug when using $-prefixed variables in package.json scripts has been fixed.A bug due to incorrect handling of EPIPE errors has been fixed.Bun v1.2.18Bun v1.2.20On this pageResources ToolkitProjectBaked with ❤️ in San Francisco, Bun is the complete toolkit for building and testing full-stack JavaScript and TypeScript applications. If you're new to Bun, you can learn more from the Bun 1.0 blog post., This discussion was created from the release Bun v1.2.19. Hi, Decided to try bun out for the first time. any body else getting ssl Timeouts?.