Skip to content

v0.3.0 (2019-05-04)

Compare
Choose a tag to compare
@philippgille philippgille released this 04 May 21:22
· 14 commits to master since this release

v0.3.0 (2019-05-04)

  • Added: Optional generation and use of a self signed certificate to serve files via HTTPS instead of HTTP (issue #9)
  • Added: Optional basic authentication (issue #10)
  • Added: Option to bind to a specific network interface (issue #19)
  • Added: Exit with an error when using the -d flag and the argument is not a directory, the directory doesn't exist or the directory is not readable
  • Added: Handling of the directory as positional argument. We keep this undocumented for now to not promote its use, but it was a common source of problems (where a directory was passed as positional argument and then "." was served), which are now mitigated.
  • Improved: Updated building the snap with snapcraft 3.x instead of its 2.4x legacy mode
  • Fixed: serve -h lead to exit code 2 instead of 0
  • Fixed: Wrong documentation URL in the Chocolatey Nuspec file (issue #18)

Breaking changes:

  • Changed default port from 8100 to 8080, which is an official alternative to port 80 for HTTP
  • Docker:
    • Changed default serving directory within the container from /share to /srv, which is a common directory for serving files
    • Moved -d flag from CMD to ENTRYPOINT, leading to fewer problems when using the Docker container with additional flags