This Week in Effect - #127 Effect v4 Beta has moved to the canonical Effect-TS/effect repository, with the main branch now officially Effect v4 while v3 lives on the v3 branch. The effect-smol repository has been archived and its full Git history merged. Notable changes include graph set operators, CLI wizard mode, HttpApi hardening, durable execution fixes, and AI provider fixes. Hi Effecters Welcome back to This Week In Effect TWIE - your weekly update of the latest developments in the Effect community and ecosystem. Effect is a powerful TypeScript library that helps developers build complex, synchronous, and asynchronous programs. One key feature 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 and our guide for installing Effect. Enjoy Recent major updates: Effect v4 Beta https://effect.website/blog/releases/effect/40-beta/ Release 🚀 Effect AI SDK https://github.com/Effect-TS/effect/releases/tag/%40effect%2Fai%400.27.0 Release.- Durable workflows in TypeScript with - currently in alpha. @effect/workflow - 6500+ community members on Discord https://discord.gg/effect-ts . Technology Effect v4 Beta updates A landmark week for the v4 beta — the effect-smol repository was archived and its full Git history merged into the canonical Effect-TS/effect repository. The main branch of Effect-TS/effect is now officially Effect v4. Here are the most notable changes that landed this week. - Repository milestone : Effect v4 has moved to the canonical Effect-TS/effect repository. The main branch is now v4, while v3 lives on the v3 branch. The effect-smol repo is archived and read-only, with all history preserved for reference. - Graph module : Added graph set operators union , intersection , difference , made Graph interfaces opaque for better encapsulation, fixed edge transforms, mutation finalization, Walker iterator receiver, toGraphViz DOT escaping, floydWarshall null edge costs, isAcyclic for parallel undirected edges, and isGraph predicate narrowing. Also documented graph set operation gotchas. - CLI : Reintroduced CLI wizard mode, added CLI config for built-in flags, fixed missing flag value handling, fixed Command.withSubcommands losing context type inference, and added general cleanups. - HttpApi hardening : Reused response schemas, normalized payload media types, hardened HTML rendering in API docs, fixed client error and authorization decoding, improved type-level performance, kept HttpApi composition immutable, applied transformClient when building individual endpoint clients, rejected duplicate and unknown handler registrations with descriptive errors, rejected duplicate OpenAPI operations and incompatible security scheme names, compiled SSE client decoders once instead of per-request, preserved proto identifiers, and added HttpApiError for status 422. - Durable execution : Fixed durable race result replay, ensured PersistedQueue decoding failures count as processing attempts, fixed Redis-backed PersistedQueue script handling, and fixed SQL-backed persisted queues to refresh locks for actively acquired elements. - Schema fixes : Fixed JSON Schema tuple allOf intersections, fixed tuple post-rest element indexing, fixed union candidate dispatch ordering, and prevented prototype pollution in bracket-path decoding. - AI : Fixed provider-defined tools tool cloning and Anthropic client tools , and removed the legacy LSP in favor of effect/tsgo . - Runtime : Fixed handling of large millisecond values passed to sleep . To catch up on more updates, check out Effect v4 Beta updates https://effect.website/blog/tags/effect-v4-beta-recaps/ . Other technical changes from the past week. Effect Core Upgrade tstyche to latest version https://github.com/Effect-TS/effect/pull/6320 Improvement Clarify GenericTag key documentation https://github.com/Effect-TS/effect/pull/6443 Documentation Update Effect Cluster Fix EntityManager defect replay https://github.com/Effect-TS/effect/pull/6310 Bug Fix Effect Platform Update multipasta https://github.com/Effect-TS/effect/pull/6311 Improvement General Chores Add Effect v3 release workflow https://github.com/Effect-TS/effect/pull/6326 Pin to npm 11 to fix provenance bug in cli https://github.com/Effect-TS/effect/pull/6322 Configure V3 minor release queue https://github.com/Effect-TS/effect/pull/6435 Community Events - Thank you to all the attendees, speakers, and organizers of the Effect Miami 🇺🇸 2 Meetup this week 🙌It was an amazing evening at @thelabmiami https://twitter.com/thelabmiami for @EffectTS https://twitter.com/EffectTS Miami 2. Huge thanks to @DavidKPiano https://twitter.com/DavidKPiano for coming all the way to Miami and sharing his latest work on @statelyai https://twitter.com/statelyai . @cbnsndwch https://twitter.com/cbnsndwch gave a practical look at moving from NestJS to Effect, and @ariazou https://twitter.com/ariazou talked about typed, - Effect Utrecht 🇳🇱 https://luma.com/gr9wtmgs is scheduled on July 23rd Less than 10 days to the event. Sign up at luma.com/gr9wtmgs https://luma.com/gr9wtmgs @StefvanWijchen https://twitter.com/StefvanWijchen will tell us about weft github.com/stefvw93/weft https://github.com/stefvw93/weft a reactive DOM library where every node is an Effect More coming up soon I'm hosting an @EffectTS community gathering in Utrecht Interested in an introduction to Effect? Networking with early adopters? Just interested in checking the vibes of the community? Join us on 23rd of July luma.com/gr9wtmgs - Effect Office Hours 🔥 every Wednesday at 10:00 AM ET / 16:00 CET on our YouTube channel https://www.youtube.com/@effect-ts . Visit our Effect Community Events calendar https://luma.com/effect-community and subscribe for updates on upcoming Effect events. Community Highlights - Skills https://github.com/kitlangton/skills by Kit Langton, including one for writing production TypeScript with Effect v4.I threw my local @EffectTS https://twitter.com/EffectTS skill up on github in case it's useful to anyone. github.com/kitlangton/ski… https://github.com/kitlangton/skills - Hype 👀 By the way, I get the @EffectTS https://twitter.com/EffectTS hype now. What a great way of building software - Addressing OpenAI Replying to @thsottiaux https://twitter.com/thsottiaux/status/2076145711922696371 Post train on EffectTS please it will make models so much better at outputting good code - Some people use Mythos for security research, we use Tim Smart — cit Michael Arnaldi. slack connect allows us to efficiently collaborate cross functionally with the best teams across the industry - 💯 We are also doing this, but with @EffectTS https://twitter.com/EffectTS - Effect has the interesting effect of making you like TypeScript and React again. @EffectTS https://twitter.com/EffectTS has the interesting effect of making unlikable technologies likeable again. TS without Effect: Ugly - haphazard try/catch, combining random libraries, unprincipled abstractions. Add Effect: Typed errors, unified primitives replacing random libraries, elegant - This week, we started an ever-growing thread on 𝕏 collecting community-created Effect videos, from talks and tutorials to demos, podcasts, and workshops. A running thread of Effect community videos 🧵 Talks, tutorials, demos, podcasts, workshops - in no particular order - we’ll collect useful videos from people across the community building with, teaching, and talking about Effect. - Crosshatch https://github.com/crosshatch/crosshatch – an Effect-native toolkit for composing x402 payments, enabling accountless payments across EVM and Solana with USD-denominated stablecoins. By Harry Solovay.Effect-native x402. Schemas, chain-agnostic adapter system, fetch/http layers, extension support and more coming soon Please try it out and join the Discord crosshatch.dev https://crosshatch.dev svelte-effect-runtime https://github.com/usebarekey/svelte-effect-runtime – a Vite plugin and language server for writing effectful code directly in component scripts, using yield to handle async operations and side effects. Just hit its v4 release. Effect Commander - A game by jjhiggz https://github.com/jjhiggz/learn-effect-stuff built to teach Effect’s timing primitives - fibers, scheduling, retries - by strongly encouraging you to use them to solve problems. Watch the demo video https://www.loom.com/share/aa7053caa2ff448a892c126fc3c74b99 or try the platform https://github.com/jjhiggz/learn-effect-stuff yourself. effect-rpc-workers https://github.com/ksamirdev/effect-rpc-workers - A production-ready example of integrating @effect/rpc with Cloudflare Workers. By ksamirdev. Cause & Effect Podcast Don’t forget to listen to our Cause & Effect podcast hosted by Johannes Schickling and available on YouTube https://www.youtube.com/@effect-ts , X Twitter https://x.com/EffectTS /status/2067925367869022315 , and audio platforms like Spotify https://open.spotify.com/episode/5QLZ3gOCAyOSS56w69vY82 and Apple Podcast https://podcasts.apple.com/us/podcast/effectifying-opencode-8/id1781879869?i=1000773396893 . Kit Langton joined the podcast to talk about Effect, OpenCode https://opencode.ai/ , and what it takes to migrate a large TypeScript codebase to Effect. Enjoy a very Kit episode, technical, funny, opinionated, and full of love for effect systems. Play https://youtube.com/watch?v=-mL7VVvkLGM Effect Team Content Update - Effect v4 RC Prep, RPC, and GitDB | Effect Office Hours 37 🔥 Play https://youtube.com/watch?v=pqpqRE7uslQ - Effect Subtyping Play https://youtube.com/watch?v=lzlm1SBLMng - Optics Play https://youtube.com/watch?v=49lIY6fKkIU Effect Job Opportunities More and more companies are adopting Effect in their projects. Here’s a list of companies looking for software engineers with Effect experience: - Expand.ai : Founding Engineer https://www.expand.ai/careers/founding-engineer - Freckle.io is hiring Full-stack Engineers https://discord.com/channels/795981131316985866/796153351372275743/1478996807106166785 with experience in Effect. - HumanLayer : Founding Product Engineer https://www.workatastartup.com/jobs/84491 - is looking for Backend and Full Stack Engineers. See the job posting in the Joymore job-board channel on our Discord https://discord.com/channels/795981131316985866/796153351372275743/1506377610073215118 . - LEAP Legal Software is hiring a Full-stack Engineer. See the job posting in the job-board channel on our Discord https://discord.com/channels/795981131316985866/1408821228180869181/1512440072727691434 , and reach out to Willem. - ManageSpace : Full Stack Engineer mid-level — UK/US/Europe. See the job posting in the job-board channel on our Discord https://discord.com/channels/795981131316985866/796153351372275743/1509855152184627340 , and reach out to Adam. - PhosPhor is hiring engineers https://phosphor.co/ experienced in Effect. You may also reach out to the Phosphor team on our Discord https://discord.com/channels/795981131316985866/796153351372275743/1418407399139578067 . - , a HK-based but remote-friendly Fintech company, is hiring a Backend/Cloud Engineer for a greenfield project. See the job posting in the Reap https://reap.global/ job-board channel on our Discord https://discord.com/channels/795981131316985866/796153351372275743/1494185541233541270 . - Sellhub is looking for a Backend Engineer. See the job posting in the job-board channel on our Discord https://discord.com/channels/795981131316985866/796153351372275743/1423684096428736652 . - SynTwin hiring a Product Engineer https://syntwin.ai/careers/product-engineer . - Software Intelligence Works : Senior Full-Stack Engineer https://remotive.com/remote-jobs/software-dev/senior-full-stack-engineer-2011648 - is hiring its early engineering team Bay Area . The job posting is available in the Solid job-board channel on our Discord https://discord.com/channels/795981131316985866/796153351372275743/1455623052636459209 - Supermemory : Founding Backend / Infrastructure Engineer https://x.com/i/jobs/1928194391946186862 - Superwall : Full-stack Mobile Developer https://x.com/jakemor/status/1972770955500876070 - Temper : Founding Engineer https://news.ycombinator.com/item?id=47224903 - Tranched : Full-stack Engineer Web3 https://tranched.fi/careers/fullstack-developer-web3 Disclaimer: Please note that these job postings are shared for informational purposes, and we encourage applicants to verify details directly with the hiring companies. Effect Merch Store The Effect Merch Store https://effect.website/merch offers a selection of Effect-branded items designed for the community. All orders are processed and fully managed through Printful https://www.printful.com/ . Effect Merch is here We’re excited to announce the launch of our Effect merch page Grab your favorite swag & show your love for Effect in style 🧢 effect.website/merch https://effect.website/merch 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