update documents for v3.1.0

This commit is contained in:
Johann150 2021-06-08 08:50:13 +02:00
parent 7b1e83ec82
commit 2a718cf73e
No known key found for this signature in database
GPG key ID: 9EE6577A2A06F8F1
4 changed files with 27 additions and 4 deletions

View file

@ -6,12 +6,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [Unreleased]
Thank you to Oliver Simmons (@GoodClover) for contributing to this release.
## [3.1.0] - 2021-06-08
Thank you to Matthew Ingwersen and Oliver Simmons (@GoodClover) for contributing to this release.
### Added ### Added
* tests for symlink files (#60) * tests for symlink files (#60)
Symlinks were already working before. Symlinks were already working before.
### Fixed
* A path traversal security issue was closed: Percent-encoded slashes were misunderstood.
### Changed ### Changed
* Visiting a directory without `index.gmi` and `.directory-listing-ok` now returns a different error message to better show the cause of the error. * Visiting a directory without `index.gmi` and `.directory-listing-ok` now returns a different error message to better show the cause of the error.
To retain the current behaviour of showing a `51 Not found, sorry.` error, add the following line to the respective directories' `.meta` file: To retain the current behaviour of showing a `51 Not found, sorry.` error, add the following line to the respective directories' `.meta` file:
@ -261,7 +266,8 @@ Thank you to @m040601 for contributing to this release.
## [1.0.0] - 2020-05-21 ## [1.0.0] - 2020-05-21
[Unreleased]: https://github.com/mbrubeck/agate/compare/v3.0.3...HEAD [Unreleased]: https://github.com/mbrubeck/agate/compare/v3.1.0...HEAD
[3.1.0]: https://github.com/mbrubeck/agate/compare/v3.0.3...v3.1.0
[3.0.3]: https://github.com/mbrubeck/agate/compare/v3.0.2...v3.0.3 [3.0.3]: https://github.com/mbrubeck/agate/compare/v3.0.2...v3.0.3
[3.0.2]: https://github.com/mbrubeck/agate/compare/v3.0.1...v3.0.2 [3.0.2]: https://github.com/mbrubeck/agate/compare/v3.0.1...v3.0.2
[3.0.1]: https://github.com/mbrubeck/agate/compare/v3.0.0...v3.0.1 [3.0.1]: https://github.com/mbrubeck/agate/compare/v3.0.0...v3.0.1

2
Cargo.lock generated
View file

@ -2,7 +2,7 @@
# It is not intended for manual editing. # It is not intended for manual editing.
[[package]] [[package]]
name = "agate" name = "agate"
version = "3.0.3" version = "3.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"configparser", "configparser",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "agate" name = "agate"
version = "3.0.3" version = "3.1.0"
authors = ["Matt Brubeck <mbrubeck@limpet.net>", "Johann150 <johann+agate@qwertqwefsday.eu>"] authors = ["Matt Brubeck <mbrubeck@limpet.net>", "Johann150 <johann+agate@qwertqwefsday.eu>"]
description = "Very simple server for the Gemini hypertext protocol" description = "Very simple server for the Gemini hypertext protocol"
keywords = ["server", "gemini", "hypertext", "internet", "protocol"] keywords = ["server", "gemini", "hypertext", "internet", "protocol"]

View file

@ -198,6 +198,23 @@ The format is based on Keep a Changelog and this project adheres to Semantic Ver
=> https://keepachangelog.com/en/1.0.0/ Keep a Changelog home page => https://keepachangelog.com/en/1.0.0/ Keep a Changelog home page
=> https://semver.org/spec/v2.0.0.html Semantic versioning standard v2.0.0 => https://semver.org/spec/v2.0.0.html Semantic versioning standard v2.0.0
## [3.1.0] - 2021-06-08
Thank you to Matthew Ingwersen and Oliver Simmons (@GoodClover) for contributing to this release.
### Added
* tests for symlink files (#60)
Symlinks were already working before.
### Fixed
* A path traversal security issue was closed: Percent encoded slashes were misunderstood.
### Changed
* Visiting a directory without `index.gmi` and `.directory-listing-ok` now returns a different error message to better show the cause of the error.
To retain the current behaviour of showing a `51 Not found, sorry.` error, add the following line to the respective directories' `.meta` file:
```
index.gmi: 51 Not found, sorry.
```
## [3.0.3] - 2021-05-24 ## [3.0.3] - 2021-05-24
Thank you to @06kellyjac, @cpnfeeny, @lifelike, @skittlesvampir and @steko for contributing to this release. Thank you to @06kellyjac, @cpnfeeny, @lifelike, @skittlesvampir and @steko for contributing to this release.