• v0.5.0-beta.2 1538389caf

    Stable

    asonix released this 2023-11-11 20:28:05 +00:00 | 4 commits to main since this release

    Downloads
     
  • v0.5.0-beta.1 ee5bfd6557

    Stable

    asonix released this 2023-11-05 16:42:29 +00:00 | 16 commits to main since this release

    Downloads
     
  • v0.5.0-alpha.20 7bf71df57d

    Stable

    asonix released this 2023-10-07 20:17:55 +00:00 | 24 commits to main since this release

    Downloads
     
  • v0.4.5 225599cb50

    pict-rs 0.4.5 Stable

    asonix released this 2023-10-05 01:54:41 +00:00 | 220 commits to main since this release

    pict-rs 0.4.5

    Overview

    pict-rs 0.4.5 contains a new commandline option for improving throughput when migrating storage, as
    well as a change in behavior for the delete endpoint. Additionally there are a few dependency
    upgrades.

    Features

    Changes

    Upgrade Notes

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

    Descriptions

    Migration Concurrency

    When migrating from filesystem storage to object storage, pict-rs initially migrated every file
    sequentially. This was extremely slow, so in 0.4.1 this was made concurrent. Since then, the object
    storage migration has moved 32 files at a time. This still might be too slow for some large
    deployments, so pict-rs 0.4.5 is making this value configurable.

    Thew new --concurrency flag can be passed to the migrate-store subcommand with any integer
    value. By default, pict-rs sets this value to 32, but for large deployments, setting it to 128, 256,
    or even 512 might be useful. Note that increasing the concurrency will increase the number of
    connections to the object storage provider.

    Example:

    $ pict-rs \
        migrate-store \
            --concurrency 32 \
        filesystem \
            -p /path/to/files \
        object-storage \
            -e https://object-storage-endpoint \
            -b bucket-name \
            -r region \
            -a access-key \
            -s secret-key \
        sled \
            -p /path/to/sled-repo
    

    Inline Delete

    Previously, the endpoint for deleting images would always return an HTTP 204 status after queueing a
    job to delete the image. This meant that if an invalid delete token was provided, or if the
    deletion failed for some other reason, the client making the request would not be informed of this.
    pict-rs 0.4.5 now performs this deletion inline to ensure the client is made aware of problems.

    Downloads
     
  • v0.5.0-alpha.19 c9d8fcb456

    Stable

    asonix released this 2023-10-01 03:50:31 +00:00 | 45 commits to main since this release

    Downloads
     
  • v0.4.4 6544c594ce

    pict-rs 0.4.4 Stable

    asonix released this 2023-09-30 16:29:29 +00:00 | 227 commits to main since this release

    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

    Bugfixes

    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:

    # 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.

    Downloads
     
  • v0.5.0-alpha.18 f17ef1b13b

    Stable

    asonix released this 2023-09-30 00:01:13 +00:00 | 61 commits to main since this release

    Downloads
     
  • v0.4.3 d120e768ff

    v0.4.3 Stable

    asonix released this 2023-09-15 19:34:16 +00:00 | 231 commits to main since this release

    pict-rs 0.4.3

    Overview

    pict-rs 0.4.3 contains a single new feature and a few dependency upgrades. The primary motivation
    for publishing this release is to produce new docker images containing the libwebp CVE fix released
    within the last few days.

    Features

    Upgrade Notes

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

    Descriptions

    External Validation

    There is a new config option in the [media] section called external_validation. This setting
    exists to allow custom validation of uploaded images in pict-rs, allowing 3rd party applications to
    be developed for further filtering permitted uploads. When this value is set, pict-rs will upload
    each uploaded file after initial ingest processing to the provided URL. The Content-Type header is
    set to the file's media type, and the request's body is simply the uploaded file. The expected
    response is a simple 2XX for files that pass validation, and any other status code for files that do
    not (although I personally recommend a 4XX response).

    This new value is optional. There is no default value and no first-party application is provided for
    providing this extra validation.

    Downloads
     
  • v0.5.0-alpha.17 e4b264be15

    Stable

    asonix released this 2023-09-02 01:56:27 +00:00 | 123 commits to main since this release

    Downloads
     
  • v0.5.0-alpha.16 0b70ca49e4

    Stable

    asonix released this 2023-08-31 02:00:15 +00:00 | 132 commits to main since this release

    Downloads