From 14d278629fd4844fd3e359e0670c245de2ee5148 Mon Sep 17 00:00:00 2001 From: orhun Date: Fri, 27 Aug 2021 22:38:48 +0300 Subject: [PATCH] chore(release): prepare for v0.4.0 --- CHANGELOG.md | 10 +++++++++- Cargo.lock | 2 +- Cargo.toml | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6837e62..b25294f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ 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.4.0] - 2021-08-27 +### Added +- Support [expiring links](README.md#expiration) (via `expire:` header) + - Timestamps are used as extension for expiring files + - Expired files can be cleaned up with [this command](README.md#cleaning-up-expired-files) +- Support [one shot links](README.md#one-shot) (via `oneshot=` form field) + - `{server.upload_path}/oneshot` is used for storage + ## [0.3.1] - 2021-08-10 ### Fixed - Switch to [upload-release-action](https://github.com/svenstaro/upload-release-action) for uploading releases @@ -15,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [0.2.0] - 2021-08-04 ### Added -- Support shortening URLs (via `url=` form parameter) +- Support shortening URLs (via `url=` form field) - `{server.upload_path}/url` is used for storage ## [0.1.3] - 2021-07-28 diff --git a/Cargo.lock b/Cargo.lock index b2d2922..dfc98ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1513,7 +1513,7 @@ dependencies = [ [[package]] name = "rustypaste" -version = "0.3.1" +version = "0.4.0" dependencies = [ "actix-files", "actix-multipart", diff --git a/Cargo.toml b/Cargo.toml index ad50ec6..07be949 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustypaste" -version = "0.3.1" +version = "0.4.0" edition = "2018" description = "A minimal file upload/pastebin service" authors = ["Orhun Parmaksız "]