All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
- Make URL encoding fully WHATWG-compliant #1454 (thanks @cyqsimon)
- Fix
OVERWRITE_FILES
env var not being prefixed byMINISERVE_
#1457
0.28.0 - 2024-09-12
- Fix wrapping text in mobile view when the file name too long #1379 (thanks @chaibiq)
- Fix missing drag-form when dragging file in to browser #1390 (thanks @chaibiq)
- Improve documentation for the --header parameter #1389 (thanks @orwithout)
- Don't show mkdir option when the directory is not upload allowed #1442 (thanks @Atreyagaurav)
0.27.1 - 2024-03-16
- Add
Add file and folder symbols
#1365 (thanks @chaibiq)
0.27.0 - 2024-03-16
- Add
-C/--compress-response
to enable response compression 1315 (thanks @zuisong) - Refactor errors #1331 (thanks @cyqsimon)
- Add
-I/--disable-inexing
#1329 (thanks @dyc3)
0.26.0 - 2024-01-13
- Properly handle read-only errors on Windows #1310 (thanks @ViRb3)
- Use
tokio::fs
instead ofstd::fs
to enable async file operations #445 - Add
-S
/--default-sorting-method
and-O
/--default-sorting-order
flags #1308 (thanks @ElliottLandsborough)
0.25.0 - 2024-01-07
- Add
--pretty-urls
#1193 (thanks @nlopes) - Fix single quote display with
--show-wget-footer
#1191 (thanks @d-air1) - Remove header Content-Encoding when archiving #1290 (thanks @5long)
- Prevent illegal request path from crashing program #1285 (thanks @cyqsimon)
- Fixed issue where serving files with a newline would fail #1294
0.24.0 - 2023-07-06
- Fix ANSI color codes are printed when not a tty #1095
- Allow parameters to be provided via environment variables #1160
0.23.2 - 2023-04-28
- Build Windows build with static CRT #1107
0.23.1 - 2023-04-17
- Add EC key support #1080
0.23.0 - 2023-03-01
- Update to clap v4
- Show localized datetime #949 (thanks @IvkinStanislav)
- Fix sorting breaks subdir downloading #991 (thanks @Vam-Jam)
- Fix wget footer #1043 (thanks @Yusuto)
0.22.0 - 2022-09-20
- Faster QR code generation #848 (thanks @cyqsimon)
- Make
--readme
support not onlyREADME.md
but alsoREADME
andREADME.txt
rendered as plaintext #911 (thanks @Atreyagaurav) - Change
-u/--upload-files
slightly in the sense that it can now either be provided by itself as before or receive a file path to restrict uploading to only that path. Can be provided multiple times for multiple allowed paths #858 (thanks @jonasdiemer)
0.21.0 - 2022-09-15
- Fix bug where static files would be served incorrectly when using
--random-route
#835 (thanks @solarknight) - Add
--readme
to render the README in the current directory after the file listing #860 (thanks @Atreyagaurav) - Add more architectures (and also additional container images)
0.20.0 - 2022-06-26
- Fixed security issue where it was possible to upload files to locations pointed to by symlinks even when symlinks were disabled #781 (thanks @sheepy0125)
- Added
--hide-theme-selector
flag to hide the theme selector functionality in the frontend #805 (thanks @flamingoodev) - Added
--mkdir
flag to allow for uploading directories #781 (thanks @sheepy0125)
0.19.5 - 2022-05-18
- Fix security issue where
--no-symlinks
would only hide symlinks from listing but it would still be possible to follow them if the path was known
0.19.4 - 2022-04-02
- Fix random route leaking on error pages #764 (thanks @steffhip)
0.19.3 - 2022-03-15
- Allow to set the accept input attribute to arbitrary values using
-m
and-M
#755 (thanks @mayjs)
0.19.2 - 2022-02-21
- Add man page support via
--print-manpage
#738
0.19.1 - 2022-02-16
- Better MIME type guessing support due to updated mime_guess
0.19.0 - 2022-02-06
- Fix panic when using TLS in some instances #670 (thanks @aliemjay)
- Add
--route-prefix
to add a fixed route prefix #728 (thanks @aliemjay and @Jikstra) - Allow tapping the whole row in mobile view #729
0.18.0 - 2021-10-26
- Add raw mode and raw mode footer display #508 (thanks @Jikstra)
- Add SPA mode #515 (thanks @sinking-point)
0.17.0 - 2021-09-04
- Print QR codes on terminal #524 (thanks @aliemjay)
- Fix mobile layout info pills taking whole width #591
- Fix security exploit when uploading is enabled #590 #518 (thanks @aliemjay)
- Fix uploading to symlink directories #590 #466 (thanks @aliemjay)
0.16.0 - 2021-08-31
-
Fix serving files with backslashes in their names #578 (thanks @Jikstra)
-
Fix behavior of downloading symlinks by upgrading to actix-web 4 #582 #462 (thanks @aliemjay)
-
List directory if index file not found #583 #275 (thanks @aliemjay)
-
Add special colors for visited links #521 (thanks @raffomania)
-
Switch from structopt to clap v3 #587
This enables slightly nicer help output as well as much better completions.
-
Fix network interface handling #500 #470 #405 #422 (thanks @aliemjay)
-
Implement show symlink destination #542 #499 (thanks @deantvv)
-
Fix error page not being correctly themed #529 #588 (@aliemjay)
0.15.0 - 2021-08-27
- Add hardened systemd template unit file to
packaging/miniserve@.service
- Fix qrcodegen dependency problem #568
- Remove animation on QR code hover (it was kind of annoying as it makes things less snappy)
- Add TLS support #576
0.14.0 - 2021-04-18
- Fix breadcrumbs for right-to-left languages #489 (thanks @aliemjay)
- Fix URL percent encoding for special characters #485 (thanks @aliemjay)
- Wrap breadcrumbs at any char #496 (thanks @aliemjay)
- Add separate flags for compressed and uncompressed tar archives #492 (thanks @deantvv)
- Bump deps
- Fix Firefox becoming confused when opening a
.gz
file directly #160 - Prefer UTF8 for text responses #263
- Resolve symlinks on directory listing #479 (thanks @aliemjay)
0.13.0 - 2021-03-28
-
Change default log level to
Warn
-
Change some messages a bit to be more clear
-
Add
--print-completions
to print shell completions for various supported shells #482 (thanks @rouge8) -
Don't print some messages if not attached to an interactive terminal
-
Refuse to start if not attached to interactive terminal and no explicit path is provided
This is a security consideration as you wouldn't want to run miniserve without an explicit path as a service. You could end up serving
/
or/root
in case those working directories are set.
0.12.1 - 2021-03-27
- Fix QR code not showing when using both
--random-route
and--qrcode
#480 (thanks @rouge8) - Add FreeBSD binaries
0.12.0 - 2021-03-20
- Add option
-H
/--hidden
to show hidden files - Start instantly in case an explicit index is chosen
- Fix DoS issue when deliberately sending unconforming URL paths
- Add footer #456 (thanks @levaitamas)
- Switched from failure to thiserror for error handling
0.11.0 - 2021-02-28
- Add binaries for more architectures
- Upgrade lockfile which fixes some security issues
- Allow multiple file upload #434 (thanks @mhuesch)
- Allow for setting custom headers via
--header
#452 (thanks @deantvv)
0.10.4 - 2021-01-05
- Add
--dirs-first
/-D
option to list directories first #423 (thanks @levaitamas)
0.10.3 - 2020-11-09
- Actually fix publish workflow
0.10.2 - 2020-11-09
- Fix publish workflow
0.10.1 - 2020-11-09
- Now compiles on stable! :D
0.10.0 - 2020-10-02
- Add embedded favicon #364
- Add
--title
option which can be used to set the page title #378 (thanks @ahti) - Default title is now the same host received in the request #378 (thanks @ahti)
- Client-side color-scheme handling #380 (thanks @ahti)
0.9.0 - 2020-09-16
- Added prebuilt binaries for AARCH64, ARMv7, and ARM #350
- Remove percent-encoding in heading and title #362 (thanks @ahti)
- Make name ordering case-insensitive #362 (thanks @ahti)
- Give name column more space #362 (thanks @ahti)
- Fix double-escaping #354
- Upgrade to actix-web 3.0
- Fix time display for files created "now" #373 (thanks @imp and @KevCui)
0.8.0 - 2020-07-22
- Accept port 0 to find a random free port and use that #327 (thanks @parrotmac)
- Show QR code in interface #330 (thanks @wyhaya)
- Ported to actix-web 2 and futures 0.3 #343 (thanks @equal-l2)
0.7.0 - 2020-05-14
- Add zip archiving #297 (thanks @marawan31)
0.6.0 - 2020-03-14
- Add option to disable archives #235 (thanks @DamianX)
- Fix minor bug when using
--random-route
#219 - Add a default index serving option #189
0.5.0 - 2019-06-24
- Add streaming download of tar archives (thanks @gyscos)
- Add support for hashed passwords (thanks @KSXGitHub)
- Add support for multiple auth flags (thanks @KSXGitHub)
- Some theme related bug fixes (thanks @boastful-squirrel)