Remove node-fetch alternative from HTTP client libraries recommendation#51
Merged
DutchmanNL merged 3 commits intomainfrom Sep 19, 2025
Merged
Remove node-fetch alternative from HTTP client libraries recommendation#51DutchmanNL merged 3 commits intomainfrom
DutchmanNL merged 3 commits intomainfrom
Conversation
Co-authored-by: DutchmanNL <7318445+DutchmanNL@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] [DOCS/AUTO] remove node-fetch alternative from repository template
Remove node-fetch alternative from HTTP client libraries recommendation
Sep 19, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the documentation to align with the minimum Node.js 20+ requirement by removing the outdated node-fetch alternative and clarifying the recommended HTTP client.
- Remove node-fetch as an alternative
- Clarify that adapters require Node.js 20+ while fetch is available since Node.js 18
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes the outdated
node-fetchalternative recommendation from the HTTP Client Libraries section in the template, as it's no longer needed for modern ioBroker adapter development.Context
The template currently recommends
node-fetchas an alternative for older Node.js versions:However, ioBroker adapters now require Node.js 20+ as minimum (with Node.js 22 recommended), and the native
fetchAPI has been available since Node.js 18+, making thenode-fetchalternative obsolete.Changes
node-fetchfor older Node.js versionsImpact
This change provides clearer guidance to adapter developers by removing confusion about which HTTP client to use, aligning the template with current ioBroker ecosystem requirements.
Fixes #45.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.