Skip to content

Releases: Effect-TS/effect

@effect/ai-openai@0.39.2

18 Apr 10:54
b56a6ec

Choose a tag to compare

Patch Changes

  • 49c5acd Thanks @mollyegibson! - Previously, setting strict: false on OpenAiLanguageModel config caused a 400 "Unknown parameter: 'strict'" response from the OpenAI Responses API, because the flag was spread into the top-level request body instead of being consumed only by the tool and response_format schema builders. The strict flag is now stripped from the request body while still controlling strict on tool schemas (prepareTools) and json_schema response formats (prepareResponseFormat).

effect@3.21.1

17 Apr 19:42
cc0c40a

Choose a tag to compare

Patch Changes

  • #6139 f99048e Thanks @marbemac! - Fix batched request resolver defects causing consumer fibers to hang forever.

    When a RequestResolver.makeBatched resolver died with a defect, the request Deferreds were never completed because the cleanup logic in invokeWithInterrupt used flatMap (which only runs on success). Changed to ensuring so uncompleted request entries are always resolved regardless of exit type.

@effect/cluster@0.58.1

17 Apr 19:42
cc0c40a

Choose a tag to compare

Patch Changes

@effect/cli@0.75.1

17 Apr 19:42
cc0c40a

Choose a tag to compare

Patch Changes

  • #6144 ec5c505 Thanks @LikiosSedo! - Fix --log-level=value equals syntax incorrectly swallowing the next argument. Only skip the next arg when the previous arg is exactly --log-level (space-separated form).

  • Updated dependencies [f99048e]:

    • effect@3.21.1

@effect/ai-openrouter@0.10.1

17 Apr 19:42
cc0c40a

Choose a tag to compare

Patch Changes

  • #6145 6c39a34 Thanks @LikiosSedo! - Fix typo in HTTP header name: HTTP-ReferrerHTTP-Referer. The HTTP spec spells it "Referer" (single r), and OpenRouter expects this exact header name for app attribution.

  • Updated dependencies [f99048e]:

    • effect@3.21.1

@effect/ai-openai@0.39.1

17 Apr 19:42
cc0c40a

Choose a tag to compare

Patch Changes

  • 47f0439 Thanks @aayushbaluni! - fix(ai-openai): deduplicate response.output items to prevent invalid JSON concatenation

  • #6187 b63fdb8 Thanks @alex-dixon! - Change 'in-memory' to 'in_memory' in prompt cache enums

  • #6174 739f077 Thanks @mollyegibson! - Make 'strict' mode configurable for tool definitions passed to the OpenAI model

  • Updated dependencies [f99048e]:

    • effect@3.21.1

@effect/sql-pg@0.52.1

22 Mar 22:11
d4ed885

Choose a tag to compare

Patch Changes

  • #6140 4767f86 Thanks @tim-smart! - Use a dedicated PostgreSQL connection for LISTEN / UNLISTEN so active listeners do not consume a pooled query connection.

effect@3.21.0

20 Mar 00:09
6e3782a

Choose a tag to compare

Minor Changes

  • #5780 f7bb09b Thanks @kitlangton! - Add Cron.prev and reverse iteration support, aligning next/prev lookup tables, fixing DST handling symmetry, and expanding cron backward/forward test coverage.

  • #5780 bd7552a Thanks @mattiamanzati! - Add type-level utils to asserting layer types

  • #5780 ad1a7eb Thanks @schickling! - RcMap: support dynamic idleTimeToLive values per key

    The idleTimeToLive option can now be a function that receives the key and returns a duration, allowing different TTL values for different resources.

    const map =
      yield *
      RcMap.make({
        lookup: (key: string) => acquireResource(key),
        idleTimeToLive: (key: string) => {
          if (key.startsWith("premium:")) return Duration.minutes(10)
          return Duration.minutes(1)
        }
      })
  • #5780 0d32048 Thanks @mikearnaldi! - Fix annotateCurrentSpan, add Effect.currentPropagatedSpan

Patch Changes

  • #5780 0d32048 Thanks @mikearnaldi! - Add logs to first propagated span, in the following case before this fix the log would not be added to the p span because Effect.fn adds a fake span for the purpose of adding a stack frame.

    import { Effect } from "effect"
    
    const f = Effect.fn(function* () {
      yield* Effect.logWarning("FooBar")
      return yield* Effect.fail("Oops")
    })
    
    const p = f().pipe(Effect.withSpan("p"))

@effect/workflow@0.18.0

20 Mar 00:10
6e3782a

Choose a tag to compare

Patch Changes

@effect/vitest@0.29.0

20 Mar 00:10
6e3782a

Choose a tag to compare

Patch Changes