Skip to content

Releases & Updates

WPLM can act as an update server for your software. Publish releases (version metadata + a protected file), and licensed clients query the update API to discover and download new versions.

License Manager → Releases → Add New. A release records:

FieldPurpose
ProductThe WooCommerce product the release belongs to.
VersionSemantic version string (e.g. 2.3.0).
Channelstable, beta, or rc.
ChangelogRelease notes (markdown).
FileThe protected artifact location.
File hashSHA-256 of the artifact (integrity check).
Min app versionThe minimum version that can upgrade from.
EndpointPurpose
GET /wplm/v1/releasesList published releases.
GET /wplm/v1/updates/checkA licensed client checks for a newer version.
GET /wplm/v1/updates/downloadToken-gated download of a release artifact.

Downloads are served through short-lived signed tokens, never a public path, and only valid licenses can check or download — so updates are gated by license status.

  1. The client calls /updates/check with its license key and current version.
  2. If a newer release exists on its channel, WPLM returns the version, changelog, and a tokenised download URL.
  3. The client downloads via /updates/download using that token and verifies the file against the published SHA-256 hash.