first blog post! ethanniser.dev/blog/effect-be…
This Week in Effect - 2024-08-09
Hi Effecters!
Welcome back to This Week In Effect (TWIE) – a weekly update to keep you in the loop with all the latest developments in the Effect community and ecosystem.
Effect is a powerful TypeScript library that helps developers create complex, synchronous, and asynchronous programs. One of the key features that sets Effect apart is how it leverages structured concurrency to provide features such as async cancellation and safe resource management, making it easier to build robust, scalable, and efficient programs.
To get started, below you’ll find links to our documentation as well as our guide for installing Effect. Enjoy!
Recent major updates:
- Effect is API stable with the Effect 3.0 release.
- Effect 3.6 has been released.
- Our community on Discord reached 3360+ members!
- All talks from Effect Days 2024 are available on the Effect YouTube channel.
- For those who may have missed last week announcement, we introduced the Effect Playground, an interactive coding experience on Effect’s website for exploring API, with features like Monaco editor, file tree, terminal, and integration with Effect Developer Tools. Read the full Effect Playground release post and happy coding!
Here are all the technical changes that occurred last week.
- Fix Effect.repeat with times option returning wrong value (Bug Fix)
- Add propagateInterruption option to Fiber ‘Handle,Set,Map’ (Feature, next-minor)
- Ensure fiber is properly cleared in FiberHandle.unsafeSet (Bug Fix)
- Remove TimeToLive trait in favour of timeToLive options (Enhancement)
- Properly interrupt DevTools client during finalization (Bug Fix)
- Ensure failure in HttpMiddleware results in a response (Bug Fix)
- Ensure broken HttpMiddleware that doesn’t fail responds (Bug Fix)
- Add ‘Bun,Node’HttpServer.layerTest for testing http servers (Feature)
- Fix for missing global undici dispatcher (Bug Fix)
- Remove host from HttpServerRequest url’s (Bug Fix)
- Add Cookies.get/getValue apis (Feature)
- Update README.md (Documentation Update)
- Update README.md (Documentation Update)
- Representing Optional Fields with never Type (Documentation Update)
- Fix return types for attachPropertySignature function (Bug Fix)
- Interrupt effect when test finishes (Bug Fix)
- update version of node used by ci (Optimization)
In the last week, we welcomed +50 new Effecters to our Discord community - we’re very excited to have you all on board!
- Ethan Niser, Effect educator and workshop instructor at Effect Days 2024, recently started his own blog and, in his very first article, he shared a series of Effect best practices.
- David Siegel, CEO of Glide, showed how an Effect service can be used for structured generation in LLMs completion.
types 🤝 llms – @OpenAI structured completion
- Wayne Maurer, co-founder of Lambda IT, answering to a Matt Pocock’s tweet, made a statement that we definitely resonate with:
I've never been so happy writing backend code than right now, with the @EffectTS_ ecosystem.
- The first design sync session of Effect Cluster with Michael Arnaldi, Maxwell Brown, and Mattia Manzati.
- The third episode of ‘Reimagining ContentLayer With Effect’ with Maxwell Brown and Tim Smart.
That’s all for this week. Thank you for being a vital part of our community. Your feedback is highly valued as we fine-tune this format. Feel free to share your thoughts, and we’ll do our best to tailor it to the needs of our community.
Effect Community Team