Release Notes

Vela follows semantic versioning. Within API v1, existing routes, fields, status codes, URL formats, CLI exit codes and --json shapes do not change; new features are additive. Container images are tagged X.Y.Z, X.Y and latest.

Before upgrading a running deployment, read the Upgrade Guide and take a backup. Database migrations run automatically when velad starts.

v0.9.0 — Fresh metadata for tag views

Symlinks copy their file's metadata once. This release lets a synced tag view catch up when the originals change, and tidies up conflict messages. CLI only; no server, API or database changes.

Added

  • vela ln --by-tag … --sync --copy-meta copies changed metadata of the files to their existing symlinks in place, so URLs and signed links keep working; --copy-meta=title,tags limits it to these fields. See Refreshing metadata.

Fixed

  • Conflicts of a refused mv --by-tag, ln --by-tag or trash restore --by-tag are listed on separate lines instead of one line joined by a literal \n.

v0.8.0 — Tag views that stay current

A tag selection linked into a directory used to be a snapshot. This release makes it a view you can keep up to date: rerun the same vela ln --by-tag with --sync, and only what is missing gets linked; add --prune, and what no longer belongs goes to the trash. CLI only; no server, API or database changes.

Added

  • vela ln --by-tag … --sync links only files without a symlink in the destination. Existing symlinks are matched by the file they point at, so renamed or moved files are reported instead of linked twice. Symlinks are never selected. See Keeping a view current.
  • --prune also moves to the trash the symlinks in the destination whose file lies in the scope but is no longer selected, and those whose file still has the tags but was moved out of the scope.
  • Symlinks to files in the trash are kept, since restoring the file repairs them; --prune-trashed removes them too.
  • A new symlink may take the place of a pruned one, with a warning; --strict reports that as a conflict instead.

v0.7.0 — Linking by tag

The tag selection of v0.6 reaches vela ln: sort every file with a tag into a directory of symlinks in one command. CLI only.

Added

  • vela ln --by-tag and --by-tags link a selection into a directory, flat or with --save-structure. See Linking a selection.
  • Every conflict is reported before the first symlink and nothing is linked; --skip leaves conflicting objects out silently and --skip-explicitly reports each one.
  • --skip-symlinks leaves symlinks out of the selection — they copy their file's tags, so a rerun would otherwise select them.
  • Like mv --by-tag, the plan is shown and confirmed first (-y, --dry-run).

v0.6.0 — Tag selection

Tags become a way to address files. Most commands accept --by-tag and --by-tags in place of paths, and anything beyond metadata asks before it acts, because a tag can reach files you did not think of.

Added

  • Tag selection: --by-tag x (one tag; repeated flags are alternatives) and --by-tags "a b" (all of the tags) on ls, stat, url, open, get, meta, vis, share, links ls, links revoke, rm, mv, trash ls, trash purge and trash restore. Paths narrow the search. See Tag Selection.
  • rm, mv, share, open, links revoke and the trash commands show the plan and ask before acting; -y skips the question, --dry-run only shows it.
  • get --by-tag keeps the directory structure; mv --by-tag moves flat or with --save-structure and reports every conflict before the first move.
  • GET /api/v1/objects and GET /api/v1/trash accept a repeated tag parameter: comma-separated groups, OR-ed. See the endpoint reference.
  • The Go client's ListOptions.Tags and TrashOptions.Tags also filter the results, so older servers cannot widen a selection.

v0.5.0 — Recursive metadata

A small CLI release.

Added

  • vela meta -r changes tags, description, disposition and expiry of several files and everything below directories. Tags are edited per object, objects that already match are left alone, and --title and --content-type are refused. See Many files at once.

v0.4.0 — Symlinks

Keep your originals in one place and sort them into as many others as you like. A symlink serves another file's content and refers to it by ID, so renaming or moving the file keeps it working — and it can never publish more than the file allows.

Added

  • Symlinks: vela ln and POST /api/v1/symlinks create entries that serve another file's content, singly, several at once or for a whole directory in one transaction. -f retargets a symlink in place, keeping its URL and signed links. See Symlinks.
  • Metadata is copied from the source once, at creation (--no-copy-meta skips it). Anonymous visitors get the stricter of the two visibilities, and a key's prefix must cover both paths.
  • Objects gain kind, effective_visibility and target; listings gain kind, broken and target filters (vela ls --type, --broken, --target); deletes and purges report symlinks_affected; /api/v1/info reports features.
  • Deleting a file leaves its symlinks broken until the file is restored; vela ls -l marks them and vela rm --broken cleans them up.
  • Signed-in index pages mark symlinks with the new symlink flag; for anonymous visitors they are plain files.
  • The Go client gains CreateSymlink, CreateSymlinkTree and the new listing options.

Upgrading

Migration 0006_symlinks rebuilds the objects and trash tables on start — take a backup first, as an older image cannot use the migrated database. Writing content to the path of a symlink fails with the new error code 409 is_symlink. No configuration or proxy changes are needed. See Upgrading to 0.8.

v0.3.0 — Web sign-in

Until now, the browser saw your store exactly the way a stranger does. This release lets you sign in to the index with an API key and browse everything that key can see — private files, unlisted drafts, hidden directories — still strictly read-only. It is off by default, so upgrading changes nothing until you turn it on.

