diff --git a/releases/0.5.0.md b/releases/0.5.0.md index 05a3561..f09e596 100644 --- a/releases/0.5.0.md +++ b/releases/0.5.0.md @@ -377,12 +377,37 @@ For configuration information, see the example ### Media Variant Retention +Similar to the new proxy feature, pict-rs 0.5 now sets a time limit on media variants, and discards +them if they are not accessed within that time limit. Since variants can be regenerated on request, +there's no harm in removing them to save on storage space. + +For configuration information, see the example +[pict-rs.toml](https://git.asonix.dog/asonix/pict-rs/src/branch/main/pict-rs.toml). + ### Configurable Temporary Directory +pict-rs now supports using a non-default temporary directory. Previous versions of pict-rs have +resorted to the operating system's defined temporary directory, and that is still the default +behavior, but this can now be overridden from pict-rs' configuration. + +For configuration information, see the example +[pict-rs.toml](https://git.asonix.dog/asonix/pict-rs/src/branch/main/pict-rs.toml). + ### Serve From Object Storage +pict-rs 0.5 now supports serving images directly from object storage. This is achieved by telling +pict-rs the public URL at which your object storage is available in the object storage +configuration. When this is set up, any existing image requested from pict-rs will be served with a +redirect to the object storage URL. Since pict-rs is not intended to be exposed directly to the +internet, any proxy between the internet and pict-rs must be configured not to follow redirects, or +else that proxy will end up fetching the image from object-storage itself. In some cases, this might +be reasonable (e.g. if Web Access is cheaper than S3API access for fetching files). + +For configuration information, see the example +[pict-rs.toml](https://git.asonix.dog/asonix/pict-rs/src/branch/main/pict-rs.toml). + ### Prometheus Metrics