chore(deps): bump effect from 4.0.2 to 4.0.5 in the production-dependencies group
Bumps the production-dependencies group with 1 update: effect.
Updates effect from 4.0.2 to 4.0.5
Release notes
Sourced from effect's releases.
effect@4.0.5
Patch Changes
#9055
f665607Thanks@Tyagiquamar! - Pass aNonEmptyArrayto theonNonEmptycallback ofArray.matchwhen the input is a mutable array.#9110
dbf442bThanks@petar-omni! - FixAsyncResult.allfailures carrying a single input'spreviousSuccessinstead of the combined record or tuple.#9105
74d1930Thanks@tim-smart! - Fix infinite atom rebuilds caused by late reads of uninitialized dependencies.#9145
a03afb6Thanks@jayhemnani9910! - AddFlag.withOptionalValuefor GNU-style flags with an optional value, like--color[=WHEN]. A bare flag uses the given value; an explicit value must be attached with=.#9131
f159284Thanks@tim-smart! - Fix lost deferred callback wakes in cluster workflows when an activity suspends while a parallel activity is still running.#9094
5d301ccThanks@okxint! - Name cluster entity RPC server spans by entity type only (e.g.WorkflowEntity.Run) so span names stay low-cardinality. The entity ID is still recorded in theentity.idspan attribute.#9176
cd74ea2Thanks@effect-bot! - Recover persisted local cluster replies from storage to prevent requests hanging when replies arrive before handler registration. Retain local reply notifications as storage-reader wakeups for low-latency streaming.Defer terminal in-memory reply publication until the successful outer transaction completes, preserving the commit boundary for reply readers.
#9095
925cf64Thanks@jayhemnani9910! - FixConfigProvider.fromDotEnvandfromDotEnvContentsrescanning expanded values whenexpandVariablesis enabled. Self and circular references no longer overflow the stack, escaped\$NAMEstays literal, and defaults apply when a reference expands to an empty value.#9109
54c51d9Thanks@devangpratap! - FixDurationconversions throwing for very large millisecond values, and make those durations equal to their nanosecond equivalents.#9161
995c104Thanks@devangpratap! - FixDurationconversions losing nanosecond precision for large integer millisecond values.#9112
816575eThanks@effect-bot! - Usebigintfor 64-bitFileSystem.File.Infometadata.devis now abigint, andino,rdev,nlink, andblocksareOption<bigint>, so file stats no longer fail or drop values outside the safe integer range. Node and Bun readdev,ino,rdev, andnlinkas unsigned 64-bit integers. Deno reports these fields as numbers, so values aboveNumber.MAX_SAFE_INTEGERare rounded by Deno before conversion.#9150
0df6e06Thanks@tim-smart! - Support per-request URLs inGraphQLProtocol.layerHttpandmakeHttp, as a function of the context and operation or as anEffect<string>.GraphQLResolverbatches lookups by URL.#9137
52a7d3cThanks@tim-smart! - Add HttpClientRequest.compressBody for gzip and deflate request body compression.#9160
ec831c3Thanks@fubhy! - AcceptRedactedvalues as URL parameters inUrlParamsandHttpClientRequest.#9138
3abc63eThanks@tim-smart! - AddHttpMiddleware.decompression, which decompressesgzipanddeflaterequest bodies, limits the decompressed size, and rejects other codings with415.#9113
a841b8bThanks@effect-bot! - Fix interruption callingMath.randomand hashing defects, which made deterministic hosts that forbid randomness loop forever or overflow the stack.#9098
91efea7Thanks@armancharan! - Narrow only the matched prefix when aMatchtuple pattern is applied to an array or variadic tuple, so the remaining elements keep their original type.#9151
e271997Thanks@tim-smart! - FixMcpServertypes to require schema services for resource templates and encoding services for prompt parameters with completion handlers. Missing services are now caught at compile time.#9117
7719bdaThanks@jayhemnani9910! - Pad 64-bit trace ids to 128 bits in OTLP exports andtraceparentheaders.#9139
563397fThanks@tim-smart! - Add opt-in gzip compression to built-in OTLP JSON and protobuf exporters via the compression option or OTEL_EXPORTER_OTLP_COMPRESSION and per-signal environment variables. Compress batches once before retries using HttpClientRequest.compressBody, retaining its default 1KB threshold and uncompressed defaults.#9127
65b04f8Thanks@effect-bot! - AddPath.resolveWithin(root, input), which resolves a relative path beneath a root and returnsOption.none()for traversal escapes and rooted inputs, using the platform's path rules.#9143
c2859bfThanks@danieljvdm! - Collect tool approvals once perLanguageModelrequest instead of twice.#9134
c462214Thanks@effect-bot! - Reduce SQLite statement overhead by borrowing the shared connection while preserving semaphore exclusion and failed-COMMIT recovery.
... (truncated)
Changelog
Sourced from effect's changelog.
4.0.5
Patch Changes
#9055
f665607Thanks@Tyagiquamar! - Pass aNonEmptyArrayto theonNonEmptycallback ofArray.matchwhen the input is a mutable array.#9110
dbf442bThanks@petar-omni! - FixAsyncResult.allfailures carrying a single input'spreviousSuccessinstead of the combined record or tuple.#9105
74d1930Thanks@tim-smart! - Fix infinite atom rebuilds caused by late reads of uninitialized dependencies.#9145
a03afb6Thanks@jayhemnani9910! - AddFlag.withOptionalValuefor GNU-style flags with an optional value, like--color[=WHEN]. A bare flag uses the given value; an explicit value must be attached with=.#9131
f159284Thanks@tim-smart! - Fix lost deferred callback wakes in cluster workflows when an activity suspends while a parallel activity is still running.#9094
5d301ccThanks@okxint! - Name cluster entity RPC server spans by entity type only (e.g.WorkflowEntity.Run) so span names stay low-cardinality. The entity ID is still recorded in theentity.idspan attribute.#9176
cd74ea2Thanks@effect-bot! - Recover persisted local cluster replies from storage to prevent requests hanging when replies arrive before handler registration. Retain local reply notifications as storage-reader wakeups for low-latency streaming.Defer terminal in-memory reply publication until the successful outer transaction completes, preserving the commit boundary for reply readers.
#9095
925cf64Thanks@jayhemnani9910! - FixConfigProvider.fromDotEnvandfromDotEnvContentsrescanning expanded values whenexpandVariablesis enabled. Self and circular references no longer overflow the stack, escaped\$NAMEstays literal, and defaults apply when a reference expands to an empty value.#9109
54c51d9Thanks@devangpratap! - FixDurationconversions throwing for very large millisecond values, and make those durations equal to their nanosecond equivalents.#9161
995c104Thanks@devangpratap! - FixDurationconversions losing nanosecond precision for large integer millisecond values.#9112
816575eThanks@effect-bot! - Usebigintfor 64-bitFileSystem.File.Infometadata.devis now abigint, andino,rdev,nlink, andblocksareOption<bigint>, so file stats no longer fail or drop values outside the safe integer range. Node and Bun readdev,ino,rdev, andnlinkas unsigned 64-bit integers. Deno reports these fields as numbers, so values aboveNumber.MAX_SAFE_INTEGERare rounded by Deno before conversion.#9150
0df6e06Thanks@tim-smart! - Support per-request URLs inGraphQLProtocol.layerHttpandmakeHttp, as a function of the context and operation or as anEffect<string>.GraphQLResolverbatches lookups by URL.#9137
52a7d3cThanks@tim-smart! - Add HttpClientRequest.compressBody for gzip and deflate request body compression.#9160
ec831c3Thanks@fubhy! - AcceptRedactedvalues as URL parameters inUrlParamsandHttpClientRequest.#9138
3abc63eThanks@tim-smart! - AddHttpMiddleware.decompression, which decompressesgzipanddeflaterequest bodies, limits the decompressed size, and rejects other codings with415.#9113
a841b8bThanks@effect-bot! - Fix interruption callingMath.randomand hashing defects, which made deterministic hosts that forbid randomness loop forever or overflow the stack.#9098
91efea7Thanks@armancharan! - Narrow only the matched prefix when aMatchtuple pattern is applied to an array or variadic tuple, so the remaining elements keep their original type.#9151
e271997Thanks@tim-smart! - FixMcpServertypes to require schema services for resource templates and encoding services for prompt parameters with completion handlers. Missing services are now caught at compile time.#9117
7719bdaThanks@jayhemnani9910! - Pad 64-bit trace ids to 128 bits in OTLP exports andtraceparentheaders.#9139
563397fThanks@tim-smart! - Add opt-in gzip compression to built-in OTLP JSON and protobuf exporters via the compression option or OTEL_EXPORTER_OTLP_COMPRESSION and per-signal environment variables. Compress batches once before retries using HttpClientRequest.compressBody, retaining its default 1KB threshold and uncompressed defaults.#9127
65b04f8Thanks@effect-bot! - AddPath.resolveWithin(root, input), which resolves a relative path beneath a root and returnsOption.none()for traversal escapes and rooted inputs, using the platform's path rules.#9143
c2859bfThanks@danieljvdm! - Collect tool approvals once perLanguageModelrequest instead of twice.
... (truncated)
Commits
7f524e2Version Packages (#9099)3ad9a0cFix premature RPC socket ping timeouts (#9187)f665607fix(Array): make Array.match expose NonEmptyArray for mutable arrays (#9055)0df6e06GraphQL: per-request url function for layerHttp with URL-aware resolver batch...7422b9btest(cluster): allow residency cap checks headroom on Deno (#9185)bc454a3Make String snake_case conversions total and skip empty noCase words (#9183)3b87d1dReduce clock polling in shard-release teardown test (#9184)ec831c3Accept Redacted values as HTTP URL params (#9160)cd74ea2Fix lost replies for persisted local cluster requests (#9176)2a8ec8bperf(schema): keep successful decoding defaults resolved (#9166)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
Polylane reviews this pull request when you ask:
Summary by cubic
Bumps effect from 4.0.2 to 4.0.5, a patch release that fixes bugs and adds new APIs.
FileSystem.File.Infonow usesbigintfor 64-bit metadata fields likedev,ino, andnlink.- Adds HTTP request compression, OTLP gzip export,
Path.resolveWithin, andFlag.withOptionalValue.