Skip to content

Effect

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

4.0.0-beta.66

Patch Changes

  • #2163 ca2498e Thanks @tim-smart! - remove Effect.Yieldable

  • #2161 cd7d1fb Thanks @wking-io! - Fix request ID tracking in the RPC server HTTP protocol finalizer.

  • #2158 19a7033 Thanks @ColaFanta! - Change Type_<> implementation, from using Exclude<F, O | M> type util to keyof F as xx, this implementation keeps IDE provenance link. This enables clicking “Go to definition (F12)” in VSCode on an object made from Schema Struct jumps to the correct Struct field definition.

  • #2153 33d26b4 Thanks @Gabrola! - Allow HttpApiTest.groups to accept an optional baseUrl override while preserving the existing default of "http://localhost:3000".

  • #2160 856766b Thanks @tim-smart! - Remove the auto-incrementing suffix from HTTP server logger log span names.

  • #2164 079c7df Thanks @tim-smart! - Add the unstable workflow DurableQueue module.

4.0.0-beta.65

Patch Changes

  • #2148 6f11454 Thanks @tim-smart! - Add UniqueViolation as a new SQL error reason. Supported unique constraint violations now classify as UniqueViolation instead of the broader ConstraintError reason.

    This covers PostgreSQL, PGlite, MySQL, MSSQL, and the shared SQLite classification used by the SQLite-family clients. UniqueViolation.constraint contains the best available constraint, index, or key identifier and falls back to exactly "unknown" when no reliable identifier is available.

4.0.0-beta.64

Patch Changes

  • #2137 7d4877a Thanks @tim-smart! - Add optional soft delete column support to SqlModel repositories and resolvers.

4.0.0-beta.63

Patch Changes

  • #2136 7f927ff Thanks @tim-smart! - add HttpApiTest module

  • #2123 a696b3e Thanks @lewxdev! - add Effect.acquireDisposable

4.0.0-beta.62

Patch Changes

  • #2131 4ab4b90 Thanks @tim-smart! - Allow Kubernetes pod condition lastTransitionTime values to be null in K8sHttpClient schemas.

4.0.0-beta.61

Patch Changes

  • #2130 50790af Thanks @tim-smart! - Record fiber runtime start metrics when fibers are constructed so yielded fibers are only counted once.

  • #2120 71f7c3d Thanks @tim-smart! - Port Effect.firstSuccessOf from Effect v3.

  • #2122 aae8797 Thanks @tim-smart! - fix empty body decoding in HttpApiBuilder

4.0.0-beta.60

Patch Changes

  • #2115 f69d567 Thanks @tim-smart! - add Rpc.custom

  • #2119 7909c95 Thanks @gcanti! - Remove Inspectable.stringifyCircular and fix Formatter.formatJson so shared object references are preserved while only circular references are omitted.

  • bbb4dcc Thanks @tim-smart! - allow using Duration.Input with accessors

  • #2117 7af2207 Thanks @gcanti! - Add Schema.DurationFromString and SchemaTransformation.durationFromString, support "Infinity" and "-Infinity" in Duration.fromInput, and simplify config duration parsing around the shared schema codec, closes #2092.

  • #2116 848b40a Thanks @gcanti! - Add a Config.literals convenience constructor for Schema.Literals, closes #2091.

4.0.0-beta.59

Patch Changes

  • #2106 56837ea Thanks @IMax153! - Fix entity proxy RPC handlers to provide the context expected by RpcServer.

4.0.0-beta.58

Patch Changes

  • #2097 11993d4 Thanks @Leka74! - Add an exhaustive finalizer to the AsyncResult builder.

  • #2098 96c8b22 Thanks @tim-smart! - generate binary arrays from streams with less copying

  • #2098 96c8b22 Thanks @tim-smart! - improve http body consumption