Skip to content

v2.0.0

Compare
Choose a tag to compare
@lukeed lukeed released this 29 Dec 20:31

Breaking

  • (sirv-cli) Change default port from 5000 to 8080 (#124): 93a920b
    With macOS Monterey, Apple now reserves port 5000 for AirPlay. This would cause sirv-cli to start seemingly successfully, but macOS would intercept all traffic to localhost:5000, causing unexpected behavior for users/clients.

Features

  • (sirv): Supports native ESM usage within Node~!
    Now sirv and all its dependencies support ESM natively.

  • (sirv-cli): Support the NO_COLOR standard (#108): 4b8703b
    Thank you @SpyTec~!

Chores

  • (sirv): Bump totalist version (#86): 0cf66d8
    Thank you @aleclarson~!

  • Add http-server benchmark comparison (#4): 17ea37f

    http-server (cache=1)	     5,247 req/sec
    http-server (cache=0)	     5,091 req/sec
    sirv-cli (cache=1)	        12,612 req/sec
    sirv-cli (cache=0)	         8,490 req/sec
    sirv-cli (cache=1, logs=0)  13,609 req/sec
    sirv-cli (cache=0, logs=0)  10,157 req/sec  
    

Full Changelog: v1.0.19...v2.0.0