Skip to content

v2.0.0-beta.85

Choose a tag to compare

@github-actions github-actions released this 02 Nov 21:06
· 417 commits to main since this release

   🚨 Breaking Changes

  • aws:
    • DynamoDB is the default AWS.state(), with alchemy state migrate from S3  -  by Sam Goodwin in #2691 (1e5fb)
    • lambda: Event-source handlers return Lambda's batch response for partial failures  -  by Sam Goodwin in #2508 (64896)
  • cloudflare:
    • Durable Object jurisdiction for the Domain platform and workflow engine  -  by wikirik-agent and Sam Goodwin in #2601 (5959e)
    • Cloudflare.state takes workerName only  -  by Sam Goodwin in #2945 (02100)
    • dns: Replace foundationDns with nameservers.type cloudflare.advanced  -  by Sam Goodwin in #2501 (1e938)
  • domain:
    • A command client takes the target, the input, then call options  -  by Taras Kornichuk and Sam Goodwin in #2561 (bfc97)
  • gcp:
    • sql: Private networking, SSL and backup settings on Instance  -  by Sam Goodwin in #2642 (7970c)
  • github:
    • Move Ruleset rules to top-level props  -  by Sam Goodwin in #2582 (10ed4)
  • test:
    • Move Test.make into @alchemy.run/test  -  by Sam Goodwin in #2621 (ea988)

   🚀 Features

  • alchemist:
    • Scriptable CLI operations and centralised structured logs  -  by Rahul Mishra in #2765 (972f2)
  • alchemy-test:
    • Add --stage; document worktrees and all three test runners  -  by Sam Goodwin in #2613 (a9255)
  • astro:
    • Custom Worker entry via main  -  by DivMode and Sam Goodwin in #1841 (7399a)
  • aws:
    • GCP hosts assume AWS roles with Google ID tokens  -  by Sam Goodwin in #2645 (d358b)
    • DynamoDB state store  -  by Sam Goodwin in #2683 (b25f9)
    • autoscaling:
      • InstanceRequirements and availabilityZoneDistribution on AutoScalingGroup  -  by Sam Goodwin and Henry Marks in #2817 (b4bd9)
    • ec2:
      • Support regional NAT gateways  -  by Sam Goodwin in #2498 (f2914)
    • eventbridge:
      • Global Endpoint resource, PutEvents through endpoints  -  by Sam Goodwin in #2507 (7438a)
    • lambda:
      • Route event sources, URLs and integrations through a Function alias  -  by Sam Goodwin in #2504 (24389)
      • Stream Effect responses through RESPONSE_STREAM function URLs  -  by Sam Goodwin in #2502 (f038e)
      • Start durable executions on the Function alias  -  by Sam Goodwin in #2528 (ecca7)
      • Interrupt the handler at its timeout  -  by Sam Goodwin in #2682 (86bfa)
  • cli:
    • Make distilled lazy stubs opt-in with --fast-distilled  -  by Michael K in #2677 (2bfe5)
  • cloudflare:
    • Emulate Flagship locally in alchemy dev  -  by Sam Goodwin in #2746 (383d8)
    • Workflow jurisdiction  -  by Sam Goodwin in #2734 (db74f)
    • Email.Routing subaddressing and Email.RoutingSubdomain  -  by Leonardo E. Dominguez and Sam Goodwin in #2762 (7d70c)
    • Configure workerd options with dev.workerd and env vars  -  by Rahul Mishra in #2791 (5b8a2)
    • Interrupt the Worker handler on client abort  -  by Alex and Sam Goodwin in #1638 (f3df9)
    • access: Declare every Access organization setting; accept Redacted IdP client secrets  -  by Dillion Verma and Sam Goodwin in #2291 (7568f)
    • alerting: ConsumeNotifications event source  -  by Sam Goodwin in #2519 (2ac47)
    • artifacts: Read repo history and files through the binding  -  by Matthew Aylward and Sam Goodwin in #1916 (60506)
    • queues: Queue settings and jurisdiction  -  by Sam Goodwin in #2538 (399bf)
    • r2: Us jurisdiction  -  by Thijs Koerselman and Sam Goodwin in #2758 (45b41)
    • state-store: Deploy the state store with direct API calls  -  by Sam Goodwin in #2385 (14121)
    • workers: CodeUpdateStrategy for Durable Object code updates  -  by Sam Goodwin in #2863 (0a26c)
  • cloudflare-runtime:
    • Update workerd and sync workers-sdk  -  by Rahul Mishra in #2673 (3bb45)
  • command:
    • Command.Dev can wait for a required URL  -  by Jason Kuhrt and Sam Goodwin in #2735 (955e0)
    • Command.Dev can be told its port  -  by Jason Kuhrt and Sam Goodwin in #2750 (7855e)
  • dns:
    • Serializable DNS adapters for custom domains on every platform  -  by Sam Goodwin and Dan Myles in #1888 (ab270)
  • docker:
    • Build args and BuildKit secrets on every Dockerfile build  -  by Jordan and Sam Goodwin in #2225 (f5737)
    • Support container runtime hardening options  -  by Yuzu and Sam Goodwin in #2623 (6541f)
  • domain:
    • A failed story shows every step and the events so far  -  by Taras Kornichuk in #2475 (08387)
    • Stories assert real external calls and fail stubbed ones  -  by Sam Goodwin in #2477 (1cb5b)
    • Story.call and Story.succeed  -  by Sam Goodwin in #2481 (876b1)
    • A story's clock only moves forward  -  by Taras Kornichuk and Sam Goodwin in #2564 (f1771)
    • An external system operation can declare several errors  -  by Taras Kornichuk and Sam Goodwin in #2553 (ce4db)
    • Story.state takes a partial state; fix the hosting skill's Api example  -  by Taras Kornichuk and Sam Goodwin in #2549 (5d56d)
    • Api.Any, Api.commands and Api.rejections  -  by Taras Kornichuk and Sam Goodwin in #2566 (82ea9)
    • Key views, projections, streams and policies by a Schema value  -  by Taras Kornichuk and Sam Goodwin in #2554 (fc143)
    • Domain.protocolInProcess and client shortcuts per protocol  -  by Taras Kornichuk and Sam Goodwin in #2550 (efea3)
    • Unschedule a pending scheduled command  -  by Taras Kornichuk and Sam Goodwin in #2547 (b666b)
    • View.snapshot gives state and cursor together; list takes atLeast  -  by Taras Kornichuk and Sam Goodwin in #2567 (bc3bd)
    • Aggregate.predict and View.evolve  -  by Taras Kornichuk and Sam Goodwin in #2568 (1b7ad)
    • A command's target must be its aggregate's id schema  -  by Taras Kornichuk and Sam Goodwin in #2563 (a39a1)
    • Story.advance moves the clock forward by a duration  -  by Sam Goodwin in #2629 (b0b85)
    • Every live read carries cursors and marks the end of its history  -  by Sam Goodwin and Taras Kornichuk in #2579 (ce983)
    • Story steps type-check against the last command  -  by Taras Kornichuk and Sam Goodwin in #2559 (28b92)
    • A story fails on committed events no step asserts  -  by Taras Kornichuk and Sam Goodwin in #2551 (e6f35)
    • Add a Foldkit adapter  -  by Taras Kornichuk and Sam Goodwin in #2700 (a2b39)
    • Expose native decision metadata  -  by Taras Kornichuk and Sam Goodwin in #2575 (f1b40)
    • Check external system calls against their schemas  -  by Taras Kornichuk and Sam Goodwin in #2548 (c365c)
    • Rejection takes Schema.TaggedError's annotations; rejects takes any tagged error  -  by Sam Goodwin in #2780 (5ec8e)
    • Domain.Api names what of its Model it serves, all by default  -  by Sam Goodwin in #2820 (27edb)
    • ToHttpApi publishes an Api, live reads included, as an HttpApi with OpenAPI  -  by Taras Kornichuk and Sam Goodwin in #2587 (6ead5)
    • @alchemy.run/domain/Ai serves an Api as Effect AI tools and an MCP server  -  by Taras Kornichuk and Sam Goodwin in #2586 (130ff)
    • ToCli runs an Api's calls from a terminal  -  by Taras Kornichuk and Sam Goodwin in #2588 (269ab)
    • Backfill and rebuild views and projections in timestamp order  -  by Sam Goodwin in #2725 (3700f)
    • An Api serves every aggregate that declares read, and only those  -  by Sam Goodwin in #2865 (4098c)
    • Give each model its own storage and keep deployed data on upgrade  -  by Taras Kornichuk in #2560 (55e34)
    • Bump a view's version to rebuild it, in place when keyed by its aggregate; lazy views  -  by Sam Goodwin in #2875 (42adb)
  • drizzle:
    • Drizzle 1.0.0-rc.5 and better schema migrations  -  by Rahul Mishra in #2433 (099e8)
  • engine:
    • Observe hook checks ownership before a cyclic precreate  -  by Nacho Vazquez and Sam Goodwin in #2195 (e993d)
  • frontend-frameworks:
    • Support the latest Astro, Octane, Waku, React Router and Vite releases  -  by Rahul Mishra in #2676 (09098)
  • gcp:
    • Support BigQuery subscriptions on PubSub.Subscription  -  by Lucas Duailibe and Sam Goodwin in #2213 (e3763)
    • Gcloud login auth method  -  by Sam Goodwin in #2635 (ebedd)
    • AWS hosts reach GCP through workload identity federation  -  by Sam Goodwin in #2648 (12da0)
    • Sign in with named gcloud configurations  -  by Sam Goodwin in #2680 (4a846)
    • Deploy-time SQL migrations on Cloud SQL, AlloyDB, and Spanner  -  by Sam Goodwin and Claude in #2651 (ac6a6)
    • iam:
      • Add WorkloadIdentityPool and WorkloadIdentityProvider  -  by fullflexer and Sam Goodwin in #2130 (c3239)
    • run:
      • Startup probes, liveness probes and dependsOn on Service containers  -  by Sam Goodwin in #2644 (3cdc4)
      • Container sidecars with bindContainer and bindPort  -  by Sam Goodwin in #2652 (ccb13)
      • InvokeService calls RPC methods on private services  -  by Sam Goodwin in #2653 (8c1eb)
      • Typed Effect RPC and HttpApi clients for sidecars and services  -  by Sam Goodwin in #2654 (96b0c)
      • List a Container in a Service's template  -  by Sam Goodwin in #2657 (31841)
  • github:
    • Runtime bindings for issues and pull requests  -  by Sam Goodwin in #2529 (6c36e)
    • Add mergeQueue rule to GitHub.Ruleset  -  by Sam Goodwin in #2577 (d1e46)
    • Replace Octokit with the distilled GitHub SDK  -  by Sam Goodwin in #2530 (e0682)
  • sql:
    • Shared connection and import helpers  -  by Sam Goodwin and Claude in #2662 (4cddc)
  • stack:
  • test:
    • Publish alchemy-test as @alchemy.run/test  -  by Sam Goodwin in #2452 (ac1ae)

   🐞 Bug Fixes

  • Support effect 4.1  -  by Sam Goodwin in #2754 (9d070)
  • Upgrade foldkit to 0.170 for effect 4.1  -  by Sam Goodwin in #2790 (68e87)
  • Remove child process logs annotation on every line  -  by Rahul Mishra in #2832 (c78e1)
  • Release hardening (2026-10-31)  -  by Sam Goodwin in #2866 (13e6a)
  • auth:
    • Resolve deferred credentials with the build-time ConfigProvider  -  by Sam Goodwin in #2490 (d341e)
    • Consistent missing-credential errors across providers  -  by Rahul Mishra in #2610 (a3fa7)
    • Resolve credentials with the caller's config instead of the last deploy's  -  by mattespapier and Sam Goodwin in #2139 (1b121)
    • Every OAuth refresh re-reads stored config under the credentials lock  -  by 0xMilkEnjoyer and Sam Goodwin in #1923 (29537)
  • aws:
    • Let ECR images hash only what .dockerignore keeps  -  by Dan Myles and Sam Goodwin in #2351 (1d27e)
    • Stop reporting untouched resources as drifted  -  by Sam Goodwin in #2496 (ac234)
    • Detect out-of-band config drift on Lambda, DynamoDB and S3  -  by Sam Goodwin in #2661 (00695)
    • Observe managed configuration so drift detects out-of-band changes  -  by Sam Goodwin in #2705 (4f4c1)
    • cloudfront:
      • KvEntries delete removes only its own keys  -  by Dan Myles and Sam Goodwin in #1910 (e91a0)
    • ec2:
      • Idempotent Instance and Volume creates  -  by Ahmed Hesham Abdelkader and Sam Goodwin in #2598 (e0642)
    • ecs:
      • Attach cluster capacity providers before the ECS service-linked role propagates  -  by Sam Goodwin in #2487 (7609c)
      • Skip the dev Service watcher's reconcile when the image content is unchanged  -  by TBIQ007 and Sam Goodwin in #2097 (801dc)
    • eks:
      • Keep unchanged AccessEntry policies on reconcile  -  by Sam Goodwin in #2489 (b8636)
      • Skip no-op AccessEntry group and username updates  -  by Sam Goodwin in #2506 (d993e)
    • elbv2:
      • Detect and repair load balancer, target group and listener attribute drift  -  by Sam Goodwin in #2488 (ba642)
    • lambda:
      • Replace an EventSourceMapping when its event source is replaced  -  by Jason Hassold and Sam Goodwin in #2535 (9e94a)
    • rds:
      • Resend DBInstance modifies that reach a busy instance  -  by Sam Goodwin in #2493 (6ec10)
      • RDS.Connect supports DBInstance and managed master secrets  -  by Sam Goodwin in #2756 (238b2)
    • route53:
      • Keep records another resource took over when names swap  -  by Sam Goodwin in #2486 (bd4be)
  • axiom:
    • Accept the already-redacted token distilled now returns  -  by Sam Goodwin in #2858 (0d8a1)
    • Keep the API token redacted once  -  by Sam Goodwin in #2859 (76cef)
  • bundle:
    • Smaller, cheaper runtime bundles  -  by Sam Goodwin in #2492 (5d9fe)
  • cli:
    • Destroy plans from state without evaluating the stack program  -  by Sam Goodwin in #2491 (3380b)
  • cloudflare:
    • Use correct loader for ViteChild under bun  -  by Rahul Mishra in #2525 (a6831)
    • Unbind a secret removed from a Worker's env  -  by DivMode and Sam Goodwin in #2327 (6cbce)
    • Declare Container's network shape, and correct the documented example  -  by Cyberistic and Sam Goodwin in #1763 (917b3)
    • Set error span status on failed Effect spans in the native tracer  -  by Sam Goodwin in #2687 (5e084)
    • Async Workers can bind each other without recursing to OOM  -  by Sam Goodwin in #2681 (517e5)
    • Worker and D1 read keep the persisted shape so drift ignores unchanged resources  -  by DivMode and Sam Goodwin in #2169 (1e23f)
    • Bundled Workers can import files via rules  -  by Rahul Mishra in #2792 (9900c)
    • Stop Vite dev containers when the Worker is deleted  -  by Rahul Mishra in #2827 (5c04a)
    • List every account in the login picker  -  by Sam Goodwin in #2902 (7cadc)
    • Wake-ups from alarm callbacks run on time  -  by Sam Goodwin in #2916 (d08dc)
    • Use a local-only Container image when it can't be pulled  -  by Sam Goodwin in #2922 (90d41)
    • container:
      • Link bundle copies and retry stalled image builds  -  by Sam Goodwin in #2733 (6f5e5)
    • containers:
      • Keep transport error cause on registry digest lookup  -  by Sam Goodwin in #2576 (443b4)
      • Create a new class's container application in the same deploy  -  by Drew Powers and Sam Goodwin in #2342 (6448b)
      • Save the rolled-out application so drift matches read  -  by Gjermund Garaba and Sam Goodwin in #2647 (413c1)
    • d1:
      • Accept cached uploads and completed ingestion in D1 import  -  by Sam Goodwin in #2509 (03cbc)
    • hyperdrive:
      • Skip updateConfig when the live config already matches  -  by Sam Goodwin in #2503 (cc1aa)
    • queues:
      • Accept a Queue as deadLetterQueue and document consuming it  -  by Sam Goodwin in #2510 (2b39d)
    • r2:
      • ForceDestroy aborts incomplete multipart uploads with the API token  -  by Sam Goodwin in #2537 (c1271)
    • secretsstore:
      • Find a Secret by name with the store's search filter  -  by Andoni Enriquez and Sam Goodwin in #2443 (7d495)
    • state:
      • Ship typed StateStoreFailure to deployed stores and route long FQNs  -  by Sam Goodwin in #2512 (a333b)
    • statestore:
      • Fail instead of bootstrapping when the store's existence is unknown  -  by apostoli and Sam Goodwin in #2605 (59fd1)
    • website:
      • Support Astro route caching with cacheCloudflare()  -  by Sam Goodwin in #2539 (ab920)
    • workers:
      • WorkerExecutionContext in HttpApi handlers built at init  -  by Sam Goodwin in #2461 (6f739)
      • Never delete an account Worker from an unscoped precreate stub  -  by Sam Goodwin in #2534 (bd58d)
      • Typed Worker.ref from a declaration  -  by Sam Goodwin in #2609 (224f1)
      • Pass json binding payloads through verbatim in Preview deploys  -  by Patt O'Brien and Sam Goodwin in #2127 (70f6a)
      • Provide workerd-safe runtime services  -  by Harry Solovay and Sam Goodwin in #1403 (7e7dd)
      • Carry trace context through Durable Object RPC  -  by Sam Goodwin in #2783 (cc9da)
      • Update redirect rules when the canonical name changes  -  by 0xMilkEnjoyer and Sam Goodwin in #2761 (842b5)
  • cloudflare-runtime:
    • Never resolve Vite dev ASSETS against a disabled publicDir  -  by Sam Goodwin in #2615 (50c12)
    • Keep the response tail when the upstream closes cleanly  -  by Yanqi Zong and Sam Goodwin in #2841 (b3aba)
    • Only contact Docker when a Worker has containers  -  by Sam Goodwin in #2784 (49a66)
    • vite: Leave WebSocket upgrades other plugins accept to them  -  by Sam Goodwin in #2516 (81ffa)
  • dns:
    • Preserve deferred zone inputs  -  by bjorntechTobbe in #2861 (bc58c)
  • docker:
    • Update Docker.Service in place so rolling updates and rollbacks apply  -  by Mycael Dias and Sam Goodwin in #2536 (6f7e5)
  • domain:
    • Evolve never throws; definition problems fail the Layer with a tagged error  -  by Sam Goodwin and Taras Kornichuk in #2612 (1ac27)
    • Keep an envelope's correlationId on the wire  -  by Taras Kornichuk and Sam Goodwin in #2565 (74886)
    • Decode filters and live reads with schemas  -  by Sam Goodwin in #2639 (57798)
    • Read middleware errors from the middleware's Identifier  -  by Taras Kornichuk and Sam Goodwin in #2591 (e000f)
    • Export captureContext from Platform so the Cloudflare host loads  -  by 0xMilkEnjoyer and Sam Goodwin in #2721 (a8081)
    • DefinitionError reasons instead of thrown messages  -  by Sam Goodwin in #2818 (14eae)
    • cli: --json takes a command's wire payload with its nested input  -  by Sam Goodwin in #2857 (fa757)
  • drift:
    • Recreate deleted resources in dependency order  -  by Sam Goodwin in #2495 (c7f65)
  • engine:
    • Admit Worker replacements before mutation  -  by Nacho Vazquez and Sam Goodwin in #2200 (44e9e)
    • Never recover an interrupted create from stripped props  -  by Nacho Vazquez and Sam Goodwin in #2199 (be81d)
    • Check ownership of identities that resolve during apply  -  by Sam Goodwin in #2620 (67975)
    • Recover interrupted creates whose props hold Effect values  -  by Sam Goodwin in #2686 (7abde)
    • Resolve a cycle's props from outside it before precreate  -  by Sam Goodwin in #2643 (52419)
    • A ref to a resource in the same stack is a dependency  -  by Sam Goodwin in #2913 (45070)
  • gcp:
    • Set the node service account on Autopilot Container clusters  -  by Stefan W and Sam Goodwin in #2597 (c65ab)
    • Support standalone projects without hierarchy parents  -  by Sam Goodwin and Johannes Schickling in #2616 (4f91e)
    • Move AIPlatform Agent to aiplatform v1beta1 in the global location  -  by Michael K in #2808 (71830)
    • iam: Workload identity pool name carries the project number  -  by Sam Goodwin in #2641 (9f185)
    • resourcemanager: Project removes labels dropped from props  -  by Sam Goodwin in #2636 (b1daa)
  • local:
    • Bind the Bun RPC sidecar to loopback  -  by Yanqi Zong and BlankParticle in #2845 (cc32f)
  • pkg:
    • Wait for GitHub to report the publishing run as in progress  -  by Sam Goodwin in #2824 (97505)
  • platform:
    • Runtime Config decodes JSON-looking env strings  -  by Sam Goodwin in #2619 (85476)
  • prisma:
    • Custom domains attach to apps on any branch  -  by Will Madden and Sam Goodwin in #2696 (2ab65)
    • Update @prisma/dev to ^0.25.2  -  by Aman Varshney in #2730 (04a6f)
  • skills:
    • Link alchemy-domain into .agents/skills so npx skills add finds it  -  by Artisann in #2595 (25abd)
  • sql:
    • Migrate docs, examples, and tests to effect-native SQL drivers  -  by Sam Goodwin in #2439 (5f21a)
    • migrations: Check the ledger before resending a failed migration batch  -  by Ahmed Hesham Abdelkader and Sam Goodwin in #2720 (e292b)
  • state:
    • Take back a bucket-store lease that lapsed while still held  -  by Sam Goodwin in #2693 (46458)
  • test:
    • Release a stack's state lease after each harness deploy/destroy  -  by Sam Goodwin in #2494 (a2fff)
    • Read dev Worker output through Test.resourceLog  -  by Rahul Mishra in #2821 (d8248)
  • website:
    • Honor a config-file Astro output in Website.Astro  -  by Sam Goodwin in #2505 (e2cef)
    View changes on GitHub