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/1and (from 1.2)pipeloom.plan_diff/1, and the event types. - Plugin API 1.0 for plugin authors: the protocols,
PluginSpec, the capabilities andpipeloom.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 capabilityinterval_writes, theWriteConfig.replace_rangefield and the optionalSupportsFilterBetweenprotocol (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 declareinterval_writes. - The engine conformance kit: the
-p pipeloom.testing.pytest_pluginplugin, its--pipeloom-harnessoption,EngineContractandEngineHarness, and the kit version in the report header. Within 1.x the kit changes only additively: a minor kit version adds cells and optionalEngineHarnessfields, 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
pipeloomtop-level exports andpipeloom.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¶
- The CHANGELOG lists the item under "Deprecated" and the table below gets a row.
- When you use the item, pipeloom prints a warning diagnostic with a
PLVcode. For Python and plugin API members it also raises a PythonDeprecationWarning. - 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
PLWcode. 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.