Skip to content

Releases: lukeed/sirv

v0.3.1

15 Apr 20:49
Compare
Choose a tag to compare

Patches

  • Run custom opts.setHeaders function in dev mode: (#22): e4b7cc3

v0.3.0

15 Apr 17:30
Compare
Choose a tag to compare

Features

  • (sirv) Respond to Range headers/partial requests correctly! (#19): 135db55

    Now, larger files (video, PDF, etc) will be served correctly. Previously, sirv would ignore the ranged requests and pipe down the entire file at once.

Patches

  • (sirv) Running dev mode will also send Last-Modified and Content-Length headers: 135db55

v0.2.5

15 Apr 17:26
Compare
Choose a tag to compare

Patches

  • Replace tiny-glob with manual directory traversal: 38ba617

    While tiny-glob is very much a great globbing library, sirv really had no need for a globbing library because it asks for all files within the directory. This makes declaring & responding to filter patterns pointless.

v0.2.4

07 Apr 22:36
Compare
Choose a tag to compare

Patches

  • (sirv) Decode incoming URL pathnames (#20, #21): 54dde5f
    Thanks @Seb35!

  • (sirv) Allow maxAge option to have 0 value: 9a392f1

  • (sirv) Capitalize all outgoing header names: 633644f

v0.2.3

07 Apr 22:34
Compare
Choose a tag to compare

Patches

  • (sirv-cli) Print 400 status as red: d2fa2b7

Chores

v0.2.2

24 Sep 21:39
Compare
Choose a tag to compare

Patches

Chores

v0.2.1

30 Aug 03:42
Compare
Choose a tag to compare

Patches

  • (sirv) Fix: Always add Content-Type response header during dev mode (#10): 810ceb7
    Thanks @btakita for reporting!

v0.2.0

20 Aug 23:00
Compare
Choose a tag to compare

Minor Changes

  • (sirv) Added dev option, which skips the file CACHE entirely: 99f6adf, 885cd7f
  • (sirv-cli) Added --dev and -D flags for "dev" mode: f80b4ed, 35394c0

Important: As the name suggests, you should only use dev during development!

Chores

  • (sirv) Extracted toAssume from find helper: efdf783
  • (sirv-cli) Formatted CLI construction for better legibility: b5c9dbe

v0.1.5

25 Jul 17:51
Compare
Choose a tag to compare

Patches

v0.1.4

21 Jul 05:26
Compare
Choose a tag to compare

Chores

  • (sirv-cli) Update to kleur@2.0.1: 99ed446