2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-26 04:21:25 +00:00

Prepare 0.4.4 release

This commit is contained in:
asonix 2023-09-30 11:29:29 -05:00
parent bbfbb07f32
commit 6544c594ce
4 changed files with 57 additions and 3 deletions

2
Cargo.lock generated
View file

@ -1604,7 +1604,7 @@ dependencies = [
[[package]] [[package]]
name = "pict-rs" name = "pict-rs"
version = "0.4.3" version = "0.4.4"
dependencies = [ dependencies = [
"actix-form-data", "actix-form-data",
"actix-rt", "actix-rt",

View file

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

View file

@ -12,7 +12,7 @@
rustPlatform.buildRustPackage { rustPlatform.buildRustPackage {
pname = "pict-rs"; pname = "pict-rs";
version = "0.4.3"; version = "0.4.4";
src = ./.; src = ./.;
cargoLock = { cargoLock = {

54
releases/0.4.4.md Normal file
View file

@ -0,0 +1,54 @@
# pict-rs 0.4.4
## Overview
pict-rs 0.4.4 contains a configuration option and a few dependency upgrades. The primary motivation
for publishing this release is to produce new docker images containing the libvpx CVE fix released
within the last few days.
### Features
- [External Validation Timeout](#external-validation-timeout)
### Bugfixes
- [OpenTelemetry Span Disconnection](#opentelemetry-span-disconnection)
## Upgrade Notes
There's no significant changes from 0.4.3, so upgrading should be as simple as pulling a new version
of pict-rs.
## Descriptions
### External Validation Timeout
A configuration option has been added to change the HTTP Timeout for the external validation
service. This allows letting services that might take a while to respond to be used by extending the
timeout. The default value is 30 seconds.
Examples:
```toml
# pict-rs.toml
[media]
external_validation = "http://validation.service/endpoint"
external_validation_timeout = 60
```
```
# environment variables
PICTRS__MEDIA__EXTERNAL_VALIDATION=http://validation.service/endpoint
PICTRS__MEDIA__EXTERNAL_VALIDATION_TIMEOUT=60
```
### OpenTelemetry Span Disconnection
The tracing-opentelemetry dependency has been updated from 0.20 to 0.21, which includes a bugfix for
tracing spans becoming disconnected from each other and making tracing aggregation services (such as
Jaeger) less useful. If your setup includes an OpenTelemetry collector, this update will be
interesting to you.