From df04ca9b126e683f5296e965cd263c7648f7d78b Mon Sep 17 00:00:00 2001 From: asonix Date: Mon, 11 Mar 2024 13:29:15 -0500 Subject: [PATCH] Prepare 0.5.9 --- Cargo.lock | 2 +- Cargo.toml | 2 +- pict-rs.nix | 2 +- releases/0.5.9.md | 32 ++++++++++++++++++++++++++++++++ 4 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 releases/0.5.9.md diff --git a/Cargo.lock b/Cargo.lock index cf860e4..5704963 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1813,7 +1813,7 @@ dependencies = [ [[package]] name = "pict-rs" -version = "0.5.8" +version = "0.5.9" dependencies = [ "actix-form-data", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index a7bd604..ca38916 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pict-rs" description = "A simple image hosting service" -version = "0.5.8" +version = "0.5.9" authors = ["asonix "] license = "AGPL-3.0" readme = "README.md" diff --git a/pict-rs.nix b/pict-rs.nix index f7b97ee..4c4ebbc 100644 --- a/pict-rs.nix +++ b/pict-rs.nix @@ -11,7 +11,7 @@ rustPlatform.buildRustPackage { pname = "pict-rs"; - version = "0.5.8"; + version = "0.5.9"; src = ./.; cargoLock = { diff --git a/releases/0.5.9.md b/releases/0.5.9.md new file mode 100644 index 0000000..9fe7352 --- /dev/null +++ b/releases/0.5.9.md @@ -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.