Skip to content

Releases: HttpErrorPages/HttpErrorPages

Features, Features + Refactored the whole codebase

15 Nov 11:54
Compare
Choose a tag to compare

This release in not backward compatible - custom ejs templates as well as koa+express requires minimal manual adjustments!

  • Added: template support for pagetitle (automatically set if not defined)
  • Added: option to set the pagetitle directly via payload.pagetitle (koa+expressjs)
  • Added: filter function to dynamically manipulate the errordata object (koa+expressjs)
  • Added: support for additional variables/payloads
  • Added: support for placeholders to static page generator
  • Added: iso-639-1 language attribute (derived from page lang)
  • Added: error/exception object available via error (koa+expressjs)
  • Added: onError callback as debug error handler (not to be used in production)
  • Changed: moved footer content into payload object
  • Changed: all variables within the ejs template are only accessible via vars object

Gulp4 compatibility

11 Jul 09:58
Compare
Choose a tag to compare
v2.0.1

release

koa.js support

04 Feb 09:22
Compare
Choose a tag to compare
  • Added koa support
  • Added support for multiple http frameworks
  • Changed: express.js error handler is encapsulated within the express() function
  • Changed: moved middleware example to examples/

New Generator/Build System/Middleware

12 Nov 11:56
Compare
Choose a tag to compare
  • New Generator/Build System: EJS (templates), SCSS (styles) and GULP (build) are used as a replacement of the historical php/bash/ant/less setup.
  • New express.js integration/middleware (full asynchronous operation)
  • JSON based page definitions including i18n support
  • Option to use custom styles
  • Option to use custom template
  • Changed: middleware API (express.js)
  • Changed: generator script is based on javascript

Minor Bugfix; Semantic Versioning

05 Feb 12:30
Compare
Choose a tag to compare
  • Bugfix: Restored NGINX Configuration from 0331dac
  • Added: Semantic Versioning

Prebuild Packages, External Configuration File

05 Feb 11:15
Compare
Choose a tag to compare
  • Added: ANT based build file
  • Added: Configuration file config.ini
  • Added: Prebuild Packages (includes all generated html file)
  • Changed the directory structure
  • Demo Pages are hosted via GitHub Pages (located within the docs/ dir)