Skip to content

Releases: Effect-TS/effect

@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

@effect/typeclass@0.40.0

20 Mar 00:10
6e3782a

Choose a tag to compare

Patch Changes

@effect/sql@0.51.0

20 Mar 00:11
6e3782a

Choose a tag to compare

Patch Changes

@effect/sql-sqlite-wasm@0.52.0

20 Mar 00:10
6e3782a

Choose a tag to compare

Patch Changes

@effect/sql-sqlite-react-native@0.54.0

20 Mar 00:10
6e3782a

Choose a tag to compare

Patch Changes

@effect/sql-sqlite-node@0.52.0

20 Mar 00:10
6e3782a

Choose a tag to compare

Patch Changes

@effect/sql-sqlite-do@0.29.0

20 Mar 00:10
6e3782a

Choose a tag to compare

Patch Changes