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.
| Field | Required | Description |
|---|---|---|
| Version number | Yes | A version such as 1.0.0, 1.1.0, 2.0.0. Each number can be used once per building block. |
| Workflow revision | Yes | The published version of the workflow to copy |
| Change notes | No | What 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:
| Change | Bump | Example |
|---|---|---|
| Bug fix, same inputs and output | Patch | 1.0.0 → 1.0.1 |
| New optional input or extra output fields | Minor | 1.0.1 → 1.1.0 |
| Removed or renamed inputs, changed output shape | Major | 1.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
| Status | Meaning |
|---|---|
| Published | Active. Listed in Browse and in the step list of projects that added this version. |
| Deprecated | No 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. :::