plugins.json at github.com/TableProApp/plugins. The app fetches it to fill Settings > Plugins > Browse and to auto-install a driver when someone picks a database type with no plugin loaded.
Manifest format
Each entry in
binaries:
v1 manifests carried top-level
downloadURL, sha256, and minPluginKitVersion in place of binaries. The app still decodes them, synthesizing one entry per architecture. Write new entries with binaries.Binary selection
For a driver, the app filtersbinaries to the running architecture, keeps those whose pluginKitVersion falls inside [minimumCompatiblePluginKitVersion, currentPluginKitVersion], and installs the highest. Both bounds are declared in PluginManager.swift. A driver binary with no pluginKitVersion never resolves, and the install fails with noCompatibleBinary.
Themes carry no native code, so they match on architecture alone.
Example entry
Plugin metadata
The optionalmetadata object makes an entry self-describing, so the app renders the connection form, sidebar, and editor for a database type before the plugin is installed. Carry it on every driver entry: without it, someone picking your database type stares at a bare form until the download finishes.
RegistryPluginMetadata in TablePro/Core/Plugins/Registry/RegistryModels.swift is the full field list. update-registry.py copies an existing metadata block forward on every release, so it is edited by hand in the registry repository and never regenerated.
Publishing a plugin
Every plugin CI can publish has an entry in.github/plugin-registry.json, keyed by the slug that appears in its tag. That file maps the slug to a build target, so the mapping has no derivation rule: mssql builds MSSQLDriver and cloudflare-d1 builds CloudflareD1DriverPlugin. Add the entry before the first tag, or the workflow exits with Unknown plugin.
tags input takes comma-separated tag:pluginKitVersion pairs, and dropping the : part makes the workflow read currentPluginKitVersion from PluginManager.swift:
plugins.json through .github/scripts/update-registry.py, which writes atomically and rebases on a retry when the matrix jobs collide.
Most bundled plugins never appear in the registry at all, because their binaries ride with the app release. Six of them keep a registry arm anyway (SQLite, ClickHouse, Redis, XLSX export, MQL export, SQL import), so a fix can reach users who are already on a shipped app without waiting for the next one. A bulk ABI re-release skips those six.
PluginKit compatibility
A plugin built against any PluginKit version inside the app’s[minimum, current] range loads, and the runtime fills newer requirements from their defaults. What that means for releases:
- Additive change (a new requirement with a default, a new field on a non-frozen type): no bump, no re-publish. The binaries already out there keep serving.
- Breaking change (a removed or changed requirement, a frozen-layout change, a requirement without a default): raise
currentPluginKitVersionandminimumCompatiblePluginKitVersiontogether, then runscripts/release-all-plugins.sh <newVersion>. It reads the registry-only plugins out of.github/plugin-registry.json, bumps each one’s patch version, and fires a singleworkflow_dispatchso they all build as one matrix. - Retention:
update-registry.pykeeps binaries for the two newest PluginKit versions per plugin. Older ones are pruned, so a user two or more versions behind hitsnoCompatibleBinaryand has to update the app.
scripts/check-registry-readiness.py --floor <min> --current <current> and fails until every registry driver has a compatible binary, so the app cannot ship ahead of its plugins. When an installed driver predates a breaking bump, the app repairs it in the background on the next connect. See After an app update.
Caching
The app fetches the manifest fromraw.githubusercontent.com/TableProApp/plugins/main/plugins.json, which caches at the edge for about five minutes. Every fetch revalidates conditionally, the list refreshes at launch and when the plugin browser opens (throttled to one check per five minutes), and an install prompt forces a fresh fetch before it reports a plugin missing. CI also purges the jsDelivr cache after each registry push, for older app versions that still fetch from there. A newly published plugin shows up in the app within minutes.
Theme distribution
Themes use the same manifest withcategory: "theme". Four things differ from a driver:
- Pure JSON data. No executable code, no code signing, no
.tablepluginbundle - The ZIP holds
.jsonfiles, each a validThemeDefinition. Packs with several themes work - They install to
~/Library/Application Support/TablePro/Themes/Registry/ - No
pluginKitVersionis needed, and the flat v1 fields still decode

