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

Prepare 0.5.9

This commit is contained in:
asonix 2024-03-11 13:29:15 -05:00
parent 9178e3ef9f
commit df04ca9b12
4 changed files with 35 additions and 3 deletions

2
Cargo.lock generated
View file

@ -1813,7 +1813,7 @@ dependencies = [
[[package]]
name = "pict-rs"
version = "0.5.8"
version = "0.5.9"
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.8"
version = "0.5.9"
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.8";
version = "0.5.9";
src = ./.;
cargoLock = {

32
releases/0.5.9.md Normal file
View file

@ -0,0 +1,32 @@
# pict-rs 0.5.9
## Overview
pict-rs 0.5.9 is a bugfix release for 0.5.8. All deployments on 0.5.8 should upgrade to 0.5.9
### Fixes
- [Fix Postgres Pooling](#fix-postgres-pooling)
- [Fix io-uring feature](#fix-io-uring-feature)
## Upgrade Notes
There are no significant changes from 0.5.8. Upgrading should be as simple as pulling the new
version.
## Descriptions
### Fix Postgres Pooling
When pict-rs 0.5.7 was built without the `tokio_unstable` flag, it would use tokio's `spwan_local`
utility from outside a LocalSet, leading to panics and timeouts. This release replaces the use of
`spawn_local` with `spawn` in that scenario.
### Fix io-uring Feature
As mentioned in the 0.5.7 release notes, io-uring is not considered to be a stable feature. However,
0.5.8 should make it usable again. Instead of manually launching a tokio_uring runtime, pict-rs once
again relies on actix-rt to configure a System for use with io-uring.