Skip to content

Effect

Version 4.0.0-beta.67

Patch Changes

  • #2185 a42ef66 Thanks @lloydrichards! - add rows to Terminal

  • #2111 35594f8 Thanks @thiagofelix! - Fix EntityProxyServer.layerHttpApi using path.entityId instead of params.entityId

  • #2201 8bddd62 Thanks @sjh9714! - Fix MutableList.filter and MutableList.remove length updates.

  • #2181 4be4c8d Thanks @zeyuri! - Fix workflow proxy RPC handlers to provide the context expected by RpcServer.

  • #2177 0c9d3ab Thanks @mikearnaldi! - Add forked memo maps so nested layer scopes can reuse parent allocations without leaking sibling-local layers. Update @effect/vitest to fork memo maps for nested it.layer suites, isolating sibling setup while preserving parent sharing.

  • #2206 b156acc Thanks @tim-smart! - add availableShardGroups to ShardingConfig, to ensure advisory locks do not conflict

  • #2184 d16c034 Thanks @gcanti! - Restore support for passing schema parse options when creating decode and encode helpers, closes #2174.

  • #2176 b559d68 Thanks @patroza! - Allow Schema decoding defaults to require Effect services.

    The Effect passed to Schema.withDecodingDefault, Schema.withDecodingDefaultKey, Schema.withDecodingDefaultType, and Schema.withDecodingDefaultTypeKey now accepts a context R in its third type parameter. The required services are propagated into the resulting schema’s DecodingServices. SchemaGetter.withDefault is widened in the same way.

  • #2113 a3de5d9 Thanks @patroza! - Allow Schema constructor and decoding defaults to fail with SchemaError.

    The Effect passed to Schema.withConstructorDefault, Schema.withDecodingDefault, Schema.withDecodingDefaultKey, Schema.withDecodingDefaultType, and Schema.withDecodingDefaultTypeKey now accepts SchemaError in its error channel. When a default fails, the parser unwraps the underlying SchemaIssue.Issue and propagates it as a parse failure with the surrounding path attached. This makes it easy to use another schema’s makeEffect / decode* as the default value.

  • #2172 7e6c12e Thanks @gcanti! - Rename SchemaParser.makeUnsafe to SchemaParser.make.

  • #2167 098167a Thanks @tim-smart! - update dependencies