diff --git a/CHANGELOG.md b/CHANGELOG.md index 63397ae1..489b0023 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,18 @@ 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.5.0] - 2021-10-12 +### Added +- Added an entry in the configuration file to disable "duplicate uploads": + +```toml +[paste] +# default: true +duplicate_files = false +``` + +Under the hood, it checks the SHA256 digest of the uploaded files. + ## [0.4.1] - 2021-09-19 ### Changed - Update README.md: diff --git a/Cargo.lock b/Cargo.lock index 75d1e0e3..8390e17e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1537,7 +1537,7 @@ dependencies = [ [[package]] name = "rustypaste" -version = "0.4.1" +version = "0.5.0" dependencies = [ "actix-files", "actix-multipart", diff --git a/Cargo.toml b/Cargo.toml index c4d14b9f..aa103e5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustypaste" -version = "0.4.1" +version = "0.5.0" edition = "2018" description = "A minimal file upload/pastebin service" authors = ["Orhun Parmaksız "]