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

33 lines
942 B
Markdown
Raw Permalink Normal View History

2024-03-11 18:29:15 +00:00
# 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
2024-03-11 18:57:53 +00:00
When pict-rs 0.5.8 was built without the `tokio_unstable` flag, it would use tokio's `spwan_local`
2024-03-11 18:29:15 +00:00
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
2024-03-11 18:57:53 +00:00
As mentioned in the 0.5.8 release notes, io-uring is not considered to be a stable feature. However,
2024-03-11 18:58:57 +00:00
0.5.9 should make it usable again. Instead of manually launching a tokio_uring runtime, pict-rs once
2024-03-11 18:29:15 +00:00
again relies on actix-rt to configure a System for use with io-uring.