From b9ae7f969337cabf011908421aedcaa8e984992f Mon Sep 17 00:00:00 2001 From: Rohin Bhargava Date: Fri, 26 Jul 2024 13:27:03 -0400 Subject: [PATCH] chore: add changelog and version for stream wrapper polyfill (#4130) * CHANGELOG and VERSION changes * add additional changelog comment * update changelog copy * add more markdown --- generators/typescript/sdk/CHANGELOG.md | 13 +++++++++++++ generators/typescript/sdk/VERSION | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/generators/typescript/sdk/CHANGELOG.md b/generators/typescript/sdk/CHANGELOG.md index 6fce0447f62..72d588b4928 100644 --- a/generators/typescript/sdk/CHANGELOG.md +++ b/generators/typescript/sdk/CHANGELOG.md @@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.36.2] - 2024-07-26 + +- Fix: This release comes with numerous improvements to streaming responses: + + 1. Introduces new stream wrapper polyfills that implement the ability to stream to more streams, per environment. + 2. For `Node 18+`, stream responses can now be piped to `WritableStream`. They can also be streamed to `stream.Writable`, as possible before. + 3. For `< Node 18`, stream responses can be piped to `stream.Writeable`, as before. + 4. For `Browser` environments, stream responses can be piped to `WritableStream`. + 5. For `Cloudflare Workers`, stream responses can be piped to `WritableStream`. + +- Fix: Now, there are generated unit tests for the `fetcher/stream-wrappers` core directory which makes sure that + Fern's stream wrapping from responses work as expected! + ## [0.36.1] - 2024-07-16 - Fix: Now, there are generated unit tests for the `auth` and `fetcher` core directory which makes sure that diff --git a/generators/typescript/sdk/VERSION b/generators/typescript/sdk/VERSION index 19199bccac8..d647c8a4416 100644 --- a/generators/typescript/sdk/VERSION +++ b/generators/typescript/sdk/VERSION @@ -1 +1 @@ -0.36.1 +0.36.2