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.- If you previously read
annotations.toCodefrom a built-in, pass its representation toCodegen.Module.addSchemasand callmodule.print()to get the TypeScript source. - Custom types can still define
toCode. If you change a built-in's representation ID, provide your owntoCodeto tell the generator what to write. - The generator uses the arguments recorded when you create a schema or check. If you later change a
Dateused as a bound, the generated code uses the original date.
- If you previously read
-
#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.