Skip to content

Releases: lukeed/navaid

v1.2.0

06 Oct 23:42
Compare
Choose a tag to compare

Features

  • Add TypeScript definitions: 8118eb2

v1.0.4

03 Jun 02:54
Compare
Choose a tag to compare

Patches

  • Prevent memory leak from multiple wrap calls (#8): 0f5b5bb
  • Ignore query string (location.search) during $.run call: (#9): 1062d25

Chores

  • (Golf) Remove off variable for larger gzip reuse: 77fa92d
  • (Golf) Write fn handlers directly into route objects: 11a5f29
  • (Test) Assert $.run ignores query string values (#9): e7aa014
  • (Docs) Update size: fda2f4e

v1.0.2

25 Apr 14:52
Compare
Choose a tag to compare

Patches

  • Ensure $.run retained uri value formatting: fedd136

Chores

v1.0.1

25 Apr 06:20
Compare
Choose a tag to compare

Features

  • With the latest version of regexparam, Navaid can now support suffix matches

     // Examples from "regexparam"
    // All patterns are now valid within Navaid~!
    
     let now = regexparam('/movies/:title.(mp4|mov)');
    
     exec('/movies/narnia.mp4', now);
     //=> { title: 'narnia' }
    
     exec('/movies/narnia.mov', now);
     //=> { title: 'narnia' }
    
     exec('/movies/narnia.wav', now);
     //=> {}  (no match)

Patches

  • Ignore/Release links to different host targets (#3): b4561f9
  • Refactor: Ignore unnecessary looping inside $.run: f1291ad
  • Gold: Shave 7 bytes: 618cd53

Chores