Skip to content

Effect

Version 4.0.0-beta.95

Patch Changes

  • #2542 a482442 Thanks @IGassmann! - Add Schema.DateFromMillis and SchemaTransformation.dateFromMillis for decoding millisecond timestamps into Date values.

  • #2559 fbefa85 Thanks @tim-smart! - fix activity retry policy

  • #2547 0b4a32f Thanks @fubhy! - Allow cron fields like 5/15 to expand from the starting value through the field maximum.

  • #2557 18a49e1 Thanks @fubhy! - Fix Schedule.cron when the test clock is adjusted to infinity.

  • #2560 266cb90 Thanks @gcanti! - Treat empty strings as missing values in built-in ConfigProviders by default.

    ConfigProvider.fromEnv, ConfigProvider.fromDotEnvContents, ConfigProvider.fromDotEnv, ConfigProvider.fromUnknown, and ConfigProvider.fromDir now treat literal empty strings as absent values when loaded as values, allowing Config.withDefault and Config.option to recover. Container discovery still reflects the source structure. Pass preserveEmptyStrings: true to restore the previous behavior.

    ConfigProvider.fromDotEnv({ expandVariables: true }) now expands variables consistently with ConfigProvider.fromDotEnvContents.

  • #2554 912f095 Thanks @tim-smart! - Add Schedule.upTo options for limiting schedules by duration and/or recurrence count.

  • #2556 a6718f9 Thanks @fubhy! - Fix cron parsing and scheduling edge cases for whitespace, Sunday 7, strict numeric tokens, explicit full day ranges, and month-constrained day-of-month / weekday matching.

  • #2551 bef5154 Thanks @tim-smart! - Remove the Schedule.both APIs and add Schedule.max for combining schedules by their slowest delay.

  • #2553 18e0564 Thanks @tim-smart! - Remove some Schedule APIs: collectInputs, collectOutputs, collectWhile, delays, reduce, satisfiesErrorType, satisfiesInputType, satisfiesOutputType, satisfiesServicesType, and unfold.

  • #2558 fb50f14 Thanks @tim-smart! - Remove the Schedule.either APIs and add Schedule.min for fastest-duration schedule composition.