Skip to main content

Publishing a version

A building block version is a fixed copy of one published version of the building block's workflow. Publishing a version lets other projects add it.

Publish a new version​

Open the building block from Building blocks → Yours and click Publish version.

FieldRequiredDescription
Version numberYesA version such as 1.0.0, 1.1.0, 2.0.0. Each number can be used once per building block.
Workflow revisionYesThe published version of the workflow to copy
Change notesNoWhat changed in this version

When you publish, Blokkio checks that the workflow has a Building block inputs trigger and no other triggers except a Manual trigger. The input fields defined on that trigger become the version's inputs.

Publishing versions requires the Administrator or Contributor role.

Choosing a version number​

Follow semantic versioning so callers know what to expect:

ChangeBumpExample
Bug fix, same inputs and outputPatch1.0.0 → 1.0.1
New optional input or extra output fieldsMinor1.0.1 → 1.1.0
Removed or renamed inputs, changed output shapeMajor1.1.0 → 2.0.0

Published versions never change: editing the workflow afterwards doesn't affect them. Publish a new version to ship changes.

Version statuses​

StatusMeaning
PublishedActive. Listed in Browse and in the step list of projects that added this version.
DeprecatedNo longer offered in Browse or for new steps. Workflows that already use it keep running, and their steps are marked deprecated.

Deprecating a version​

In the version list, open the version's ⋯ menu and choose Deprecate. Projects and workflows that already use the version keep working, but nobody can add it or pick it for a new step. You can also deprecate all published versions of a building block at once from Yours.

Workspaces that use the version see a deprecated badge on its steps and a warning in the step's settings, asking them to switch to a published version. Adding a new version doesn't change their existing steps, so tell users what changed in the Change notes.

Deprecation can't be undone; publish a new version instead.

Usage statistics​

Open a version's ⋯ menu and choose Usage statistics to see:

  • total runs, succeeded and failed
  • recent runs with status and duration

:::note Privacy Statistics only include run metadata. You never see the inputs, outputs or data of the workspaces that run your building block. :::