Changelog
7.0.0
#27 CI for Node.js 14
#26 (breaking change) simplified error handling of fetchContext(request)
function
This ensures that it's impossible to accidentally render page with incorrect context. To preserve old behaviour - wrap your
fetchContext
function with custom error handler which returns {}
.
Done by replacing context:error(request, error)
event with error(request, error, response)
.