From 0cbafd95384981500b17aa8c171c952f0e826aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Tue, 12 Oct 2021 19:59:35 +0300 Subject: [PATCH] chore(release): prepare for v0.5.0 --- CHANGELOG.md | 12 ++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) 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 "]