Skip to content

v1.3.0

Choose a tag to compare

@github-actions github-actions released this 11 Apr 04:24
· 52 commits to main since this release

Breaking Changes

  • Authorization model replaced: Removed Unix-style UID/GID permission system. Authorization is now based on an owner string field (the app user ID). App users have no relationship to OS users. The Metadata struct no longer has UID or GID fields; use Owner instead.
  • API response headers changed: X-CallFS-UID and X-CallFS-GID headers replaced with X-CallFS-Owner.
  • JSON response format changed: File listing uid/gid integer fields replaced with owner string field.
  • Database schema migration: SQLite schema replaces uid/gid INTEGER columns with owner TEXT. Postgres migration 003_replace_uid_gid_with_owner adds owner column and drops uid/gid.

New Features

  • Owner-based access control: files and directories track their creator via the Owner field. Owners have full access; other authenticated users can read files and create children in directories; admin users (root, internal-proxy) bypass all checks.
  • Engine.GetMetadataUncached() for bypassing the metadata cache when fresh data is needed.

Bug Fixes

  • Raft stale reads: Fixed ListChildren on follower nodes returning partially-replicated results. Followers now forward to the leader for consistent reads.
  • Cross-server Content-Length mismatch: Fixed empty responses when reading files after concurrent cross-server writes.
  • S3/MinIO SSE error: Fixed 500 errors on S3 file creation with MinIO due to default SSE config.
  • Integration test fixes: Fixed env-var override test (scratch container), test framework assertion counter.

Tests

  • 16 new unit tests for auth (authenticator + authorizer).
  • All 35 Docker-based integration test suites pass.

Documentation

  • Comprehensive audit of all 12 documentation files. Fixed 23 discrepancies.

Full Changelog: v1.2.0...v1.3.0