Skip to content

Releases: inngest/inngest-js

v1.6.1

12 Apr 15:26
fce6665
Compare
Choose a tag to compare

Patch Changes

  • a840e67: INN-1126 Execute a step early if it's the only pending item during a discovery

    This reduces the number of "Function steps" used for simple step functions.

v1.6.0

05 Apr 15:17
5f1e578
Compare
Choose a tag to compare

Minor Changes

  • c7d1bee: Add onFailure handler to createFunction options, allowing you to specify a new function to run when the initial handler fails

v1.5.4

30 Mar 12:41
3a9dce9
Compare
Choose a tag to compare

Patch Changes

  • 071fe89: INN-1054 Ensure serve handlers return any instead of unknown so that they don't needlessly conflict with user types

v1.5.3

27 Mar 16:29
0909d39
Compare
Choose a tag to compare

Patch Changes

  • 906aca5: INN-1009 Show warnings when using the package with TS versions <4.7.2 and Node versions <14

    This includes tests to assert we appropriately support these versions now and in the future.

  • ca7d79e: Detect env vars from Node and Deno in serve handlers (INN-1012)

v1.5.2

27 Mar 09:31
79f8277
Compare
Choose a tag to compare

Patch Changes

  • 2d6e0b5: Fix infinite type instantiation using a looping type in serve handlers (thanks for the report, @grempe)

v1.5.1

24 Mar 12:21
62fa334
Compare
Choose a tag to compare

Patch Changes

  • 0836145: Refactor InngestCommHandler to better detect env and reduce duplication (INN-997)

v1.5.0

21 Mar 20:07
9424456
Compare
Choose a tag to compare

Minor Changes

  • ac81320: Add "inngest/lambda" serve handler for AWS Lambda environments
  • f73a346: Add "inngest/edge" serve handler for use in v8 edge runtimes

v1.4.1

20 Mar 12:03
18a8e0b
Compare
Choose a tag to compare

Patch Changes

  • 43162d3: The "Connected to inngest dev" pill at the top of the SDK's landing page now links to the connected dev server.

    Thanks, @khill-fbmc!

    image

  • 56b8e9a: Removes many any types from the internal and public APIs.

    Affects the public API, so will therefore be a package bump, but shouldn't affect any expected areas of use.

  • a45601e: Update dependency typescript to v5

    Including a bump for this as it does seem to fix some complex inference for future features.

v1.4.0

10 Mar 14:54
751e8a6
Compare
Choose a tag to compare

Minor Changes

  • ebb8740: Add ability to control the concurrency of a specific function via the concurrency option when creating an Inngest function
  • e61cf0f: Add cancelOn option when creating a function, allowing you cancel execution of a function based on incoming events.

v1.3.5

01 Mar 17:13
Compare
Choose a tag to compare

Patch Changes

  • a4f8ae8: Fixes a typing bug where both event and cron could be specified as a trigger at the same time.

    Multiple event triggers will be coming in a later update, but not in this format.

  • d6a8329: Ensure signatures are not validated during development

  • 950a2bc: Ensure inngest.send() and step.sendEvent() can be given an empty array without error