# Changelog This project adheres to [Semantic Versioning](http://semver.org/). Every release, along with the migration instructions, is documented on this file and Github [Releases](https://github.com/weihanglo/sfz/releases) page. ## [Unreleased](https://github.com/weihanglo/sfz/compare/v0.7.1...HEAD) ## [v0.7.1] - 2022-09-20 - fix: Sfz now uses Stream to send your files :tada: ([#97][], [#99][], kudos to [@henry40408][]!) - chore: fix lint errors and deprecations ([#86][], kudos to [@henry40408][]!) - chore: dependency updates ([#88][], kudos to [@henry40408][]!) [v0.7.1]: https://github.com/weihanglo/sfz/releases/tag/v0.7.1 [v0.7.1-changes]: https://github.com/weihanglo/sfz/compare/v0.7.0...v0.7.1 [#86]: https://github.com/weihanglo/sfz/pull/86 [#88]: https://github.com/weihanglo/sfz/pull/88 [#97]: https://github.com/weihanglo/sfz/pull/97 [#99]: https://github.com/weihanglo/sfz/pull/99 ## [v0.7.0] - 2022-01-21 - feat: add title attribute to provide a full length file name tooltip ([#78][], kudos to [@mu-arch][]!) - feat: add arg coi for cross-origin isolation ([#84][], thanks [@HKalbasi][]!) - fix: guess charset naively ([#77][]) - chore: ugprade to Rust Edition 2021 :tada: - chore: bump clap to v3 :tada: ([#82][]) - chore: cargo update ([#81][], kudos to [@henry40408][]!) [@mu-arch]: https://github.com/mu-arch [@henry40408]: https://github.com/henry40408 [@HKalbasi]: https://github.com/HKalbasi [v0.7.0]: https://github.com/weihanglo/sfz/releases/tag/v0.7.0 [v0.7.0-changes]: https://github.com/weihanglo/sfz/compare/v0.6.2...v0.7.0 [#78]: https://github.com/weihanglo/sfz/pull/78 [#81]: https://github.com/weihanglo/sfz/pull/81 [#82]: https://github.com/weihanglo/sfz/pull/82 [#84]: https://github.com/weihanglo/sfz/pull/84 ## [v0.6.2] - 2021-10-10 - fix: guess charset naively ([#77][]) [v0.6.2]: https://github.com/weihanglo/sfz/releases/tag/v0.6.2 [v0.6.2-changes]: https://github.com/weihanglo/sfz/compare/v0.6.1...v0.6.2 [#77]: https://github.com/weihanglo/sfz/pull/77 ## [v0.6.1] - 2021-07-10 - chore: bump hyper to 0.14.10 (two CVEs) ([#71][]) - fix: content-type defaults to charset=utf-8 ([#68][]) [v0.6.1]: https://github.com/weihanglo/sfz/releases/tag/v0.6.1 [v0.6.1-changes]: https://github.com/weihanglo/sfz/compare/v0.6.0...v0.6.1 [#68]: https://github.com/weihanglo/sfz/pull/68 [#71]: https://github.com/weihanglo/sfz/pull/71 ## [v0.6.0] - 2021-04-23 [Changes][v0.6.0-changes] - fix: revert graceful shutdown support in order to support background job controls ([#66][]) [v0.6.0]: https://github.com/weihanglo/sfz/releases/tag/v0.6.0 [v0.6.0-changes]: https://github.com/weihanglo/sfz/compare/v0.5.0...v0.6.0 [#66]: https://github.com/weihanglo/sfz/pull/66 ## [v0.5.0] - 2021-04-19 [Changes][v0.5.0-changes] - feat: support graceful shutdown via Ctrl-D ([#63][], thanks [@sayanarijit][]!) [@sayanarijit]: https://github.com/sayanarijit [v0.5.0]: https://github.com/weihanglo/sfz/releases/tag/v0.5.0 [v0.5.0-changes]: https://github.com/weihanglo/sfz/compare/v0.4.0...v0.5.0 [#63]: https://github.com/weihanglo/sfz/pull/63 ## [v0.4.0] - 2021-03-17 [Changes][v0.4.0-changes] - Bugfix: Handle paths on Windows properly ([#53][], kudos to [@lunar-mycroft][]!) - Internal: Upgraded to Tokio v1 and Hyper v0.14 [@lunar-mycroft]: https://github.com/lunar-mycroft [v0.4.0]: https://github.com/weihanglo/sfz/releases/tag/v0.4.0 [v0.4.0-changes]: https://github.com/weihanglo/sfz/compare/v0.3.0...v0.4.0 [#53]: https://github.com/weihanglo/sfz/pull/53 ## [v0.3.0] - 2020-10-24 [Changes][v0.3.0-changes] - New feature: Download directory as zip ([#50][], kudos to [@whizsid][]!) [@whizsid]: https://github.com/whizsid [v0.3.0]: https://github.com/weihanglo/sfz/releases/tag/v0.3.0 [v0.3.0-changes]: https://github.com/weihanglo/sfz/compare/v0.2.1...v0.3.0 [#50]: https://github.com/weihanglo/sfz/pull/50 ## [v0.2.1] - 2020-09-04 [Changes][v0.2.1-changes] - **Breaking**: Default adress from 0.0.0.0 to 127.0.0.1 - Bugfix: Fixed missing prefix slash for path-prefix ([#48][]) - Internal: Refactored `cli` module ([#47][]) - Internal: Splited `send::send_dir` function - Internal: Added lots of unit tests [v0.2.1]: https://github.com/weihanglo/sfz/releases/tag/v0.2.1 [v0.2.1-changes]: https://github.com/weihanglo/sfz/compare/v0.2.0...v0.2.1 [#47]: https://github.com/weihanglo/sfz/pull/47 [#48]: https://github.com/weihanglo/sfz/pull/48 ## [v0.2.0] - 2020-08-31 [Changes][v0.2.0-changes] - Internal: Renamed `PathExt::is_hidden` to `PathExt::is_relatively_hidden` and now would check if any parent path component is prefixed with a dot. ([#46][]) - Internal: Switched CI provider to GitHub Action - Internal: Upgraded lots of dependencies ([#41][]), including significant refactor on hyper 0.11 to 0.13 ([#42][]) [v0.2.0]: https://github.com/weihanglo/sfz/releases/tag/v0.2.0 [v0.2.0-changes]: https://github.com/weihanglo/sfz/compare/v0.1.2...v0.2.0 [#41]: https://github.com/weihanglo/sfz/pull/41 [#42]: https://github.com/weihanglo/sfz/pull/42 [#46]: https://github.com/weihanglo/sfz/pull/46 ## [v0.1.2] - 2020-08-28 [Changes][v0.1.2-changes] - Fixed range header off-by-one error ([#39](https://github.com/weihanglo/sfz/issues/39)) [v0.1.2]: https://github.com/weihanglo/sfz/releases/tag/v0.1.2 [v0.1.2-changes]: https://github.com/weihanglo/sfz/compare/0.1.1...v0.1.2 ## [0.1.1] - 2020-06-04 [Changes][0.1.1-changes] - Fixed duplicated prefix slash regression issue ([#31](https://github.com/weihanglo/sfz/issues/31)) [0.1.1]: https://github.com/weihanglo/sfz/releases/tag/0.1.1 [0.1.1-changes]: https://github.com/weihanglo/sfz/compare/0.1.0...0.1.1 ## [0.1.0] - 2020-05-01 [Changes][0.1.0-changes] - Added new flag `--path-prefix` to customize path prefix when serving content (credit to [@jxs](https://github.com/jxs)) [0.1.0]: https://github.com/weihanglo/sfz/releases/tag/0.1.0 [0.1.0-changes]: https://github.com/weihanglo/sfz/compare/0.0.4...0.1.0 ## [0.0.4] - 2019-09-07 [Changes][0.0.4-changes] - Added new feature: logs request/response by default. - Added new option flag `--no-log` to disable request/response logging. - Updated to Rust 2018 edition. - Upgraded dependency `mime_guess` from 2.0.0-alpha to 2.0. - Upgraded dependency `percent-encoding` from 1.0 to 2.1. - Upgraded dependency `brotli` from 1.1 to 3. - Upgraded dependency `unicase` from 2.1 to 2.5. [0.0.4]: https://github.com/weihanglo/sfz/releases/tag/0.0.4 [0.0.4-changes]: https://github.com/weihanglo/sfz/compare/0.0.3...0.0.4 ## [0.0.3] - 2018-03-07 [Changes][0.0.3-changes] - Handled error with some human-readable format. - Added new command arg `--render--index` to automatically render index file such as `index.html`. - Updated some command args' short names, default values and descriptions. [0.0.3]: https://github.com/weihanglo/sfz/releases/tag/0.0.3 [0.0.3-changes]: https://github.com/weihanglo/sfz/compare/0.0.2...0.0.3 ## [0.0.2] - 2018-03-03 First release version on [Crates.io][crate-sfz]! [Changes][0.0.2-changes] - Hombrew formula for sfz! You can now donwload sfz via homebrew from GitHub. - Fixed missing `ETag` and `Last-Modified` header fields. - Fixed unsecure symlink following. [0.0.2]: https://github.com/weihanglo/sfz/releases/tag/0.0.2 [0.0.2-changes]: https://github.com/weihanglo/sfz/compare/0.0.1-beta.1...0.0.2 ## [0.0.1-beta.1] - 2018-03-02 Beta release. [0.0.1-beta.1]: https://github.com/weihanglo/sfz/releases/tag/0.0.1-beta.1 [crate-sfz]: https://crates.io/crates/sfz