From c47794f57cfd5d256630ec4a2889aa572ede2f26 Mon Sep 17 00:00:00 2001 From: Rohin Bhargava Date: Fri, 26 Jul 2024 13:19:53 -0400 Subject: [PATCH 1/4] CHANGELOG and VERSION changes --- generators/typescript/sdk/CHANGELOG.md | 12 ++++++++++++ generators/typescript/sdk/VERSION | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/generators/typescript/sdk/CHANGELOG.md b/generators/typescript/sdk/CHANGELOG.md index 6fce0447f62..c47c2e09266 100644 --- a/generators/typescript/sdk/CHANGELOG.md +++ b/generators/typescript/sdk/CHANGELOG.md @@ -5,6 +5,18 @@ 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. For Node 18+, stream responses can now be piped to WritableStream. They can also be streamed to stream.Writable, as possible before. + 2. For < Node 18, stream responses can be piped to stream.Writeable, as before. + 3. For browser environments, stream responses can be piped to WritableStream. + 4. 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 From 4940e60d3bec2c476ca9e06a04eaa49cdb8bb7e0 Mon Sep 17 00:00:00 2001 From: Rohin Bhargava Date: Fri, 26 Jul 2024 13:22:13 -0400 Subject: [PATCH 2/4] add additional changelog comment --- generators/typescript/sdk/CHANGELOG.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/generators/typescript/sdk/CHANGELOG.md b/generators/typescript/sdk/CHANGELOG.md index c47c2e09266..e4a9b058b5b 100644 --- a/generators/typescript/sdk/CHANGELOG.md +++ b/generators/typescript/sdk/CHANGELOG.md @@ -9,10 +9,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix: This release comes with numerous improvements to streaming responses: - 1. For Node 18+, stream responses can now be piped to WritableStream. They can also be streamed to stream.Writable, as possible before. - 2. For < Node 18, stream responses can be piped to stream.Writeable, as before. - 3. For browser environments, stream responses can be piped to WritableStream. - 4. For Cloudflare Workers, stream responses can be piped to WritableStream + 1. Introduces new stream polyfills that implement ability to stream to available type of 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! From f28f29ab4bed518fb51d337dc2b54e4322a65b79 Mon Sep 17 00:00:00 2001 From: Rohin Bhargava Date: Fri, 26 Jul 2024 13:23:45 -0400 Subject: [PATCH 3/4] update changelog copy --- generators/typescript/sdk/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generators/typescript/sdk/CHANGELOG.md b/generators/typescript/sdk/CHANGELOG.md index e4a9b058b5b..53d4eb58da5 100644 --- a/generators/typescript/sdk/CHANGELOG.md +++ b/generators/typescript/sdk/CHANGELOG.md @@ -9,10 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix: This release comes with numerous improvements to streaming responses: - 1. Introduces new stream polyfills that implement ability to stream to available type of streams, per environment. + 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. + 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 From 9651ba9ae263d539d45eeb3d4b294d4724c74caf Mon Sep 17 00:00:00 2001 From: Rohin Bhargava Date: Fri, 26 Jul 2024 13:26:40 -0400 Subject: [PATCH 4/4] add more markdown --- generators/typescript/sdk/CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/generators/typescript/sdk/CHANGELOG.md b/generators/typescript/sdk/CHANGELOG.md index 53d4eb58da5..72d588b4928 100644 --- a/generators/typescript/sdk/CHANGELOG.md +++ b/generators/typescript/sdk/CHANGELOG.md @@ -10,10 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - 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 + 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!