Skip to main content
The registry lives in TablePro’s repository, so publishing there means a pull request. Signing a plugin with your own Developer ID and serving it from a manifest you host is the other route, and the format on this page is the same either way. For what install and update look like to a user, see Plugins & Themes; to build the plugin in the first place, Plugin Development. TablePro’s manifest is 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

Schema version 2 is current. A manifest declaring a higher version is rejected and the app falls back to its cached copy. 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 filters binaries 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 optional metadata 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.
Push plugin tags one at a time. A push carrying more than three tags creates no push events on GitHub, so no workflow fires and nothing is published.
Dispatching the workflow works too. Its tags input takes comma-separated tag:pluginKitVersion pairs, and dropping the : part makes the workflow read currentPluginKitVersion from PluginManager.swift:
Either way CI builds both architectures, signs and notarizes the bundles, checks each bundle’s declared PluginKit version against the release label, creates the GitHub release, re-verifies the published assets, and updates 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. Ten of them keep a registry arm anyway (SQLite, ClickHouse, Redis, XLSX export, XLSX import, MQL export, SQL import, HTML export, Markdown export, XML export), 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 them.

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): raise currentPluginKitVersion and the TableProPluginKitVersion of every plugin rebuilt against it, leave minimumCompatiblePluginKitVersion alone, and re-publish nothing. The binaries already out there keep serving, because the runtime fills a requirement they predate from its default. The bump is for the other direction: a plugin rebuilt against the new SDK references symbols an older app does not carry, and a manifest left at the old number passes that app’s version check and then fails to load at all. Leaving the manifest behind is the one mistake this rule exists to stop.
  • Breaking change (a removed or changed requirement, a frozen-layout change, a requirement without a default): raise currentPluginKitVersion and minimumCompatiblePluginKitVersion together, then run scripts/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 single workflow_dispatch so they all build as one matrix.
  • Retention: update-registry.py keeps binaries for the three newest PluginKit versions per plugin. Older ones are pruned, and an app below every remaining binary resolves nothing at all, for every plugin.
  • Bump the kit at most once per release cycle. Retention counts kit versions, not days, so the window’s length in wall-clock time is set by how often the number moves. Eleven bumps between 2026-09-02 and 2026-09-12 took it from 20 to 30 and left the oldest published binary at kit 21, while v0.65.0 to v0.70.0 ship kit 19 and v0.71.0 ships kit 20.
To reach users who have not updated, build the plugin against the release they are on rather than against main:
It reads that tag’s currentPluginKitVersion and dispatches the workflow with baseRef set, so the binary links against that release’s PluginKit and declares the matching TableProPluginKitVersion. Both have to come from the same tree. Stamping a binary built from main with an older number makes the older app accept it and then fail Bundle.loadAndReturnError. The app’s own release workflow runs 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 from raw.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 with category: "theme". Four things differ from a driver:
  • Pure JSON data. No executable code, no code signing, no .tableplugin bundle
  • The ZIP holds .json files, each a valid ThemeDefinition. Packs with several themes work
  • They install to ~/Library/Application Support/TablePro/Themes/Registry/
  • No pluginKitVersion is needed, and the flat v1 fields still decode

Custom registry URL

Point the app at a private or enterprise manifest, which is also how a plugin signed with your own Developer ID reaches your users:
HTTP caching keys on the full URL, so a changed registry URL takes effect on the next fetch. A plugin served this way installs once the user agrees to trust its signing team by name. Both commands are also listed in Settings.