This Week in Effect - 2024-07-26
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.
Get started with Effect with our quick-start guide and documentation below:
Recent major updates:
- Effect is API stable with the Effect 3.0 release.
- Effect 3.5 has been released.
- Our community on Discord reached 3280+ members!
- All talks from Effect Days 2024 are available on the Effect YouTube channel.
Technology
Effect Schema 0.69 has been released.
Here are all the technical changes that occurred last week.
Effect Core
- Remove link to non existing API (Documentation Update)
- Fix typo propety to property (Bug Fix)
- Ensure all Data.Error arguments are preserved in .toJSON (Bug Fix)
- Fix Hash.number not returning unique values (Bug Fix)
- Adjusted various function signatures to return Array (Bug fix, next minor)
Effect Platform
- Fixed search params related function signatures (Bug Fix)
- Adjusted various function signatures to return Array (Bug fix, next minor)
Effect SQL
- Bring e/sql docs up to date after recent module reorg. (Documentation Update)
Effect Experimental
- Ensure the DevTools client flushes requests on interrupt (Bug Fix, Optimization)
Effect Schema
- Remove incorrect static override type annotations in class definitions (Bug Fix)
- Update JSON Schema guide (Documentation Update)
- Schema next minor (Improvement)
- Fix schema benchmarks (Bug Fix)
- Expose success and failure schemas on TaggedRequestClass interface (Improvement)
- Improve annotation retrieval from Class APIs (Improvement)
- Make List.Cons extend NonEmptyIterable (Feature, next-minor)
- Add Random.choice (Feature, next-minor)
- Add Context field to Schema interface (Feature)
- Add NonEmptyTrimmedString, OptionFromNonEmptyTrimmedString (Feature)
Effect RPC
- Schema next minor (Improvement)
- Adjusted various function signatures to return Array (Bug fix, next minor)
Effect Vitest
- Add vitest skipIf (Feature)
Effect CLI
- Support record argument in Prompt.all (Feature)
- Improve the JSDoc for Prompt.all (Documentation Update)
- Adjusted various function signatures to return Array (Bug fix, next minor)
General Chores
- Add patch for babel-plugin-annotate-pure-calls
- Update eslint plugin
- Change /snapshot output
- Fix /snapshot comment output
- Publish snapshots on every pull request (Optimization)
- Fix the snapshot action (Bug Fix)
- Only allow snapshots to run on pull requests (Bug Fix)
- Remove push trigger from snapshot workflow (Bug Fix)
- Remove snapshot comment (Bug Fix)
- Upgrade typescript
Community highlights
In the last week, we welcomed +40 new Effecters to our Discord community - we're very excited to have you all on board!
Stephen Bluck, a long-time Effect community member, shared one of his projects at YTK, powered by Effect: Glimmers, an NFC-enabled sticker that turns any object into a private photo journal.
Effect content update
- The second episode of Michael Arnaldi's and Maxwell Brown's series Reimagining Contentlayer, aired on Wednesday. The video will be available soon on the Effect YouTube Channel. In the meantime, you can watch it on Mike's Twitch.
- The first episode of "Reimagining Contentlayer" is now available on YouTube. Check it out below:
- Ethan Niser, Effect educator and workshop instructor at Effect Days 2024, published a video about structured concurrency where he also mentions the advanced structured concurrency model of Effect. Check out the video below.
Closing notes
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
Related Posts
This Week in Effect - 2024-07-19
Jul. 19th, 2024
By Davide Scognamiglio, Mirela Prifti, Michael Arnaldi
Technical Updates in Effect. Reimagining Contentlayer by Michael Arnaldi and Maxwell Brown.
Read more
This Week in Effect - 2024-08-02
Aug. 2nd, 2024
By Davide Scognamiglio, Mirela Prifti, Michael Arnaldi
Effect 3.6 and Effect Playground releases.'Reimagining Contentlayer' ep. 3 by Maxwell Brown and Tim Smart. 'Effect Cluster' ep.1 by Michael Arnaldi, Maxwell Brown and Mattia Manzati.
Read more