node-fetch v2.6.0 Release Notes

Release Date: 2019-05-16 // almost 5 years ago
    • ✨ Enhance: options.agent, it now accepts a function that returns custom http(s).Agent instance based on current URL, see readme for more information.
    • 🛠 Fix: incorrect Content-Length was returned for stream body in 2.5.0 release; note that node-fetch doesn't calculate content length for stream body.
    • 🛠 Fix: Response.url should return empty string instead of null by default.