commit 663cd3bf0d6048fe1d2a73b034fddc632f553fc3
parent c2571d39c2ad399b31fd2e634e2f698572a42ae1
Author: Johann150 <johann.galle@protonmail.com>
Date: Mon, 15 Nov 2021 17:07:37 +0100
release 3.2.0
Diffstat:
4 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
@@ -6,6 +6,8 @@ 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).
## [Unreleased]
+
+## [3.2.0] - 2021-11-15
Thank you to @balazsbtond and @joseph-marques for contributing to this release.
### Added
@@ -301,7 +303,8 @@ Thank you to @m040601 for contributing to this release.
## [1.0.0] - 2020-05-21
-[Unreleased]: https://github.com/mbrubeck/agate/compare/v3.1.3...HEAD
+[Unreleased]: https://github.com/mbrubeck/agate/compare/v3.2.0...HEAD
+[3.2.0]: https://github.com/mbrubeck/agate/compare/v3.1.3...v3.2.0
[3.1.3]: https://github.com/mbrubeck/agate/compare/v3.1.2...v3.1.3
[3.1.2]: https://github.com/mbrubeck/agate/compare/v3.1.1...v3.1.2
[3.1.1]: https://github.com/mbrubeck/agate/compare/v3.1.0...v3.1.1
diff --git a/Cargo.lock b/Cargo.lock
@@ -4,7 +4,7 @@ version = 3
[[package]]
name = "agate"
-version = "3.1.3"
+version = "3.2.0"
dependencies = [
"anyhow",
"configparser",
diff --git a/Cargo.toml b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "agate"
-version = "3.1.3"
+version = "3.2.0"
authors = ["Matt Brubeck <mbrubeck@limpet.net>", "Johann150 <johann+agate@qwertqwefsday.eu>"]
description = "Very simple server for the Gemini hypertext protocol"
keywords = ["server", "gemini", "hypertext", "internet", "protocol"]
@@ -9,7 +9,7 @@ repository = "https://github.com/mbrubeck/agate"
readme = "README.md"
license = "MIT/Apache-2.0"
edition = "2018"
-exclude = ["/tools", "/.github", "/Cross.toml", "/content", "/CODE_OF_CONDUCT.md", "/CONTRIBUTING.md", "/CHANGELOG.md"]
+exclude = ["/tools", "/.github", "/Cross.toml", "/content", "/CODE_OF_CONDUCT.md", "/CONTRIBUTING.md", "/CHANGELOG.md", "/tests"]
[dependencies]
configparser = "3.0"
diff --git a/content/index.gmi b/content/index.gmi
@@ -66,7 +66,8 @@ Agate by default supports TLSv1.2 and TLSv1.3. You can disable support for TLSv1
### Directory listing
You can enable a basic directory listing for a directory by putting a file called `.directory-listing-ok` in that directory. This does not have an effect on sub-directories.
-The directory listing will hide files and directories whose name starts with a dot (e.g. the `.directory-listing-ok` file itself or also the `.meta` configuration file).
+This file must be UTF-8 encoded text; it may be empty. Any text in the fil will be prepended to the directoy listing.
+The directory listing will hide files and directories whose name starts with a dot (e.g. the `.directory-listing-ok` file itself, the `.meta` configuration file, or the `..` directory).
A file called `index.gmi` will always take precedence over a directory listing.
@@ -198,6 +199,16 @@ 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://semver.org/spec/v2.0.0.html Semantic versioning standard v2.0.0
+## [3.2.0] - 2021-11-15
+Thank you to @balazsbtond and @joseph-marques for contributing to this release.
+
+### Added
+* you can add header text to a directory listing. See the updated instructions above for details.
+
+### Fixed
+* updated dependencies
+* error pages also send close_notify
+
## [3.1.3] - 2021-10-25
Thank you to @FoxKyong for contributing to this release.