@@ -308,6 +308,12 @@ export const fromEffectDrain = <A, E, R>(effect: Effect.Effect<A, E, R>): Stream
308308 fromPull ( Effect . succeed ( Effect . flatMap ( effect , ( ) => Cause . done ( ) ) ) )
309309
310310/**
311+ * **Previously Known As**
312+ *
313+ * This API replaces the following from Effect 3.x:
314+ *
315+ * - `Stream.repeatEffect`
316+ *
311317 * @since 4.0.0
312318 * @category constructors
313319 */
@@ -318,6 +324,12 @@ export const fromEffectRepeat = <A, E, R>(effect: Effect.Effect<A, E, R>): Strea
318324 * Creates a stream from an effect producing a value of type `A`, which is
319325 * repeated using the specified schedule.
320326 *
327+ * **Previously Known As**
328+ *
329+ * This API replaces the following from Effect 3.x:
330+ *
331+ * - `Stream.repeatEffectWithSchedule`
332+ *
321333 * @since 2.0.0
322334 * @category constructors
323335 */
@@ -478,6 +490,15 @@ export const toChannel = <A, E, R>(
478490 * You can customize the buffer size and strategy by passing an object as the
479491 * second argument with the `bufferSize` and `strategy` fields.
480492 *
493+ * **Previously Known As**
494+ *
495+ * This API replaces the following from Effect 3.x:
496+ *
497+ * - `Stream.async`
498+ * - `Stream.asyncEffect`
499+ * - `Stream.asyncPush`
500+ * - `Stream.asyncScoped`
501+ *
481502 * @example
482503 * ```ts
483504 * import { Effect, Queue, Stream } from "effect"
@@ -776,6 +797,12 @@ export const fromIterableEffectRepeat = <A, E, R>(
776797 * This function creates a Stream that emits all values from the provided array.
777798 * If the array is empty, it returns an empty Stream.
778799 *
800+ * **Previously Known As**
801+ *
802+ * This API replaces the following from Effect 3.x:
803+ *
804+ * - `Stream.fromChunk`
805+ *
779806 * @example
780807 * ```ts
781808 * import { Effect, Stream } from "effect"
@@ -808,6 +835,12 @@ export const fromArrayEffect = <A, E, R>(
808835/**
809836 * Creates a stream from some ararys.
810837 *
838+ * **Previously Known As**
839+ *
840+ * This API replaces the following from Effect 3.x:
841+ *
842+ * - `Stream.fromChunks`
843+ *
811844 * @since 4.0.0
812845 * @category constructors
813846 */
@@ -1297,6 +1330,12 @@ export const mapBoth: {
12971330 ) )
12981331
12991332/**
1333+ * **Previously Known As**
1334+ *
1335+ * This API replaces the following from Effect 3.x:
1336+ *
1337+ * - `Stream.mapChunks`
1338+ *
13001339 * @since 2.0.0
13011340 * @category mapping
13021341 */
@@ -1398,6 +1437,12 @@ export const flattenEffect: {
13981437) : Stream < A , EX | E , RX | R > => mapEffect ( self , identity , options ) )
13991438
14001439/**
1440+ * **Previously Known As**
1441+ *
1442+ * This API replaces the following from Effect 3.x:
1443+ *
1444+ * - `Stream.mapChunksEffect`
1445+ *
14011446 * @since 4.0.0
14021447 * @category mapping
14031448 */
@@ -1721,6 +1766,12 @@ export const flatten: {
17211766/**
17221767 * Flattens a stream of non-empty arrays into a single stream.
17231768 *
1769+ * **Previously Known As**
1770+ *
1771+ * This API replaces the following from Effect 3.x:
1772+ *
1773+ * - `Stream.flattenChunks`
1774+ *
17241775 * @since 4.0.0
17251776 * @category sequencing
17261777 */
@@ -1892,6 +1943,12 @@ export const forever = <A, E, R>(self: Stream<A, E, R>): Stream<A, E, R> => from
18921943/**
18931944 * Flattens a stream of iterables into a single stream.
18941945 *
1946+ * **Previously Known As**
1947+ *
1948+ * This API replaces the following from Effect 3.x:
1949+ *
1950+ * - `Stream.flattenIterables`
1951+ *
18951952 * @since 4.0.0
18961953 * @category sequencing
18971954 */
@@ -2187,6 +2244,12 @@ const zipArrays = <AL, AR, A>(
21872244 * Zips this stream with another stream using a function that operates on arrays
21882245 * (chunks) of elements rather than individual elements.
21892246 *
2247+ * **Previously Known As**
2248+ *
2249+ * This API replaces the following from Effect 3.x:
2250+ *
2251+ * - `Stream.zipWithChunks`
2252+ *
21902253 * @since 2.0.0
21912254 * @category zipping
21922255 */
@@ -3123,6 +3186,12 @@ export const buffer: {
31233186 * Allows a faster producer to progress independently of a slower consumer by
31243187 * buffering up to `capacity` elements in a queue.
31253188 *
3189+ * **Previously Known As**
3190+ *
3191+ * This API replaces the following from Effect 3.x:
3192+ *
3193+ * - `Stream.bufferChunks`
3194+ *
31263195 * @since 2.0.0
31273196 * @category utils
31283197 */
@@ -3151,6 +3220,12 @@ export const bufferArray: {
31513220/**
31523221 * Handles stream failures by examining the full Cause of failure.
31533222 *
3223+ * **Previously Known As**
3224+ *
3225+ * This API replaces the following from Effect 3.x:
3226+ *
3227+ * - `Stream.catchAllCause`
3228+ *
31543229 * @example
31553230 * ```ts
31563231 * import { Effect, Stream } from "effect"
@@ -3189,6 +3264,12 @@ export const catchCause: {
31893264 ) )
31903265
31913266/**
3267+ * **Previously Known As**
3268+ *
3269+ * This API replaces the following from Effect 3.x:
3270+ *
3271+ * - `Stream.tapErrorCause`
3272+ *
31923273 * @since 4.0.0
31933274 * @category Error handling
31943275 */
@@ -3224,6 +3305,12 @@ const catch_: {
32243305
32253306export {
32263307 /**
3308+ * **Previously Known As**
3309+ *
3310+ * This API replaces the following from Effect 3.x:
3311+ *
3312+ * - `Stream.catchAll`
3313+ *
32273314 * @since 4.0.0
32283315 * @category Error handling
32293316 */
@@ -3252,6 +3339,12 @@ export const tapError: {
32523339 ) )
32533340
32543341/**
3342+ * **Previously Known As**
3343+ *
3344+ * This API replaces the following from Effect 3.x:
3345+ *
3346+ * - `Stream.catchSome`
3347+ *
32553348 * @since 4.0.0
32563349 * @category Error handling
32573350 */
@@ -3400,6 +3493,12 @@ export const mapError: {
34003493/**
34013494 * Conditionally handles stream failures based on a predicate applied to the Cause.
34023495 *
3496+ * **Previously Known As**
3497+ *
3498+ * This API replaces the following from Effect 3.x:
3499+ *
3500+ * - `Stream.catchSomeCause`
3501+ *
34033502 * @example
34043503 * ```ts
34053504 * import { Cause, Stream } from "effect"
@@ -4306,6 +4405,12 @@ export const combine: {
43064405 * some internal state to control the combining process, with the initial
43074406 * state being specified by `s`.
43084407 *
4408+ * **Previously Known As**
4409+ *
4410+ * This API replaces the following from Effect 3.x:
4411+ *
4412+ * - `Stream.combineChunks`
4413+ *
43094414 * @since 2.0.0
43104415 * @category utils
43114416 */
@@ -6568,6 +6673,12 @@ export const runLast = <A, E, R>(self: Stream<A, E, R>): Effect.Effect<Option.Op
65686673 * Consumes all elements of the stream, passing them to the specified
65696674 * callback.
65706675 *
6676+ * **Previously Known As**
6677+ *
6678+ * This API replaces the following from Effect 3.x:
6679+ *
6680+ * - `Stream.runForEachChunk`
6681+ *
65716682 * @example
65726683 * ```ts
65736684 * import { Console, Effect, Stream } from "effect"
0 commit comments