Edge.js v8.2.1 Release Notes

Release Date: 2017-08-10 // almost 5 years ago
    • โž• Add support for Node.js 8.2.1
    • โœ‚ Remove support for Node.js 4.x and 5.x
    • ๐Ÿ”’ Upgrade Node.js 6 to 6.11.2 (security patches)
    • ๐Ÿ”’ Upgrade Node.js 7 to 7.10.1 (security patches)

Previous changes from v0.9.3

  • ๐Ÿš€ The 0.9.3 release of Edge.js adds support for caching of C# compilation results, thus increasing the performance of repetitive calls to edge.func with the same C# code.

    This feature is opt-in and enabled by setting the EDGE_CS_CACHE=1 environment variable.

    When is it useful

    ๐ŸŽ Whenever you are calling edge.func with the same C# literal several times in the lifetime of a node process, caching will enable you to greatly improve performance. For example:

    require('http').createServer(function (req, res) { var f = require('edge').func('async (i) =\> { return "Hello"; }'); f(null, function (error, result) { if (error) throw error; res.send(result); }); }).listen(8080);