Skip to content

Stability and deprecations

From 1.0.0 pipeloom follows Semantic Versioning. The decision is in ADR-0016 (amendment 1.0); the artifact schemas are defined in ADR-0049.

What you can rely on

Within a major version these do not change in a breaking way:

  • CLI command names, flag names and what they mean, and the exit codes 0, 1, 2 and 130.
  • JSON output that carries a version tag.
  • config_version: 1. It is the only accepted value through 1.x.
  • The artifact schemas pipeloom.manifest/1, pipeloom.run_results/1, pipeloom.event/1, pipeloom.unit_states/1, pipeloom.unit_graph/1, pipeloom.compile_result/1 and (from 1.2) pipeloom.plan_diff/1, and the event types.
  • Plugin API 1.0 for plugin authors: the protocols, PluginSpec, the capabilities and pipeloom.testing. A plugin works with a core that has the same major and a minor equal to or above the plugin's; otherwise you get PLU001. Plugin API 1.1 (pipeloom 1.3) adds the capability interval_writes, the WriteConfig.replace_range field and the optional SupportsFilterBetween protocol (ADR-0054). An optional member lives in its own protocol and is reached through a core helper with a fallback, so a plugin built for 1.0 keeps loading and simply does not declare interval_writes.
  • The engine conformance kit: the -p pipeloom.testing.pytest_plugin plugin, its --pipeloom-harness option, EngineContract and EngineHarness, and the kit version in the report header. Within 1.x the kit changes only additively: a minor kit version adds cells and optional EngineHarness fields, while a required field, a removed cell or a changed meaning needs a major pipeloom release. Added cells can fail an engine that passed before, so pin pipeloom in CI when a green build must not move.
  • The meaning of each diagnostic code.
  • The documented Python API: the pipeloom top-level exports and pipeloom.api.

Release candidates such as 1.0.0rc1 are published to PyPI, and pip skips them unless you pass --pre. The distributions pin each other with ~= on the prerelease (pipeloom~=1.0.0rc1), which accepts 1.0.0rc1 and the final 1.0.0, but no other minor.

What may change in a minor release

  • Console text, including messages and hints of diagnostics, log lines and table layout. Read the code or the JSON output instead.
  • Anything undocumented, such as private modules and names that start with an underscore.
  • Additions: new commands, flags, optional fields in artifacts, event types, diagnostic codes and optional plugin members. Readers of artifacts and events should ignore what they do not know.

A rule that let wrong data through can start rejecting configuration in a minor or patch release. The CHANGELOG lists it under Security or Fixed.

How a deprecation reaches you

  1. The CHANGELOG lists the item under "Deprecated" and the table below gets a row.
  2. When you use the item, pipeloom prints a warning diagnostic with a PLV code. For Python and plugin API members it also raises a Python DeprecationWarning.
  3. The item keeps working for the rest of the major version. It is removed only in the next major, and only after at least one minor release that warned.

Experimental features

A feature, flag, config field or artifact field can be marked experimental. It is outside the guarantees above and can change or disappear in any release. You can tell by three marks: the docs say so, the CLI help says so, and the JSON Schema description of the field says so.

  • Using an experimental item prints a warning diagnostic with a PLW code. The run still works.
  • It is promoted to stable or removed within two minor releases after the one that added it. The CHANGELOG says which.
  • Do not depend on an experimental item in a pipeline you cannot edit when it changes.

Supported releases

Only the latest minor release gets patch releases. Security fixes go to the latest minor. If you run an older minor, upgrade to the latest one to get fixes.

Deprecations

Item Deprecated in Replacement Earliest removal

None yet.