2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00

Prepare 0.5.17-pre.5

This commit is contained in:
asonix 2024-07-21 11:49:22 -05:00
parent fb80f77136
commit 5a9a0b16fc
5 changed files with 18 additions and 4 deletions

2
Cargo.lock generated
View file

@ -1955,7 +1955,7 @@ dependencies = [
[[package]]
name = "pict-rs"
version = "0.5.17-pre.4"
version = "0.5.17-pre.5"
dependencies = [
"actix-form-data",
"actix-web",

View file

@ -1,7 +1,7 @@
[package]
name = "pict-rs"
description = "A simple image hosting service"
version = "0.5.17-pre.4"
version = "0.5.17-pre.5"
authors = ["asonix <asonix@asonix.dog>"]
license = "AGPL-3.0"
readme = "README.md"

View file

@ -11,7 +11,7 @@
rustPlatform.buildRustPackage {
pname = "pict-rs";
version = "0.5.17-pre.4";
version = "0.5.17-pre.5";
src = ./.;
cargoLock = {

14
releases/0.5.17-pre.5.md Normal file
View file

@ -0,0 +1,14 @@
# pict-rs 0.5.17-pre.5
pict-rs is a simple image hosting microservice, designed to handle storing and retrieving images,
animations, and videos, as well as providing basic image processing functionality.
## Overview
pict-rs 0.5.17-pre.5 fixes a bug in missing variant detection introduced in -pre.4 that made the
feature essentially do nothing.
## Upgrade Notes
There are no significant changes from 0.5.17-pre.4. Upgrading should be as simple as pulling a new
version of pict-rs.

View file

@ -868,7 +868,7 @@ async fn existing_variant_identifier<S: Store>(
if !exists(&state.store, &identifier).await? {
let clean =
if let Some(original_identifier) = state.repo.identifier(hash.clone()).await? {
!exists(&state.store, &original_identifier).await?
exists(&state.store, &original_identifier).await?
} else {
true
};