Effect CommunityEC
Effect Community3y ago
86 replies
Tim Smart

Effect Release: Breaking Changes and Other Updates

Hi everyone! (cc @1110198784417345608 )

A new release of Effect has gone out.

Breaking changes
Layer.provide now matches the semantics of Effect.provide, and Layer.use has been removed.

It is recommended to update your code to use Layer.use/useMerge first and then search/replace with Layer.provide, which could save you from introducing subtle bugs into your programs.

Other changes include:
- Internal refactor of batching
- non empty apis have been consolidated into the standard apis
- bug fixes and more...

See here for the full list! https://github.com/Effect-TS/effect/blob/main/CHANGELOG.md#200-next57

effect
Was this page helpful?