unstale

npm / @effect/platform-bun

@effect/platform-bun

What changed in @effect/platform-bun 0.82 to 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

12 breaking2 security262 new APIs and options5 behavior and defaults9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@effect/platform-bun 4275 changes

Breaking changes 4

  • Default redacted names AWSAccessKeyId, Signature, sig, and X-Goog-Signature move from Headers.CurrentRedactedNames to UrlParams.CurrentRedactedNames; a custom list replaces these defaults.

    4.0.5release notes

  • Esc now ends terminal key input by default and cancels CLI prompts with Terminal.QuitError; pass a shouldQuit predicate to make to keep Esc non-cancelling.

    4.0.3release notes

  • Effect ecosystem packages share a single version; use the matching v4 version of this platform-specific package alongside effect.

    4.0.0upgrade guide

  • Server WebSockets now close with code 1000 on success, 1001 on interruption, or 1011 on failure, while preserving explicit close codes.

    4.0.0release notes

Security 2

  • The decoder does not read external resources or expand entities declared in a DOCTYPE, preventing external entity and entity expansion attacks.

    4.0.6docs

  • Sensitive query values and URL credentials are redacted in HTTP spans, request inspection, and error messages; URLs sent over the wire are unchanged.

    4.0.5release notes

New APIs and options 257

  • Applies an edit script to an array.

    4.0.6docs

  • Applies a text edit script to a string.

    4.0.6docs

  • Adds a context reference for specifying the statement that starts a top-level transaction instead of the client's BEGIN; defaults to undefined.

    4.0.6docs

  • Checks whether a version's precedence is within an inclusive range.

    4.0.6docs

  • Adds a constructor for ranges matching versions within inclusive bounds.

    4.0.6docs

  • Returns the next major release.

    4.0.6docs

  • Returns the next minor release.

    4.0.6docs

  • Returns the next patch release.

    4.0.6docs

  • Returns the first pre-release of the next major version.

    4.0.6docs

  • Returns the first pre-release of the next minor version.

    4.0.6docs

  • Returns the first pre-release of the next patch version.

    4.0.6docs

  • Returns the next pre-release.

    4.0.6docs

  • Adds a constructor for ranges matching versions compatible with a version.

    4.0.6docs

  • Constrains a version's precedence to an inclusive range.

    4.0.6docs

  • Adds a reason for a closed client, transport, or legacy HTTP session.

    4.0.6docs

  • Computes a minimal code point edit script between two strings.

    4.0.6docs

  • Adds an event interface for XML comments, holding the text between comment tags.

    4.0.6docs

  • Registers a compactor for one row event of a group.

    4.0.6docs

  • Adds an interface for the numeric components and identifiers of a version.

    4.0.6docs

  • Adds an API that joins byte chunks into one new Uint8Array.

    4.0.6docs

  • Adds a reason for invalid client or toolkit options.

    4.0.6docs

  • Adds a model that tracks writes to suppress their echoes on the same RPC connection.

    4.0.6docs

  • Adds a zip entry type whose uncompressed content is held in memory.

    4.0.6docs

  • Adds an interface for provider-specific response metadata keyed by provider name, which provider packages can augment.

    4.0.6docs

  • Answers each decision with a Result containing a validated answer or a Decision.Unanswered reason; input encoding and provider failures still fail the effect, and token usage covers the whole call.

    4.0.6docs

  • Adds an interface for per-decision outcomes, token usage, and response metadata for the whole request.

    4.0.6docs

  • Adds an event interface for the XML declaration at the start of a document.

    4.0.6docs

  • Creates a channel that parses UTF-8 bytes of one JSON document and emits the elements of one of its arrays.

    4.0.6docs

  • Creates a channel that decodes UTF-8 XML bytes into events.

    4.0.6docs

  • Creates a channel that decodes zip archive bytes into entries.

    4.0.6docs

  • Adds JSON array decoding options.

    4.0.6docs

  • Adds an interface for options for the XML decoders.

    4.0.6docs

  • Creates a channel that parses UTF-8 bytes of one JSON document and decodes the elements of one of its arrays with a schema.

    4.0.6docs

  • Creates a channel that parses the text of one JSON document and decodes the elements of one of its arrays with a schema.

    4.0.6docs

  • Creates a channel that parses the text of one JSON document and emits the elements of one of its arrays.

    4.0.6docs

  • Creates a channel that decodes XML text chunks into events.

    4.0.6docs

  • Adds a type for required fields whose string, number, or Uint8Array values can form keys without derive.

    4.0.6docs

  • Computes a minimal edit script between arrays, comparing items with Equal.equals.

    4.0.6docs

  • Classifies the change between two versions by release type.

    4.0.6docs

  • Creates a function that computes a minimal edit script between arrays using a custom equivalence.

    4.0.6docs

  • Creates a directory entry.

    4.0.6docs

  • Adds an event interface for a document type declaration.

    4.0.6docs

  • Adds the Edit type representing one run of an edit script.

    4.0.6docs

  • Adds an interface for a run of items present only in the before sequence.

    4.0.6docs

  • Adds an interface for a run of items present in both sequences.

    4.0.6docs

  • Adds an interface for a run of items present only in the after sequence.

    4.0.6docs

  • Adds an interface for an element collected by elements, with its attributes and children.

    4.0.6docs

  • Creates a channel that collects the elements at a path into trees.

    4.0.6docs

  • Adds an interface for options for elements.

    4.0.6docs

  • Creates a channel that writes a stream of values as UTF-8 bytes of one JSON array.

    4.0.6docs

  • Creates a channel that writes events as UTF-8 XML bytes.

    4.0.6docs

  • Creates a channel that encodes entries into zip archive bytes.

    4.0.6docs

  • Adds an API that encodes a value into a padded URL-safe Base64 string.

    4.0.6docs

  • Creates a channel that encodes values with a schema and writes them as UTF-8 bytes of one JSON array.

    4.0.6docs

  • Creates a channel that encodes values with a schema and writes them as the text of one JSON array.

    4.0.6docs

  • Creates a channel that writes a stream of values as the text of one JSON array.

    4.0.6docs

  • Creates a channel that writes events as XML text.

    4.0.6docs

  • Adds an event interface for an end tag.

    4.0.6docs

  • Adds a gauge tracking the mailbox size of each entity resident on the current runner.

    4.0.6docs

  • Adds a gauge tracking the largest mailbox size among the entities of each type resident on the current runner.

    4.0.6docs

  • Adds a zip entry type consisting of a header and a stream of uncompressed body bytes.

    4.0.6docs

  • Adds a type for the kind of object described by a zip entry.

    4.0.6docs

  • Checks whether two versions are structurally equal, including build metadata.

    4.0.6docs

  • Adds byte-by-byte equality comparison for byte sequences.

    4.0.6docs

  • Provides structural equivalence for versions, including build metadata.

    4.0.6docs

  • Adds the event type produced by decoders and consumed by encoders.

    4.0.6docs

  • Adds an interface for a row type that syncs through an EventLog.

    4.0.6docs

  • Adds a constructor for a range matching exactly one version.

    4.0.6docs

  • Adds options for file entries.

    4.0.6docs

  • Adds options for file entries whose content is streamed.

    4.0.6docs

  • Formats a version as its canonical string, including pre-release identifiers and build metadata.

    4.0.6docs

  • Adds canonical formatting for a range.

    4.0.6docs

  • Adds an interface for options to fromApi.

    4.0.6docs

  • Converts a version, version string, or version components into a SemVer.

    4.0.6docs

  • Adds conversion of a range or range string into a SemVerRange.

    4.0.6docs

  • Converts a version, version string, or version components into a SemVer and throws SemVerError for invalid input.

    4.0.6docs

  • Adds conversion of a range or range string into a SemVerRange, throwing SemVer.SemVerError for invalid input.

    4.0.6docs

  • Adds a constructor for ranges matching versions with higher precedence.

    4.0.6docs

  • Adds a constructor for ranges matching versions with at least the given precedence.

    4.0.6docs

  • Builds a handler for a row event to pass to handlers.handle.

    4.0.6docs

  • Adds a context reference for a transaction wrapping event handlers during remote batch replay and local write or writeMany operations.

    4.0.6docs

  • Checks whether a version has build metadata.

    4.0.6docs

  • Adds a type for zip entry metadata.

    4.0.6docs

  • Creates a Streamable HTTP transport with request-owned JSON or SSE responses.

    4.0.6docs

  • Adds an error for streaming request payloads that exceed a schema-declared limit; it responds with an empty 413 Payload Too Large and is ignored by error reporters.

    4.0.6docs

  • Adds a runtime identifier used to mark and detect HttpApiPayloadTooLarge values.

    4.0.6docs

  • Adds a reason for a non-success HTTP status; JSON-RPC error bodies supply code, data, and description.

    4.0.6docs

  • Adds a type for values accepted by fromInput: a version, version string literal, or version components.

    4.0.6docs

  • Adds the type of values accepted by fromInput: a range or a range string.

    4.0.6docs

  • Inverts an edit script so it turns the after sequence back into the before sequence.

    4.0.6docs

  • Checks whether the first version has higher precedence than the second.

    4.0.6docs

  • Checks whether the first version has higher or equal precedence than the second.

    4.0.6docs

  • Checks whether a version is in initial development, meaning its major version is 0.

    4.0.6docs

  • Adds a check for whether a value is a JsonArrayError.

    4.0.6docs

  • Checks whether the first version has lower precedence than the second.

    4.0.6docs

  • Checks whether the first version has lower or equal precedence than the second.

    4.0.6docs

  • Adds a guard that returns whether a value is an MCP client.

    4.0.6docs

  • Adds a guard that checks whether a value is an McpClientError.

    4.0.6docs

  • Adds a guard that checks whether a value is an McpClientError reason.

    4.0.6docs

  • Checks whether a version has pre-release identifiers.

    4.0.6docs

  • Checks whether a value is a SemVer.

    4.0.6docs

  • Checks whether a value is a SemVerError.

    4.0.6docs

  • Adds a check for whether a value is a SemVerRange.

    4.0.6docs

  • Checks whether a value is a TextDiffError.

    4.0.6docs

  • Adds a check for whether a value is an XmlError.

    4.0.6docs

  • Checks whether a value is a ZipError.

    4.0.6docs

  • Adds an error raised when JSON array encoding or decoding fails.

    4.0.6docs

  • Adds a type for JSON-RPC messages exchanged by MCP peers.

    4.0.6docs

  • Adds a schema for JSON-RPC messages exchanged by MCP peers.

    4.0.6docs

  • Adds a type for JSON-RPC notifications without a request identifier.

    4.0.6docs

  • Adds a schema for JSON-RPC notifications without a request identifier.

    4.0.6docs

  • Adds a type for JSON-RPC requests.

    4.0.6docs

  • Adds a schema for JSON-RPC requests.

    4.0.6docs

  • Adds a type for JSON-RPC responses carrying exactly one result or remote error.

    4.0.6docs

  • Adds a schema for JSON-RPC responses carrying a result or remote error.

    4.0.6docs

  • Adds a type for a row key declared from one or more fields.

    4.0.6docs

  • Adds a type for the values of a row's declared key fields.

    4.0.6docs

  • Provides a connected MCP client over Streamable HTTP using the HTTP client.

    4.0.6docs

  • Provides a connected MCP client over stdio using the child process spawner.

    4.0.6docs

  • Adds a constructor for ranges matching versions with lower precedence.

    4.0.6docs

  • Adds a constructor for ranges matching versions with at most the given precedence.

    4.0.6docs

  • Adds a reason for a message or discovery scan exceeding a client limit.

    4.0.6docs

  • Computes a minimal line-level edit script between two strings.

    4.0.6docs

  • Constructs and connects a client using the supplied MCP transport service and its protocol adapter.

    4.0.6docs

  • Defines a row type as a single event.

    4.0.6docs

  • Creates a version from its components and throws SemVerError for invalid components.

    4.0.6docs

  • Adds a check for whether a range matches a version.

    4.0.6docs

  • Adds options controlling how pre-release versions match a range.

    4.0.6docs

  • Returns the version with higher precedence, preferring the first on ties.

    4.0.6docs

  • Adds selection of the matching version with the highest precedence.

    4.0.6docs

  • Adds scoped Effect clients for MCP servers that discover tools, prompts, and resources. Tool-reported errors are results by default; supplying a schema turns them into a ToolError reason retaining the original result.

    4.0.6docs

  • Adds an error wrapping an MCP client or transport failure reason.

    4.0.6docs

  • Adds a union type for MCP client and transport failure reasons.

    4.0.6docs

  • Adds a schema for the reasons carried by an McpClientError.

    4.0.6docs

  • Adds a type for the compression method of a zip entry.

    4.0.6docs

  • Returns the version with lower precedence, preferring the first on ties.

    4.0.6docs

  • Adds selection of the matching version with the lowest precedence.

    4.0.6docs

  • Adds an unstable type describing why a decoder rejected a line.

    4.0.6docs

  • Adds lexicographic ordering by unsigned byte value, with prefixes before longer sequences that start with them.

    4.0.6docs

  • Orders versions by Semantic Versioning precedence.

    4.0.6docs

  • Adds an unstable type for a validated answer or the reason the decision is unanswered.

    4.0.6docs

  • Adds an unstable type for settled results keyed by decision name.

    4.0.6docs

  • Parses a strict Semantic Versioning 2.0.0 string.

    4.0.6docs

  • Adds parsing for npm-style version ranges.

    4.0.6docs

  • Parses a strict Semantic Versioning 2.0.0 string and throws SemVerError for invalid input.

    4.0.6docs

  • Adds parsing for npm-style version ranges, throwing SemVer.SemVerError for invalid input.

    4.0.6docs

  • Adds a type for optional non-key fields of a patch payload.

    4.0.6docs

  • Adds a type for decoded payloads of row events.

    4.0.6docs

  • Adds a type for the schema of a row event's payload, derived from the row schema.

    4.0.6docs

  • Adds a type for a row's primary key, using the key value for a string-typed single-field key and string otherwise.

    4.0.6docs

  • Adds an event interface for processing instructions.

    4.0.6docs

  • Adds a reason for a JSON-RPC error or a message invalid for the selected protocol.

    4.0.6docs

  • Adds a type for supported MCP wire protocol revisions.

    4.0.6docs

  • Adds an interface representing a provider refusal to answer a decision.

    4.0.6docs

  • Registers a series backed by caller-supplied hooks, for gauges whose value is read when metrics are snapshotted rather than pushed with updates.

    4.0.6docs

  • Adds a handle for a series registered with Metric.registerUnsafe.

    4.0.6docs

  • Removes pre-release identifiers and build metadata from a version.

    4.0.6docs

  • Adds a type naming version changes, matching npm's release types.

    4.0.6docs

  • Adds a model for a local entry's remote-assigned sequence.

    4.0.6docs

  • Removes the series of a metric for the current attributes from the metric registry.

    4.0.6docs

  • Removes the series of a metric for the attributes in the provided Context from the metric registry in that Context.

    4.0.6docs

  • Adds a type for required fields that can be part of a declared row key.

    4.0.6docs

  • Adds immutable Semantic Versioning 2.0.0 values with strict parsing, canonical formatting, precedence ordering, and version bumps.

    4.0.6docs

  • Adds an unstable type-level representation of SemVer.

    4.0.6docs

  • Adds an unstable schema for SemVer values.

    4.0.6docs

  • Adds an error raised for invalid version strings, ranges, or components.

    4.0.6docs

  • Adds an unstable type-level representation of SemVerFromString.

    4.0.6docs

  • Adds an unstable schema that parses a Semantic Versioning 2.0.0 string into a SemVer.

    4.0.6docs

  • Adds an interface representing an npm-style version range.

    4.0.6docs

  • Adds an unstable type-level representation of SemVerRange.

    4.0.6docs

  • Adds an unstable schema for SemVerRange values.

    4.0.6docs

  • Adds an unstable type-level representation of SemVerRangeFromString.

    4.0.6docs

  • Adds an unstable schema that parses an npm-style version range string into a SemVerRange.

    4.0.6docs

  • Adds an unstable reviver for persisted Schema.SemVerRange declarations.

    4.0.6docs

  • Adds an unstable reviver for persisted Schema.SemVer declarations.

    4.0.6docs

  • Adds an event interface for start tags, with attributes in document order.

    4.0.6docs

  • Starts a scoped subprocess using newline-delimited JSON-RPC.

    4.0.6docs

  • Adds a schema for a stream of newline-delimited JSON elements.

    4.0.6docs

  • Adds an event interface for character data inside the root element.

    4.0.6docs

  • Adds a module for computing, applying, inverting and formatting array and text edit scripts using Myers' algorithm.

    4.0.6docs

  • Adds an error for edit scripts that do not fit the input they are applied to.

    4.0.6docs

  • Adds a constructor for ranges matching patch-level changes of a version.

    4.0.6docs

  • Adds a reason for an operation that exceeds its deadline.

    4.0.6docs

  • Derives a JSON codec that also accepts null values written by Go's encoding/json for nil pointers, slices, and maps.

    4.0.6docs

  • Adds a reason for a tool execution error and retains the complete result.

    4.0.6docs

  • Discovers remote tools and binds their handlers using the standard Toolkit implementation.

    4.0.6docs

  • Adds a transport interface for exchanging JSON-RPC messages with one MCP server using its protocol adapter, and a service supplied by the built-in transport constructors and layers.

    4.0.6docs

  • Adds a reason for connection failures involving process or HTTP request startup, writes, reads, or early termination.

    4.0.6docs

  • Adds an unstable interface describing the reason and description of the first failed answer validation check.

    4.0.6docs

  • Formats a line edit script as a unified diff.

    4.0.6docs

  • Adds a constant representing the MCP error code returned when a server does not support the protocol version requested by a client.

    4.0.6docs

  • Adds a reason for unsupported operations or tool results that cannot be converted for a language model.

    4.0.6docs

  • Adds a combinator that asks the server to switch the connection to another protocol by setting the Connection: Upgrade and Upgrade headers.

    4.0.6docs

  • Adds the return value model for client methods on endpoints declared with HttpApiSchema.Upgrade, containing the 101 Switching Protocols response headers and upgraded connection.

    4.0.6docsdocs

  • Adds a reason for request payloads, tool arguments, or results that fail schema validation.

    4.0.6docs

  • Adds a type for version string literals accepted by fromInput.

    4.0.6docs

  • Replaces a version's build metadata and throws SemVerError for invalid identifiers.

    4.0.6docs

  • Replaces a version's pre-release identifiers and throws SemVerError for invalid identifiers.

    4.0.6docs

  • Adds a type for row events returned by a row's set, patch, and remove constructors.

    4.0.6docs

  • Adds a schema for a written entry's id and the sequence at which the server stores it, including acknowledgements for entries written again in partly known batches.

    4.0.6docs

  • Adds an error raised when XML cannot be decoded or encoded.

    4.0.6docs

  • Adds a module for encoding and decoding zip archives as streams in Effect channels; encryption, other compression methods, and split archives are not supported.

    4.0.6docs

  • Error raised when a zip archive cannot be encoded or decoded.

    4.0.6docs

  • Creates a channel that decodes tar archive bytes into entries.

    4.0.5docs

  • Creates a directory entry for a tar archive.

    4.0.5docs

  • Creates a channel that encodes entries into tar archive bytes.

    4.0.5docs

  • Adds a tar entry interface representing a header and a stream of exactly header.size body bytes.

    4.0.5docs

  • Adds the options interface for entry constructors.

    4.0.5docsdocs

  • Adds a type for the kind of filesystem object described by a tar entry.

    4.0.5docs

  • Creates a regular file entry from in-memory content.

    4.0.5docsdocs

  • Creates a regular file entry whose content is streamed from body.

    4.0.5docsdocs

  • Creates a hard link entry pointing at another entry of the archive.

    4.0.5docs

  • Adds an interface for tar entry metadata.

    4.0.5docs

  • Checks whether a value is a TarError.

    4.0.5docs

  • Creates a symbolic link entry pointing at target.

    4.0.5docs

  • Adds an error raised when a tar archive cannot be encoded or decoded.

    4.0.5docs

  • Adds an API for checking whether a URL parameter name is redacted.

    4.0.5release notes

  • Adds an API for explicit redaction of URL parameter values.

    4.0.5release notes

  • Adds an API for explicitly redacting URLs.

    4.0.5release notes

  • Adds UDP socket support on Bun.

    4.0.3release notes

  • Adds a helper for name server inputs in the platform Dns services.

    4.0.3release notes

  • Node and Bun WebSocket clients can send handshake headers alongside subprotocols through socket constructors, channels, and layers.

    4.0.3release notes

  • Adds a service tag for the scheduled time of the cron run currently executing.

    4.0.0docs

  • Adds an unstable schema for HTTP date header values, decoded as DateTime.Utc, and a type-level representation.

    4.0.0docs

  • Adds a type for an encrypted batch stored by a remote server, including the remote sequence of its first entry.

    4.0.0docs

  • Formats a DateTime as an IMF-fixdate HTTP date.

    4.0.0docs

  • Formats a Retry-After value as a header value: the delay as whole seconds, or the date as an IMF-fixdate.

    4.0.0docs

  • Adds an unstable API that registers a batch compaction handler for an event group.

    4.0.0docs

  • Adds an error returned when a header value does not match its grammar.

    4.0.0docs

  • Adds an error reason describing which header value failed to parse.

    4.0.0docs

  • Checks whether a value is a HeaderParseError.

    4.0.0docs

  • Adds a registry of reactivity keys and the ID type each key accepts.

    4.0.0docs

  • Adds the keys accepted by the public reactivity APIs.

    4.0.0docs

  • Adds a layer that detects terminal capabilities from Stdio and the current ConfigProvider.

    4.0.0docs

  • Provides a layer that resolves directories for the host platform.

    4.0.0docs

  • Provides a layer that resolves directories for a specified platform.

    4.0.0docs

  • Creates a resolver that reads the environment from the current ConfigProvider on every call, using platform conventions.

    4.0.0docs

  • Adds an error for invalid non-empty NDJSON frames; its cause field preserves the original JSON parsing error.

    4.0.0docs

  • Parses an HTTP date header value into a UTC DateTime.

    4.0.0docs

  • Sets the schema parse options used by RpcClient and RpcServer when encoding and decoding an RPC's payload, success values, stream chunks, and exits.

    4.0.0docs

  • Parses a Retry-After header value.

    4.0.0docs

  • Adds a type representing a parsed Retry-After header value.

    4.0.0docs

  • Adds an unstable schema for parsed Retry-After header values and a type-level representation.

    4.0.0docs

  • Creates a Retry-After value from an HTTP date.

    4.0.0docs

  • Adds an interface for a Retry-After value given as an HTTP date.

    4.0.0docs

  • Computes how long to wait for a Retry-After value, measured from now in epoch milliseconds.

    4.0.0docs

  • Creates a Retry-After value from a delay.

    4.0.0docs

  • Adds an interface for a Retry-After value given as a delay.

    4.0.0docs

  • Provides an Equivalence instance for Retry-After values.

    4.0.0docs

  • Adds an unstable schema that decodes Retry-After header values with Headers.parseRetryAfter, and a type-level representation.

    4.0.0docs

  • Adds a timer tracking how long the current runner takes to release a shard after reassignment, lock loss or shutdown handoff.

    4.0.0docs

  • Adds a reference to the current process's terminal capabilities and an interface for its terminal rendering flags.

    4.0.0docs

  • Returns the original Web Response of a fetch-backed HttpClientResponse.

    4.0.0docs

  • Adds options for xForwardedHeaders.

    4.0.0docs

  • Adds an identifier for a UserDirectories service.

    4.0.0docs

  • Adds an interface for resolving the directories where an application keeps its files.

    4.0.0docs

  • Adds a service tag for the user directory resolver.

    4.0.0docs

