Skip to content

Conversation

@welteki
Copy link
Member

@welteki welteki commented Jun 5, 2025

Description

Add a new template for Node.js 22.

Motivation and Context

  • I have raised an issue to propose this change (required)

Node.js 22 is the latest LTS release.
The latest current available OpenFaaS Node.js template is node20. Node.js 20 is currently in maintenance mode.

Which issue(s) this PR fixes

Fixes #

How Has This Been Tested?

Deployed a function using the new template and verified it by invoking it with curl using various HTTP methods, paths and query parameters.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Version change (see: Impact to existing users)

Impact to existing users

This PR adds a new template. There is no impact on existing templates.

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I've read the CONTRIBUTION guide
  • I have signed-off my commits with git commit -s
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
@alexellis alexellis merged commit 69ca16a into openfaas:master Jun 5, 2025
1 check passed
@welteki welteki deleted the node-22 branch June 6, 2025 08:24
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.

2 participants