Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency inngest to v3.31.3 #7472

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 29, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
inngest (source) 3.30.0 -> 3.31.3 age adoption passing confidence

Release Notes

inngest/inngest-js (inngest)

v3.31.3

Compare Source

Patch Changes

v3.31.2

Compare Source

Patch Changes

v3.31.1

Compare Source

Patch Changes
  • #​817 446be1b Thanks @​jpwilliams! - serve() and connect() now have looser typing for client and functions, resulting in easier use of multiple inngest packages in a single process

  • #​823 f1d2385 Thanks @​jpwilliams! - Allow wildcard event typing with .fromRecord()

    The following schema is now valid:

    export const schemas = new EventSchemas().fromRecord<{
      "app/blog.post.*":
        | {
            name: "app/blog.post.created";
            data: {
              postId: string;
              authorId: string;
              createdAt: string;
            };
          }
        | {
            name: "app/blog.post.published";
            data: {
              postId: string;
              authorId: string;
              publishedAt: string;
            };
          };
    }>();

    When creating a function, this allows you to appropriately type narrow the event to pull out the correct data:

    inngest.createFunction(
      { id: "my-fn" },
      { event: "app/blog.post.*" },
      async ({ event }) => {
        if (event.name === "app/blog.post.created") {
          console.log("Blog post created at:", event.data.createdAt);
        } else if (event.name === "app/blog.post.published") {
          console.log("Blog post published at:", event.data.publishedAt);
        }
      },
    );
  • #​825 661ed7b Thanks @​jpwilliams! - If no functions are provided to inngest.connect(), it will now use any functions that have been created with the client instead

  • Updated dependencies [fadd94a]:

v3.31.0

Compare Source

Minor Changes
Patch Changes

Configuration

📅 Schedule: Branch creation - "before 8am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/inngest-3.x branch from ee41665 to e547157 Compare February 3, 2025 01:30
@renovate renovate bot changed the title fix(deps): update dependency inngest to v3.31.0 fix(deps): update dependency inngest to v3.31.3 Feb 3, 2025
@renovate renovate bot merged commit cf11cb3 into latest Feb 3, 2025
37 checks passed
@renovate renovate bot deleted the renovate/inngest-3.x branch February 3, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants