Skip to content

v1.0.0

Compare
Choose a tag to compare
@lukeed lukeed released this 11 Jun 18:21

Breaking

Both sirv and sirv-cli now require at least Node v10.x to function (19061be).
This is the oldest LTS version of Node.js that's still possesses the "ACTIVE" label.

Features

  • (sirv-cli) Added HTTP/2 support (#2, #64): 36ba734, 8c92751

  • (sirv-cli) Added --gzip and --brotli flags (#3)

  • (sirv-cli) Allow --single to accept custom fallback: fd55eca

  • (sirv-cli) Added --ignores option to escape single: 918102e

  • (sirv) Added TypeScript definitions (#61): 05058a2

  • (sirv) Support If-None-Match/ETag matching (#56, #46)

  • (sirv) Added single option, with customizable fallback: f13fbb8, fd55eca

  • (sirv) Allow serving of precompiled gzip and/or brotli files: 3d34763

  • (sirv): Ships separate "module" (ESM) and "main" (CJS) entries: 9754302

Patches

  • (sirv) Prevent server crash with malformed URLs (#54): 1757b26
  • (sirv) Allow dotfiles option in "dev" mode (#51)
  • (sirv) Allow requests to /.well-known/* files (#50): 0a04d66
  • (sirv) Force Cache-Control: no-store value for "dev" mode (#45): 604f926
  • (sirv) Respect any previous Content-Type on response (#38): c08ac50, 5ef168f
  • (sirv) Ignore deeply-nested dotfiles (default): 84d4f33

Chores