Repository navigation
chore(deps): update dependency effect to v4.1.6 - #34
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/effect-4.x
branch
from
November 2, 2026 05:00
e531e7f to
46f16e4
Compare
renovate
Bot
force-pushed
the
renovate/effect-4.x
branch
2 times, most recently
from
November 10, 2026 07:02
8c9dfc0 to
c3b9c3d
Compare
renovate
Bot
force-pushed
the
renovate/effect-4.x
branch
from
November 11, 2026 07:07
c3b9c3d to
619505d
Compare
renovate
Bot
force-pushed
the
renovate/effect-4.x
branch
from
November 20, 2026 10:43
619505d to
f4ab2e3
Compare
renovate
Bot
force-pushed
the
renovate/effect-4.x
branch
from
November 26, 2026 07:09
f4ab2e3 to
904cf65
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
4.0.6→4.1.6Release Notes
Effect-TS/effect (effect)
v4.1.6Compare Source
Patch Changes
#10845
dd5f2f3Thanks @effect-bot! - Add standaloneeffect/ai/Skillmodule and acceptSkillvalues inMcpServer.registerSkillandMcpServer.skill.#10893
1d65846Thanks @Marve10s! - FixAtom.subscriptionRefsetters throwingAsyncFiberErrorwhen another update holds the ref lock.#10821
694c28fThanks @effect-bot! - UseBufferforBase64andBase64Urlencoding and decoding when nativeUint8ArrayBase64 methods are unavailable.#10802
5aaa2cdThanks @KhraksMamtsov! - FixEffect.catchReasonserror-channel inference for exhaustive handlers and failingorElsefallbacks.#10901
55814bfThanks @EnesKartal! - Fix data-firstEffect.catchTagtype inference for inline calls such asEffect.map(...).#10883
92c40a1Thanks @effect-bot! - Fix clusterEntity.keepAlivebeing dropped when disabled and immediately re-enabled.#10812
9f415a7Thanks @AVtheking! - Fix a memory leak in clusterMessageStorage.registerReplyHandlerwhen interrupted reply waiters leave stale request entries behind.#10908
e367afdThanks @effect-bot! - Fix cluster shard rebalancing stalling workflow activity waits untilentityTerminationTimeoutonce in-flight activities complete.#10840
d5d2112Thanks @SelmanBoray! - FixHttpMiddleware.corsomitting theAccess-Control-Max-Ageheader whenmaxAgeis0.#10906
fa2e5afThanks @effect-bot! - ImportingEffectorScheduleno longer makes AOT compilers such asscriptcrequireIntl;Schedule.cronstill needs it.#10892
6bf6427Thanks @Marve10s! - Preserve the input offset inDateTime.setPartswhen valid for the updated local time, falling back to compatible disambiguation otherwise. Edits during or moving into a repeated DST hour from the later offset now stay in the second occurrence (e.g. settinghour: 1on03:30 ESTyields01:30 EST).#10925
10bc4a4Thanks @effect-bot! - Avoid uncached structural hashing inEqual.equalsfor plain objects and arrays, speeding up one-off structural comparisons while preserving customHashand cached-hash rejections. Also fixesEqual.equalsandHash.hashto include inherited properties on objects with custom prototypes whoseconstructorisObject(such asObject.create({ ... })).#10860
a9540d3Thanks @effect-bot! - FixFetchHttpClientto resolveglobalThis.fetchon each request instead of caching the first reference it sees.#10835
3a250d7Thanks @Marve10s! - Fix streamAtoms settling asSuccesswhen completing without emitting; they now fail withNoSuchElementErrorand keeppreviousSuccess.#10836
ce44141Thanks @Marve10s! - FixChathistory ordering so approved or denied tool results are placed before the assistant response.#10819
9318e5bThanks @effect-bot! - Fix forked fibers interrupted before starting sometimes running their effect instead of exiting interrupted.#10854
c9ecebfThanks @effect-bot! - Add the missing runtimepipemethod toRpcGroup.#10850
32f8fbeThanks @yasirmalik36! - Redact schema-backedRedactedparams, query, headers, and bodyless payloads inHttpApispans and client errors without listing them inHttpApi.RedactedNames.#10922
41d6af1Thanks @yxshee! - AddJoseError.CryptoFailedineffect/jose: an unsupported signing or encryption provider now returnsJoseError.CryptoFailedinstead ofInvalidKey, while rejected keys still returnInvalidKey.#10898
c33fd59Thanks @asssslay! - Preserve leading U+FEFF characters when reading string values fromKeyValueStore.layerFileSystemandKeyValueStore.layerSql.#10902
1f9e9d3Thanks @asssslay! - FixLayerRefreusing the previous context after invalidation or refresh while an earlier borrower still holds it.#10817
594fa71Thanks @effect-bot! - Add RFC 8288Linkheader support (Headers.parseLink,Headers.formatLink,Schema.LinkHeaderFromString,HttpClientResponse.links/link) and header-appending helpers (Headers.append,HttpClientRequest.appendHeader,HttpServerResponse.appendHeader).#10876
b378c38Thanks @jasonkuhrt! -Match.tags,Match.tagsExhaustive,Match.tagStartsWith,Match.discriminator,Match.discriminatorStartsWith,Match.discriminators,Match.discriminatorsExhaustive,Match.literalsandMatch.literalsExhaustivenow acceptMatch.fnmatchers and pass the selector's arguments to their handlers.#10875
a9ec9a6Thanks @jasonkuhrt! - FixMatch.typepassing the matched input twice to case andorElsehandlers.#10834
310a81bThanks @Marve10s! - FixMigratorskipping a migration with id0(such as0000_init) on a fresh database.#10811
aab2135Thanks @asssslay! - FixOrder.clamp(and moduleclampwrappers) returning the bound instead of the input value when the input compares equal to a bound.#10887
6744a72Thanks @effect-bot! - Bound the OTLP pending export queue with configurablemaxQueueSizeandonDrop, cap each batch atmaxBatchSizewith configurableconcurrency(default4, supporting"unbounded", withOtlpMetricsserialized at1), and makeFlusher.flushawait all in-flight work and pre-flush items without cancelling shared exports on interruption.#10820
848d042Thanks @effect-bot! - Trace batchedRpcClient.layerProtocolHttprequests in a rootRpcClient.batchspan linked to each caller span.#10916
077a93eThanks @gcanti! - The code that generates TypeScript for built-in schemas and checks now lives inCodegen. This makes bundles smaller for apps that useSchemawithout generating code.annotations.toCodefrom a built-in, pass its representation toCodegen.Module.addSchemasand callmodule.print()to get the TypeScript source.toCode. If you change a built-in's representation ID, provide your owntoCodeto tell the generator what to write.Dateused as a bound, the generated code uses the original date.#10920
aef50fbThanks @effect-bot! - Memoize nested schema compilations inSchema.toEquivalenceso shared sub-schemas are compiled once instead of once per path.#10899
2e4de86Thanks @asssslay! - FixScopedCache.getto move reloaded expired entries to the most recently used position so they are not evicted next at capacity.#10872
482b104Thanks @effect-bot! - Reduce the overhead ofSqlClienttransactions and savepoints by avoiding a redundant copy of the caller's services.#10891
753e1edThanks @Marve10s! - FixStream.toAsyncIterabledropping values or leaving reads pending after closing whennext()calls overlap.#10857
0d2bb4aThanks @effect-bot! - Start both input sides immediately inStream.mergeandChannel.merge.#10829
8161e03Thanks @Marve10s! - FixString.linesIteratorandString.linesWithSeparatorsiterators restarting from the first line when iterated again, instead of continuing from their current position.#10818
49f5391Thanks @effect-bot! - FixWorkflow.intoResultto capture compensation defects in terminalCompleteresults whenWorkflow.CaptureDefectsis enabled.#10844
3d59bdfThanks @RhysSullivan! - FixWorkflow.executewith{ discard: true }being interrupted before dispatch when a sibling suspends on a durable wait.#10847
8866608Thanks @effect-bot! - Fixeffect/workflowsuspending on durable waits before sibling child workflows, including discarded starts, are dispatched.#10868
69fd4b1Thanks @effect-bot! - Fail with a defect instead of hanging when a workflow awaits its own execution.#10885
7d97626Thanks @effect-bot! - Fix shared child workflow executions leaving additional waiting parents suspended inClusterWorkflowEngine,WorkflowEngine.layerMemory, andCloudflareWorkflowEngine.MessageStorage/MessageStorage.Encoded: custom implementations must addrequestsForAddress({ address, tag }), returning all saved requests (Envelope.PartialRequestEncoded, processed or unprocessed, across shards) matchingentityType,entityId, andtagexactly.SqlMessageStorage: migration0006_address_indexadds an(entity_type, entity_id, tag)index on the messages table.#10909
0e79436Thanks @effect-bot! - FixActivity.retryunderWorkflow.SuspendOnFailureso failed attempts reach the retry policy instead of suspending immediately. If the policy is exhausted and the error escapes, the workflow suspends andresumereplays the stored failures.#10913
2f8a4e9Thanks @adrian-gierakowski! - Fix memory retention across suspended workflow replays inClusterWorkflowEngineandWorkflowEngine.layerMemory. Replays now share a workflow scope while it has no finalizers, so a finalizer or compensation registered late through an earlier run's handle can observe the final run's exit instead ofExit.void.#10684
800b753Thanks @jpowersdev! - Support Clark-notation namespace matching ({uri}local,{*}local,{}local) inXml.elements, and preservenamespaceandlocalNameon collected elements andXml.toEventsoutput.v4.1.5Compare Source
Patch Changes
#10639
3e2030bThanks @gcanti! - Report unsupported regex patterns and their schema paths when Arbitrary sampling or property checking exhausts its discard budget.When constructing
Arbitrary.SampleErrororArbitrary.Exhaustedvalues, include the requireddiagnosticsarray; use[]when there are no diagnostics.#10401
f9f5f9dThanks @fubhy! - ShrinkArbitrarystring counterexamples by deleting characters anywhere, and defer shrinking work until a property fails. Existing string replay tokens may need to be recorded again.#10613
eecfff5Thanks @Marve10s! - FixAtom.kvsshowing the value from before its last write after being refreshed or remounted past its idle TTL.#9974
7e9e5dfThanks @danieljvdm! - Add opt-instaleTimeto HTTP and non-stream RPC atom queries and run hydrated waiting effects even withskipInitialRun.#10557
ddd142fThanks @fubhy! - AddBase64.encodeUnpaddedfor standard Base64 without=padding, andBase64.decodeLenientfor input in either Base64 alphabet, with or without padding.#10555
2bd41feThanks @filipfalcon! - AddBigInt.nthRootfor integer n-th roots andRational.nthRootfor exact n-th roots, each with anthRootUnsafevariant.#10601
36e335aThanks @filipfalcon! - Speed upBigInt.sqrtandBigInt.sqrtUnsafeon large inputs.#10606
7c36414Thanks @Marve10s! - FixCacheandScopedCacheentries failing to expire with a provided clock when the first caller is interrupted during a shared lookup.#10748
284b978Thanks @haranishi! - Keep closed code blocks together when they fit in a single ChatMarkdown message.#10750
f3957c6Thanks @haranishi! - FixChatTest.failNextscheduling a fault when itstimesoption is zero.#10611
e7f4493Thanks @Marve10s! - FixChunk.fromIterableandTxChunk.fromIterablesharing the caller's array, so later changes to the array no longer change the chunk.#10791
1c990e9Thanks @brandon-julio-t! - Deliver workflow activity results when a reply is redelivered after a transient shard-ownership check failure or when attempts of the same activity run concurrently.#10754
1cccb18Thanks @RhysSullivan! - Expose each cron job's effective schedule throughClusterCron.CronSchedule, both insideexecuteand on the registered entity.#10709
0d5eb2cThanks @effect-bot! - Fix persistedEntity.keepAlive(true)requests completing prematurely on redelivery, preserving entity recovery after runner restarts.#10704
6b8ea38Thanks @gcanti! - Fix field discovery and type validation across struct comparisons, schemas, commands, and collection helpers to consistently handle own enumerable string and symbol fields.Some field maps declared with
interfaceare no longer accepted. Replaceinterface Fields { ... }withtype Fields = { ... }, or pass a plain object copy by replacingOrder.Struct(fields)withOrder.Struct({ ...fields }).#10734
ff682e9Thanks @effect-bot! - Addeffect/crypto/Passwordfor storing passwords as PHC strings. ThePasswordservice hashes with Argon2id or PBKDF2 fromKdf, verifies against the algorithm and salt recorded in the stored hash, and reports when a stored hash needs rehashing under the configured algorithm.Password.decodeandPassword.encodeconvert between PHC strings andPasswordHashvalues.#10759
45937b7Thanks @haranishi! - Decode empty CSV header cells according to the selected union member's optional fields.#10562
cda1466Thanks @asssslay! - FixDateTime.makerejecting date strings that end inUT,UTCor a US time zone abbreviation such asPDT.#10620
aa5047dThanks @Marve10s! - FixDateTime.makeignoring whitespace-separated time zones followed by trailing whitespace or a single non-nested comment.#10690
8bc4e44Thanks @mvanhorn! - Parse zonelessDateTimestrings such as2024-1-15as UTC instead of local time.#10581
c61bb44Thanks @tim-smart! - Add unstableeffect/chatAPIs and Slack, Discord, WhatsApp, Telegram and Microsoft Teams adapters for chat bots, with grapheme-safe Markdown streaming, buttons, selects, modals, slash commands, private/deferred command replies, and adapter conformance testing.#10675
5caf323Thanks @tylergibbs1! - FixSqlEventLogServerEncryptedon SQL Server stalling for seconds when two instances create the same tables at once.#10583
19c76abThanks @brandon-julio-t! - FixAtom.searchParamoverwriting the restored URL when Back or Forward is pressed before a debounced write flushes.#10585
c282e64Thanks @tylergibbs1! - Fix an interrupted fiber losing its exit, such as a finalizer defect, when a child fiber does not stop immediately.#10619
77fa72aThanks @effect-bot! - Fix slowFindMyWayandHttpRouterlookups for request paths containing many encoded percent signs.#10701
82904feThanks @Marve10s! - TheDievariant ofSchema.CauseReasonIsonow declaresdefectinstead oferror, matching the existing runtime shape.#10629
df790caThanks @effect-bot! - FixClusterWorkflowEngineactivities repeatedly restarting after durable clock wakeups when using SQL storage.#10646
1b807a0Thanks @tim-smart! - FixLayerRef.makeandLayerRef.Serviceexposing layer build errors during creation whenpreloadis omitted.#10796
4d78900Thanks @effect-bot! - FixEffect.raceAllandEffect.raceAllFirstnot interrupting a loser that settles the race during its own first synchronous step.#10689
0799e39Thanks @tim-smart! - Fix cluster shards remaining unavailable indefinitely when a runner's lock operations persistently fail while its heartbeat succeeds.#10680
80622bfThanks @effect-bot! - FixMetric.summaryandMetric.summaryWithTimestampaccepting NaN quantiles.#10546
3d13d1eThanks @effect-bot! - Fix intermittentSqlRunnerStorageadvisory-lock failures after Vitess sessions have been idle.#10735
e373f19Thanks @effect-bot! - FixStream.flattenIterablenot closing the active iterator when downstream stops early.#10612
e3aed41Thanks @Marve10s! - FixHashMapandHashSetoverflowing the stack for keys whose custom hashes are not 32-bit integers.#10627
c49caf7Thanks @effect-bot! - FixHttpClientsending invalid trace headers when tracing is disabled withEffect.withTracerEnabled(false).#10790
9f9d58bThanks @effect-bot! - AddredactedParamstoHttpRouterroutes andparamstoHttpApi.RedactedNamesto redact path params in server spans and request logs.#10668
5234eedThanks @0xh3x! - FixHttpRouter.serveignoring app-provided references and rebuilding app-provided layers when handling requests.#10768
44f3b48Thanks @effect-bot! - FixHttpRouterso an explicit route takes precedence over a wildcard at its bare prefix, regardless of registration order.#10699
31b0a19Thanks @Marve10s! - FixHttpApiClientfailing to decode single-element arrays in form-urlencoded responses and declared errors.#10724
b01d576Thanks @effect-bot! - Avoid the startup cost ofIntl.Segmenterfor CLI commands that never measure text width.#10567
7e155dfThanks @effect-bot! - FixConfigProvider.fromEnv()capturing the environment when called instead of at its first lookup, which ignored variables set after import.Variables removed before the first lookup are no longer captured; use
ConfigProvider.fromEnvRecord({ ...process.env })to snapshot at a chosen moment.#10752
c74244bThanks @RhysSullivan! - FixMcpServerto list tools withdestructiveHint: falsewhenTool.ReadonlyistrueandTool.Destructiveis unset.#10740
0082c45Thanks @typedrat! - Use a tool'stoModelOutputparts asMcpServertool resultcontentwhile preservingstructuredContentand downgrading unsupported blocks on older protocol revisions.#10751
e197c57Thanks @RhysSullivan! - FixMcpServertoolkit registration copying and scanning its registration context once per tool, which made memory use and registration time grow with the square of the tool count.#10733
313194dThanks @effect-bot! - AllowMcpServer.toolkitandMcpServer.registerToolkitto return native MCP content blocks for selected tools without advertising an output schema.#10624
ca8ffeaThanks @Marve10s! - FixEventJournal.makeMemorydropping pending entries imported from another remote during an upload.#10558
7f2919fThanks @Ishkirat-Singh! - FixPrompt.IntandPrompt.Numberdropping the minus sign when a zero follows it, so typing-0.05no longer submits0.05.#10763
f3961b9Thanks @haranishi! - Generate client and HttpApi operations from local OpenAPI Path Item references.#10698
c31cb76Thanks @Marve10s! - FixOrder.StructandStruct.makeOrderignoring symbol fields when comparing and sorting records.#10729
c239f40Thanks @effect-bot! - Warn at the default log level when a failed OTLP export disables telemetry export for 60 seconds.#10556
8a4ef37Thanks @dv-waynehaffenden! - Fix OTLP exporters retaining a background fiber whenexportIntervalis infinite.#10609
9ef7a47Thanks @Marve10s! - FixOtlpLoggerexporting invalid trace and span IDs for logs inside spans with tracing or propagation disabled.#10780
e5f2e97Thanks @effect-bot! - UseRpc.TracingEnabledto select automatic client and server spans per procedure andremoteParentSpanto parent custom handler or middleware spans.When invoking a handler or middleware directly, pass
remoteParentSpan: undefinedif no client span context was received.#10543
acfbe1bThanks @effect-bot! - FixPool.makeWithTTLusage-based expiration retaining idle excess resources beyond their configured time to live.#9454
22909d5Thanks @fubhy! - AddProtobufDescriptor,ProtobufDescriptorProto, andProtobufMessagefor codecs preserving names and unknown fields across proto2, proto3, and editions 2023, 2024 and 2026.Replace
reader.enter(); read(reader); reader.leave()withread(reader.delimited()). The child reader is bounded to the payload, and the parent advances past it immediately.ProtobufWriter.tagnow throwsRangeErrorfor invalid tags; supply an integer field number from 1 through5368709and a wire type from 0 through 5.#10554
5662efaThanks @fubhy! - Addeffect/protobufwithProtobufReaderandProtobufWriter, a Schema-independent reader and writer of the protobuf wire format, and speed up OTLP protobuf serialization, which now writes log record trace and span ids given as aUint8Arrayas those bytes instead of corrupting them.#10737
a9b1998Thanks @effect-bot! - Deliver the last item taken from a closing queue before notifying its waiters, so a waiter cannot interrupt the take before it returns the item.#10727
b4803f0Thanks @effect-bot! - UpdateHttpApiScalar.layerto Scalar 1.81.0: bundled docs omit the undeclaredAccept: */*example header, honorcustomFetch, and support hiding Ask AI withagent.disabled; the unpacked package grows by about 3.7 MB.#10605
689c1baThanks @Marve10s! - FixHttpServerResponse.setStatus,removeHeaderand the cookie combinators resetting explicitcontent-typeandcontent-lengthheaders to the body's values.#10663
f12fefbThanks @mugnivenko! - SerializeResult.Successundersuccessinstead ofvalueintoJSON,JSON.stringifyand Node inspection output, matching itssuccessproperty. Code that readsvaluefrom a serializedResultshould readsuccess.#10616
f18320bThanks @effect-bot! - AdduseSemicolonDelimiteranddecodeStaticPathoptions toFindMyWay.RouterConfig, and aFindMyWay.strictConfigpreset that turns off path normalization and matches static route text literally.#10572
f89f473Thanks @srid! - Fix a stalledRpcClientstream consumer blocking other responses and keepalive pings on its socket or worker connection.#10579
7cb302bThanks @roninjin10! - Keep RPC and MCP stdio servers answering after a malformed NDJSON line, replying with a JSON-RPC-32700parse error and still handling the other frames.RpcSerialization'smakeUnsafeacceptsonDecodeErrorto receive malformed NDJSON frames instead of throwing, and a throwing NDJSON decode now discards its pending UTF-8 bytes.#10753
ae947a3Thanks @RhysSullivan! - AnswerRpcServerrequests over framed HTTP, andtools/callonMcpServer.layerHttpRequestScoped, without waiting for scheduler rounds first.#10658
cbe8b0eThanks @effect-bot! - Fix RPC socket request and acknowledgement write failures to fail withRpcClientErrorinstead of defects, preserving the socket error reason.#10551
3fcc7faThanks @fubhy! - Speed up failedSchemaBinarydecoding and encoding.#10569
2402fe3Thanks @gcanti! - Add the experimentalCodegen.Modulebuilder and fix recursive initialization, name collisions, generated types, and symbol identity in schema and OpenAPI generation.Remove
SchemaRepresentation.toCodeDocument,CodeDocument,Artifact, andmakeCode. Generate schema source withCodegen.Module.addSchemasandprint; construct{ runtime, Type }directly instead of callingmakeCode.Custom
toCodecallbacks must interpolate supplied argument strings unchanged and return supported schema/type expressions. Move unsupported code, such as functions with local declarations, into imported helpers.The
@effect/openapi-generator/OpenApiTransformermodule is removed. Use theOpenApiGeneratorservice to generate from an OpenAPI spec, selecting the output withformat.Some nullable OpenAI objects, such as
Batch.errors, now strip undeclared fields and no longer expose index signatures; use their declared fields instead.#10725
39bd6e0Thanks @gcanti! - ReportSchemaIssue.InvalidValuewhenSchemaGetter.encodeBase64,encodeBase64Url,encodeHex, orencodeUriComponentencounters an unpaired UTF-16 surrogate during encoding.#10721
57c8873Thanks @gcanti! - Encode negative zero as"-0"instead of"0"inSchema.NumberFromString,Schema.FiniteFromString, and numeric encodings derived withSchema.toCodecStringTree.#10595
d28a692Thanks @RhysSullivan! - FixSemaphoretaking quadratic time to drain a long queue of equally sized permit requests.#10688
9851931Thanks @effect-bot! - Wrap each SQL Migrator run in aMigrator.runtracing span with aneffect.sql.migrator.tableattribute, including runs with no pending migrations.[#10563](https://redirect.github.com/Ef
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.