@effect/opentelemetry
4.0.5 · 15 Oct 2026MIT1.2M / weekRepositoryHomepagenpmAtom feed
319 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 4.x · latest line
4.0.5
15 Oct 2026Set the span context on OpenTelemetry log records from the current Effect span, so backends can link logs to their traces.
Patch Changes
Set the span context on OpenTelemetry log records from the current Effect span, so backends can link logs to their traces.
4.0.4
13 Oct 2026Only updates a dependency:effect 4.0.4
4.0.3
10 Oct 2026Fix histogram exporters to retain all finite boundaries and overflow observations in OTLP, and emit a single
+Infbucket in Prometheus.Preserve the active OpenTelemetry parent span object when starting Effect spans. This prevents SDKs such as Sentry from dropping child spans.
Preserve parent trace and span IDs when an active OpenTelemetry span context exposes them through getters, such as dd-trace.
Patch Changes
Fix histogram exporters to retain all finite boundaries and overflow observations in OTLP, and emit a single
+Infbucket in Prometheus.Preserve the active OpenTelemetry parent span object when starting Effect spans. This prevents SDKs such as Sentry from dropping child spans.
Preserve parent trace and span IDs when an active OpenTelemetry span context exposes them through getters, such as dd-trace.
4.0.2
7 Oct 2026Omit cumulative
minandmaxfrom delta histogram points after the first export. First-export and cumulative histogram extrema are unchanged.Tag every module and directly importable export with an explicit
@stability.@stability stablefollows strict semver, and@stability unstablemay receive breaking changes in minor releases.Allow spans without an Effect parent to inherit active OpenTelemetry spans created outside Effect.
Patch Changes
Omit cumulative
minandmaxfrom delta histogram points after the first export. First-export and cumulative histogram extrema are unchanged.Tag every module and directly importable export with an explicit
@stability.@stability stablefollows strict semver, and@stability unstablemay receive breaking changes in minor releases.Allow spans without an Effect parent to inherit active OpenTelemetry spans created outside Effect.
Align HTTP tracing span names, response error status, server addresses and ports with OpenTelemetry conventions. Make header capture opt-in and export homogeneous primitive arrays as array attributes in
@effect/opentelemetry.Leave interrupt-only spans
Unsetwith aneffect.fiber.interrupted: trueattribute instead ofOkwith an "Interrupted" description and thespan.label/status.interruptedattributes. Successful spans keepOk; failures keepErrorand their exception events.Cause.prettyErrorsno longer captures an internal stack frame for non-object failures such asEffect.fail("boom"); the stack is now the message plus the span frame, when available. This affects theexception.stacktraceexported by both tracers and the output ofCause.pretty.Align OTLP and
@effect/opentelemetrylogs, traces, and resources with OpenTelemetry conventions.
4.0.1
4 Oct 2026Only updates a dependency:effect 4.0.1
4.0.0
1 Oct 2026Effect 4.0 is the first stable release of Effect v4. It replaces the 4.0.0 beta and release-candidate series, whose per-release notes remain below under the
4.0.0-beta.*and4.0.0-rc.*headings. To upgrade from Effect 3, follow the migration guide.Packaging and versioning
Core
Schema
Platform, HTTP and RPC
Cluster and Workflow
SQL
AI
CLI, Atom, observability and testing
Requirements
Patch Changes
Effect 4.0 is the first stable release of Effect v4. It replaces the 4.0.0 beta and release-candidate series, whose per-release notes remain below under the
4.0.0-beta.*and4.0.0-rc.*headings. To upgrade from Effect 3, follow the migration guide.Packaging and versioning
All Effect packages share one version number and are released together. Use the same version of
effectand every@effect/*package.@effect/platform,@effect/rpc,@effect/cluster,@effect/cli,@effect/ai,@effect/sql,@effect/workflow,@effect/experimentaland similar packages are merged intoeffect. Separate packages remain only for platforms (@effect/platform-*), SQL drivers (@effect/sql-*), AI providers (@effect/ai-*), framework bindings (@effect/atom-*), OpenTelemetry, Vitest and tooling.Modules such as
effect/http,effect/http-api,effect/rpc,effect/cluster,effect/workflow,effect/ai,effect/cli,effect/sqlandeffect/schemaimport fromeffect/<area>. APIs tagged@stability unstablemay have breaking changes in minor releases. APIs without a stability tag follow semver.APIs that expose a third-party dependency are tagged
@stability unstable, because that dependency's releases can change them. This coversNodeRedis,DenoRedis,BunRedis,@effect/platform-node/Undiciand the undici dispatcher APIs, thewsoptions and re-exports in the platform packages, driver-specific options and clients in@effect/sql-clickhouse,@effect/sql-d1,@effect/sql-libsql,@effect/sql-mssql,@effect/sql-mysql2,@effect/sql-pgliteand@effect/sql-sqlite-do, the provider clients, models and generated schemas in the@effect/ai-*packages,@effect/opentelemetry, and thevitestre-export in@effect/vitest.effecthas no runtime dependencies.New packages in v4:
@effect/platform-deno,@effect/sql-pglite,@effect/ai-openai-compat,@effect/ai-typesafe,@effect/atom-react,@effect/atom-solid,@effect/atom-vue,@effect/openapi-generatorand@effect/doctest.@effect/docgennow lives in this repository.
Core
The fiber runtime was rewritten for lower memory use and faster execution, with smaller bundles and better tree-shaking.
Services are defined with
Context.Service,FiberRefis replaced byContext.Reference,Causehas a flat structure, and many combinators were renamed. See the migration guide for the full list.Software transactional memory is built into
Effect.tx, withTxRef,TxQueue,TxHashMap,TxPubSub,TxSemaphoreand relatedTx*data types.Clockseparates wall-clock time from monotonic time.New modules include
Semaphore,Latch,LayerRef,ErrorReporter,ByteSize,NewtypeandCrypto.Arbitraryis now a native property-based testing module and no longer depends on fast-check.
Schema
Schema v4 is a new implementation with faster parsing, class-based schemas,
makeconstructors on every schema, and effectful decoding with services.SchemaRepresentationpowers JSON Schema (Draft-04, Draft-07, 2020-12 and OpenAPI 3.0/3.1) import and export, TypeScript code generation, and AI structured output.SchemaBinaryprovides a compact binary codec and is the default wire format for cluster transports.Optional JIT and AOT schema compilers are available as experimental modules.
Platform, HTTP and RPC
HttpApisupports typed response headers, streaming and SSE responses, the HTTPQUERYmethod,HttpApiTestfor in-memory testing, and much faster type checking for large APIs.The HTTP modules add static file serving, response compression, rate-limited clients and graceful server shutdown.
Sockethas a pull-based reader with backpressure and STARTTLS support. Network addresses are modeled byeffect/net.RPC serialization is schema-aware and supports server-originated requests and notifications.
@effect/platform-denoadds full Deno support. The Node, Bun, Deno and browser packages all provide the platformCryptoservice, and the browser package adds IndexedDB support.
Cluster and Workflow
Workflows can be declared with class syntax, and
DurableQueueand an in-memoryWorkflowEngineare available.Runner memory can be bounded with
ShardingConfiglimits. Shutdown, entity movement and persisted replies are more reliable.
SQL
@effect/sql-pguses a built-in PostgreSQL client with pipelining, prepared statements and binary codecs, and no longer depends onpg.@effect/sql-sqlite-nodeuses Node's built-innode:sqliteand requires Node 22.16 or newer.SqlErrorexposes structured reasons such asUniqueViolation.
AI
effect/aiaddsEmbeddingModel, theDecisionModelclassification and rating API, dynamic tools and tool approvals.The MCP server supports protocol versions 2024-11-05 through 2026-07-28, including elicitation, sampling with tools, resource subscriptions and typed tool output.
Provider packages cover Anthropic, OpenAI, OpenAI-compatible APIs and OpenRouter.
CLI, Atom, observability and testing
effect/cliadds global flags, command aliases and examples, an interactive wizard mode, and shell completions for Bash, Zsh and Fish.effect/reactivityand the@effect/atom-*bindings add SSR hydration, stale-while-revalidate atoms and serializable RPC and HttpApi queries.The OTLP exporters can be configured with standard OpenTelemetry environment variables, and
@effect/opentelemetryaligns logs and spans with the OpenTelemetry specification.@effect/vitestruns property tests with the nativeArbitrarymodule and supports Vitest fixtures.
Requirements
TypeScript 5.9 or newer. TypeScript 7 is recommended.
@effect/vitestand@effect/doctestrequire Vitest 5.@effect/atom-reactrequires React 19.@effect/platform-denorequires Deno 2.8.3 or newer.
- 0.64.x
0.64.1
9 Sep 2026Preserve OpenTelemetry trace propagation through unnamed
Effect.fnand disabled spans by using the nearest propagated parent. MakeTracer.currentOtelSpanskip these spans as well.
Patch Changes
Preserve OpenTelemetry trace propagation through unnamed
Effect.fnand disabled spans by using the nearest propagated parent. MakeTracer.currentOtelSpanskip these spans as well.
0.64.0
13 Jul 2026Reading the note…
- 0.63.x
0.63.0
20 Mar 2026Reading the note…
- 0.62.x
0.62.0
16 Mar 2026Reading the note…
- 0.61.x
0.61.0
22 Jan 2026Reading the note…
- 0.60.x
0.60.0
18 Dec 2025Reading the note…
- 0.59.x
0.59.3
13 Dec 2025Reading the note…
0.59.2
5 Dec 2025Reading the note…
0.59.1
13 Nov 2025Reading the note…
0.59.0
4 Nov 2025Reading the note…
- 0.58.x
0.58.0
30 Sep 2025Reading the note…
- 0.57.x
0.57.0
23 Sep 2025Reading the note…
- 0.56.x
0.56.6
9 Sep 2025Reading the note…
0.56.5
2 Sep 2025Reading the note…
0.56.4
19 Aug 2025Reading the note…
0.56.3
18 Aug 2025Reading the note…
0.56.2
13 Aug 2025Reading the note…
0.56.1
6 Aug 2025Reading the note…
0.56.0
22 Jul 2025Reading the note…
- 0.55.x
0.55.0
21 Jul 2025Reading the note…
- 0.54.x
0.54.1
15 Jul 2025Reading the note…
0.54.0
13 Jul 2025Reading the note…
- 0.53.x
0.53.14
13 Jul 2025Reading the note…
0.53.13
10 Jul 2025Reading the note…
0.53.12
9 Jul 2025Reading the note…
0.53.11
6 Jul 2025Reading the note…
0.53.10
6 Jul 2025Reading the note…
0.53.9
5 Jul 2025Reading the note…
0.53.8
4 Jul 2025Reading the note…
0.53.7
4 Jul 2025Reading the note…
0.53.6
3 Jul 2025Reading the note…
0.53.5
3 Jul 2025Reading the note…
0.53.4
2 Jul 2025Reading the note…
0.53.3
2 Jul 2025Reading the note…
0.53.2
2 Jul 2025Reading the note…
0.53.1
26 Jun 2025Reading the note…
0.53.0
24 Jun 2025Reading the note…
- 0.52.x
0.52.0
23 Jun 2025Reading the note…
- 0.51.x
0.51.2
19 Jun 2025Reading the note…
0.51.1
17 Jun 2025Reading the note…
0.51.0
15 Jun 2025Reading the note…
- 0.50.x
0.50.11
13 Jun 2025Reading the note…
0.50.10
13 Jun 2025Reading the note…
0.50.9
8 Jun 2025Reading the note…