Skip to content

Conversation

@xfalcox
Copy link
Member

@xfalcox xfalcox commented Dec 2, 2025

Updates minimum Node.js requirement from 18 to 24.

The generate-user-api-key tool uses RSA_PKCS1_PADDING which is no longer supported in Node.js versions below 24, causing runtime errors during API key generation.

Changes:

  • Bump engines.node to >=24 in package.json
  • Update version to 0.1.11
  • Add breaking change entry to CHANGELOG.md

Fixes https://meta.discourse.org/t/discourse-mcp-user-api-key-generator-error-nodejs-20/390073

The generate-user-api-key tool uses RSA_PKCS1_PADDING which is no longer supported in Node.js versions below 24. This change updates the minimum Node.js requirement to prevent runtime errors during API key generation.
Copy link

@deviantintegral deviantintegral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!

@xfalcox xfalcox merged commit 9ebc57e into main Dec 3, 2025
2 checks passed
@xfalcox xfalcox deleted the bump-node branch December 3, 2025 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants