Packages

effect

4.1.4 · 11 Nov 2026MIT66.6M / weekRepositoryHomepagenpmAtom feed

Your version

3.10.0

21 Oct 2024Where it was published

3.22.5 is the newest release of 3.x.

In short

5 new

Security

2 advisories affect 3.10.0; 3.22.1 fixes them

Release note

Minor Changes

  • Add TSubscriptionRef

  • Add Stream.fromTQueue & Stream.fromTPubSub

  • Merge Schema into Effect.

Modules

Before

```ts
import {
  Arbitrary,
  AST,
  FastCheck,
  JSONSchema,
  ParseResult,
  Pretty,
  Schema
} from "@effect/schema"
```

After

```ts
import {
  Arbitrary,
  SchemaAST, // changed
  FastCheck,
  JSONSchema,
  ParseResult,
  Pretty,
  Schema
} from "effect"
```

Formatters

`ArrayFormatter` / `TreeFormatter` merged into `ParseResult` module.

Before

```ts
import { ArrayFormatter, TreeFormatter } from "@effect/schema"
```

After

```ts
import { ArrayFormatter, TreeFormatter } from "effect/ParseResult"
```

Serializable

Merged into `Schema` module.

Equivalence

Merged into `Schema` module.

Before

```ts
import { Equivalence } from "@effect/schema"

Equivalence.make(myschema)
```

After

```ts
import { Schema } from "@effect/schema"

Schema.equivalence(myschema)
```
  • Add option to .releaseLock a ReadableStream on finalization

  • Implement Redactable. Used by Headers to not log sensitive information

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.