2.6.0 (2023-06-28)
⬆️ Version update(s)
- Bump engine.io and socket.io (3ef1738)
- Bump socket.io-parser from 4.2.2 to 4.2.3 (b42aa0f)
- Upgrade dependencies (b183cf7)
🏭 New feature(s)
wretch(url)
.catcher(404, err => redirect("/routes/notfound", err.message))
.catcher(500, err => flashMessage("internal.server.error"))
// this fallback will trigger for any error except if already caught by other means (like above for 404s and 505s)
.catcherFallback(err => {
log("Uncaught error:", err)
throw err
})
📝 Documentation update(s)