UNPKG

@idio/router

Version:

The Router Utility For The Idio Web Server With Automatic Initialisation From Folders And Live Reload.

72 lines (38 loc) 1.42 kB
## 26 February 2020 ### [1.4.2](https://github.com/idiocc/router/compare/v1.4.1...v1.4.2) - [fix] Remove static analysis in favour of `require.cache`. ## 26 January 2020 ### [1.4.1](https://github.com/idiocc/router/compare/v1.4.0...v1.4.1) - [fix] Add `stdlib` to the list of files. ### [1.4.0](https://github.com/idiocc/router/compare/v1.3.2...v1.4.0) - [feature] Allow to override routes. - [license] Update to AGPLv3. - [package] Compile `stdlib`. ## 9 December 2019 ### [1.3.2](https://github.com/idiocc/router/compare/v1.3.1...v1.3.2) - [deps] Upd _StaticAnalysis_. ## 4 April 2019 ### [1.3.1](https://github.com/idiocc/router/compare/v1.3.0...v1.3.1) - [deps] Unfix dependencies. ## 19 March 2019 ### 1.3.0 - [feature] Allow to export middleware as an array. - [fix] Prevent errors when a route file does not export a function, and notify. ## 18 March 2019 ### 1.2.2 - [fix] Don't watch `node_modules` via _staticAnalysis_ upgrade. ## 17 March 2019 ### 1.2.1 - [feature] Watch the initial dependencies for changes to reload routes, better cache clearance. ## 8 January 2019 ### 1.2.0 - [feature] Simple watching of initialised routes. ## 7 January 2019 ### 1.1.0 - [feature] Allow to specify middleware chain constructor in modules. ### 1.0.0 - [package] Publish `v1`. ## 17 November 2018 ### 0.0.0 - Create `@idio/router` with [`mnp`](https://mnpjs.org) - [repository]: `src`, `test`