Stability policy
What Floe 1.x promises, what it may add in a minor release, and what it does not promise.
Floe follows semantic versioning from 1.0. Within 1.x, a config, manifest or program that works on 1.N keeps working on every later 1.x release. Breaking changes wait for 2.0.
Frozen in 1.x
Section titled “Frozen in 1.x”None of these is removed, renamed or given a different meaning before 2.0:
- Config YAML: every key of the project, entity, sources, domain and profile documents
(
schemas/*.schema.yaml), its accepted values, its default and its meaning. Meaning includes which rows a check accepts or rejects and the type each declared column is written as. - Manifest: the format
floe manifest generatewrites, read byfloe run --manifestand the connectors (orchestrators/schemas/floe.manifest.schema.json). - Run reports: the fields of
run.summary.json,<entity>/run.jsonandrun.failure.json, and the status andskip_reasonvalues (Run report). - Events:
--log-format jsonlines (schema: "floe.log.v1"), their event names and fields, and thelogeventcodevalues (Logging). The same events go tofloe.set_observercallbacks. - Rejected row envelope: the
__floe_*columns of rejected CSV, Parquet and Iceberg output, and theruleandcolumnof each__floe_errorsentry (Rejected row envelope). - Exit codes:
0success, success with warnings or rejected rows;1technical failure or invalid config;2aborted by policy.2also means a command-line usage error, before any run starts. - Error codes and exception classes: every code in Error codes, and
FloeErrorwith its subclassesFloeConfigError,FloeIoError,FloeRunErrorandFloeStorageError. The code and class a given failure raises are part of this. - CLI: the commands and flags listed in CLI.
- Python API: the names in
floe.__all__, their parameters, and the fields of the objects they return (RunOutcome,RootConfig,EntityConfig, the event classes).
Added in minor releases
Section titled “Added in minor releases”A 1.x minor release may add:
- optional config keys and new values for existing keys (a new source format, sink or check);
- report fields, event types, event fields and
logcodes; __floe_*columns in the rejected output;- error codes;
- CLI commands and flags, and names in
floe.__all__.
So readers must ignore fields they do not know. A new optional key never changes what an existing config does.
A patch release only fixes bugs. A fix that makes Floe do what this documentation says may
change output. For example, rows the contract rejects but an earlier release accepted are
rejected. Each such fix is listed in CHANGELOG.md.
Not promised
Section titled “Not promised”These may change in any release:
- error and log message wording (match on
err.code, not on text), the human end-of-run summary,--log-format textlines, and themessageof a__floe_errorsentry; - anything not in
floe.__all__, whatever its module name (floe.run,floe.config, …); - the layout of the incremental
state.jsonand the table properties Floe writes. Floe 1.x still reads state and resumes retries left by any earlier 1.x (and 0.10) release; - performance, memory use and the number or names of written part files;
- the supported Python versions (a version past its upstream end of life may be dropped in a minor release) and the versions of dependencies.
version and spec_version
Section titled “version and spec_version”- A config’s
version: "1.N"is the oldest Floe it needs. Floe 1.M runs any config withversionfrom"0.1"up to"1.M", and refuses a newer one withconfig_version(a 1.3 config on Floe 1.2 fails at validate time, before any row is read).floe add-entitywrites the running major.minor. - A manifest’s
spec_versionis the Floe major.minor that generated it.floe run --manifestruns any manifest withspec_versionup to its own and refuses a newer one withconfig_version. - In run reports,
spec_versionis the config’sversion(unchanged since 0.x). The Floe release that wrote a report istool.version.
Connectors
Section titled “Connectors”dagster-floe and airflow-floe have their own version numbers. A connector release lists the
manifest spec_versions it accepts, and refuses any other with a clear error instead of
misreading it. So a manifest from a new Floe minor needs a connector release that lists it. Each
Floe minor ships with one. The tables of Floe and connector versions that work together are in the
dagster-floe and
airflow-floe READMEs.
Deprecation
Section titled “Deprecation”A frozen item that has to go is first deprecated in a 1.x minor release:
CHANGELOG.mdand its reference page say it is deprecated and what replaces it.- Using it logs a warning (
warnlevel) and still works for the rest of 1.x. - 2.0 removes it. The removal fails with
config_not_supported, naming the replacement.
The one exception is a security fix: an item that is a security hole may be removed in a
minor release, with a CHANGELOG.md entry.
Synced from floe @ v1.1.0 (313b534), docs/reference/stability.md.