Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Releases: ConjureLabs/route

0.6.0

24 Nov 02:46
Compare
Choose a tag to compare

Features

  • get-1.js naming convention changed to be get.1.js

0.5.0

01 Nov 02:20
Compare
Choose a tag to compare

Features

  • custom handlers now accept argument

0.4.1

05 Oct 04:28
Compare
Choose a tag to compare

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

29 Sep 02:10
Compare
Choose a tag to compare

Features

  • Can now define custom global handlers via .handlers setter

0.3.2

22 Sep 16:41
Compare
Choose a tag to compare

Features

  • Added ability to .copy a route instance

0.3.1

15 Sep 22:41
Compare
Choose a tag to compare

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

17 May 17:41
Compare
Choose a tag to compare

Features

  • Can now set custom verb mapping when crawling a routes directory - e.g. syncCrawl(dirpath, { get: /get.*/i })

0.2.2

16 May 23:48
Compare
Choose a tag to compare

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

26 Apr 20:23
Compare
Choose a tag to compare

Patches

  • Order of execution enforced, so that wildcard handlers are hoisted to the top of their scope (expected behavior)

0.2.0

26 Apr 18:57
Compare
Choose a tag to compare

Features

  • You can now add multiple verb files, with an ordered index (e.g. get-0.js, get-1.js)