Skip to content
OpenNodeFlow.DocsOpen beta ↗
Agent guide ↗
Docs/Build workflows

Publish and upgrade versions safely

Keep immutable definitions, dependency pins, workflow revisions and organization revisions distinct.

23 Oct 2026 · 3 min read
Markdown ↗

ONF treats published library versions as immutable. Editing an asset and publishing creates the next integer version of that same definition ID. Existing graph instances continue using their exact selected version. This applies to executable code, custom schemas, executors, subflow bodies and versioned documentation.

The independent counters#

CounterPurpose
Definition versionPublished code, schema, help and socket contracts
Graph node definition pinVersion selected by one workflow instance
Socket typeVersion / executorVersionExact dependencies captured by a published definition
Workflow revisionConflict guard for saving graph content
Folder or organization revisionConflict guard for shared discovery metadata

A workflow revision is not a full revision-history browser. Run snapshots separately preserve the workflow and dependencies accepted for that execution. Tags/folders are current discovery metadata keyed by reusable asset ID; changing them does not create a runtime version.

Publishing dependencies#

Publishing resolves missing custom type/executor pins to their current latest versions. Once captured, ordinary subsequent edits preserve those pins unless the author deliberately changes them. A newer custom type does not silently alter old validation. A newer executor does not change nodes pinned to an earlier wrapper.

Two versions of the same custom type are separate connection contracts, even when a human considers the schema change backward compatible. A documentation-only type publication can therefore create a new pin without changing schema text. Read Latest help when the goal is simply to learn about an existing asset.

Upgrade a consuming graph#

  1. Publish the required type or executor version first.
  2. Publish a node/trigger version explicitly adopting that dependency.
  3. Test its valid, missing and invalid values using synthetic data.
  4. Select the instance's available version update in the inspector.
  5. Review configuration and incident wires; incompatible wires may be removed during the upgrade.
  6. Validate and manually inspect the intended branch before enabling automation.

An instance upgrade retains the graph node ID. Its node-local checkpoint scope therefore remains, so changed code must understand old checkpoint values or intentionally use a versioned state key. Publishing does not migrate stored JSON, configuration, literals, workspace variables or external data.

Documentation and rollback#

The inspector's book starts on the instance's exact pin. Switching to Latest documentation does not modify the graph. Documentation-only publication still creates a version; it never rewrites earlier help. Omitting documentation during publication preserves the latest text, while an empty string explicitly clears it on the new version.

Loading an older version into the editor and publishing creates a new latest version containing that earlier content. It does not reset numbering or erase history. Review the dependency pins before treating this as a runtime rollback.

Deletion is guarded by saved workflow and library-version references, including historical consuming versions. A complete database restore is a different operation, covered in backup and restore. For agents, read exact versions before targeted graph edits and reconcile conflicts rather than blindly resubmitting.

Source provenance

Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.

  • docs/TYPES-AND-VERSIONING.md
  • docs/AUTHORING.md
  • docs/SUBFLOWS.md
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