Skip to content

v5.0.0

Compare
Choose a tag to compare
@MatthewCallis MatthewCallis released this 27 Dec 02:30
· 39 commits to master since this release
  • 🧰 Change POST / PUT routes to separate routes to separate creation from modification.
  • 🧰 Add flash message support when used with Express Session through request.wikiFlash(key, value).
  • 🧰 Added redirects document option. Allows adding URLs to redirect to the current page.
  • 🛠 Added use_cache configuration option. Enables Cache-control headers reducing server load, but breaks sessions. Cache is always disabled on the /edit and /new routes. Defaults to true.
  • 🛠 Added handle_not_found configuration option. Allows the middleware to capture fall through routes as a 404 not found handler when enabled. Defaults to true.
  • 🎁 Update dependencies