diff --git a/CHANGELOG.md b/CHANGELOG.md index e54e4c2..9b5a48e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file. 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). +## [0.8.1] - 2022-10-04 +### Added +- Add `/version` endpoint for retrieving the server version + +```toml +[server] +expose_version=true +``` + +If `expose_version` entry is not present in the configuration file, `/version` is not exposed. It is recommended to use this feature with authorization enabled. + ## [0.8.0] - 2022-10-03 ### Added - Support adding a landing page diff --git a/Cargo.lock b/Cargo.lock index 1d40478..f187f23 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1367,7 +1367,7 @@ dependencies = [ [[package]] name = "rustypaste" -version = "0.8.0" +version = "0.8.1" dependencies = [ "actix-files", "actix-multipart", diff --git a/Cargo.toml b/Cargo.toml index 55a2b05..21a4686 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustypaste" -version = "0.8.0" +version = "0.8.1" edition = "2021" description = "A minimal file upload/pastebin service" authors = ["Orhun Parmaksız "]