Skip to content

effect@3.5.4

Choose a tag to compare

@github-actions github-actions released this 16 Jul 01:32
· 1933 commits to main since this release
3271ca1

Patch Changes

  • #3253 ed0dde4 Thanks @tim-smart! - update dependencies

  • #3247 ca775ce Thanks @tim-smart! - if performance.timeOrigin is 0, use performance.now() directly in Clock

    This is a workaround for cloudflare, where performance.now() cannot be used in
    the global scope to calculate the origin.

  • #3259 5be9cc0 Thanks @IMax153! - expose Channel.isChannel

  • #3250 203658f Thanks @gcanti! - add support for Refinements to Predicate.or, closes #3243

    import { Predicate } from "effect";
    
    // Refinement<unknown, string | number>
    const isStringOrNumber = Predicate.or(Predicate.isString, Predicate.isNumber);
  • #3246 eb1c4d4 Thanks @tim-smart! - render nested causes in Cause.pretty