2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-14 00:13:59 +00:00
pict-rs/releases/0.5.1.md

893 B

pict-rs 0.5.1

Overview

Just a quick point release to better support different public_endpoint usecases. Including paths for the public_endpoint configuration is now supported.

Changes

Upgrade Notes

There's no significant changes from 0.5.0, so upgrading should be as simple as pulling a new version of pict-rs.

Descriptions

Support Paths in PUBLIC_ENDPOINT

The public_endpoint configuration option for object storage has been updated to allow setting paths at which the files are available. Previously any set path would be overridden, treating the file's relative path as it's absolute path. Now pict-rs will serve files respecting configured paths.

Example

public_endpoint = "https://example.com/sub/path"

This will produce URLs to https://example.com/sub/path/$filepath