micnic / simples

Simple Web Framework for Node.JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0.9 Milestone

micnic opened this issue · comments

Support Node.js only from version 8.0

  • Partial use of ES6 features

    ES6 features which should be used (minimal support version Node v6):

    • Object literal extensions
    • Template literals
    • Arrow functions
    • Class syntax
    • Symbols
    • Object.assign
    • Array and String new methods
  • Use of newest node API

Add multi cluster support

  • Add workers (delayed for other time)
  • Remove domain module usage

Update dependencies and parallel projects

  • Add support for Express-like API for template engines (via simples-engineer)
  • Update simpleT to 0.3.0
  • Update recache to 0.4.0 (removed recache dependency)
  • Use external UTF8 validation for WebSocket (created uv)
  • Use external browser simplified WebSocket client (created simples-ws)

Other breaking changes

  • Remove support for multiple routes with the same listener
  • Remove any .destroy(), .leave() or .unuse() method to avoid mutation in the internal stack
  • Remove .middleware() method of http hosts in favor of .use() method
  • Remove WS host .config() method
  • Set all filter options to be functions intead of regular expressions

0.8.x changes (can be delayed for 0.9.0)

  • Add support for virtual hosts defined with wild cards (added in 0.8.6)
  • Add host.data (added in 0.8.6)
  • Add additional middleware functional like .use() and .unuse() (added in 0.8.6)
  • Add form validation (planned for 0.8.7, delayed for 0.9.0 because of breaking changes)
  • Add support for FormData in simpleS client API (planned for 0.8.7, delayed for 0.9.0 because it is not that significant for the whole framework)

This list is updated