inngest@3.50.0
Minor Changes
-
#1226
dab4607cThanks @jpwilliams! - Adds the ability to configure the number ofbufferedStepsandmaxIntervalwhen checkpointing.import { inngest } from "./client"; export const helloWorld = inngest.createFunction( { id: "hello-world", checkpointing: { bufferedSteps: Infinity, maxInterval: "5s" }, }, { event: "demo/event.sent" }, async ({ event, step }) => { const a = await step.run("a", () => "a"); const b = await step.run("b", () => "b"); const c = await step.run("c", () => "c"); return { message: `Hello ${event.name}! ${a} ${b} ${c}`, }; }, );
If
checkpointing: trueis used,bufferedStepsdefaults to1and nomaxIntervalis set. -
#1093
ad044e05Thanks @jpwilliams! - Add realtime client methods toinngest:inngest.realtime.publish()inngest.realtime.getSubscriptionToken()step.realtime.publish()
Patch Changes
-
#1267
093c4f96Thanks @amh4r! - Fix not properly handling transfer chunked requests -
#1233
df7d3023Thanks @Linell! - Lazily load ulid to avoid issues in edge environments. -
#1257
0eb6b473Thanks @Linell! - Use native Web Crypto API for HMAC-SHA256 signing with hash.js fallbackThis change improves performance by using the native Web Crypto API when available for request signature verification. Falls back to hash.js for environments without crypto support.
-
#1226
dab4607cThanks @jpwilliams! - Correctly access parallel step IDs from resumed sync requests -
#1226
dab4607cThanks @jpwilliams! - Default to v2 execution version when checkpointing