All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,and this project adheres to Semantic Versioning.
- Support for .cjs and .mjs files.
- Now works on Windows 10 also.
- Fixed hardcoded paths in tests.
- Support for parameters defined in route callback file names. Note that this might break behaviour if your route callback file names had underscores in them, hence the major version bump.
- Breaking: change module namespace from @ind.ie to @small-tech.
- Update package file and readme to match structure of other related modules.
- Update example so it can be run from any path.
- Trailing slashes in routes are now handled the same way under Windows as on other platforms.
- Windows support.
- No longer caches the wrong directory root when called with different directories.
- No longer hardcoded to only work with a root folder called
.routes
.
- Ignore
node_modules
folder. - Ignore hidden folders (folders with names that start with a dot).
Initial release.