This Week in Effect - 2024-06-21
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 designed to help 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 with Effect, explore our quick-start guide and documentation below.
We want to make it easy for you to find everything you need to fully enjoy your Effect journey and actively engage with the community! In this blog post series, you'll find all the significant developments from the previous week, such as Discord discussions, noteworthy posts, YouTube content, and technical advancements.
Recent major updates
- Effect is now API stable with the Effect 3.0 release.
- Effect 3.4 has been released.
- Our community on Discord reached 3060+ members!
- New Effect Days talks every week on the Effect YouTube channel.
Technology
Effect 3.4 and Schema 0.68.0 have been released.
Here are all the technical changes that occurred last week (note that changes included in the mentioned releases will not be listed).
Effect Core
- Chunk tests (Feature)
- Fix support for Predicates in Predicate.compose (Bug Fix)
- Use Math.random for Hash.random (Feature)
- JSDocs: add examples to caching functions (Documentation Update)
- Fix typo in Effect.ts (Documentation Update)
- Ensure Config.Wrap only destructures plain objects (Bug Fix)
- (JSDoc) add descriptions and examples to Effect.zip and Effect.zipWith (Documentation Update)
- Fix typos in Schedule.ts (Documentation Update)
Effect Platform
- Add documentation for toWebHandler function in README, including usage example (Documentation Update)
- Update find-my-way-ts to fix vercel edge support (Bug Fix)
- Update README with example on mocking fetch for HTTP request testing (Documentation Update)
- Update find-my-way-ts & multipasta (Feature)
- Remove dependency on /platform-node from DevTools (Refactor)
Effect Experimental
Effect SQL
- Restructure sql modules to have flat imports (Refactor)
Effect Cluster
- Restructure sql modules to have flat imports (Refactor)
Effect Schema
- Remove Simplify from extend, pick, omit, pluck APIs (Refactor)
- Add internal mergeSchemaAnnotations (Improvement)
- Expose exact option for strict decoding on missing properties (Feature)
- Improve error handling (type-level) for improper usage of optional (Improvement)
- Fix typo (isExact -> exact) and make internal toASTAnnotations more general (Improvement)
- Schema: version 0.68.0 (Feature, Bug Fix, minor)
- Fix handling of exact option overrides in AST.ParseOptions and improve error messaging in Pretty.make for unmatched union schemas (Bug Fix)
- Replace Types.Simplify with a custom Simplify to restore nice types for pick and omit (Refactor)
- Introducing Customizable Parsing Behavior at the Schema Level (Feature)
- Schema Readme: update Troubleshooting When Working With Generic Schemas section to latest changes (Documentation Update)
General Chores
Community highlights
In the last week, we welcomed +60 new Effecters to our Discord community - we're very excited to have you all on board!
- ecyrbe, Tech Lead @ Zodios, is adding Kysely support for Effect as a DB query builder. Feel free to take a look at the open PR and provide feedback.
- Michael Arnaldi will join the London Node.js User Group next week for a live coding session on Wednesday, June 26 at the Cloudflare offices in Waterloo.
- In his latest guide, Sandro Maglione solves the challenge of building a robust auth solution based on Effect with all the changes coming with React 19 and new primitives added to Next.js.
- The Evryg team are having their second Effect Paris Meetup on Tuesday, June 25th at 7:00 PM. As a reminder, the meetup will be in French.
Content update
- A new talk from the Effect Days Conference has been released on Monday. 'Discriminated Unions: From principles to practice in TypeScript, Effect, and ArkType' by David Blass. In his presentation, David gave us a deeper understanding of the set theory at the heart of TypeScript and how libraries like Effect and ArkType leverage it to improve static and runtime performance and make your code safer.
- At the Local-First Conf, Jess Martin showed how Effect Schema works with distributed data technologies like DXOS ECHO and Automerge to enable a radically better developer and end-user experience.
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-06-14
Jun. 14th, 2024
By Davide Scognamiglio, Mirela Prifti, Michael Arnaldi
Technical updates in Effect. "The Most Exciting Use of Technology" award. 'Effect CLI - A love letter to developers tired of settling for less' by Maxwell Brown.
Read more
This Week in Effect - 2024-06-28
Jun. 28th, 2024
By Davide Scognamiglio, Mirela Prifti, Michael Arnaldi
Technical updates in Effect. 'Effect, The Origin Story' by Michael Arnaldi. Community events updates.
Read more