Skip to content

v0.6.1

Latest

Choose a tag to compare

@legard legard released this 09 Sep 20:50
· 8 commits to main since this release
a84e133

Changed

  • ChannelBookmark.file_info is now FileInfo | None, not a dictionary — callers need attribute
    access (bookmark.file_info.id). Both file and file_info inputs are still accepted, but must
    validate as FileInfo; missing or null metadata still gives None.
  • The Docker image builds in two stages — uv (pinned 0.9.30) stays in the builder, only the
    virtualenv ships. Dropping the chown -R mcp:mcp /app takes it from 469 MB to 341 MB.
  • /app and the virtualenv are root-owned, immutable to the account the server runs as, and the
    working directory is /home/mcp, where relative destination_dir, file_path and
    MATTERMOST_EXTRA_CA_CERTS now resolve. Absolute and ~-prefixed paths are unaffected.

Fixed

  • ChannelBookmark.file_info populates from Mattermost's file key (#29); responses and output
    schemas expose the typed file, not file_info: null.

Security

  • Base image moved from ghcr.io/astral-sh/uv:python3.12-bookworm-slim, unrebuilt since 2026-02-03,
    to python:3.12-slim-bookworm, closing 26 fixable advisories (4 CRITICAL, 22 HIGH) in
    openssl, gnutls, krb5 and libcap2 that blocked the 0.6.0 image at the Trivy gate. No Python
    dependency was affected.
  • The runtime stage runs apt-get upgrade, forced by no-cache-filters: runtime on the scan job —
    without it the upgrade is a cache hit for as long as the base digest holds.