Behavior and default changes 5

  • Adds a range matching every release, written *.

    4.0.6docs

  • The module is experimental and may receive breaking changes in patch releases.

    4.0.6docs

  • Unless a CliOutput.Formatter is provided, built-in Command help, version, and error output follows canColor.

    4.0.0docs

  • Every module and directly importable export now has an explicit stability tag; stable follows strict semver, while unstable may receive breaking changes in minor releases.

    4.0.0release notesupgrade guide

  • The default reads NO_COLOR, FORCE_COLOR, TERM, and the current process's TTY state; the layer reads the same variables through ConfigProvider and the TTY state of Stdio.

    4.0.0docs

Fixes and other changes 7

  • Bumps a version by release type.

    4.0.6docs

  • When self.close is unavailable, Bun worker finalizers now complete before exit.

    4.0.3release notes

  • Accepts address inputs.

    4.0.3release notes

  • Server middleware such as HttpMiddleware.logger and HttpMiddleware.tracer now reports status 101 for a successful WebSocket upgrade instead of the handler's discarded response status.

    4.0.2release notes

  • Readers no longer throw when a pull is interrupted or its scope closes during a read; consumed bytes are preserved in order across interruption and normal EOF, and discarded when the reader scope closes.

    4.0.1release notes

  • The Bun package provides the platform Crypto service.

    4.0.0release notes

  • HTTP request scopes retain the handler's failure exit through response handling and middleware.

    4.0.0release notes

