3.59.1

(fix): Fix generated README.md including the “Customizing Fetch Client” section under “Runtime Compatibility” even when allowCustomFetcher is false. The section and its code snippet are now conditionally omitted when the custom fetcher option is disabled.

3.59.0

(feat): Make readyState on generated WebSocket socket classes return a ReadyState enum (CONNECTING, OPEN, CLOSING, CLOSED) instead of a raw number, improving developer experience with IDE autocompletion and self-documenting code.

3.58.1

(fix): Export the generated Socket class from subpackage exports.ts when WebSocket clients are enabled. Previously only the Client class was exported, making the Socket class inaccessible through the public exports path.

3.58.0

(fix): Add explicit type annotation to mockServerPool export in generated test mock-server code to satisfy --isolatedDeclarations.

(feat): Enable vitest typechecking in generated vitest config so that type errors in test and source files are caught when running vitest.