Added

  • Read-only web sign-in with an API key (VELA_WEB_AUTH, default off). Any key scope can sign in; the session is always read-only and follows its key, so revoking the key signs the browser out immediately. See Web Sign-In.
  • Visibility indicators on signed-in pages: icons with tooltips mark private and unlisted files, hidden directories and directories whose index is disabled.
  • Sessions expire after 7 days idle or 30 days in total, configurable with VELA_WEB_SESSION_IDLE and VELA_WEB_SESSION_MAX. VELA_WEB_INSECURE_COOKIE allows plain-HTTP sign-in for local development.
  • velad session revoke-all ends every browser session at once; the janitor task web_sessions purges expired ones.
  • Routes GET/POST /_vela/login and POST /_vela/logout, same-origin only, with a separate budget of five failed sign-ins per minute per IP.
  • Theme contract: Flags, Session, SignInURL, the flagIcon helper and an optional login.html. Themes without them keep working. See Theming.

Changed

  • While web sign-in is enabled, uploads other than raster images, audio, video, PDF and plain text — HTML and SVG included — are served with a Content-Security-Policy sandbox in every delivery mode, public responses carry Vary: Cookie, and HTML pages Referrer-Policy: same-origin. Without it, responses are unchanged.
  • The default stylesheet gains styles for indicators, the footer and the sign-in page, so its cache-busting hash changes.
  • The nginx accel example re-emits X-Vela-Vary and X-Vela-Content-Security-Policy in both internal locations.

Upgrading

Migration 0005_web_sessions runs on start — take a backup first. Before enabling sign-in with nginx accel or behind a CDN, read Upgrading to 0.3.

v0.2.1 — Tidier progress bars

A small polish release for the CLI. No server, API or database changes.

Fixed

  • Transfer progress fits the terminal width and redraws in place instead of leaving wrapped frames in scrollback. Long Unicode filenames stay valid and cannot inject terminal controls; retries reset the speed calculation.

Changed

  • Transfer bars use a blue fill and turn green on completion, respecting --no-color and NO_COLOR. Narrow windows show fewer details.
  • Live progress is suppressed with TERM=dumb or --verbose, so diagnostics stay readable.

v0.2.0 — Directory policies

This release adds control over the public index that is independent of file access: you can disable the root listing, open a hidden entrance to a directory, turn off the index of a raw-file folder and tell crawlers to stay away.

Added

  • Directory policies with inherited index and noindex settings, non-inherited hidden entrances, and plain-text titles and descriptions shown in the index. See Directory Policies.
  • /api/v1/dirs endpoints (list, show effective policy, PUT, PATCH, DELETE with revision ETags) and the matching client methods. See the endpoint reference.
  • vela dir commands: ls, show, set, hide, private-root and rm.
  • VELA_ROOT_INDEX (default on) sets the root index fallback; an explicit root rule in the database overrides it.
  • Recursive moves carry directory policies in the same transaction and report policies_moved; conflicting target policies return 409 conflict with details.conflicting_policies.
  • vela ls -l annotates child directories that have rules (for example [hidden]).
  • A Caddy example (examples/caddy/Caddyfile) for direct and R2 delivery with automatic TLS.
  • VELA_HOST_PORT in the Docker example scripts to change the loopback port.

Changed

  • Breaking for custom themes: breadcrumb URLs can be empty for disabled ancestors and must render as text; layouts must honor Page.NoIndex and suppress an empty Page.Parent. With no stored rules the default theme renders byte-for-byte as before. See Theming.
  • Once any rule exists, directory counts in the index describe visible entries (files plus listed child directories) instead of all public files below.
  • vela url and vela open on a directory resolve the real index availability and explain disabled or absent indexes. Against older API v1 servers they keep the previous behavior.
  • robots.txt never lists hidden prefixes; index pages and public files under noindex carry X-Robots-Tag: noindex, nofollow.

v0.1.0 — First public release

The first open-source release of the server, the CLI and API v1.

Core

  • Three visibility levels — public, unlisted (default) and private — with 404, not 403, for anything that is not public.
  • Streaming, atomic, checksummed uploads (PUT /api/v1/content/…) and inline creation of small files (POST /api/v1/objects).
  • Metadata: title, description, tags, content type, disposition and optional object expiry, with optimistic locking on revisions.
  • Atomic single and recursive moves; trash with restore by ID or original path and a 14-day default retention.
  • HMAC-signed links with revocation, signing key rotation and emergency --revoke-all.
  • Scoped (ro, rw, admin), prefix-restricted API keys managed locally with velad key.
  • A customizable, JavaScript-free HTML index with an embedded default theme and ?format=json.
  • A janitor for expired links and objects, trash retention, signing keys, temporary files and orphaned blobs, plus durable deferred blob garbage collection.
  • velad backup with hard-linked or copied blobs and optional SHA-256 verification.

Storage backends

  • VELA_STORAGE=fs (default) or r2 for Cloudflare R2 and S3-compatible services, with streaming multipart uploads.
  • VELA_R2_DELIVERY=proxy or redirect (short-lived presigned GET), VELA_R2_REGION and explicit endpoints for other providers.
  • velad storage migrate --from fs|r2 --to fs|r2 with verification, resumable reruns, --dry-run and --delete-source.
  • SHA-256 ETag as the only content validator in every delivery mode; invalid ranges answer 416 with no-store.

Operations and distribution

  • Direct delivery by default; nginx X-Accel-Redirect is an explicit opt-in verified by an end-to-end test against a real nginx.
  • Loopback-only trusted proxies, a neutral Vela site title, and no built-in login URL.
  • Deployment examples for fs-direct, fs-accel and R2 under examples/.
  • Multi-arch images (linux/amd64, linux/arm64) on Docker Hub as xchunk/vela, distroless and nonroot.
  • CLI archives for Linux, macOS and Windows on amd64 and arm64 with checksums.txt.
  • MIT license, contribution guide and security policy.