Repository navigation
effect@3.15.0
Minor Changes
-
#4641
c654595Thanks @tim-smart! - Add Layer.setRandom, for over-riding the default Random service -
#4641
d9f5deaThanks @KhraksMamtsov! -Brand.unbrandedgetter has been added -
#4641
49aa723Thanks @titouancreach! - Add Either.transposeMapOption -
#4641
74c14d0Thanks @vinassefranche! - Add Record.findFirst -
#4641
e4f49b6Thanks @KhraksMamtsov! - Defaultnevertype has been added toMutableHasMap.empty&MutableList.emptyctors -
#4641
6f02224Thanks @tim-smart! - add Stream.toAsyncIterable* apisimport { Stream } from "effect" // Will print: // 1 // 2 // 3 const stream = Stream.make(1, 2, 3) for await (const result of Stream.toAsyncIterable(stream)) { console.log(result) }
-
#4641
1dcfd41Thanks @tim-smart! - improve Effect.filter* types to exclude candidates in fallback functions -
#4641
b21ab16Thanks @KhraksMamtsov! - Simplified the creation of pipeable classes.class MyClass extends Pipeable.Class() { constructor(public a: number) { super() } methodA() { return this.a } } console.log(new MyClass(2).pipe((x) => x.methodA())) // 2
class A { constructor(public a: number) {} methodA() { return this.a } } class B extends Pipeable.Class(A) { constructor(private b: string) { super(b.length) } methodB() { return [this.b, this.methodA()] } } console.log(new B("pipe").pipe((x) => x.methodB())) // ['pipe', 4]
-
#4641
fcf1822Thanks @KhraksMamtsov! - propertymessage: stringhas been added toConfigError.And&Ormembers -
#4641
0061dd1Thanks @tim-smart! - allow catching multiple different tags in Effect.catchTag -
#4641
8421e6eThanks @mlegenhausen! - ExposeCause.isTimeoutException -
#4641
fa10f56Thanks @thewilkybarkid! - Support multiple values in Function.apply