Skip to content
Releases and artifacts

Releases and artifacts

A release is one version of a product. An artifact is one file of a release, such as an installer for one platform and architecture.

Your application gets releases and artifacts from the Distribution API. The API lists releases, serves downloads and answers update checks.

Release properties

PropertyDescription
VersionA semantic version, such as 2.1.0 or 2.1.0-beta.1. Each release of a product needs its own version. The version sets the channel. The version cannot change.
NameA short label for the release. This property is optional.
Release notesText that describes the release. The Distribution API returns the name and the notes, so your application can show them. This property is optional.
BuildThe build number that Sparkle and WinSparkle compare with the running application, such as 1400. Without a build, they compare the version. This property is optional.
Backdated toA date that the release counts as published on for expired licenses. See Backdated releases. This property is optional.

Channels

Seatify sets the channel of a release from its version. The first word of the prerelease tag decides the channel.

VersionChannel
2.1.0stable
2.1.0-rc.1rc
2.1.0-beta.1beta
2.1.0-alpha.1alpha
2.1.0-nightly.5dev

The match is case-sensitive. The version 2.1.0-RC.1 is in the dev channel.

A request to the Distribution API can name a channel. It then sees that channel and every more stable channel.

Channel in the requestReleases that the request sees
stablestable
rcrc and stable
betabeta, rc and stable
alphaalpha, beta, rc and stable
devdev only
  • Most requests use stable when they name no channel.
  • The update check uses the channel of the version that the application runs. An application from the beta channel stays on the beta channel.
  • A request for an exact version ignores the channel.

Newest release

A request can ask for the newest release instead of an exact version. Seatify compares versions by semantic version rules. A prerelease comes before its release:

2.0.0-beta.2 < 2.0.0-beta.10 < 2.0.0-rc.1 < 2.0.0

A request can also name a constraint. The constraint 2 allows only 2.x.y versions. The constraint 2.1 allows only 2.1.y versions. See Get a release and List releases.

Release statuses

StatusBehavior
draftThe Distribution API does not show the release. This is the status of a new release.
publishedThe release appears in listings, downloads and update checks.
yankedThe release is withdrawn from listings, downloads and update checks. Its artifacts are kept, and the release can be published again.
  • The Distribution API answers a draft or a yanked release as if the release does not exist. This is true even for a valid license key.
  • The publication date is set when the release is first published. The date stays the same when the release is yanked and published again.

Artifact properties

PropertyDescription
FilenameThe name of the file, such as MyApp-2.1.0-arm64.dmg. The filename is part of the download URL. Each artifact of a release needs its own filename. The filename cannot change.
PlatformThe operating system that the file is for. See Platforms and architectures. This property is optional.
ArchitectureThe CPU architecture that the file is for. This property is optional.
File typeSeatify takes the file type from the extension of the filename, such as dmg or tar.gz.
Vendor signatureA signature that an update framework checks, such as a Tauri minisign signature or a Sparkle EdDSA signature. Seatify passes it to your application unchanged. This property is optional.

The file of an artifact cannot change. A different file is a new artifact. Seatify also keeps the size, the SHA-256, the SHA-512 and a signature of each file. See Verifying files.

Platforms and architectures

PlatformOperating system
darwinmacOS
windowsWindows
linuxLinux
iosiOS
androidAndroid
freebsdFreeBSD
ArchitectureCPU
amd64x86-64
arm64ARM64
x86x86
arm32-bit ARM
universalOne build for several architectures, such as a universal macOS app.

A request can name a platform, an architecture and a file type. The update check and the stable download link use them to choose one file.

  • A universal build matches a request for any architecture. A build for the exact architecture wins over a universal build.
  • A release with no matching file is skipped. Seatify uses the next older release that has a matching file.
  • A file without a platform or an architecture, such as checksums.txt, never matches a request that names one.
  • If several files of one release match, the stable download link fails. Add the file type or the filename to the link.

Access to releases

The distribution setting of the product decides whether a request must send a license key. A license key that a request sends is always checked.

LicenseReleases
No license key, on an open productAll published releases.
Active, or in its grace periodAll published releases.
SuspendedNone. The request is refused.
ExpiredThis depends on the After expiry rule of the policy.
A key of another productNone. The request is refused with product_mismatch.

The Distribution API shows only files whose upload has finished.

Backdated releases

A policy with the Perpetual fallback rule gives an expired license the releases that were published on or before its expiry date.

A backdated release counts as published on its backdated date for this rule. Use it to give a fix to customers whose license has expired.

  • The backdated date must be earlier than the publication date.
  • The backdated date changes only this rule. The Distribution API still returns the real publication date.

Verifying files

Seatify signs each file when its upload finishes. It uses the active signing key of your account. The Distribution API returns the SHA-256 of each file, its Ed25519 signature and the ID of the signing key. See Get a release.

To verify a downloaded file:

  1. Compute the SHA-256 of the file. It must match the SHA-256 that the Distribution API returned.
  2. Check the signature with the public key that your application embeds. The signed message is the text artifact/ followed by the SHA-256 in lower-case hex.

The release data comes from a signed response. See Verify signed responses.

A file keeps its signature when you rotate signing keys. An application that embeds only the new public key cannot verify it. Re-sign the file to sign it with the new active key. See Rotate signing keys.

Seatify does not check the vendor signature. Your update framework checks it.