Releases: ConjureLabs/route
Releases · ConjureLabs/route
0.6.0
Features
get-1.js
naming convention changed to be get.1.js
0.5.0
Features
- custom handlers now accept argument
0.4.1
Patches
- Updated how routes are required in, when crawling a routes directory. Now hard throws if a file has problems, giving better error context
0.4.0
Features
- Can now define custom global handlers via
.handlers
setter
0.3.2
Features
- Added ability to
.copy
a route instance
0.3.1
Features
- If you set
DEBUG=*
or DEBUG=route
you will now see some helpful debug output if routes fail to load, when crawling
0.3.0
Features
- Can now set custom verb mapping when crawling a routes directory - e.g.
syncCrawl(dirpath, { get: /get.*/i })
0.2.2
Updates
- src files kept in root dir
- reducing number of files installed on
npm i
Patches
- using
const
when possible
- fixed lints in tests
- crawling over improper syntax'd files should not throw
0.2.1
Patches
- Order of execution enforced, so that wildcard handlers are hoisted to the top of their scope (expected behavior)
0.2.0
Features
- You can now add multiple verb files, with an ordered index (e.g.
get-0.js
, get-1.js
)