Prepare 0.5.16

This commit is contained in:
asonix 2024-06-09 15:38:43 -05:00
parent a6fbb67875
commit 31049d3922
4 changed files with 49 additions and 3 deletions

2
Cargo.lock generated
View File

@ -1989,7 +1989,7 @@ dependencies = [
[[package]]
name = "pict-rs"
version = "0.5.15"
version = "0.5.16"
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.15"
version = "0.5.16"
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.15";
version = "0.5.16";
src = ./.;
cargoLock = {

46
releases/0.5.16.md Normal file
View File

@ -0,0 +1,46 @@
# pict-rs 0.5.16
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.16 includes a couple bugfixes for parsing query paramters, better handling of proxied
media, clearer postgres errors, and updated dependencies.
### Fixes
- [Query Fixes](#query-fixes)
- [Better Concurrent Proxies](#better-concurrent-proxies)
### Changes
- [Improved Postgres Errors](#improved-postgres-errors)
## Upgrade Notes
There are no significant changes from 0.5.15. Upgrading should be a simple as pulling a new version
of pict-rs.
## Descriptions
### Query Fixes
A couple boolean query parameters were not getting parsed properly, this impacted ?backgrounded for
image downloads and ?force for pruning media. pict-rs 0.5.16 resolves this.
### Better Concurrent Proxies
When the same proxy endpoint was accessed more than once concurrently, only one request would end up
succeeding. Now pict-rs better handles when multiple concurrent requests are made.
### Improved Postgres Errors
In some postgres errors, it is difficult to tell whether an error originated from within the
postgres client or the postgres server. pict-rs 0.5.16 now includes extra context when displaying
postgres errors to help discern this.