Packages

effect

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

Upgrading effect From 4.1.1 to 4.1.4

3 releases in betweenevery note read

Other targets from 4.1.1Newest 4.x4.1.5
  1. 4.1.1yours
  2. 4.1.2
  3. 4.1.3breaking
  4. 4.1.4target

Before you upgrade

Tick each one off as you go
  • Breaking4.1.4
  • Breaking4.1.4
  • Breaking4.1.4
  • Breaking4.1.4
  • Breaking4.1.4
  • Breaking4.1.4
  • Breaking4.1.4
  • Breaking4.1.4
  • Breaking4.1.4
  • Breaking4.1.4

Release by release

  1. 4.1.4

    Migration needed11 Nov 20264 new · 1 fix
    • Breaking

      Model: endpoints.

    • Breaking

      BYOKKey: declared_region, declared_zdr, is_byok_only, and is_required.

    • Breaking

      PublicEndpoint: native_tools, service_tier, supports_diarization, and supports_tool_choice.

    • Breaking

      Guardrail: include_byok_in_budgets.

  2. 4.1.3

    Migration needed10 Nov 202610 new · 34 fixes
    • Breaking

      A Tool.dynamic tool without a success schema must return a JSON value, even when toModelOutput replaces the model payload. Other values, such as a Date, now fail with ToolResultEncodingError. Declare a success schema, for example Schema.Date, or return a JSON value. Declare success: Schema.Void for a dynamic tool that returns undefined.

    • Breaking

      encodedResult of a Schema.Void tool, including Tool.make without a success schema, is now null instead of undefined.

    • Breaking

      Fix HttpStaticServer responding 200 instead of 304 when an If-None-Match entity-tag contains a comma.

    • Breaking

      Fix Effect.race, Effect.raceFirst, Effect.raceAll, Effect.raceAllFirst and Effect.timeoutOption sometimes letting a loser finish after the race settled, which could drop its result, such as an item taken from a Queue.

  3. 4.1.2

    2 Nov 20262 new · 23 fixes
    • New

      Add Json5.parse and Jsonc.parse to effect/encoding, returning a Result that fails with an EncodingError on invalid input.

    • New

      Add SchemaBinary.int32, uint32, int64 and uint64, opt-in schemas that write integers as fixed-width little-endian payloads. The 32-bit schemas decode to number and the 64-bit schemas to bigint. Out-of-range and non-integer values are rejected instead of wrapped.

    • Fixed

      Fix ByteSize decimal unit constructors such as megabytes(2.01) throwing or returning the wrong byte count, and reject fractional-byte quantities instead of rounding them.

    • Fixed

      Fix cluster entity defect restart backoff being shared by all entities of a type and never resetting.

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.