Effect
Version 4.0.0-beta.67
Patch Changes
-
#2111
35594f8Thanks @thiagofelix! - FixEntityProxyServer.layerHttpApiusingpath.entityIdinstead ofparams.entityId -
#2201
8bddd62Thanks @sjh9714! - FixMutableList.filterandMutableList.removelength updates. -
#2181
4be4c8dThanks @zeyuri! - Fix workflow proxy RPC handlers to provide the context expected by RpcServer. -
#2177
0c9d3abThanks @mikearnaldi! - Add forked memo maps so nested layer scopes can reuse parent allocations without leaking sibling-local layers. Update@effect/vitestto fork memo maps for nestedit.layersuites, isolating sibling setup while preserving parent sharing. -
#2206
b156accThanks @tim-smart! - addavailableShardGroupsto ShardingConfig, to ensure advisory locks do not conflict -
#2184
d16c034Thanks @gcanti! - Restore support for passing schema parse options when creating decode and encode helpers, closes #2174. -
#2176
b559d68Thanks @patroza! - Allow Schema decoding defaults to require Effect services.The
Effectpassed toSchema.withDecodingDefault,Schema.withDecodingDefaultKey,Schema.withDecodingDefaultType, andSchema.withDecodingDefaultTypeKeynow accepts a contextRin its third type parameter. The required services are propagated into the resulting schema’sDecodingServices.SchemaGetter.withDefaultis widened in the same way. -
#2113
a3de5d9Thanks @patroza! - Allow Schema constructor and decoding defaults to fail withSchemaError.The
Effectpassed toSchema.withConstructorDefault,Schema.withDecodingDefault,Schema.withDecodingDefaultKey,Schema.withDecodingDefaultType, andSchema.withDecodingDefaultTypeKeynow acceptsSchemaErrorin its error channel. When a default fails, the parser unwraps the underlyingSchemaIssue.Issueand propagates it as a parse failure with the surrounding path attached. This makes it easy to use another schema’smakeEffect/decode*as the default value. -
#2172
7e6c12eThanks @gcanti! - RenameSchemaParser.makeUnsafetoSchemaParser.make.