question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

General stuff

v3 may have been short lived, cuz of how long time we dragged out on esm. We already have a milestone for v4 with few issues in it. NodeJS v12 will soon end its LTS version in April, so i was thinking of dropping support any prior version and remove all the hacks we have around it in the current branch.

I was thinking about setting the lowest supported node version to v14.17.0 not 14.13.1 as we have today that is meant for ESM why? cuz http.request supports signal in v14.17.0 then we can also use finalizers that got introduced in v14.6.0 and cleanup the response (and the cloned res) when it’s forgotten and not consumed

Is there any bug/issue/features we would like to finish or complete before we branch out of v3 and start working on v4?

  • General
    • Create a v4 update guide
    • create some “next/beta” release on npm
  • signal
    • Start depending on NodeJS own built in AbortController
    • #1439
    • #1469
    • forward this signal to http.request(url { signal })
    • remove the abort & finalize logic and use this 👆 abort signal to abort the request.
  • Headers
    • #1484
    • remove some own test around headers (as ☝️ runs against wpt, + some own misc test)
  • whatwg streams
  • URLSearchParam
    • remove isURLSearchParam and only accept global URLSearchParam introduced in v10
  • package
    • Drop support for v12 and set target version to ^ 14.17.0 || >=16.0.0"?
    • #1347
  • cleanup
    • #1223
    • remove the current stream clone logic and use ReadableStream.prototype.tee instead
    • #1486
    • #1485
    • remove support for size option (fixes #1438)
    • make use of finalizers to cleanup
    • remove some old test cases
    • We can also start using optional chaining

cc @bitinn @TimothyGu @jkantr @gr2m @Richienb @ronag @LinusU

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:12
  • Comments:22 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
Richienbcommented, Mar 3, 2022

If all goes to plan, node-fetch will no longer be needed by 30/04/2024, the date when Node.js v16 is EOL. Until then, we’d want to backport whatever v18 does to implement fetch.

1reaction
regsebcommented, Mar 5, 2022

Can the pull request https://github.com/node-fetch/node-fetch/pull/1473 be included in v4? It changes the default value of the Connection header by replacing close by keep-alive.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Roadmap] V4 2021 Roadmap - Nexon
We are pleased to announce the 2021 V4 Content Roadmap! *clap*. 2021 1Q contents will be explained in detail through the QnA below....
Read more >
IDEX v4 Roadmap — Key Features & Timeline - Medium
Welcome to the IDEX v4 Roadmap! Like you, the entire team is hyped for the upcoming launch of our decentralized perpetual swaps exchange....
Read more >
2021 Roadmap [V4] : r/V4Global - Reddit
Subreddit for Nexon's V4 MMORPG Global Version released on the 23rd of July 2020 for Microsoft Windows… ... r/V4Global - 2021 Roadmap [V4]....
Read more >
V4 Milestones - dYdX
Trade Perpetuals on the most powerful open trading platform, backed by @a16z, @polychain, and @paradigm.
Read more >
V4 Global - V4GB 2021 2Q Roadmap! Check the below...
V4GB 2021 2Q Roadmap! Check the below notice for details: https://www.nexon.com/v4/en/news/90391.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found