Effect 3.12 (Release)
Effect 3.12 has been released! This release includes a number of new features and improvements. Here’s a summary of what’s new:
- Stack traces will now include the location where the function was defined, not just where it was called.
- A variant has been added that allows you to directly pass the function body.
Effect.fnUntraced
has been added which allows you to create a function that is not traced, for when performance is critical.
You can now easily extract the R
(requirements) type from a Runtime
.
This API allows you to merge multiple Context instances into a single one.
- Cron expressions now support second granularity.
- Added
Cron.unsafeParse
which throws an error if the expression is invalid
Some new schema types & combinators have been added:
DateTimeUtcFromDate
- Transform aDate
to aDateTime.Utc
.StringFromUriComponent
- Transform a URI component encoded string to a regular string.headNonEmpty
- Get the first element of a non-empty array.
There were several other smaller changes made. Take a look through the CHANGELOG to see them all: CHANGELOG.
Don’t forget to join our Discord Community to follow the last updates and discuss every tiny detail!