Skip to content

Commit

Permalink
Release @latest (#648)
Browse files Browse the repository at this point in the history
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## inngest@3.21.0

### Minor Changes

- [#651](#651)
[`a527cd3`](a527cd3)
Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add a new
`onFunctionRun.finished` middleware hook, allowing you to hook into a
run finishing successfully or failing

    ```ts
    new InngestMiddleware({
      name: "My Middleware",
      init() {
        return {
          onFunctionRun() {
            finished({ result }) {
              // ...
            },
          },
        };
      },
    });
    ```

- [#650](#650)
[`db9ed0e`](db9ed0e)
Thanks [@jpwilliams](https://github.com/jpwilliams)! - Allow specifying
an `env` when sending events via the client

    ```ts
    await inngest.send({ name: "my.event" }, { env: "my-custom-env" });
    ```

### Patch Changes

- [#646](#646)
[`0c5865c`](0c5865c)
Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix circular
`ctx` type in middleware for TS <5.1

- [#651](#651)
[`a527cd3`](a527cd3)
Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix
`beforeExecution()` hook order when all state has been used running
before `afterMemoization()`

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
inngest-release-bot and github-actions[bot] authored Jul 16, 2024
1 parent db9ed0e commit f094a22
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 41 deletions.
5 changes: 0 additions & 5 deletions .changeset/chatty-monkeys-float.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/chilly-cooks-rescue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/forty-mirrors-act.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/pretty-radios-work.md

This file was deleted.

33 changes: 33 additions & 0 deletions packages/inngest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,38 @@
# inngest

## 3.21.0

### Minor Changes

- [#651](https://github.com/inngest/inngest-js/pull/651) [`a527cd3`](https://github.com/inngest/inngest-js/commit/a527cd33c89d409c7d51022517ee579dedd71b7f) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Add a new `onFunctionRun.finished` middleware hook, allowing you to hook into a run finishing successfully or failing

```ts
new InngestMiddleware({
name: "My Middleware",
init() {
return {
onFunctionRun() {
finished({ result }) {
// ...
},
},
};
},
});
```

- [#650](https://github.com/inngest/inngest-js/pull/650) [`db9ed0e`](https://github.com/inngest/inngest-js/commit/db9ed0e24e02254cf1c49a510fb97e61f898899a) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Allow specifying an `env` when sending events via the client

```ts
await inngest.send({ name: "my.event" }, { env: "my-custom-env" });
```

### Patch Changes

- [#646](https://github.com/inngest/inngest-js/pull/646) [`0c5865c`](https://github.com/inngest/inngest-js/commit/0c5865c17279b1ccad08ffc3fb85771bb9f207d1) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix circular `ctx` type in middleware for TS <5.1

- [#651](https://github.com/inngest/inngest-js/pull/651) [`a527cd3`](https://github.com/inngest/inngest-js/commit/a527cd33c89d409c7d51022517ee579dedd71b7f) Thanks [@jpwilliams](https://github.com/jpwilliams)! - Fix `beforeExecution()` hook order when all state has been used running before `afterMemoization()`

## 3.20.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/inngest/jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://jsr.io/schema/config-file.v1.json",
"name": "@inngest/sdk",
"description": "Official SDK for Inngest.com. Inngest is the reliability layer for modern applications. Inngest combines durable execution, events, and queues into a zero-infra platform with built-in observability.",
"version": "3.20.0",
"version": "3.21.0",
"include": [
"./src/**/*.ts"
],
Expand Down
2 changes: 1 addition & 1 deletion packages/inngest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "inngest",
"version": "3.20.0",
"version": "3.21.0",
"description": "Official SDK for Inngest.com. Inngest is the reliability layer for modern applications. Inngest combines durable execution, events, and queues into a zero-infra platform with built-in observability.",
"main": "./index.js",
"types": "./index.d.ts",
Expand Down

0 comments on commit f094a22

Please sign in to comment.