aim_edge 0.4.0
aim_edge: ^0.4.0 copied to clipboard
Shared plumbing for running Aim applications on edge runtimes. Adapter authors build on this; application authors use aim_workers or aim_deno instead.
0.4.0 #
- Breaking:
aim_edgeno longer runs applications by itself. It now holds only the plumbing shared by every edge runtime (EdgeContext,EdgeEnv, and the adapter-author surface inadapter.dart); Cloudflare-specific code moved to the newaim_workerspackage. - Breaking:
serveEdge()is removed. Cloudflare Workers applications callserveWorkers()fromaim_workersinstead. - Breaking:
Bindings,CfProperties,c.cf, andc.executionContextare removed fromaim_edge. They now live inaim_workers, unchanged. - New
aim_denopackage: a Deno adapter for Supabase Edge Functions, Deno Deploy, and Netlify Edge, built on the same sharedaim_edgeplumbing.
See the migration guide for the exact edits.
0.3.0 #
See Release Notes
0.2.0 #
- Breaking:
c.req.workerEnv/c.req.workerContextare replaced byc.env/c.executionContext(extension onContext). - Breaking: follows
aim_core's rename ofEnv→VariablesandenvFactory→variablesFactory(re-exported). c.envnow returnsBindings?(string(name),get(name),has(name),raw) instead of a bareJSObject?.- New
c.cfreturnsCfProperties?with typed getters for Cloudflare's request metadata (country, colo, city, asn, ...).
0.1.1 #
Initial release. Runs aim_core applications on Cloudflare workerd via dart compile wasm.