github Effect-TS/effect effect@4.0.0-beta.100

Patch Changes

  • #6501 c1288dd Thanks @gcanti! - Add a discriminants tuple to schemas augmented with Schema.toTaggedUnion and reject duplicate discriminant
    property keys.

  • #6475 2b58a3d Thanks @fubhy! - Normalize cron month and weekday aliases independently of the host locale.

  • #6492 6dc83f2 Thanks @gcanti! - Preserve nested class construction when applying constructor defaults, closes #6491.

  • #6476 c1e2fe0 Thanks @fubhy! - Add Cron day and weekday intersection semantics in inspection representations.

  • #6474 f3fbae8 Thanks @fubhy! - Validate Cron.make field constraints and treat weekday 7 as Sunday consistently with cron parsing.

  • #6472 e000f80 Thanks @fubhy! - Fix Cron.prev day-of-month rollover across shorter months and non-leap years.

  • #6471 f4ee765 Thanks @fubhy! - Fix Cron.prev weekday wrapping to always return a matching instant before the input.

  • #6477 510b55f Thanks @fubhy! - Make Cron equality and hashing include the optional timezone consistently.

  • #6433 31d3fc4 Thanks @coyaSONG! - Fix the published declaration for HttpEffect.appendPreResponseHandlerUnsafe.

  • #6487 875e618 Thanks @rvaccone! - Fix doubled Expected: Expected ... prefixes in CLI InvalidValue error messages, closes #6312.

  • #6496 688d46a Thanks @tim-smart! - Port Effect.reduce from Effect v3.

  • #6480 6ff5023 Thanks @fubhy! - Correct the diagnostic for cron step values above a field's maximum.

  • #6484 c0333e7 Thanks @tim-smart! - Fix fiber self-interuption from inside a running operation

  • #6493 06e7e8c Thanks @tim-smart! - Make multipart errors respond with an HTTP status based on their reason and ignore them in the error reporter.

  • #6498 eb9b102 Thanks @thewilkybarkid! - Don’t create a table when it’s not needed

  • #6494 8b155da Thanks @tim-smart! - only interrupt cache lookup when all awaiters are gone

  • #6495 3a87335 Thanks @tim-smart! - clean up more references on fiber exit

Don't miss a new effect release

NewReleases is sending notifications on new releases.