@effect/platform-bun 0.914 changes

New APIs and options 2

  • Cluster RPC serialization buffer limits can now be configured.

    0.91.2release notes

  • Adds the extendEnv option for spawning commands with a clean environment.

    0.91.1release notes

Fixes and other changes 2

  • WebSocket compression now preserves options and compresses outgoing messages.

    0.91.3release notes

  • Server WebSockets now close with code 1001 (Going Away) instead of 1011 when the handler fiber is only interrupted.

    0.91.3release notes

@effect/platform-bun 0.872 changes

New APIs and options 2

@effect/platform-bun 0.829 changes

Breaking changes 8

  • The Bun cluster HTTP runner is now available from @effect/cluster as BunClusterHttp.

    0.82.0release notes

  • The platform-bun runner name was replaced by @effect/cluster/BunClusterHttp.

    0.82.0release notes

  • The Bun cluster socket runner is now available from @effect/cluster as BunClusterSocket.

    0.82.0release notes

  • The platform-bun runner name was replaced by @effect/cluster/BunClusterSocket.

    0.82.0release notes

  • Shard locks now use database advisory locks, requiring stable database sessions; load balancers or proxies that rotate connections may cause issues.

    0.82.0release notes

  • The EntityNotManagedByRunner error has been removed.

    0.82.0release notes

  • @effect/cluster no longer requires a Shard Manager and instead uses the RunnerStorage service to track runner state.

    0.82.0release notes

  • The ShardManager module has been removed; remove Shard Manager deployments and use the updated platform layers.

    0.82.0release notes

New APIs and options 1

  • Added a layer that uses the Kubernetes API to track runner health and liveness; using it requires a service account with permission to read pod information.

    0.82.0release notes