Skip to content

Update dependency probot to v14#23

Closed
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/probot-14.x
Closed

Update dependency probot to v14#23
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/probot-14.x

Conversation

@renovate

@renovate renovate Bot commented Jul 31, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
probot (source) ^13.0.1^14.0.0 age confidence

Release Notes

probot/probot (probot)

v14.3.2

Compare Source

Bug Fixes
  • deps: update dependency yaml to v2.8.3 [security] (79b556e)

v14.3.1

Compare Source

Bug Fixes
  • cli: turn off strict args parsing to re-allow using receive command with args (#​2304) (67a30d1)

v14.3.0

Compare Source

Bug Fixes
Features
  • replace dotenv with node native parseEnv, when using deno runtime use deno >2.7.0 (#​2265) (c94ac6e)

v14.2.4

Compare Source

Bug Fixes

v14.2.3

Compare Source

Bug Fixes

v14.2.2

Compare Source

Bug Fixes

v14.2.1

Compare Source

Bug Fixes

v14.2.0

Compare Source

Features

v14.1.0

Compare Source

Features
  • remove sourcemaps, ensure only erasableSyntaxOnly is enforced (#​2253) (94b8929)

v14.0.6

Compare Source

Bug Fixes

v14.0.5

Compare Source

Bug Fixes

v14.0.4

Compare Source

Bug Fixes

v14.0.3

Compare Source

Bug Fixes

v14.0.2

Compare Source

Bug Fixes

v14.0.1

Compare Source

Bug Fixes
  • add explicit undefined to optional types, and update webhooks types (#​1979) (05179ff)

v14.0.0

Compare Source

BREAKING CHANGES
  • Probot is now an ESM only library
  • drop Node > 20.17 and Node 21 support
  • Switch to GitHub's OpenAPI specification for Webhooks (from @octokit/webhooks v13)
  • Remove legacy REST enpoint method access. Users will now have to use the octokit.rest.* methods
  • Remove express server from within Probot.
  • All properties marked as private in Typescript, including Probot#state, are now private class fields.
  • createNodeMiddleware() is now an async function
  • @sentry/node needs to be installed separately if needed
  • ioredis needs to be installed separately if needed
  • The built-in server now listens on localhost by default instead of 0.0.0.0.

Probot v14 Migration Guide

ESM Only Package

Probot is now exclusively an ESM package. Either migrate to ESM (recommended), or use `require(esm).

Migrating to ESM:

  1. Update package.json:
{
  "type": "module"
}
  1. Replace all CommonJS require() statements with ESM import syntax
  2. Update your TypeScript configuration:
{
  "compilerOptions": {
    "module": "node16",
    "moduleResolution": "node16"
  }
}

For require(esm):

  • For TypeScript 5.7-5.8: Use "module": "nodenext" and "moduleResolution": "nodenext"
  • For TypeScript 5.9+: Use "module": "node20" and "moduleResolution": "node20"

Node.js Version Requirements

  • Minimum supported version: Node.js 20.18+ and 22+
  • Node.js 21 support has been dropped

Webhook Type Definitions

Replace webhook type imports:

// Before
import { WebhookEvent } from "@​octokit/webhooks-types";

// After
import { WebhookEvent } from "@​octokit/openapi-webhooks-types-migration";

REST API Access Pattern

Legacy endpoint methods have been removed:

app.on("issues.opened", async (context) => {
  // Before
  // const issue = await context.octokit.issues.get(context.issue());

  // After
  const issue = await context.octokit.rest.issues.get(context.issue());
});

Express Server Removal

The built-in Express server has been removed. To use Express:

  1. Install Express:
npm install express
  1. Update your Probot setup:
import Express from "express";
import { createNodeMiddleware, createProbot } from "probot";

const express = Express();

const app = (probot) => {
  probot.on("push", async () => {
    probot.log.info("Push event received");
  });
};

const middleware = await createNodeMiddleware(app, {
  webhooksPath: "/api/github/webhooks",
  probot: createProbot({
    env: {
      APP_ID,
      PRIVATE_KEY,
      WEBHOOK_SECRET,
    },
  }),
});

express.use(middleware);
express.use(Express.json());
express.get("/custom-route", (req, res) => {
  res.json({ status: "ok" });
});

express.listen(3000, () => {
  console.log(`Server is running at http://localhost:3000`);
});

HTTP Server no longer listens on 0.0.0.0 by default

The built-in HTTP server will now listen on localhost by default, instead of listening on all available interfaces.
If you wish to change this behaviour, you can use the HOST environment variable, or the --host variable for the probot run command.

env HOST=0.0.0.0 <start script>
probot run --host=0.0.0.0 app.js

Asynchronous Middleware Initialization

createNodeMiddleware() is now asynchronous:

import { createNodeMiddleware } from "probot";
import app from "../app.js";

// Before
// const middleware = createNodeMiddleware(app);

// After
const middleware = await createNodeMiddleware(app);

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

@changeset-bot

changeset-bot Bot commented Jul 31, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9e3aef1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate
renovate Bot force-pushed the renovate/probot-14.x branch 2 times, most recently from a439d5b to 9d8f470 Compare August 10, 2025 15:11
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch from 9d8f470 to b8b2c5f Compare August 31, 2025 11:12
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch from b8b2c5f to 66fd0de Compare September 25, 2025 21:27
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch 4 times, most recently from 607770a to 665f7eb Compare October 11, 2025 05:15
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch 2 times, most recently from 76b8a51 to 7d571d7 Compare October 15, 2025 17:30
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch from 7d571d7 to 2a55080 Compare October 21, 2025 14:08
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch 3 times, most recently from b7bc3a7 to 93323cc Compare November 14, 2025 18:00
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch from 93323cc to 2288be5 Compare December 3, 2025 19:27
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch from 2288be5 to 68267c6 Compare December 31, 2025 12:59
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch 2 times, most recently from f2ded9c to 4a9e52c Compare January 23, 2026 18:55
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch 2 times, most recently from 2d84774 to ffa0629 Compare February 17, 2026 18:38
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch from ffa0629 to 2a22d19 Compare March 5, 2026 17:46
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch 2 times, most recently from e5abaed to 0bba34f Compare March 20, 2026 05:21
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch 2 times, most recently from e02ae9b to 98e918e Compare April 3, 2026 21:31
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch from 98e918e to 52db9f0 Compare April 29, 2026 15:06
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch 2 times, most recently from 250b5a5 to 3823f96 Compare May 18, 2026 10:57
@renovate
renovate Bot force-pushed the renovate/probot-14.x branch from 3823f96 to 9e3aef1 Compare May 22, 2026 00:59
@unional

unional commented May 22, 2026

Copy link
Copy Markdown
Contributor

Closing due to merge conflicts after probot v13.4.7 merged — Renovate will reopen a fresh probot v14 bump.

@unional unional closed this May 22, 2026
@renovate

renovate Bot commented May 22, 2026

Copy link
Copy Markdown
Contributor Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 14.x releases. But if you manually upgrade to 14.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

1 participant