# Changelog

> All notable changes to Floe are documented in this file.

Source: https://openlakeforge.dev/floe/changelog/

All notable changes to Floe are documented in this file.

## Unreleased

## v1.1.0

Floe 1.1 adds the business-contract import. It accepts configs with `version:` up to `"1.1"` and generates manifests
with `spec_version: "1.1"`; use dagster-floe 0.8 or airflow-floe 0.6 with it. Nothing frozen by the
[stability policy](https://openlakeforge.dev/floe/reference/stability/) changes: every 1.0 config and manifest runs unchanged.

### Business-contract import

- `floe contract import` writes one business-owned entity YAML per table from a domain Excel workbook (`Guide`,
  `Tables` and `Columns` tabs), plus a fail-closed `_domain.yml` scaffold, and updates only the owned keys on
  reimport (#1454). The scaffold's `TODO_` values make `floe validate` fail until a data engineer completes it; the
  generated entity files then pass the existing `floe validate` and `floe run` unchanged. A reimport keeps every
  engineer-added key and comment byte for byte, blocks hand edits to owned keys and unmanaged files, and refuses a
  breaking change (a removed table or column, a type, source or primary-key change) without `--accept-breaking`.
  `--dry-run` prints the plan; `--check` exits non-zero when a file would be created or updated; neither writes. A
  workbook error names its Excel cell, and any workbook, plan or gate error writes nothing. `-c config.yml` validates
  the project as it would be after the import before writing. Needs the `xlsx` extra. See
  [Business contracts](https://github.com/OpenLakeForge/floe/blob/v1.1.0/docs/guides/business-contract.md) and the example in `example/business-contract/`.
- `source.ref` is allowed in a domain's `defaults.source` (the entity's `ref` wins), and `{{resource}}` in
  `source.path` resolves with or without a named source (#1470).
- `floe add-entity` can infer string columns from the first worksheet of a local XLSX file with the `xlsx` extra
  installed (#1447).

### Fixes

- An aborted run that accepted no rows no longer replaces the existing accepted output with an empty dataset under
  `write_mode: overwrite`; the previous output stays (#1496). A first run that aborts before accepting a row now
  writes no accepted output instead of an empty one.
- An Iceberg `append` with `primary_key` or `unique_keys` on S3-compatible storage (MinIO, SeaweedFS, OVHcloud, …)
  no longer fails its second run: the scan of the table's existing keys now uses the storage's `endpoint`, `region`
  and path-style settings instead of AWS defaults (#1494).
- `floe add-entity` no longer writes headers like `0o123` unquoted: a string that Floe's YAML parser would read as a
  number is now quoted, so the column keeps its name (#1453).

### Documentation

- [Support matrix](https://openlakeforge.dev/floe/reference/support-matrix/) is now the canonical, evidence-backed list of tested backend
  combinations, with the transactional guarantees of each output and when each policy decides (#1457).

## v1.0.0

Floe 1.0 starts the [stability policy](https://openlakeforge.dev/floe/reference/stability/): what it freezes keeps working on every later 1.x release, and breaking changes wait for 2.0. Floe 1.0 accepts configs with `version:` up to `"1.0"` and generates manifests with `spec_version: "1.0"`; use dagster-floe 0.7 or airflow-floe 0.5 with it.

### Breaking changes

- **Breaking:** an incremental state conflict that outlasts its retries, and `floe state reset` finding the state changed under it, now raise `FloeRunError` with `code="run_state_conflict"` instead of `FloeConfigError` (#1304); the logged `code` is `run_error`. A failed archive delete carries `run_archive_failed`.
- **Breaking: `schema.columns[].unique` is removed (#1259).** `floe validate` and `floe run` fail with `is not supported (see CHANGELOG); use schema.unique_keys` on a column carrying `unique`, true or false, and `floe run --manifest` fails the same way on a manifest that carries it; regenerate such a manifest with `floe manifest generate`. Replace each `unique: true` column `c` with an entry `[c]` in `schema.unique_keys`, and delete `unique: false` lines (older `floe add-entity` wrote one on every column). The manifest schema and the config schemas drop `unique`.
- **Breaking:** rejected CSV and Parquet output always appends, whatever the entity's `sink.write_mode` (#1254). An `overwrite` entity used to delete the previous run's rejected parts on its next run; it now keeps them, like the append-only Iceberg quarantine. There is no opt-out: clear old rejected output with your storage lifecycle. A retry of the same input still rewrites its own parts. The accepted sink's `overwrite` is unchanged.

### Data contract checks

- `schema.checks` declares row predicates across columns (#1407, #1252): each entry compares `left` with a column (`right`) or a literal (`value`) using `eq`, `ne`, `lt`, `le`, `gt`, `ge`, `is_null` or `not_null`, optionally only `when` one condition holds, with its own `severity` (else `policy.severity`). A failing row gets an error with `rule` = the check `name`, and `validation.rules[]` lists each predicate under its name; a comparison with a null passes. `floe validate` refuses a missing or non-snake_case name (`config_missing_key`, `config_invalid_value`), a duplicate name (`config_duplicate`), a built-in rule name (`config_conflict`), an unknown column (`config_unknown_reference`), the wrong number of `right`/`value`, incompatible column kinds (a date is not a datetime) and `lt`/`le`/`gt`/`ge` on a string or boolean (`config_conflict`), and an unsupported op, a literal that does not cast to `left`'s type, a `value` on a boolean column and an unknown severity (`config_invalid_value`). `floe manifest generate` carries the key. Configs without `schema.checks` behave as before.
- Column value checks (#1251): `schema.columns[]` accepts `min`/`max` (rule `out_of_range`, on int, float, decimal, date and datetime columns), `allowed_values` (`not_allowed`, int and string), `pattern` (`pattern_mismatch`, a full match in Polars' Rust regex syntax) and `min_length`/`max_length` (`length`, Unicode code points, string) (#1405). Bounds and allowed values convert like a CSV value of the column, so quote exact decimals and datetime bounds are UTC. A null passes, and a failed cast is not reported twice. The four rules are `rule_severity` keys on the column and in `policy`, and the report and manifest carry them (#1404). `floe validate` refuses a key on a type it does not apply to, `min` above `max` and a value rule's `rule_severity` without its keys (`config_conflict`), and a bound or value that does not convert, a NaN or infinite bound and a pattern that does not compile (`config_invalid_value`). Configs without these keys behave as before.
- `policy.min_rows` sets the fewest input rows an entity's run must read (#1409): below it the entity ends `aborted` (exit `2`) or, with `policy.rule_severity.min_rows: warn`, `success_with_warnings`. It is checked after the commit, so an abort does not roll back the accepted rows, and not at all when every file of the run is `skipped`. The level is `rule_severity.min_rows` (`warn` or `abort`), else `policy.severity` with `reject` read as `abort`; it never requires `sink.rejected`. The `run.json` `policy` block gains `min_rows` and `min_rows_violated`, and `floe manifest generate` writes `policy_min_rows`, both only when set.
- `policy.min_rows_per_file` (#1410) sets the fewest rows each input file must have (`1`: no empty file). A file with fewer rows is settled by `policy.rule_severity.min_rows_per_file` (`warn`, `reject` or `abort`, else `policy.severity`): `reject` copies the raw file to `sink.rejected` and accepts none of its rows, `abort` aborts the entity (exit `2`), `warn` keeps the rows with one warning. The file reports one `validation.rules[]` entry `min_rows_per_file` with `columns: []`. `floe manifest generate` carries it as `policy_min_rows_per_file`. Configs without it behave as before.
- `schema.columns[].rule_severity` (`not_null`, `cast_error`) and `policy.rule_severity` (those two plus `unique` and `schema_mismatch`) set a severity per check (#1359), overriding `policy.severity`: a missing email can warn while a failed cast rejects and a duplicate key aborts. Unknown rules and levels other than `warn`, `reject`, `abort` fail validation; `not_null` on a column that is not required and `cast_error` on a `string` column are `config_conflict`; a `reject` or `abort` level needs `sink.rejected`, and `abort` is refused with `pii`. Configs without `rule_severity` behave as before. `floe manifest generate` carries the keys with #1358, in the same release.
- A header-only CSV no longer crashes `floe run` with a Polars `SchemaError` when the entity has a `primary_key` or `unique_keys` (#1415); the file runs with 0 rows like an entity without a unique constraint.

### Delta Lake and Unity Catalog

- `sink.accepted.format: delta` writes the accepted rows as a Delta table, with `write_mode` `overwrite` or `append` (#1307; needs the `delta` extra). One run is one Delta commit, and the report carries `table_version`, the table's version after it. Unsigned integers are widened (`uint8`/`uint16` to `int32`, `uint32` to `int64`) and `uint64` is refused; an append whose columns differ from the table's is refused; a table that uses a feature delta-rs cannot write is refused and never altered. `merge_*` are refused.
- A `sink.accepted.format: delta` append is now retry-safe (#1340): each commit carries a `txn` action `floe:<input_hash>` and `floe.run_id`/`floe.input_hash` in `commitInfo`, so a run that died after its commit reports its inputs `already_committed` and adds no rows on retry. `table_version` now comes from the run's own commit. If `delta.setTransactionRetentionDuration` is unreadable or shorter than the age of a dead run's claim, the run fails with `run_state_conflict` instead of guessing. `policy.severity: abort` with a delta `append` is refused for now, and two runs appending the same batch at the same moment can still both commit (follow-up #1341).
- A Delta append whose batch a concurrent run commits while it writes is no longer written twice (#1341): the write is based on the snapshot the retry guard checked, so the conflict is detected and the run reports `already_committed` for every pending input. An intentional reload after `floe state reset` still appends.
- The Delta retry guard no longer mistakes an older load of the same files for a dead run's commit (#1354): after `floe state reset`, a run that died after claiming and before committing is retried and appends the files again instead of reporting them `already_committed`. The `txn` version is now the claim time in epoch milliseconds; A `txn` stamped before this fix (version 1) still counts as the dead run's commit, so a run that died across the upgrade is not appended twice.
- A `sink.accepted.format: delta` append now enforces `unique_keys` and `primary_key` against the table's existing rows (#1309): the key columns are streamed from the table to a local cache (`DeltaTable.scan`, so column-mapped tables work and memory does not grow with the table), and a row repeating an existing key is rejected. The run-time refusal is gone.
- `sink.accepted.partition_by` is supported with `sink.accepted.format: delta` (#1310): identity partition columns (config column names) are set when the table is created and kept on appends and overwrites. If an existing table is partitioned by other columns, the run fails with `run_schema_evolution` and the table is untouched.
- A `type: unity` catalog (`host`, `catalog`, `schema`, `token`, `create_schema_if_missing`) and `sink.accepted.delta: {catalog, schema, table}` validate (#1313), for Delta tables on S3 storage. `floe manifest generate` carries both (#1394), the token as its unexpanded `${VAR}` reference.
- A run with `sink.accepted.delta` registers the Delta table in Unity Catalog as an external table (#1314), after the commit and on every successful run, so a retry registers a commit whose registration failed. An existing table must be an external Delta table at the same location (`run_state_conflict`); its columns are not updated. The report carries `delta_catalog_name`, `delta_schema` and `delta_table`. Needs an external location covering the `s3://` path, created in Databricks. Tested against a local stub of the Unity Catalog REST API only, not yet a live workspace.
- Unity Catalog registration sends the `properties` field the create-table API requires (#1401), and the Delta docs list the `EXTERNAL USE SCHEMA` and `EXTERNAL USE LOCATION` privileges and the metastore's external data access setting it also needs.

### Storage: ADLS, GCS and S3-compatible providers

- `type: adls` storage is supported again for sources, Parquet/CSV sinks, reports and archive (#1324); Iceberg/Delta on ADLS, manifests and remote profiles come later. Credentials come from the `AZURE_*` environment; `endpoint` points at an Azure-compatible service such as Azurite (plain `http://` is allowed).
- `type: gcs` storage is supported again for sources, Parquet/CSV sinks, reports and archive (#1325); Iceberg/Delta on GCS, manifests and remote profiles come later. Credentials come from the `GOOGLE_*` environment (Application Default Credentials); `endpoint` points at a GCS-compatible service such as fake-gcs-server (plain `http://` is allowed). Paths are `gs://<bucket>/...`; `gcs://` is refused.
- Iceberg sinks and catalog `warehouse_storage` accept `type: gcs` storage (#1326): PyIceberg uses PyArrow's FileIO with `gcs.service.host` from `endpoint` (otherwise ADC). Iceberg on `type: adls` stays refused: PyIceberg's PyArrow FileIO cannot read `abfss://<container>@<account>` locations, and its fsspec FileIO needs `adlfs`. The ADLS FileIO props (endpoint, a whole service principal only, key and SAS from `AZURE_*`) and the DuckDB Azure secret (connection string for a key or SAS, else `credential_chain`) are in place for when it is enabled. Merges and compaction on gcs are refused with `config_not_supported`, because DuckDB's GCS secret takes HMAC keys only.
- Iceberg sinks work on ADLS storage (#1344): `floe validate` accepts an `adls` accepted or rejected storage (and a catalog `warehouse_storage` on ADLS), and PyIceberg writes through its fsspec FileIO at the `abfss://<container>@<account>.dfs.core.windows.net/...` location Floe generates. The `adls` extra now installs `adlfs` (`pip install floe-python[adls]`).
- `floe manifest generate` and `floe run --manifest` support `type: adls` and `type: gcs` storages (#1388): the manifest records the `abfss://` and `gs://` URIs the run writes, and a replayed run writes its report to the storage matching `report_base_uri` (`config_invalid_value` when none matches). `floe maintain` still refuses them.
- `floe run --manifest`, `-p` and `floe manifest generate -o` accept `gs://` and `abfss://<container>@<account>.dfs.core.windows.net/` URIs, as they did `s3://` (#1389): manifests and profiles are read from, and generated manifests written to, GCS and ADLS in one put. A bare URI has no storage definition, so credentials and endpoint come from obstore's environment (`GOOGLE_*`, `AZURE_STORAGE_*`; `AZURE_STORAGE_ENDPOINT` and `AZURE_ALLOW_HTTP` for an emulator); Floe adds no variable. `az://`, `abfs://` and `gcs://` stay refused.
- `floe maintain` lists Iceberg table locations on `gs://` and `abfss://` storages through obstore (#1390), so orphan file removal works on a GCS table and no longer refuses a config that defines an ADLS or GCS storage; a `gs://` or `abfss://` location without a matching storage fails with `run_invalid_setup`. Iceberg on ADLS stays refused at validate (#1344), and `--compact` on GCS stays unsupported.
- OVHcloud Object Storage is verified as a `type: s3` storage (#1270): the support matrix records the provider suite, Iceberg through a Polaris catalog, Delta, manifests and `floe maintain` against a real `GRA` bucket, and `docs/storages/s3.md` notes the per-bucket user grant and the checksum variable v0.10.4 and earlier need for Iceberg. Docs only.
- Scaleway Object Storage is verified as a `type: s3` storage (#1269): the support matrix records the provider suite, Iceberg through a Polaris catalog, Delta, manifests and `floe maintain` against a real `fr-par` bucket, and `docs/storages/s3.md` gains provider notes and the Polaris settings for a bucket-backed catalog. Docs only.
- Iceberg sinks work on OVHcloud Object Storage (#1431): opening an Iceberg catalog for an `s3` storage sets `AWS_RESPONSE_CHECKSUM_VALIDATION=when_required` unless the environment already sets it, so PyArrow's AWS SDK no longer sends the `x-amz-checksum-mode` header OVHcloud refuses (`load_table` and commits failed with `Value for x-amz-checksum-mode header is invalid`). Floe's own S3 client already made the same choice. No config, manifest or CLI change.
- On Scaleway Object Storage, an `incremental_mode: file` run that loses the state write to a concurrent run retries instead of failing with `storage_error` (#1432). Conditional puts no longer send `Expect: 100-continue`: Scaleway refused them without `100 Continue` and then misread the next request on the connection, so the retry's state read failed (`MethodNotAllowed` or HTTP 400) when the state was small. Other uploads are unchanged. No config, manifest or CLI change.

### Incremental runs and retries

- An Iceberg or Delta `write_mode: append` retry in `incremental_mode: file` no longer skips an input file that was replaced (same URI, new size or mtime) after a dead run committed it and before that run promoted it (#1427). The retry used to report it `skipped` with `skip_reason: already_committed` and record its new size and mtime, so the new content was never ingested. It now skips only the dead run's files whose size and mtime are unchanged, and reads the replaced one like any changed input: its new rows are appended next to the old rows the dead run committed. No config, manifest or CLI change.
- A retry of a Parquet `write_mode: append` with `primary_key` or `unique_keys` in `incremental_mode: file` no longer rejects a dead run's rows as duplicates when new input files arrived before it (#1203, #1425). The retry reports the files the dead run fully published as `skipped` with `skip_reason: already_committed` and reads the rest, same-set retries included (they used to rewrite the dead run's parts). Each input file's first part is now named from the file and its claim. One-time upgrade effect: a run that died on an earlier version left no such part, so its retry reads those files again and rejects the rows the dead run published as duplicates, once; accepted rows are never lost or written twice. No config, manifest or CLI change.
- With `primary_key` or `unique_keys`, `incremental_mode: file` and a Parquet `write_mode: append` sink, an accepted part no longer holds rows from two input files (#1424, part of #1203): each input file gets at least one part, and a file that accepted no row gets one empty part. Many small inputs give more, smaller part files, and `accepted_output.files_written` / `part_files` grow. Other sinks and modes write the same parts as before. No config, manifest or CLI change.
- Accepted and rejected part files are published last to first (#1429), so a write that fails while publishing never leaves its first part visible with later parts missing. No config, manifest or CLI change.
- `floe state forget -c <config> --entity <name> --file <uri> --yes` re-queues the named files of an `incremental_mode: file` entity for the next run (#1365), for a corrected file that a partner re-sends and `already_ingested_changed` skips. It is one conditional state write that leaves the other files, claims and watermark alone, and refuses a live claim, an untracked URI, a file before the `source.partitioning` window, and a non-`file` entity. The `already_ingested_changed` warning now names the command.
- An emptied incremental state and `floe state reset` now leave an empty `state.json` on storage instead of deleting it (#1271); an empty state reads as no state, and `StorageClient` no longer has `delete_conditional`.
- A partitioned S3 archive now keeps the source modification time in one `.floe/source_mtime/<run_id>.json` index per run and entity (#1271), instead of the copy's `floe-source-mtime` object metadata; a full refresh reads the indexes first, then the legacy metadata of older archives. Local archives have no index and order by the copy's own mtime. `StorageClient.copy` no longer takes `source_mtime`.

### Reports, errors, PII and CLI

- `docs/reference/stability.md` is the 1.0 stability policy (#1262): what is frozen until 2.0, what a minor release may add, what is not promised, what `version` and `spec_version` mean, how the connectors pair with Floe, and how a frozen item is deprecated. `docs/reference/errors.md` no longer says some errors have no `error_code`: every raise has one.
- Every Floe error carries a typed code as `err.code` (#1260; #1295, #1297–#1303, #1316, #1318, #1333): `docs/reference/errors.md` lists them, JSON logs and `run.failure.json` carry it as `error_code`, and text logs print `error_code=<code>` on a failure line.
- Each `files[]` entry of the run report has `input_size` (bytes) and `input_mtime` (string), the size and modification time Floe listed for the input file (#1362); both are `null` when the storage does not report them. A later replay can use them to check that the file behind `input_file` is still the one that was validated.
- CSV rejected rows carry `__floe_run_id` and `__floe_source_uri` after `__floe_errors` (#1384), in the same order and with the same values as Parquet, so all three rejected formats have the same four envelope columns. A reader of rejected CSV that indexes columns by position past `__floe_errors` must account for the two new columns.
- `pii` is allowed together with `sink.archive` (#1363): `floe validate` no longer refuses it with `config_conflict`. The archive moves the original file within the source's storage, so it adds no unmasked copy; a PII entity can now use `incremental_mode: archive`. The other PII refusals (`policy.severity: abort`, `reject_file` mismatch) stay. The archive prefix may have different ACLs than the source prefix; see `docs/guides/pii.md`.
- `floe add-entity` no longer writes `unique: false` on each generated column (#1259); the flag was a no-op default.

## v0.10.4

- An Iceberg `append` with unique keys no longer prints Polars 2.1's `PerformanceWarning` about the missing `polars_iceberg` planner plugin (#1272). Floe sets `POLARS_ICEBERG_PLANNER=pyiceberg`, the planning Polars used before 2.1, unless the variable is already set.
- The Docker image and the lock now use Polars 2.1.0 (#1247), the version `pip install floe-python` already resolves. Polars 2.1 reads local CSV files with plain reads instead of memory-mapping them; with default settings a run's peak RSS is about the same (see the next entry for the settings that lower it).
- `docs/sinks/parquet.md` describes the memory behaviour of Polars 2.1 (#1265): the CSV read-ahead (up to two 32 MiB chunks per worker thread) replaces the memory-mapping explanation, and `POLARS_CSV_CHUNK_SIZE` and `POLARS_CSV_CHUNK_PREFETCH_LIMIT` join the settings that lower the peak.

## v0.10.3

- A profile can fix where run reports are written with a `report:` block, `storage` (required) and `prefix` (optional) (#1237). Every report of the run (`run.summary.json`, each `run.json`, `run.failure.json`) then goes to that storage under `<prefix>/<project report.path>`, so a platform can grant each environment read on one prefix it controls. A project `report.path` that is absolute, a URI or contains `..`, or a `report.storage` naming another storage, fails validation. Projects run without the profile block behave as before. `schemas/profile.schema.yaml` accepts the block.
- A CSV file with a row of more fields than the header and malformed quoting after it fails with `FloeIoError: csv read failed: ...` instead of a raw Polars `ComputeError` (#1240), so callers that catch `FloeError` see it.
- A headless CSV (`header: false`) with a row of more fields than its first row within roughly its first 64 KiB rejects just that row (D3) instead of failing the whole file with `csv header read failed` (#1242).
- `docs/sinks/parquet.md` explains why a run's peak RSS grows with its input (Polars memory-maps the CSV and its allocator keeps freed buffers per thread; unique-key checks keep their keys for the run) and documents `_RJEM_MALLOC_CONF=dirty_decay_ms:0,muzzy_decay_ms:0` and `POLARS_MAX_THREADS` as deployment settings that lower it (#1169, #1199).
- `docs/concepts/incremental.md` documents that a Parquet `append` retry whose input set gained files can reject the dead run's rows as duplicates (#1203).

## v0.10.2

- `policy.max_rejection_rate` (a number in `[0, 1]`, `severity: reject` only) aborts an entity whose rejected rows exceed that share of its input rows (#1220). The accepted rows are committed, the entity ends `aborted` (exit `2`) and its `run.json` `policy` block records the threshold, the observed `rejection_rate` and `max_rejection_rate_exceeded`. It can be set per domain and per entity, and travels in the manifest as the optional `policy_max_rejection_rate`.
- `entity_finished` carries `report_uri`, the entity's `run.json`, the same string as `run_finished.entity_report_uris[name]` (#1225). A failed entity omits it.
- The documentation is restructured for readers new to Floe and for publication at openlakeforge.dev/floe: `docs/README.md` is the entry point (it replaces `docs/summary.md`), new Introduction, Quickstart and Data contracts pages, and the existing pages move into `get-started/`, `concepts/`, `guides/` and `reference/` (`write_modes.md` becomes `concepts/write-modes.md`, `python-bindings.md` becomes `guides/python-api.md`). `docs/navigation.yaml` orders the published pages.

## v0.10.1

- An included domain file may set `entities`, a glob relative to the domain file, to load its entity files from another folder (#1213): `entities: "contracts/*.yml"` lets `silver/<domain>/domain.yml` keep its entities in `silver/<domain>/contracts/`. Without the key the domain loads its sibling `*.yml` files as before. A glob that matches no file is an error, and the domain file is never loaded as one of its own entities. `schemas/domains.schema.yaml` accepts the key.

## v0.10.0

Floe 0.10 accepts configs with `version:` up to `"0.10"` and generates manifests with `spec_version: "0.10"`; use
dagster-floe 0.6 or airflow-floe 0.4 with it.

- **Breaking: Floe refuses config inputs it used to accept and ignore (#1009, #1059).** `floe validate` and `floe run` now fail with `is not supported (see CHANGELOG)` for: `schema.columns[].trim` and `width` (never applied; fixed-width input was dropped), `incremental_mode: row` (it behaved like `none`), the profile's `validation.strict` (parsed, never enforced; `validation` itself stays a valid empty block), and `sink.accepted.merge.compare_columns` with `write_mode: merge_scd1` (only `merge_scd2` uses it). `floe run --manifest` fails the same way on a manifest that carries `trim`, `width`, `incremental_mode: row` or `compare_columns` with `merge_scd1`, and `floe run --manifest ... -p` is a usage error (exit 2) instead of ignoring the profile. The manifest schema drops `width`, `trim` and `incremental_mode: row`. Remove the keys from your configs and profiles; none of them changed a run's output.

- **Breaking: `boto3`, `pyiceberg`, `duckdb` and `fastexcel` are now the optional `s3`, `iceberg`, `merge` and `xlsx` extras (#1061).** `pip install floe-python` no longer installs them. Install `pip install 'floe-python[s3]'` for `s3` storages and `s3://` locations, `'floe-python[iceberg]'` for `sink.accepted.format: iceberg`, `sink.rejected.format: iceberg` and `floe maintain`, `'floe-python[merge]'` for `sink.write_mode: merge_scd1` and `merge_scd2` and `floe maintain --compact`, and `'floe-python[xlsx]'` for `source.format: xlsx`; without the extra `floe validate` and `floe run` fail with `needs the floe[<extra>] extra`. `floe-python[all]` installs every extra, and the Docker image and `dagster-floe[floe]` use it.

- **Breaking: `floe run` refuses a Parquet `sink.accepted.path` equal to `sink.rejected.path`, whatever the rejected format (#1168).** A raw file copy from a file-level reject (`reject_file`, `abort`) lands in the rejected directory under its own name, and the accepted Parquet writer's overwrite replaced or deleted it when the name matched `part-*.parquet`. A config that shared the path now fails with `sink.accepted.path must differ from sink.rejected.path`; give the two sinks separate directories.

- `run.failure.json` gives each `failed` or `unknown` entity that claimed inputs an `input_hash`, the fingerprint of the claimed input set (the Iceberg snapshot's `floe.input_hash`), so a reader can match the failure to a snapshot or part after the pod is gone (#1155). Absent when the entity failed before claiming.

- `floe run --manifest` keeps the entity `metadata` (`data_product`, `domain`, `owner`, `description`, `tags`) in the run report and honours `report.formatter` (#1188, #1009). The manifest gains optional fields: a top-level `report_formatter` and, per entity, `description` and `tag_list` (the metadata `tags` list; the existing `tags` object still holds `data_product`, `domain` and `owner`). A manifest generated before this change still runs as before: no entity metadata and JSON `__floe_errors`; regenerate it to get both.

- `floe validate`, `run`, `state` and `manifest generate` fail with `a config must be a local path; download it first` for `-c s3://...` instead of `No such file or directory` (#1009). Only `--manifest` and `-p` read `s3://`.

- A `normalize_columns` source collision now names the declared columns, with their `source:` (#1009): `column source collision: order_id and order_ref (source order.id) -> order_id` instead of `order_id and order.id -> order_id`.

- Config errors quote values with Python `repr()` and YAML parse errors use PyYAML's message with `line L column C`, replacing the Rust-format text and byte offsets (#1059). Example: `duplicated key 'version' in mapping at line 2 column 10`. Tools that matched the old error text must be updated.

- `sink.rejected.format: parquet` writes the rejected rows as `rows/part-*.parquet` under the rejected path (#1153, #1154): raw source values plus `__floe_row_index`, `__floe_errors`, `__floe_run_id` and `__floe_source_uri`. Rejected chunks are spilled to disk, not held in memory, and an append retry rewrites the same parts. In the report, `rejected_path` is that `rows` directory. Entities with a rejected sink may no longer declare columns named `__floe_*`, nor columns whose normalized output name starts with it. `floe run` refuses source files under `<rejected path>/rows`.

- `sink.rejected.format: iceberg` writes the rejected rows to an Iceberg quarantine table through the same catalog binding as the accepted sink (#1158): the declared columns as strings plus `__floe_row_index`, `__floe_errors`, `__floe_run_id` and `__floe_source_uri`, appended in one commit per entity run. The table is at-least-once and append-only: a retry after a failed accepted commit appends a second copy, so dedupe on `(__floe_source_uri, __floe_row_index)` keeping the latest `__floe_run_id`. The accepted and rejected commits are not atomic together.

- Named profile runners inherit from the default runner and can be selected per domain or entity (#1149).

- **The rejected CSV holds the source values, not the cast ones (#1152).** The columns are unchanged, but a cell whose
  cast failed (`amount: not_a_number` for a decimal, a bad date) now holds the literal from the file instead of an empty
  cell. Which rows are rejected, `__floe_row_index`, `__floe_errors` and the run reports are unchanged. Typed inputs
  (Parquet, ORC, Avro) keep their native values. PII strategies are applied to the raw values, so a `hash` of a rejected
  value can differ from the hash of the same value in the accepted rows.

- A run stopped by an input-listing or entity error writes a best-effort `run.failure.json` (error, per-entity state) before the error is raised, and emits a `log` event with its URI (#1155). For an entity that failed or was interrupted it records each sink's state (`sinks.rejected`, `sinks.accepted`: `not_started`, `committed` or `unknown`).

- `run.failure.json` is also written when every entity finished but the final `run.summary.json` could not be written (#1155): the entities stay `completed`, the original error is raised.

- Each entity report has a `timings_ms` object (`list_ms`, `download_wait_ms`, `read_validate_ms`, `rejected_write_ms`, `accepted_write_ms`, `archive_ms`: cumulative wall-clock milliseconds, `null` for a phase that did not run), the `entity_finished` event carries it, and `run_finished` has `report_write_ms` (#1156).

- The `run_started` event and `run.failure.json` carry `dagster_run_id` and `dagster_job_name` when `DAGSTER_RUN_ID` and `DAGSTER_JOB_NAME` are set, and the failure-report `log` event and a failed `entity_finished` carry `error_code` when the error has a typed `code`. Both are optional and absent otherwise (#1156).

- A retry after a crash does not write a second copy of the dead run's rejected rows (#1201). A rejected CSV or Parquet part is named from the hash of its source file, not of the whole claimed batch, so a retry that claims more files overwrites the same parts. The Iceberg quarantine table stays at-least-once.

- With `incremental_mode: file` and a unique key, accepted Parquet append parts are named from the batch input hash, and a retry overwrites the dead run's parts instead of seeding the unique keys from them (#1202). Before, the retry rejected its own rows as duplicates.

- A failed claim renewal during a long run emits a `log` event with `code: heartbeat_failed` and `log_level: warn` (#1161). `run_error` wraps only I/O, value, DuckDB, Polars, botocore and PyIceberg errors; a programming error (`TypeError`, `KeyError`, ...) now propagates with its own type.

## v0.9.0

Floe 0.9 accepts configs with `version:` up to `"0.9"` and generates manifests with `spec_version: "0.9"`; use
dagster-floe 0.5 or airflow-floe 0.3 with it.

- **A `kubernetes_job` runner passes its pod options through to the manifest (#1065).** The profile's
  `kubernetes_job` runner keeps every key the core does not use (`security_context`, `node_selector`,
  `tolerations`, `priority_class_name`, ...) as written, and the manifest carries it; a new pod option needs only a
  dagster-floe release. The core no longer type-checks these options: a mistyped key or a wrongly typed pod option
  now passes `floe validate` (dagster-floe still rejects a wrongly typed known option when it loads the manifest).
  `local` and `databricks_job` runners still accept and ignore the old pod keys (`labels`, `tolerations`, ...)
  and reject other unknown keys; a non-finite number (`.inf`, `.nan`) in a pod option is rejected. Existing manifests
  are unchanged.

- **File-mode state prunes ingested entries behind a stored `pruned_before` date (#949).** With
  `incremental_mode: file` and `source.partitioning`, each successful run moves `pruned_before` to the watermark
  minus `lookback_days` and drops older `files` entries in the same state write, so the state file no longer grows
  with every ingested file. A normal run never lists days before `pruned_before`, even after `lookback_days` is
  raised; only `--full-refresh` does. After a failed full refresh the next run lists from `pruned_before`, no longer
  from the start. State files without the field load unchanged.

- **A full refresh replays same-day S3 archive copies in their original order (#939).** An S3 archive copy keeps
  the source's modification time in the object metadata `floe-source-mtime`, and a full refresh of a partitioned
  entity reads it back (one HEAD per archived file) to order same-day batches. Before, batches archived in the same
  second could replay in batch-name order and keep a different version of a key than the first run. Archiving now
  takes one HEAD on the source before each copy; archives written before this change keep the old order.

- **`incremental_mode: file` with no source files has nothing pending (#1139).** An entity whose source prefix is
  empty or missing used to fail the run with `no input files matched` / `no input objects matched`. It now finishes
  with 0 files and 0 rows and leaves its table and state untouched, as when every listed file was already processed.
  `--full-refresh` with no source files, and `incremental_mode: none` or `archive`, still fail.

- **Compaction no longer keeps all-deleted manifests in the manifest list (#1136).** `floe maintain --compact` left
  one more dead manifest in the table's manifest list on every run, so later scans and commits read more manifests
  each time; it now drops them, as overwrites do since v0.8.9.

## v0.8.9

- **A file removed after listing no longer aborts a run with `sink.rejected` set (#1121).** The file is reported as
  failed with its read error, without a raw copy, and the run continues.

- **Tied unique-key samples are ordered by the key, not its Rust Debug text (#984).** When duplicate keys share a
  count, the report samples now order them by value: numbers numerically (2 before 10, no longer 10 before 2),
  strings by code point, and composite keys column by column. Reports whose tied samples held keys of different
  digit counts, or strings with control characters, list them in a different order.

- **Iceberg sinks apply `options.compression` and `options.row_group_size` (#1009).** Both were parsed and
  validated but ignored for `sink.accepted.format: iceberg`. `overwrite` and `append` now write data files with the
  configured codec and rows per row group, for that write only; the table's properties are not changed. Merge modes
  still ignore them.

- **Parallel runs list entity inputs on the worker pool (#1131).** With `workers` > 1, the inputs of all entities are
  listed on up to `workers` threads instead of one after another; they are still all resolved before the first
  `entity_started`, and a listing failure raises the first error in config order.

- **Opening an existing Iceberg table takes one catalog call instead of three (#1130).** `ensure_table` now tries
  `load_table` first and checks or creates the namespace only when the table is missing; merge entities no longer
  call `table_exists` and `load_table` before it. With a remote catalog this saves about 0.2 s per entity at
  100 ms of latency. Errors and messages are unchanged.

- **Overwriting the same Iceberg table no longer gets slower with every earlier overwrite (#1132).** PyIceberg 0.12
  left the all-deleted manifest of each earlier overwrite in the table's manifest list, so every scan and commit read
  one more manifest. On a local SQL catalog the 100th overwrite took about 430-750 ms against about 45 ms for the
  2nd; it now takes about 230 ms, and the manifest list stays at 2 entries. A table that already accumulated them
  sheds them on its next overwrite.

## v0.8.8

- **Entities can run in parallel in one `floe run` (#1105).** With `execution.orchestration.strategy: parallel` in
  the profile, `floe run -c … -p …`, `floe run --manifest …` and `floe.run(…, profile_path=…)` run up to
  `max_concurrent_entities` entities at once (default `min(4, CPU count)`). Entities that share an Iceberg table, an
  accepted path or a state file never run together, and merge entities run one at a time. Reports and the summary
  stay in config order; events of different entities interleave and observers are called from worker threads. On
  the Polaris/SeaweedFS harness, 12 entities writing 12 Iceberg tables took 2.04 s with one worker and 1.03 s with
  four. Without `strategy: parallel` nothing changes. Profiles that already set `strategy: parallel` for Dagster now
  also run the entities of a `job_scope: domain` Job in parallel; peak memory then grows with the number of workers
  (see `docs/profiles.md`).

- **Creating a new Iceberg namespace no longer fails when two writers race (#1117).** Two entities, or two
  processes such as concurrent Dagster Jobs, that both found a namespace missing and created it made the second
  creation fail the run. A namespace that already exists by then now counts as created.

- **A small JSON file is parsed once (#1115).** The key check before the read parsed every JSON file a second
  time. A file of at most 8 MiB is now parsed once and its records reused; larger files keep the two passes, so
  memory stays bounded. On 300 files of 200 records, JSON reading took 37-38% less CPU, and a 100,000-record file
  about 28% less end to end.

## v0.8.7

- **The Iceberg catalog is opened once per run (#1101).** Every catalog call used to start a new REST session
  (a config request, plus an OAuth token request when a credential is set), and an `append` entity did it twice.
  A run now reuses one catalog per catalog definition and storage, so N entities no longer pay up to 2N
  initialisations. The catalog is opened again at the start of each run.

- **S3 clients are reused within a run (#1100).** Each `S3Client` builds its own boto3 session, about 55-120 ms,
  and one S3 entity built 6-8 of them (source, state, accepted, rejected, archive, report). A run now builds one
  client per storage definition: a two-entity run on one storage went from 5 clients to 1. `AWS_*` variables and
  credentials are read again at the start of each run, and by `inspect_entity_state()` and
  `reset_entity_state()`.

- **Remote inputs are downloaded ahead of the file being read (#1102).** Each pending S3 file used to be
  downloaded only when its turn came, so the read loop waited on every GET. An entity now downloads up to 8
  files, and about 512 MiB, ahead of the one it is validating (a single larger file still downloads, alone).
  Files are still processed in the same order, a failed download still raises its own error when that file's turn
  comes, and local sources are unchanged. With a simulated 0.1 s download per file, 16 files went from 1.72 s to
  0.24 s.

- **Small CSV files cost fewer Polars plans (#1104).** A clean 200-row file ran 16 query plans between the
  reader and the writer and now runs 6, with identical output. On 1,200 such files (8 entities of 150 files,
  Parquet sink on local disk) the run was about 26-28% faster, 7.45 s to 5.38 s in the last measurement.

- **`poll_interval_seconds` and `job_scope` are documented (#1103).** `docs/profiles.md` and
  `context/orchestrators.md` describe the Kubernetes runner's status poll (default 10 s, a Job that finishes
  early is noticed at the next poll) and when to choose `job_scope: domain` over `entity`.

## v0.8.6

- **Merge modes keep a key's latest version when it repeats across pending files (#1090).** With `merge_scd1`
  or `merge_scd2`, a run that picks up several batches used to keep the oldest file's row and reject the newer
  ones. A key repeated across files now resolves to the latest file in file order, and the older rows are
  rejected as duplicates. Within one file the first row still wins. Under `policy.severity: abort` the order is
  unchanged.

- **`--full-refresh` rebuilds a `merge_scd1` table from the inputs (#1091).** It used to be rejected. It now reads
  every input and replaces the table with their rows in one commit, so a row deleted at the source leaves the
  table. Merge-key checks still apply, and a key in several inputs keeps the latest file's row. `merge_scd2` still
  rejects the flag, and the message now says its version history cannot be rebuilt from the inputs.

## v0.8.5

- **An output column name collision now fails `floe validate`, not the run (#1080).** A column with an explicit
  `source` keeps its `name`; a column without one is normalised. When the two end on the same output name,
  `floe validate` passed and `floe run` then failed. Validate now rejects it, and the message names the two
  columns as written instead of their normalised sources.

## v0.8.4

- **Columns that normalise to the same name now fail `floe validate`, not the run (#1005).** With
  `normalize_columns`, a column `order_id` and a JSON or XML selector `order.id` (or `order/id`) both become
  `order_id`; `floe validate` passed and `floe run` then failed. Validate now rejects it, and the message names both
  columns or selectors and the shared name.

- **`add_columns` schema evolution on Iceberg is reported and emitted.** An entity run that adds columns to
  the table now sets `schema_evolution.applied` and lists them in `schema_evolution.added_columns` in `run.json`,
  emits the `schema_evolution_applied` event, and `schema_evolution.enabled` is `true` whenever the mode is
  `add_columns`. They were always `false` and the event was never emitted. (#994)

- **Accepted rows now reach the sink chunk by chunk (#1056)**: an entity no longer holds all its accepted rows
  in memory before the write. The Parquet sink writes parts as the input is read, and the Iceberg sink writes
  data files into the same single commit. A file's chunks after the first wait on local disk until the file
  is read to the end, so a late read error or an `abort` still drops all of that file's rows. `append`
  stages its Parquet parts like `overwrite` does, so a killed run leaves no visible part for a retry to duplicate.

- **`unique` checks with `append` read the target's keys once per entity (#1057)**: an Iceberg table's key columns
  were scanned once per chunk, and a Parquet sink's parts were loaded into memory in full, so cost and memory
  grew with chunks times history. The key columns are now written once to a local file in the entity's temp
  directory, and each chunk joins its keys against that file. Flags and counts are unchanged; the temp
  directory needs room for the history's key columns.

## v0.8.3

- **`-p env:NAME` (#1068).** `-p` / `--profile` and `profile_path=` accept `env:NAME`, which reads the profile YAML
  from environment variable `NAME`, so a `kubernetes_job` run needs no profile file in the Job (part of #1047).
  An unset or empty variable is a `FloeConfigError` naming it. Relative paths a profile supplies resolve against
  the config's directory, as for a file profile. `execution.runner` stays validate-only.
- **A Parquet or CSV `overwrite` keeps the previous parts until the new ones are written (#1054)**: the
  new parts are staged as `_staging-*` files, and the old parts are removed only after every new part
  was written, so a failed write no longer empties the sink. A crash during the final swap can still
  leave a mix of old and new parts; see [the Parquet sink](https://openlakeforge.dev/floe/sinks/parquet/).
- **Iceberg merges and compaction run DuckDB with `memory_limit=4GB` and a bounded spill directory (#1055).**
  DuckDB defaulted to 80% of the host's RAM, so a large merge in a Kubernetes pod was OOM-killed
  instead of spilling. It now caps memory at 4GB and spills to a temporary directory (at most
  50GB, removed afterwards). Size pods at 6 GiB or more (see `docs/write_modes.md`).

## dagster-floe v0.8.0

Use it with Floe 1.1; it still loads 0.8, 0.9, 0.10 and 1.0 manifests.

- **Accepts Floe 1.1 manifests.** `spec_version` `0.8`, `0.9`, `0.10`, `1.0` and `1.1` load; the `floe` extra now
  installs `floe-python>=1.1,<2`. The manifest schema is unchanged from 1.0: a manifest generated from a
  `floe contract import` project loads like any other.

## dagster-floe v0.7.0

Use it with Floe 1.0; it still loads 0.8, 0.9 and 0.10 manifests.

- **Accepts Floe 1.0 manifests.** `spec_version` `0.8`, `0.9`, `0.10` and `1.0` load; the `floe` extra now installs
  `floe-python>=1.0,<2`. The cap is the next major, not the next minor: under the 1.x stability policy
  (`docs/reference/stability.md`) a 1.0 manifest keeps running on every later 1.x Floe. A manifest from a later
  Floe minor still needs the dagster-floe release that lists its `spec_version`.
- **The manifest schema follows Floe 1.0.** It accepts the optional `policy_rule_severity` and column `rule_severity`
  (#1358), the column value checks `min`, `max`, `allowed_values`, `pattern`, `min_length` and `max_length` (#1404),
  `schema.checks` (#1252), `policy_min_rows_per_file` (#1410) and `policy_min_rows` (#1409). **Breaking:** it drops
  the column `unique` flag (#1259), so a manifest that still carries it is refused; regenerate it with
  `floe manifest generate`.
- Raises asset checks for the new report rules (#1411): `floe_out_of_range`, `floe_not_allowed`, `floe_pattern_mismatch`, `floe_length` and `floe_min_rows_per_file` from `validation.rules[]`, `floe_row_predicates` for every other rule name except `schema_error` (per-predicate counts in `predicate_violations`), and `floe_min_rows` from the report's `policy.min_rows_violated`. Reports without these rules pass the new checks.
- Loads manifests from `abfss://` URIs (#1391), and resolves a relative `config_uri` against them; `abfss://` was read as a local path and failed with `FileNotFoundError`.
- Rule asset checks count `severity: abort` violations in `reject_violations` (#1360); they used to land in neither `reject_violations` nor `warn_violations`, so the counts did not add up to `violations_total`.

## dagster-floe v0.6.1

Use it with Floe 0.10.2 for per-entity streaming and the rejection threshold; older Floe 0.10 images keep today's end-of-run reporting.

- A `job_scope: domain` step yields each entity's checks and outputs as that entity's `entity_finished` arrives, while the Job still runs, instead of after the whole run (#1227). It needs a Floe image whose `entity_finished` carries `report_uri` (#1225); an older image reports at run end as before. Streamed outputs leave out the run-level metadata (`summary_uri`, `status`, `exit_code`, `backend_*`, `failure_reason`); a failed or aborted entity is still reported at run end.
- Surfaces the rejection threshold (#1221): when an entity report's `policy` block carries `max_rejection_rate`, `rejection_rate` and `max_rejection_rate_exceeded`, they appear as `floe/max_rejection_rate`, `floe/rejection_rate` and `floe/max_rejection_rate_exceeded` metadata on the accepted asset, on the Failure of an aborted entity and on the `floe_file_status` check, whose description names the threshold and the rate when it was exceeded.
- Logs a finished run's Floe output as one Dagster log message, a line per Floe event, instead of one message per line (#1210). Each message is an event-log write: a 25-entity domain step wrote about 100 fewer events.

## dagster-floe v0.6.0

Use it with Floe 0.10.

- **Accepts Floe 0.10 manifests.** `spec_version` `0.8`, `0.9` and `0.10` load; the `floe` extra now installs
  `floe-python>=0.10,<0.11`. The manifest schema it validates against gains the optional `report_formatter` and per-entity
  `description` and `tag_list`, and drops `width`, `trim` and `incremental_mode: row` (Floe 0.10 no longer accepts them),
  so a 0.8 or 0.9 manifest that still carries them is now refused.
- **Asset metadata carries the run's timings, rejected output and failure evidence (#1157).** The accepted asset adds the report's
  `timings_ms` as `floe/timings/<phase>_ms`; both assets add `entity_report_uri`, and the rejected asset adds
  `floe/rejected_format` and `floe/rejected_uri`. A failed step also reports `floe/failure_report_uri`, `floe/error_type`,
  `floe/error_code` and `floe/entity_states` from `run.failure.json`, or `floe/failure_evidence: unavailable: <reason>`.
  Older reports without these keys add nothing.
- The package is now classified `Development Status :: 4 - Beta` on PyPI (it was Production/Stable) and is linted and type-checked in CI (#1186).

## dagster-floe v0.5.0

- **Accepts Floe 0.9 manifests.** `spec_version` `0.8` and `0.9` load; the `floe` extra now installs
  `floe-python>=0.9,<0.10`. Pod options a Floe 0.9 profile passes through on a `kubernetes_job` runner reach the
  manifest unchanged and are validated here, against the manifest schema.

- **In-process runs log Floe events live (#904).** With `InProcessRunner` (the default of `build_runner_from_env()`
  when the `floe` core is installed), each Floe event reaches the Dagster log as it happens, once, instead of all
  together after the run. Subprocess, `kubernetes_job` and `databricks_job` runs, `job_scope: domain` runs and the
  asset metadata are unchanged.

## dagster-floe v0.4.3

- **Per-run full refresh from the `floe/full_refresh` run tag (#1091).** A Dagster run tagged
  `floe/full_refresh=true` runs its entities with `floe run --full-refresh`, in process or through a
  `local_process`, `kubernetes_job` or `databricks_job` runner. Runs without the tag are unchanged. A
  `merge_scd1` entity needs Floe 0.8.6 or newer, which rebuilds the table from the inputs; `merge_scd2`
  still rejects `--full-refresh`.

## dagster-floe v0.4.2

- **Silver lineage events from a `kubernetes_job` run now carry the Dagster parent run (#1076).** The Job
  container gets `DAGSTER_RUN_ID` and `DAGSTER_JOB_NAME`, and the Job and its pod a `dagster/run-id` label;
  both `job_scope`s were missing them.

## dagster-floe v0.4.1

**Upgrading from 0.4.0:** the `floe` extra now requires Floe 0.8.3 or newer, and so does the image a
`kubernetes_job` runs when the run has a profile.

- **A `kubernetes_job` Job gets the profile as content, not as a pod-local path (#1069).** A run with a
  profile reads it in the run pod and sets it as the Job's `FLOE_PROFILE_CONTENT` env var, with
  `-p env:FLOE_PROFILE_CONTENT` in place of `-p <path>`; `${VAR}` references stay unexpanded and a remote
  profile (`s3://...`) is passed as is. The Job image needs Floe 0.8.3 or newer for these runs.

- **A `kubernetes_job` Job is deleted, with its pods, when the run stops watching it (#1070).** An
  interrupt (a cancelled Dagster run), any error while polling, or the poll timeout used to leave the Job
  writing tables, so a re-run could collide with it. A Job that reached a final state is left alone, so
  `ttl_seconds_after_finished` still controls how long its logs stay.

## dagster-floe v0.4.0

**Upgrading from 0.3:** rejected assets move to new keys (below). Works with Floe 0.8.1 or newer; a Glue
`database` with `{domain}` needs Floe 0.8.2.

- **Breaking: rejected assets are keyed `<domain>/rejected/<table>` (#1046).** They were
  `<domain>/<table>_rejected`, which collided with a real table named `<table>_rejected`. Upgrade:
  the history of the rejected assets restarts under the new key, and any selection, sensor or
  automation condition that names the old keys must be updated.

- **`ManifestEntity` exposes `source_resource` (#1044)**, the entity's `source.resource`, next to
  `source_ref`, so a `source_key_fn` can build `<source>/<resource>` from the manifest.

- **Accepted and rejected assets carry `floe/entity` and `floe/output` metadata (#1045)**: the entity
  name and `"accepted"` or `"rejected"`, so callers no longer parse the `<op>__accepted` output names.

- **The `floe/table` asset tag of a Glue entity expands `{domain}` in `database` (#1043)**, so it
  names the database the run writes.

## v0.8.2

- **A Glue catalog can write one database per domain (#1043).** `database` may contain `{domain}`,
  e.g. `dev_{domain}_silver`: per entity it expands to `sink.accepted.iceberg.namespace`, else
  `entity.domain`, so one catalog writes `dev_sales_silver` and `dev_finance_silver`. Put the catalog in
  each stage's profile (`catalogs:` replaces the config's) to vary the prefix per stage. An entity
  with neither is a `floe validate` error. A `database` without `{domain}` behaves as before.

## v0.8.1

- **floe-python requires `boto3>=1.36.0` (was `>=1.43.118`) (#1028).** The old floor made `s3fs`
  uninstallable next to Floe: current `aiobotocore` caps `botocore` below 1.43.118. 1.36.0 is the
  first release with every S3 call and option Floe uses (conditional writes, checksum settings).

- **AWS Glue catalogs are back.** Floe 0.8.0 rejected `catalogs.definitions[].type: glue`, a
  regression for AWS deployments (OpenLakeForge). A Glue catalog takes the 0.7 keys (`region`,
  `database`, `create_database_if_missing`, `warehouse_storage`, `warehouse_prefix`) and writes
  Iceberg tables through PyIceberg's Glue catalog, with credentials from the AWS chain.
  `overwrite` and `append` are supported; `merge_scd1`/`merge_scd2` and `floe maintain --compact`
  still need a REST catalog. **D42:** `allow_takeover` is accepted and ignored; 0.8 does not check
  0.7's `floe.managed` ownership marker.

- **`floe run --domain <d>` (#1024)** selects every entity of a domain, for `-c` and `--manifest` runs. It
  takes several domains (repeatable or comma-separated), fails on an unknown domain, and cannot be combined
  with `--entities`.

- **`kubernetes_job` runners can shape the Job's pod (#1023).** `execution.runner` in a profile accepts
  `labels` (added to the defaults), `annotations`, `image_pull_policy`, `security_context`,
  `node_selector`, `tolerations`, `backoff_limit` and `env_from`. They are carried into the manifest
  runner definition only when set, so existing manifests are unchanged. dagster-floe 0.3.1 applies them;
  airflow-floe ignores them.

- **A profile's `execution.runner.command` may be a list (#1034)**, e.g. `command: [olf-floe-job, --]`,
  as the manifest and the connectors already accept. A string still works.

- **`-p s3://...`.** `-p` / `--profile` and `profile_path=` accept an `s3://` URI, read as an `s3://` manifest is,
  so a container run no longer needs the profile file copied in (#1025). `floe manifest generate -p s3://...`
  records the URI as `profile_uri`. `-c` still takes a local path.

## dagster-floe v0.3.1

- **The `floe` extra requires `floe-python>=0.8.1,<0.9` (#1041)**, the first release with `floe run --domain`.

- **A `kubernetes_job` runner `args` override no longer drops the entity selection (#1031).** It
  used to replace the whole argument list, so every Job ran every entity. `args` now prefix Floe's
  rendered arguments: `command: [python]` + `args: [-m, floe]` runs
  `python -m floe run … --entities …`.

- **`s3://` run reports and manifests are read with boto3 (#1021).** When boto3 is importable (it is whenever the
  `floe` extra is installed) it replaces fsspec/s3fs for `s3://`, honouring `AWS_ENDPOINT_URL_S3` /
  `AWS_ENDPOINT_URL`, `AWS_REGION` and `AWS_S3_FORCE_PATH_STYLE`. s3fs no longer has to be installable next to
  `floe-python`; without it Silver assets lost row counts, rejection counts and check detail. Other schemes, and
  `s3://` without boto3, still use fsspec.

- **`kubernetes_job` pod options are applied to the Job (#1023).** dagster-floe puts the runner's `labels`
  (added to `app` and `floe-job`, which are never overridden), `annotations`, `image_pull_policy`,
  `security_context`, `node_selector`, `tolerations`, `backoff_limit` (default 0) and `env_from` in the Job
  it creates. With retries the run waits for the Job's final status and reads the pod that matches it.

- **`manifest_name=` in config mode (#1022).** `load_floe_assets`, `build_definitions` and
  `build_job_run_config_from_manifest` accept `manifest_name=` next to `config_path=` and pass it to
  `floe.build_manifest`. With a fixed name, the op name of a `job_scope: domain` asset stays
  `floe_<name>__<domain>__...` when the config changes; without it the name derives from the config's path and
  checksum, as before. Passing it with `manifest_path=` raises `ValueError`.

- **`source_key_fn` picks each entity's upstream source key (#1020).** `load_floe_assets` and
  `build_definitions` accept `source_key_fn=lambda entity: AssetKey([...])` (or `None` for the default key).
  Entities of one named source can depend on different upstream assets, e.g. `crm/orders` and `crm/accounts`,
  and Dagster still orders each after its upstream. No `SourceAsset` is registered for a key you choose.

- **`job_scope: domain` Jobs run `floe run --domain <d>` for a whole domain (#1036).** When the selected
  entities are exactly every entity of the domain in the manifest, the Job sends `--domain <d>` in place of
  `--entities a,b,c`; a subset keeps `--entities`. It needs Floe 0.8.1 (`floe run --domain`):
  a `kubernetes_job` image must be 0.8.1 or newer.

## v0.8.0

Floe 0.8 is the Python core. `pip install floe-python` installs the `floe` command (a pure-Python
`py3-none-any` wheel), and `ghcr.io/openlakeforge/floe` is the Python image. The Rust implementation is
archived at [OpenLakeForge/floe-rust](https://github.com/OpenLakeForge/floe-rust) (tag `rust-final`).
Every intentional behaviour change from 0.7 is numbered (D1–D41) in the migration register (#619).

**Upgrading from 0.7:**
- Regenerate manifests with `floe manifest generate`: manifests carry `spec_version` `0.8`, and the
  connectors (dagster-floe 0.3, airflow-floe 0.2) reject older ones.
- PII `hash` keys used through a manifest must be `${ENV_VAR}` references (#1006).
- `policy.severity: abort` now requires `sink.rejected` at validation (D39).
- Dropped in 0.8: Delta and DuckDB sinks, the fixed-width reader, and GCS/ADLS storage; Iceberg needs a
  REST catalog (D26). See `docs/support-matrix.md`.
- Run reports of a single-domain run live under `<report.path>/<domain>/run_<id>/` (D37), and a policy
  abort fails only its entity while the run continues (D36).

- **JSON sources run end to end (#998)**, matching Floe 0.7's rows, statuses and rules, with two deliberate
  changes from 0.7:
  - **D40:** the column-mismatch check compares the top-level keys of *every* record, not just the first,
    so `schema.mismatch.extra_columns`/`missing_columns` apply to the whole file;
  - **D41:** an empty array `[]` (or an NDJSON file without records) is a valid empty extract: 0 rows,
    success. Floe 0.7 rejected it as `json_parse_error`. A file that is not valid JSON is still rejected.
- **`floe validate` requires `sink.rejected` for `policy.severity: abort` (D39, #1007).** Abort writes the
  failing file to the rejected sink, so a config without one could only fail at its first violation, as in
  Rust 0.7. It is now refused up front with the same message as `reject`.
- **`floe run --manifest` and `floe.run_manifest` take an `s3://` manifest (#1003)**, and write the run
  reports under an `s3://` `report_base_uri`, as Floe 0.7 did. Relative local paths in a remote manifest
  resolve under its `work_root`, else `FLOE_WORK_ROOT`, else the current directory (`/work` for an `image`
  manifest).
- **`floe manifest generate` refuses a literal PII hash key (#1006).** It used to write `key: null`, so
  `floe run --manifest` hashed with unsalted SHA-256 instead of the config run's HMAC. Set the key to a
  `${ENV_VAR}` reference; the manifest keeps it and both runs produce the same hashes.
- **Validation messages no longer point to Delta (#995).** Wording only:
  - `sink.accepted.merge` on a format without merge now says it requires `sink.accepted.format=iceberg`;
  - `sink.accepted.partition_by` now says it is not supported in 0.8 and points to `sink.accepted.partition_spec`
    on Iceberg.
- **Floe is a pure-Python package (#971).** `pip install floe-python` installs the `floe`
  command; the wheel is `py3-none-any`. `ghcr.io/openlakeforge/floe` is now the Python image
  (`ghcr.io/openlakeforge/floe-python` is no longer published). The Rust core moved to the
  archived OpenLakeForge/floe-rust repository: 0.8 publishes no Rust binaries, no `floe-core`
  or `floe-cli` crates, no `floe-duckdb` companion and no Homebrew or Scoop update.
- **`merge_scd2` on Iceberg sinks in `floe run` (#997).** `floe validate` already accepted it; the run
  now creates the table with the SCD2 system columns, closes changed current rows and inserts their new
  versions, and reports `inserted_count`, `updated_count`, `closed_count` and `unchanged_count`.
- **`example/config.yml` validates on 0.8 (#993).** The `customer` entity writes Parquet instead of Delta, and the
  `customer_warehouse` entity (a DuckDB sink) is removed; both formats were dropped in 0.8.
- **Clearer config error messages (#704).** Wording only; the same configs are accepted and rejected:
  - `<ctx>.storage and <ctx>.storage are mutually exclusive` now names `<ctx>.filesystem`;
  - an unknown key at the root of an included sources file is `unknown field root.<key>` (was `sources file.<key>`);
  - `pii.columns: <name> is not an unknown schema column` is now `is not a schema column`;
  - `pii.columns[...].strategy=` prints the strategy as written (`hash`, not `Hash`);
  - `schema_evolution.mode=add_columns` on a non-Iceberg sink now says it requires `sink.accepted.format=iceberg`.
- **`floe.run` posts OpenLineage events (#989)**, as `floe run -c` and `floe.run_manifest` already do,
  when the config has a `lineage` block.
- **`floe.build_manifest(config_path, profile_path=None, ...)` (#986).** Returns, as a dict, the
  manifest `floe manifest generate` writes for the same config and profile (deterministic by
  default). `manifest generate` now calls it.

## dagster-floe v0.3.0

Supports Floe 0.8 (`floe-python` 0.8, manifest `spec_version` `0.8`); older Floe versions are not
supported. Floe 0.7 and earlier manifests are rejected.

- **Config mode (#986).** `load_floe_assets`, `build_definitions` and `build_job_run_config_from_manifest` accept
  `config_path=` (and `profile_path=`) in place of `manifest_path=`. The manifest is built in memory with
  `floe.build_manifest` (needs the `floe` extra), and runs take `floe run -c <config> [-p <profile>]` in place of
  `--manifest <uri>`. `manifest_path=` is unchanged.
- **Optional `floe` extra (#973).** `pip install "dagster-floe[floe]"` installs `floe-python>=0.8,<0.9`
  so `build_runner_from_env()` runs Floe in-process (see below) without a separate `floe` install.
- **Report paths follow D37.** A run whose entities share one domain writes its reports under
  `<report.path>/<domain>/run_<id>/`; other runs keep `<report.path>/run_<id>/`. The connector
  reads report locations from the `run_finished` event, so no configuration changes.
- **`ghcr.io/openlakeforge/floe` is now the Python image.** The image name and the `floe` command
  are unchanged; `kubernetes_job` runners need no change.
- **S3 reads honour the Floe environment.** `s3://` manifests and run reports are read with the
  endpoint (`AWS_ENDPOINT_URL_S3`/`AWS_ENDPOINT_URL`) and path-style (`AWS_S3_FORCE_PATH_STYLE`)
  settings Floe itself uses, so deployments that patched `floe_dagster.assets._fsspec_read_text`
  for S3-compatible stores can drop the patch and set those variables instead.
- Manifest schema additions for 0.8 are listed below (`partition_spec`, `source.partitioning`,
  `lookback_days`, `sources` index).

- **`job_scope: domain` runs one Kubernetes Job per domain (#580).** With the opt-in
  `execution.runner.job_scope: domain` on a `kubernetes_job` runner, the selected entities of a
  domain (per runner) run one after another in a single `floe run --entities a,b,c` Job, while Dagster
  still reports each entity. `execution.runner.resources` gains `cpu_limit` and `memory_limit_mb`, and
  `domain_resources` sizes the Job per domain. Unset, nothing changes (one Job per entity). After
  an entity aborted by its policy the run continues with the next one (D36, #959), and Dagster reports
  each entity's own status; see `context/orchestrators.md`.

- **Iceberg entities carry a `floe/table` op tag (#924).** The value is the resolved
  `catalog.namespace.table` from the manifest, so entities writing one table share it and other
  tables don't. Advisory, and an op tag: a `tag_concurrency_limits` entry on `floe/table` in the
  job's executor config (`applyLimitPerUniqueValue: true`, `limit: 1`) limits steps within one
  run, not across runs. No manifest change.

- **Manifest sinks may carry the Iceberg `partition_spec` (#911).** The bundled schema accepts
  `partition_spec` (`column`, `transform`, optional `num_buckets`) on a sink, so a run from the
  manifest creates the same partitioned table as the config run.
- **Manifest `source.partitioning` may carry `lookback_days` (D30, #885).** The bundled schema
  accepts the non-negative integer that bounds a `file`-mode run's listing to the watermark minus
  that many days.
- **Manifest entity sources may carry `partitioning` (D28, #883).** The bundled schema accepts
  the `source.partitioning` block (`pattern`, `date_column`, `batch_column`) that `floe run
  --manifest` honours.
- **Floe runs in-process when the Python core is installed (#902).** `build_runner_from_env()`
  now returns an `InProcessRunner` when `floe.run_manifest` is importable: a local
  `floe run --manifest` execution runs through the Python API, with the same events, `RunResult`,
  asset metadata and OpenLineage events as the subprocess. In-process runs are serialized within a
  process. Set `FLOE_RUNNER=local` to keep the `floe` subprocess (`LocalRunner`).
- **Entities sharing a named source depend on one `sources/<project>/<name>` asset (D20, #796).** When
  the manifest carries the `sources` index, every entity whose `source.ref` names an entry depends
  on one shared `sources/<project>/<name>` asset (group `sources`, the source's format and `uri`
  as metadata) instead of its own `<entity>_source` asset. `<project>` is the manifest's
  `manifest_name`, else its `manifest_id`, so two manifests loaded together can both name a
  source `crm`.
- **Manifests may carry a `sources` index and project `metadata` (D20, #796).** The bundled
  schema accepts both optional blocks: `sources` lists each named config source with its
  format, resolved `uri` and consuming entities; `metadata` is the config's project metadata.
- **Manifests are versioned by Floe release (D22, #798).** `load_manifest` accepts a
  manifest whose `spec_version` (the Floe major.minor that generated it) is supported, `0.8`
  for now, and rejects any other with a clear error. The `schema: "floe.manifest.v1"` field is
  gone and the bundled schema is `floe.manifest.schema.json`; regenerate older manifests with
  Floe 0.8.
- **`load_floe_assets(domains=[...])` loads one domain slice of a project manifest (#510).**
  Only entities whose `domain` is listed are loaded; an unknown domain raises `ValueError`.
  Op names of entities with a domain are now derived from the full asset key
  (`sales__accounts`), so two domains sharing an entity name load in one manifest.
  Entities without a domain keep their existing op name.
- **Fix: remote `s3://` reads honor S3-compatible endpoint env (#512).** Manifest and run
  report reads via fsspec now pass `AWS_ENDPOINT_URL_S3` (falling back to
  `AWS_ENDPOINT_URL`) as the endpoint and, when `AWS_S3_FORCE_PATH_STYLE` is `true`/`1`,
  path-style addressing, matching Floe core (#448). Without these variables behaviour is
  unchanged. Requires the existing `remote` extra.

## airflow-floe v0.6.0

Use it with Floe 1.1; it still loads 0.8, 0.9, 0.10 and 1.0 manifests.

- **Accepts Floe 1.1 manifests.** `spec_version` `0.8`, `0.9`, `0.10`, `1.0` and `1.1` load. The manifest schema is
  unchanged from 1.0: a manifest generated from a `floe contract import` project loads like any other.

## airflow-floe v0.5.0

Use it with Floe 1.0; it still loads 0.8, 0.9 and 0.10 manifests.

- **Accepts Floe 1.0 manifests.** `spec_version` `0.8`, `0.9`, `0.10` and `1.0` load.
- Renders `{manifest_uri}` in a manifest's `execution` args (#1285), so a manifest from `floe manifest generate` runs: the local runner gets the manifest path the DAG was built from, `kubernetes_job` and `databricks_job` need a remote manifest URI. `{run_id}` renders to the DAG run id plus the task id, limited to `[A-Za-z0-9_.-]`. Any other token still unrendered raises a `ValueError` naming it.
- `FloeRunOperator` fails the task when a `kubernetes_job` or `databricks_job` run fails (#1286). It used to return the remote runner's payload as-is, so a failed, timed-out or canceled job left the task green. It now raises unless `backend_status` is `succeeded` (Kubernetes) or `SUCCESS` (Databricks), the exit code is `0` or absent, and Floe's status is not `failed` or `aborted`.

## airflow-floe v0.4.0

Use it with Floe 0.10; it still loads 0.8 and 0.9 manifests.

- **Accepts Floe 0.10 manifests.** `spec_version` `0.8`, `0.9` and `0.10` load.
- **Honours `execution.orchestration`, `job_scope`, `domain_resources` and the resource limits like dagster-floe (#1009, #1200).** The example DAG gets one task per entity (one per domain with `job_scope: domain`, sized by `domain_resources`) and `max_active_tasks` from the orchestration block, through the new `plan_floe_tasks` and `build_floe_tasks` helpers; a DAG built on the old example must be updated to use them. **Breaking:** a `kubernetes_job` pod's limits now come only from `cpu_limit` and `memory_limit_mb`; they no longer copy `cpu` and `memory_mb`, so a manifest that relied on that has no limits until you set them.
- airflow-floe is a supported connector (Beta) and is linted and type-checked in CI (#1191, #1192).

## airflow-floe v0.3.0

- **Accepts Floe 0.9 manifests.** `spec_version` `0.8` and `0.9` load. Pod options a Floe 0.9 profile passes
  through on a `kubernetes_job` runner are ignored, as before.
- **A `kubernetes_job` runner `args` override no longer drops the entity selection (#1031)**, as in
  dagster-floe: `args` now prefix Floe's rendered arguments instead of replacing them.

## airflow-floe v0.2.0

Built for Floe 0.8 (`floe-python` 0.8, where `floe` is the Python CLI and `ghcr.io/openlakeforge/floe`
is the Python image; the command line and image name are unchanged). Floe 0.7 and earlier are not
targeted by this release.

- **Report paths follow D37.** A run whose entities share one domain writes its reports under
  `<report.path>/<domain>/run_<id>/`; other runs keep `<report.path>/run_<id>/`. The connector
  reads report locations from the `run_finished` event, so no configuration changes.
- Per-domain run pods (`job_scope: domain`, #580) and the in-process runner are dagster-floe only;
  airflow-floe still runs `floe run` as a subprocess or Kubernetes/Databricks job.

- **Loads Floe 0.8 manifests (#979).** The loader checks `spec_version` against
  `SUPPORTED_SPEC_VERSIONS = ("0.8",)`, as dagster-floe does, instead of the pre-0.8
  `schema: "floe.manifest.v1"` field that 0.8 manifests no longer carry. Other versions are
  rejected; regenerate them with a supported Floe release. `MANIFEST_SCHEMA` is replaced by
  `SUPPORTED_SPEC_VERSIONS`, and `AirflowManifest.schema` by `AirflowManifest.spec_version`.
- **`build_dag_manifest_context(domains=[...])` loads one domain slice of a project manifest
  (#511).** Only entities whose `domain` is listed land in the context; an unknown domain
  or an empty list raises `ValueError`. Pass `entities=context.entity_names` to `FloeRunOperator` so the run
  covers only that slice.

## v0.7.0

Floe projects: config `version: "0.3"` scales one project across many domains and files.
Existing 0.1/0.2 configs keep working unchanged; see the 0.2 → 0.3 migration section of
`docs/config.md` and the project layouts in `docs/projects.md`.

- **Qualified entity identity `<domain>.<name>` (#464).** With `version >= "0.3"`, an entity
  with a `domain` is identified as `<domain>.<name>`; otherwise its identity stays the bare
  `name`.
  - The id keys report paths (`run_<id>/<domain>/<name>/run.json`), run events, the default
    incremental state dir (`.floe/state/<domain>/<name>/`), manifest `entities[].name`
    (`asset_key` is unchanged) and OpenLineage job names.
  - `--entities` and `floe state` accept a qualified id or an unambiguous bare name; an
    ambiguous bare name fails and lists the candidates.
  - In 0.3, `name` and `domain` must be non-empty and must not contain `.`, `/` or `\`.
    Regenerate manifests of 0.3 projects after upgrading.
- **Domain `defaults` merged into entities (#501).** A 0.3 domain may declare `defaults`:
  the entity wins, maps deep-merge, lists replace, and `schema.columns` /
  `schema.primary_key` are never inherited.
- **Reusable project `sources` and `source: { ref, resource }` (#503).** Named sources are
  declared once and referenced by entities; the entity's own `source` fields win, and
  `{{resource}}` in the source path resolves to `source.resource` (defaulting to the entity
  name). An unknown `ref` lists the declared sources.
- **Multi-file projects with `include.domains` (#505).** Glob patterns, relative to the
  project file, load each `_domain.yml` and its sibling entity files (one entity per file);
  the domain is implied by the folder. Includes resolve against local files only.
- **Inherited-value errors name the contributing files (#582).** When an entity that
  inherits `defaults` from an included `_domain.yml` or a source from an included
  `sources.yml` fails to parse, the error adds `(inherits from <files>)` after the entity's
  file (or leads with `inherits from <files>` for an inline entity); single-file config
  errors are unchanged.
- **Errors in included domain and entity files name the file (#581).** In an
  `include.domains` project, a load or parse error in a `_domain.yml` or entity file is
  prefixed with that file's path; single-file config errors are unchanged.
- **Self-contained YAML authoring schemas (#574).** Replace editor/tooling references to
  `schemas/config.schema.yaml` with `schemas/project.schema.yaml`. Included source,
  domain and entity documents use `sources.schema.yaml`, `domains.schema.yaml` and
  `entity.schema.yaml` directly under `schemas/`; each carries its own definitions.
  Fragment sink options, CSV encodings and separators, string `env.vars` keys, PII mask
  count bounds, nonblank include paths and version integer bounds now match parser and
  assembly constraints; YAML real scalars remain rejected by `floe validate`.
- **`add-entity` can reference a declared source (#515).** Pass `--source <ref>` and
  `--resource <name>`; `--input` still supplies the file used for schema inference.
- **`add-entity` writes included-domain entities as sibling files (#514).** With `--domain` 
  and no `--output`, the new entity is written beside `_domain.yml`; fields covered by domain 
  defaults are omitted, and existing files are never overwritten.
- **`include.sources` loads reusable sources from one project file (#508).** Config version
  0.3 projects may put their named `sources` array in a root-relative `sources.yml`; inline
  and included sources cannot be combined, and the included file is covered by the manifest
  config checksum.
- **Runnable standalone and multi-file project examples (#507).** `example/standalone/`
  demonstrates inline source and domain config; `example/project/` demonstrates named sources,
  source references, domain defaults, and sibling domain/entity files.
- **Generated manifests retain source references (#504).** Referenced entities include
  `source.ref` and the effective `source.resource`; inline sources omit both fields.
- **Config 0.3 domains may omit `incoming_dir` (#500).** Config 0.2 still requires it;
  manifests omit the field for domains without an incoming directory.
- **Manifest `config_checksum` covers every file of an `include.domains` project (#509).**
  For a multi-file config the checksum is SHA-256 over the sorted `path\0sha256\n` lines of
  every file read, so editing any `_domain.yml` or entity file changes `manifest_id`. The
  files are listed in the new manifest field `config_files: [{path, sha256}]` (paths relative
  to the root config's directory). Single-file configs keep their checksum and emit no
  `config_files`.
- **Config path templates expose `{{entity.name}}` and `{{domain.name}}` (#502).** Domain
  defaults can build a separate sink path for each entity.
- **Fix `include.domains` for Windows UNC project paths (#526).** Verbatim UNC paths such as
  `\\?\UNC\server\share\project` now resolve relative include patterns from the network share.
- **Docs (#516, #517, #519).** New `docs/projects.md` project-layout guide; config 0.3
  merge-rules table and 0.2 → 0.3 migration in `docs/config.md`; removed the nonexistent
  `--var` CLI flag from `docs/variables.md` and `docs/profiles.md`.

### Internal hardening

- Repository moved to `OpenLakeForge/floe`: crate metadata, docs, release scripts and the
  GHCR owner point at the new org (#483, #484, #485).
- Dependency advisories patched (h2, rustls, yanked chacha20) (#486), plus routine
  dependency bumps.

## v0.6.11

- **Manifest replay now emits dataset lineage (#455).** `floe run --manifest`
  built the OpenLineage observer with an empty entity set, so entity `COMPLETE`
  events were posted with empty `inputs`/`outputs` and no upstream lineage edge
  was created (OpenMetadata accepted the events with HTTP 200 but produced no
  Bronze-to-Silver edge). Replay now passes the manifest's reconstructed
  entities to the observer, so source and sink datasets are emitted exactly as
  in a direct config run. A resolved `s3://` source is reported with an
  `s3://<bucket>` namespace and its bucket-relative key as the dataset name.
  Direct config execution is unchanged. See `docs/lineage.md`.

## v0.6.10

- **Runtime `OPENLINEAGE_API_KEY` resolution for lineage auth (#452).**
  - When `lineage.api_key` is unset, Floe now resolves the Bearer token from the
    `OPENLINEAGE_API_KEY` environment variable when the lineage observer is
    constructed, matching the OpenLineage Python client and `dbt-ol`. This lets
    orchestrated runners and manifest replays authenticate from a mounted
    Kubernetes Secret without persisting the credential in the generated
    manifest, Git, or object storage.
  - Precedence: an explicit `lineage.api_key` still wins (backward compatible);
    otherwise the environment variable is used; if neither is present, events are
    sent unauthenticated as before.
  - An unresolved `{{VAR}}` placeholder that survives into a manifest (e.g. a
    profile-only `api_key` merged after config templating) is treated as absent,
    so replay falls back to `OPENLINEAGE_API_KEY` instead of sending the literal
    placeholder as the token. See `docs/lineage.md`.

## v0.6.9

- **Configurable OpenLineage endpoint and Iceberg dataset namespace (#450).**
  - `lineage.endpoint` configures the request path, defaulting to
    `api/v1/lineage`; this supports OpenMetadata's native
    `api/v1/openlineage/lineage` route without a proxy.
  - `lineage.dataset_namespace` separates accepted Iceberg output dataset
    identity from the stable OpenLineage job namespace, defaulting to
    `lineage.namespace` for backward compatibility. See `docs/lineage.md`.

## v0.6.8

- **Fix image runner using custom S3 URL**
  The published Floe image can hit S3-compatible endpoints through a hostname such as host.lima.internal, while the host CLI repro uses an IP literal such as 127.0.0.1. Floe already lets aws-config pick up AWS_ENDPOINT_URL / AWS_ENDPOINT_URL_S3, but the plain Rust S3Client only enabled path-style addressing from the YAML path_style_access field.

  That left image runs using virtual-hosted-style requests against SeaweedFS/MinIO-style endpoints even when users set AWS_S3_FORCE_PATH_STYLE=true, which matches the failing direct-config and remote-manifest cases in the issue.

## v0.6.7

- **Manifest local paths are always absolute, targeted at the replay runner (#443).**
  v0.6.6 (#438) made `manifest generate` record local `config_uri` / `profile_uri` relative
  (`local://domains/...`) for cross-checkout reproducible ids. That broke manifests generated
  inside the container image, which downstream orchestrators deploy to object storage and
  replay remotely: the portable `local:///work/...` form was lost, and a manifest loaded from a
  remote URI resolved its relative paths against the *manifest's own bucket*, failing an
  Iceberg write with `storage <name> bucket mismatch`. The definitive rule is now: because the
  runner that generates a manifest is not the one that replays it, every local path is recorded
  **absolute**, resolved against the target runner's work-root.
  - New `manifest generate --runtime image|cli` (manifest field `runtime_env`). `image` records
    local URIs absolute under the container work-root (`/work`) — portable for remote replay
    *and* reproducible across containers; `cli` records them host-absolute (canonicalized) for
    same-host execution. Omitted → auto-detect (container ⇒ image, else cli; override with
    `FLOE_RUNTIME`; work-root override `FLOE_WORK_ROOT`). Cross-environment reproducible
    `manifest_id` now comes from `--runtime image`, not from relative paths.
  - `floe run --manifest` loaded from a **remote** URI no longer treats the manifest's own
    location as the path-resolution base; local paths resolve under the recorded `work_root`
    and remote paths resolve purely from their storage definitions. Local manifest files are
    unchanged. See `docs/manifest.md`.
  - Behaviour change: local-config `config_uri` / `manifest_id` change again (now absolute) —
    regenerate committed manifests, preferring `--runtime image` for CI-stable ids.

## dagster-floe v0.2.5

- **Fix: vendored manifest schema rejected the new `runtime_env` / `work_root` fields.**
  `dagster-floe` validates every manifest against its own bundled copy of
  `floe.manifest.v1.json` before parsing it. That copy predated #443/#444 and still set
  `additionalProperties: false` without the two new fields, so `load_manifest()` failed with
  `Additional properties are not allowed ('runtime_env', 'work_root' were unexpected)` for
  every manifest generated by `floe` v0.6.7+. The vendored copy is now resynced with the
  canonical schema (also picking up a `duckdb` sink-target field it had missed independently
  of #443/#444) and a drift guard (`scripts/check_orchestrator_drift.py`) now checks the two
  files stay byte-identical. `airflow-floe` was unaffected — it has no `jsonschema` dependency
  and hand-parses only the fields it needs.


## v0.6.6

- **Reproducible manifest IDs across environments (#438).** `manifest generate` baked the
  host-absolute, canonicalized config/profile path into `config_uri` / `profile_uri`, so
  the same config referenced by the same relative path produced different `manifest_id`
  and `manifest_revision` under Docker (`/work/...`) versus a native checkout
  (`/Users/...`). These URIs now record the path exactly as passed — a relative `-c`
  stays relative — restoring the documented `--deterministic` byte-identical guarantee
  across machines and containers. Remote config URIs (`s3://`, `gs://`, `abfs://`) stay
  absolute and scheme-normalized. See `docs/manifest.md`.
  - Behaviour change: `manifest_id` / `manifest_revision` values change for manifests
    generated from local-file configs — regenerate any committed manifests.
- **Fix broken arm64 container image (#437).** The `aarch64-unknown-linux-gnu` release
  binary was built on `ubuntu-24.04-arm` (glibc 2.39) and packaged into
  `debian:bookworm-slim` (glibc 2.36), so `ghcr.io/malon64/floe:0.6.5` failed on ARM64
  with `GLIBC_2.38/2.39 not found`. The lean `floe` and companion `floe-duckdb` aarch64
  binaries now build on `ubuntu-22.04-arm` (glibc 2.35), which runs on bookworm and older
  distros.
- Internal hardening:
  - **CD: drop the redundant `docker-duckdb` dry-run job.** It was the last consumer of a
    workflow_dispatch dry-run path that no longer adds coverage.

## v0.6.5

- **Glue Iceberg tables now expose their schema to Iceberg REST clients (#433).** Floe previously
  registered Glue tables with `StorageDescriptor.Columns` empty, leaving only a `metadata_location`
  pointer. The Glue Iceberg REST endpoint reconstructs table metadata from its own catalog state,
  so `loadTable` returned no `schemas` array — causing DuckDB's `ENDPOINT_TYPE GLUE` integration
  to report the table as non-existent even though the data was intact on S3. Floe now mirrors the
  full Iceberg schema into Glue's native column list (with correct Hive type mappings) on every
  create and overwrite commit.
- Internal hardening:
  - **CI: parallelize DuckDB job and centralize change detection (#435).** The DuckDB CI job
    previously ran clippy → tests sequentially on one runner. It is now split into two parallel
    jobs (`duckdb-clippy` / `duckdb-test`) sharing a cached bundled native build, and a single
    upfront `changes` job gates all downstream jobs at the job level so runners do not boot when
    relevant paths are untouched.

## v0.6.4

- **Iceberg sink on Azure Data Lake Storage Gen2 (#411).** Iceberg tables can now be
  written to ADLS Gen2 using filesystem catalog semantics, with account-key, SAS-token, or
  service-principal credentials resolved from the environment. See `docs/sinks/iceberg.md`.
- **Resolved credentials are wrapped in a redacting `Secret` newtype (#392).** Unity / REST
  catalog tokens and the MotherDuck token now live in a `Secret` type whose `Debug`/`Display`
  render `[REDACTED]`, so an accidental `{:?}` in a log line or error can no longer leak a
  PAT. The raw value is reachable only through an explicit accessor at the trust boundaries
  that need it (HTTP bearer header, DuckDB connection config). Serde stays transparent, so
  YAML config parsing and manifest round-trips are unchanged, and existing manifest token
  redaction is unaffected. Docs recommend `${ENV_VAR}` references over literal secrets in YAML.
- Internal hardening:
  - Bumped `apache-avro` from 0.16 to 0.21 (#401).
  - Repaired the release CD: the `publish` job now polls the crates.io sparse index (not the
    web API) before publishing `floe-cli` and retries the resolve-sensitive publish, and the
    lean `aarch64-unknown-linux-gnu` binary builds on a native runner instead of `cross`
    (#431). Bumped `actions/checkout` from 6 to 7 (#414).

## v0.6.3

- **Fixes the `floe-duckdb` companion build (CLI binaries, Docker images).** Building
  `floe-cli` with `--features duckdb` failed to compile (`error[E0425]: cannot find type
  FloeResult`) because the `FloeResult` import in `crates/floe-cli/src/delegate.rs` was gated
  to the lean build (`#[cfg(not(feature = "duckdb"))]`) yet used by the duckdb build's no-op
  `maybe_delegate_duckdb`. The import is now unconditional. The lean `floe` binary and PyPI
  wheels were unaffected; only the DuckDB companion artifacts failed to build for v0.6.2.
- **CI now compiles `floe-cli --features duckdb`.** The path-gated `duckdb` job previously
  only linted `floe-core`; it now also builds the CLI binary the release ships as
  `floe-duckdb` and triggers on `floe-cli` source changes, so feature-gated CLI breakage is
  caught before a tagged release instead of in the release pipeline.

## v0.6.2

- **`manifest generate` resolves profile variables in storage definitions (#424).**
  `{{VAR}}` placeholders in config-level `storages.definitions` fields
  (`bucket`/`region`/`account`/`container`/`prefix`/`endpoint`) supplied by a profile
  `variables:` block are now substituted during manifest generation, not just `prefix`.
- **Generated manifests are self-contained for `floe run --manifest` (#424, #425).** The
  manifest now embeds the effective `storages`/`catalogs`/`lineage` (config-level
  definitions merged with the profile, with profile variables already resolved) instead of
  only the profile sections, so manifest replay can resolve named storages such as
  `source.storage` / `sink.*.storage`. A present-but-malformed embedded block now produces a
  clear `manifest <section> block is malformed` error instead of being silently dropped
  (which previously resurfaced as the confusing `no storages block` failure). See
  `docs/manifest.md`.
- **EKS Pod Identity / container credentials for Glue/S3 Iceberg writes (#426).** The Iceberg
  S3 write/seed path resolves AWS credentials through the AWS SDK default chain (which honors
  `AWS_CONTAINER_CREDENTIALS_FULL_URI` + token file, the same chain the Glue client and S3
  reads already use) and hands them to the opendal-backed writer as static credentials, so
  writes no longer fall back to EC2 IMDS in EKS Pod Identity pods. Existing static-env / IMDS
  setups are unaffected. See `docs/sinks/iceberg.md`.
- Internal hardening: removed a duplicated `#[cfg(feature = "delta")]` attribute flagged by
  newer clippy.

## v0.6.1

- **Structured `FloeError` type (#395).** `floe-core` previously returned
  `Box<dyn Error>` over four stringly-typed wrappers
  (`ConfigError`/`RunError`/`StorageError`/`IoError`); failures could only be
  classified by inspecting message strings. Every failure is now a structured
  `FloeError` enum variant (`Config`/`Validation`/`Storage`/`Sink`/`State`/`Run`/`Io`)
  carrying typed context fields (entity, path, rule). Library consumers — including
  the Python bindings and the CLI log emitter — recover the kind via
  `err.downcast_ref::<FloeError>()` and `FloeError::kind()`.
  - No user-visible behaviour change: `Display` output is byte-identical to the
    old wrappers, the typed Python exceptions (`FloeConfigError`, `FloeRunError`,
    `FloeStorageError`, `FloeIoError`) and CLI error codes are unchanged.
  - `FloeResult<T>` remains the boxed alias so foreign errors keep flowing through
    `?`. See `context/decisions/structured-floe-error.md`.
- Internal-only release: no config, CLI, or sink behaviour changes.

## v0.6.0

- **HMAC-SHA256 keyed hashing for `strategy: hash` (`docs/pii.md`, #388).**
  The optional `key:` field on a `pii.columns[]` entry selects HMAC-SHA256 instead of
  plain SHA-256, making hash-masked values computationally infeasible to reverse by
  dictionary attack while preserving referential integrity (same input + same key → same
  output across runs). The key accepts a plain literal or a `${ENV_VAR}` reference
  resolved at masking time.
  - Plain SHA-256 remains the default for backward compatibility.
  - A configuration warning is emitted when `strategy: hash` is used without `key:`.
  - Literal keys are redacted from manifest serialization so they never appear in the
    run manifest JSON.
- **`abfss://` URIs now accepted everywhere (#393).**
  The secure `abfss://` spelling (the one Azure surfaces in the portal and Databricks
  shows in external-location URIs) was previously not recognized and silently fell
  through to local-path handling. Floe now normalizes `abfss://` to the canonical
  `abfs://` at config-parse time, so both spellings work end-to-end in source paths,
  sink paths, state paths, and storage config.
  - `is_remote_uri` was deduplicated from four copy-pasted sites into a single
    canonical helper (`io/storage/core/uri.rs`); adding a scheme is now a one-line change.
- **Run reliability hardening (#389, #390).**
  - *Unity Catalog HTTP timeout*: the `reqwest` client used for Unity Catalog table
    registration had no timeout. A hung or unreachable Databricks workspace now times out
    after 30 seconds instead of blocking forever.
  - *Stale lock recovery*: a local `.lock` file left behind by a killed or OOM-killed
    process (previously permanent) is now broken automatically when older than 5 minutes.
    The lock records its acquisition timestamp + PID; the fallback is file mtime for
    legacy locks.
  - *CAS jittered backoff*: conditional-write retries no longer fire in lockstep with no
    delay. Full-jitter exponential backoff (50 ms base, 2 s cap) is applied between
    failed attempts, and the retry count is raised from 5 to 8. No external PRNG
    dependency — entropy is derived from the system clock.

### Internal hardening

- **pyo3 0.22 → 0.29 (#391):** clears two supply-chain advisories
  (RUSTSEC-2025-0020, RUSTSEC-2026-0177) that were parked under `[advisories].ignore`
  in `deny.toml`. The `cargo-deny` supply-chain gate is re-armed with both ignore
  entries removed. No API or behavior change visible to Python callers.
- **`cargo update`:** ~250 transitive lockfile bumps to latest semver-compatible
  versions (tokio 1.49→1.52.3, aws-sdk-s3 1.120→1.137, openssl 0.10.75→0.10.81,
  rustls 0.23.36→0.23.40, arrow 57.2→57.3.1, deltalake 0.30.1→0.30.2, and more).

## v0.5.6

- **Fixes the `build-duckdb-cli` Windows build failure introduced in v0.5.5.**
  The bundled C++ DuckDB library (`libduckdb-sys`) fails to compile with MSVC
  `cl.exe` (exit code 2 on `ub_src_storage_compression_chimp.cpp`). Windows was
  mistakenly included in the `build-duckdb-cli` matrix even though the
  `build-duckdb-wheel` job already excluded it for the same reason. The Windows
  entry is now dropped from `build-duckdb-cli`; four Unix/macOS platforms remain
  (Linux x86\_64/arm64, macOS x86\_64/arm64). The lean `floe.exe` Windows binary is
  **unaffected** — it is built by a separate job that does not enable the `duckdb`
  feature. Windows users who need DuckDB support can use
  `docker run ghcr.io/malon64/floe-duckdb` or build from source:
  `cargo build -p floe-cli --release --features duckdb`.
- **Supply-chain hardening and dependency migrations (PR #396):**
  - `cargo-deny` gate added (`deny.toml`): denies known advisories, yanked crates,
    non-whitelisted licenses, and non-whitelisted crate sources; bans
    re-introduction of `serde_yaml` and deprecated `azure_storage*` 0.x crates.
    A new `.github/workflows/supply-chain.yml` workflow runs the gate on every PR
    touching dependency files, weekly on a schedule, and on demand.
  - Dependabot configured (`.github/dependabot.yml`): weekly Cargo updates
    (minor + patch, grouped by ecosystem), GitHub Actions pin updates, and pip
    updates. `duckdb`/`libduckdb-sys` are ignored until the Arrow 58 migration
    lands (tracked in issue #387).
  - **Five security advisories resolved:**
    - `aws-lc-sys` 0.36 → 0.41: fixes RUSTSEC-2026-0044/0045/0046/0047/0048
      (X.509 name-constraint bypass, AES-CCM timing side-channel, PKCS7
      validation bypasses, CRL logic error).
    - `rustls-webpki` 0.103.9 → 0.103.13: fixes RUSTSEC-2026-0098/0099/0104/0049.
    - `lz4_flex` 0.11.5 → 0.11.6 and 0.12.0 → 0.12.1: fixes RUSTSEC-2026-0041
      (uninitialized-memory leak on invalid input).
  - **`serde_yaml` removed** (archived / unmaintained): `add_entity.rs` now uses
    the `yaml-rust2` stack already present in the config parser — one YAML library
    in the dependency tree instead of two.
  - **Azure SDK migrated to GA 1.0:** `azure_core` / `azure_identity` /
    `azure_storage` / `azure_storage_blobs` 0.20 (deprecated unofficial track) →
    `azure_core` / `azure_identity` / `azure_storage_blob` 1.0. Conditional writes
    (`If-Match` / `If-None-Match: *` on put; `If-Match` on delete) are preserved;
    conflict detection is now typed (`ErrorKind::HttpResponse` 412/409) instead of
    fragile string matching; 409 is now correctly mapped to `Conflict`.
    `DefaultAzureCredential` is replaced by a `ChainedCredential` that tries
    service-principal env vars → workload identity → managed identity → Azure CLI.
- Distribution-only and dependency patch — no engine, API, or config changes.

## v0.5.5

- **Distributes `floe-duckdb` as a prebuilt standalone CLI binary for all platforms.**
  Previous releases shipped the DuckDB-enabled build only as a Docker image
  (`ghcr.io/malon64/floe-duckdb`) and a Python companion wheel. The CLI binary had to
  be compiled from source. From this release, `floe-duckdb` binaries are attached to
  every GitHub Release for all five supported platforms (Linux x86\_64/arm64,
  macOS x86\_64/arm64, Windows x86\_64) and are available via the existing
  Homebrew tap and Scoop bucket:
  ```sh
  # macOS / Linux — Homebrew
  brew tap malon64/floe   # skip if already tapped
  brew install malon64/floe/floe-duckdb

  # Windows — Scoop
  scoop bucket add floe https://github.com/malon64/scoop-floe
  scoop install floe-duckdb
  ```
  `floe-duckdb` is a complete, standalone CLI (same commands, same config format as
  `floe`) with the DuckDB sink compiled in. It can be used directly (`floe-duckdb run
  config.yml`) or placed alongside the lean `floe` binary — `floe` auto-delegates a
  DuckDB-sink run to `floe-duckdb` without user intervention.
- Distribution-only patch — no engine, API, or config changes. DuckDB sink behavior
  and supported targets (Local + MotherDuck) are unchanged.

## v0.5.4

- **Fixes the Python DuckDB companion so `floe.run()` actually delegates to it.**
  The off-PyPI `floe-duckdb` wheel installs its native extension as a **top-level
  `_floe_duckdb`** package (maturin's pure-Rust layout), but the lean `floe`
  wrapper only looked for the nested `floe._floe_duckdb` submodule via
  `importlib.util.find_spec`. The two never matched, so a DuckDB-sink run on an
  install that *had* the companion still raised *"the `floe-duckdb` companion
  wheel is not installed"* — the Python DuckDB channel was non-functional as
  shipped. The wrapper now accepts **both** layouts (`floe._floe_duckdb` and
  top-level `_floe_duckdb`), preferring the nested name when present. Verified
  end-to-end against the published `floe-duckdb` wheel: a `merge_scd1` DuckDB sink
  inserts on first run and upserts idempotently on re-run.
- Operational note (no code change): the off-PyPI PEP 503 index at
  `https://malon64.github.io/floe/simple/` requires **GitHub Pages** to be enabled
  on the repository (source `gh-pages`); the release pipeline pushes the index to
  that branch but cannot enable Pages itself.
- **Fixes four OpenLineage emission bugs that made Floe's OL events unusable by
  OpenMetadata 1.12.x and other strict consumers** (fixes #382, PR #386):
  - S3 input dataset names no longer carry a leading slash (`split_storage_uri` now
    drops the `/` separator, so `s3://bucket/path` splits into `("s3://bucket", "path")`).
  - `runId` is now a spec-valid UUID v4 (a single `Uuid::new_v4()` is generated at
    `RunStarted` and reused at `RunFinished`; each entity gets its own UUID) instead
    of the raw timestamp-based run ID that OpenMetadata silently dropped.
  - `inputs`/`outputs` now use resolvable storage coordinates (Iceberg → catalog
    namespace + `{ns}.{table}`; all other sinks → `split_storage_uri` on the storage
    path) instead of unmappable logical names, so lineage edges are derivable. The
    redundant symlinks facets are removed.
  - Entity job names no longer prepend the OL namespace (it already lives in the job
    object's `namespace` field).
- The DuckDB distribution changes above are distribution-only — DuckDB sink behavior
  and supported targets (Local + MotherDuck) are unchanged.

## v0.5.3

- **Fixes the release pipeline so the GitHub Release assets, Homebrew/Scoop
  formulae, and off-PyPI `floe-duckdb` wheel actually publish.** In v0.5.2 the
  `release` job's `Download artifacts` step had no `pattern`, so it pulled *every*
  run artifact (~1.1 GB — including the ~80 MB DuckDB wheels and ~70 MB Python
  wheels) and intermittently failed the download "after 5 retries", which left the
  GitHub Release with no binary assets and skipped the dependent off-PyPI wheel
  publish. The step is now scoped to `pattern: dist-*` (only the platform binary
  archives it actually needs for the release assets and Homebrew/Scoop checksums);
  the DuckDB wheels remain handled by the separately-scoped `publish-duckdb-wheel`
  job. This was invisible to dry-runs because the `release` job is gated off on
  dry-runs.
- No engine or API changes: distribution-only patch. The DuckDB sink behavior,
  config surface, and supported targets (Local + MotherDuck) are identical to
  v0.5.0–v0.5.2.

## v0.5.2

- **Fixes the v0.5.1 release pipeline so the DuckDB companion actually ships.** v0.5.1
  published the lean `floe` (PyPI wheel + `ghcr.io/malon64/floe` image) correctly, but
  the `floe-duckdb` companion image and off-PyPI wheel never published because the
  companion image build failed. `Dockerfile.duckdb`'s dependency-cache layer copied
  `crates/floe-python/Cargo.toml` (which declares an explicit `[lib] name = "_floe"`)
  without its source, so `cargo fetch` failed parsing the workspace manifest
  (*"can't find library `_floe`"*). The fetch layer now stubs
  `crates/floe-python/src/lib.rs` before fetching; the real source replaces it in the
  subsequent `COPY`. This path was invisible to release dry-runs because the Docker
  jobs are gated off on dry-runs.
- No engine or API changes: distribution-only patch. The DuckDB sink behavior, config
  surface, and supported targets (Local + MotherDuck) are identical to v0.5.0/v0.5.1.

## v0.5.1

- **DuckDB is now available to non-Rust users via a lean-primary + heavy-companion
  distribution.** v0.5.0 made `duckdb` an opt-in Cargo feature, which left it reachable
  only by building from source. v0.5.1 ships the existing DuckDB sink (local `.duckdb`
  files and MotherDuck `md:` databases) as a separate companion that the lean,
  default-distributed `floe` transparently delegates to — modeled on the
  companion-on-PATH pattern used by `git`/`git-lfs` and cargo subcommands, and the
  ONNX-Runtime / PyTorch split-package model for Python.
  - **CLI:** the lean `floe` binary auto-detects a DuckDB sink in the resolved config
    and re-execs a `floe-duckdb` companion (same `floe-cli` source built
    `--features duckdb`) with identical arguments, propagating its exit status. The
    companion is resolved **only** from `PATH` or the canonicalized directory of the
    running executable — never the current working directory (avoids the git-lfs
    CVE GHSA-6rw3-3whw-jvjj class of attack). If no companion is found, the run fails
    with an actionable install hint instead of a cryptic missing-feature error.
  - **Docker:** new `ghcr.io/malon64/floe-duckdb` image (built from `Dockerfile.duckdb`)
    bundles the native DuckDB build with `ENTRYPOINT ["floe-duckdb"]`. The lean
    `ghcr.io/malon64/floe` image is unchanged.
  - **Python:** new off-PyPI `floe-duckdb` wheel installs a `floe._floe_duckdb`
    companion extension into the same `floe` package; the lean `floe.run()`
    transparently delegates a DuckDB-sink run to it. Because the bundled native build
    exceeds PyPI's 100 MB per-file limit and does not build in the manylinux/musllinux
    containers, the companion wheel is published off PyPI (GitHub Release assets + a
    PEP 503 simple index), à la `download.pytorch.org`:
    `pip install floe-python` then
    `pip install floe-duckdb --index-url https://malon64.github.io/floe/simple/`
    (`--index-url`, not `--extra-index-url`, so a squatted `floe-duckdb` on PyPI can't
    shadow the off-PyPI companion).
  - No engine changes: this release only changes *distribution*. The DuckDB sink
    behavior, config surface, and supported targets (Local + MotherDuck) are identical
    to v0.5.0. DuckLake and remote-DuckDB (Quack) sinks remain deferred (they require a
    DuckDB ≥1.5.3 / Arrow 58 bump that is blocked upstream until the Iceberg crate
    publishes an Arrow 58 release).
  - See [DuckDB sink](https://github.com/OpenLakeForge/floe/blob/v1.1.0/docs/sinks/duckdb.md) and [installation](https://github.com/OpenLakeForge/floe/blob/v1.1.0/docs/installation.md).

- **`floe` 0.5.1**: version bump for this release.

## dagster-floe v0.2.3

- **Floe assets now carry a `compute_kind="floe"` branding badge** (PR #384):
  - Every asset materialized by `dagster-floe` displays a "floe" compute-kind badge
    in the Dagster UI, consistent with how `dagster-dbt` and `dagster-duckdb` brand
    their assets. Cosmetic/UX only — no change to asset keys, execution, or run config.

## dagster-floe v0.2.2

- **Expose public job run-config helpers for mixed asset jobs** (closes #376, PR #378):
  - `resolve_execution_config(execution)` — derives the Dagster multiprocess run-config dict from a parsed `ManifestExecution` object; returns `None` when no concurrency constraint is set.
  - `build_job_run_config_from_manifest(manifest_path)` — convenience wrapper that loads the manifest and delegates to `resolve_execution_config`.
  - Both are exported from the top-level `floe_dagster` package.
  - Users composing mixed Dagster asset jobs (Floe + dlt + dbt + other assets) can now pass the manifest-derived run config directly to `define_asset_job(config=...)` without duplicating internal logic.

## v0.5.0

- **Accepted sinks are now opt-in Cargo features** (PR #375):
  - `delta`, `iceberg`, and `duckdb` are each gated behind their own Cargo feature in `floe-core`.
    Parquet (via Polars) is always compiled; the heavy sink dependencies are pulled in only when
    requested. `floe-core`'s default features are `["delta", "iceberg"]`, and `floe-cli` /
    `floe-python` forward the same defaults — so the shipped CLI and published wheels keep
    Delta + Iceberg support and stay lean.
  - **`duckdb` is opt-in everywhere.** The bundled native DuckDB build inflated compile times and
    broke the manylinux/musllinux wheel cross-compile (and pushed wheels past PyPI's per-file size
    limit), so it is excluded from default builds. Enable it from source with `--features duckdb`.
  - **Breaking for library consumers:** code depending on `floe-core` with `default-features = false`
    no longer compiles any sink; add the features you need (`delta`, `iceberg`, `duckdb`).
  - Config validation and manifest generation accept any *known* sink format — including one whose
    feature is not compiled into the current build — so a lean build still validates and round-trips
    a config it cannot execute. Only the runtime write path enforces the feature, failing with a
    clear `rebuild with --features <sink>` hint.
  - CI now compiles and tests each sink selectively (path-filtered jobs with isolated caches), so the
    expensive DuckDB bundle is built only when DuckDB code changes.

- **`floe` 0.5.0**: version bump for this release.

## v0.4.7

- **DuckDB accepted sink** (closes #248, PR #372):
  - New `sink.accepted.format: duckdb` writes accepted output into a DuckDB database — a local
    `.duckdb` file or a remote [MotherDuck](https://motherduck.com) (`md:<database>`) database.
  - Full write-mode parity with Delta: `overwrite`, `append`, `merge_scd1`, and `merge_scd2` via
    DuckDB's native `MERGE INTO` (bundled DuckDB 1.5.0). Merge metrics are reported from
    `RETURNING merge_action`.
  - Arrow-native ingestion (no intermediate file); the bundled `duckdb` crate pins Arrow 57 to
    match floe-core.
  - MotherDuck token auth via `${ENV}` substitution, passed through the connection configuration
    (never as SQL) and never logged.
  - Hardened connection handling: a process-wide single-writer connection cache keyed by canonical
    database id serializes writes and reuses one handle across flushes and entities. The MotherDuck
    cache key includes a non-reversible token fingerprint so distinct credentials never share a
    cached connection.
  - The `duckdb` sink block is carried through generated manifests, so manifest replay can address
    the target table / MotherDuck database.
  - `overwrite` replaces only the target table, leaving other tables in the same database intact.
  - Object-store `.duckdb` file paths (S3/GCS/ADLS) are rejected at validation with a pointer to
    MotherDuck (DuckDB cannot read-write database files over object storage).
  - See [DuckDB sink](https://github.com/OpenLakeForge/floe/blob/v1.1.0/docs/sinks/duckdb.md).

- **Fix: normalize raw headers before projection in Parquet and ORC readers** (PR #373):
  - `projected_columns` was comparing raw file headers (e.g. `"Customer ID"`) against
    already-normalised declared column names (e.g. `"customer_id"`), so any column renamed by
    `schema.normalize_columns` was silently projected out before reaching checks or the sink.
  - Fix: `normalize_name` is now applied to each raw header before the set-membership test,
    matching the pattern already used in the Avro reader.

- **`floe` 0.4.7**: version bump for this release.

## v0.4.6

- **`dagster-floe`: load remote report URIs via fsspec** (fixes #361, PR #362):
  - `summary_uri` and `entity_report_uri` values pointing at `s3://`, `gs://`, or `abfs://` were raising a `ValueError` that was silently swallowed, causing asset checks to fall back to summary-only mode. They are now fetched correctly via `fsspec`.
  - New `remote` optional extra (`dagster-floe[remote]`) installs `s3fs`, `gcsfs`, and `adlfs` so all three cloud providers are covered out of the box.

- **`dagster-floe`: tolerate mixed stdout and surface floe events in Dagster logs** (PR #363):
  - The log parser now handles non-JSON lines interleaved with NDJSON floe events, so plain-text output from wrappers or logging middleware no longer breaks event parsing.
  - Floe run events (`run_started`, `entity_finished`, `run_finished`) are surfaced as structured Dagster log entries with appropriate log levels.

- **Soft-buffered accepted writes — cap per-entity memory at `max_size_per_file`** (PR #366):
  - Previously all accepted rows for an entity were accumulated in memory across every input file and written in a single pass at the end. Peak RAM scaled with input fanout.
  - Accepted rows are now flushed to the sink incrementally whenever the in-memory accumulation reaches `sink.accepted.options.max_size_per_file` (default 256 MB). Peak memory is bounded regardless of how many input files the entity processes.
  - `merge_scd1` / `merge_scd2` modes are unaffected — they still accumulate the full dataset before writing.
  - **Durability note**: flushes commit while the batch is still running — if a later input file fails, rows from earlier files are already committed and will be re-written on the next run. In `append` mode this produces duplicate output rows; use `schema.unique_keys`, `merge_scd1`, or `merge_scd2` to guard against this. See [Parquet sink limitations](https://openlakeforge.dev/floe/sinks/parquet/#limitations) for details (the same partial-commit exposure applies to Delta and Iceberg accepted sinks, though their individual flushes are transactional).

- **Stream Parquet writes via the Polars `new_streaming` engine** (PR #369):
  - Accepted Parquet writes now emit one row group at a time rather than buffering the full chunk plus Arrow encoding state. This reduces per-write peak memory, most noticeably on wide schemas or large `row_group_size` values.
  - No config changes required. Output file naming, part counts, and the run report shape are unchanged.

- **Profile `execution.orchestration` → manifest → Dagster job concurrency** (PR #367):
  - New `orchestration` block in the profile's `execution` section (`strategy`, `max_concurrent_entities`). The manifest builder emits it as `execution.orchestration`; `dagster-floe` wires `max_concurrent` into the Dagster `multiprocess` executor config, driving entity-level parallelism end-to-end without per-job boilerplate.
  - `max_concurrent_entities: 0` is rejected at parse time with an immediate config error.
  - Profile JSON Schema updated to declare the new block (previously rejected by `additionalProperties: false`).

- **REST Iceberg: resolve environment-variable credentials** (PR #370):
  - REST catalog configs that use `${ENV_VAR}` placeholders for credentials are now resolved against the process environment before the HTTP client is constructed, fixing authentication failures when credentials are injected at runtime rather than baked into the config file.
  - Malformed placeholder errors are redacted in log output to avoid leaking partial secrets.

- **`floe` 0.4.6, `dagster-floe` 0.2.1, `airflow-floe` 0.1.5**: version bumps for this release.

## v0.4.5

- **Iceberg: propagate S3 endpoint and path-style-access into FileIO** (fixes #352, PR #353):
  - For S3-compatible storage (SeaweedFS, MinIO), Iceberg/OpenDAL requires an explicit `endpoint` and `path_style_access` in addition to region. Without these, OpenDAL picks up the wrong `AWS_ENDPOINT_URL` and fails at Parquet file close.
  - Added optional `endpoint` and `path_style_access` fields to `StorageDefinition`; `iceberg_store_config()` now forwards them as `s3.endpoint` and `s3.path-style-access` when present.
  - The metadata `S3Client` is also wired: `build_client()` passes `endpoint_url` and `force_path_style` from `StorageDefinition`, so listing and uniqueness-seed calls to MinIO/SeaweedFS use the correct addressing style.

- **Manifest: write remote summary and enrich `run_finished` event** (fixes #354, PR #356):
  - In manifest mode with a remote `report_base_uri`, `RunContext::from_config()` was skipping `Target` construction and the run summary was never uploaded; `run_finished.summary_uri` was always `null`.
  - `StorageResolver` gains `find_definition_name_for_uri` / `register_definition` so a synthetic storage definition is created for remote report URIs even when the bucket is not listed in the config `storages` block.
  - `RunFinished` is extended with `report_base` and `entity_report_uris` (both `skip_serializing_if`-guarded, so existing parsers see identical JSON when no report is configured).
  - `dagster-floe`: `FloeRunFinished` + `parse_run_finished` + `assets.py` consume `entity_report_uris` directly when available.
  - `airflow-floe`: `operators.py` and `kubernetes_runner.py` pass the new fields through to the XCom payload.

- **Manifest: deterministic generation, source checksums, and content revision** (fixes #355, PR #357):
  - New `--deterministic` flag: sets `generated_at_ts_ms=0` so the same inputs produce byte-identical output — clean `diff` in CI without stripping the timestamp.
  - New `--manifest-name` flag: stores a stable logical name (e.g. `sales.prod`) in the manifest JSON.
  - `config_checksum` (SHA-256) is computed on every generation; `profile_checksum` is added when a profile is supplied.
  - `manifest_revision`: SHA-256 of canonical manifest content (excluding `generated_at_ts_ms`) provides a stable content fingerprint.
  - `manifest_id` now incorporates `config_checksum` so the ID changes when source config content changes.
  - All `HashMap` fields in manifest structs (`exit_codes`, `env`, `definitions`, `tags`, `env_parameters`) replaced with `BTreeMap` for stable alphabetical key ordering in serialised JSON.
  - `dagster-floe` and `airflow-floe` manifest dataclasses parse and surface the four new optional fields (`manifest_name`, `manifest_revision`, `profile_uri`, `profile_checksum`).
  - JSON Schema updated to declare the new fields, preventing `additionalProperties: false` rejections in the Dagster manifest validator.

- **`floe manifest generate` — deployment URI overrides** (fixes #358, PR #359):
  - `-c` and `-p` now accept remote URIs (`s3://`, `gs://`, `abfs://`), downloading transparently and recording the URI as `config_uri` / `profile_uri` in the manifest.
  - `--output` accepts remote URIs; when a remote URI is given the manifest is uploaded and that URI is automatically baked into `execution.base_args` (replacing the `{manifest_uri}` placeholder), eliminating post-generation JSON patching.
  - `--default-domain <domain>` sets `domain`, `group_name`, and `asset_key` prefix for entities that do not specify a domain.
  - `--manifest-path-mode resolved-uri` sets each entity's `source.path` and sink `path` fields to the fully resolved URI (stripping `local://` for local paths), making the manifest a standalone replay contract without a local config directory.
  - Unknown `--manifest-path-mode` values now produce an immediate CLI error instead of silently defaulting.

- **`floe` 0.4.5, `dagster-floe` 0.1.8, `airflow-floe` 0.1.5**: version bumps for this release.

## v0.4.4

- **REST catalog: correct storage factory for S3 and GCS** (fixes #348 #349):
  - `build_rest_catalog()` previously always used `LocalFsStorageFactory` regardless of warehouse scheme, causing Parquet data file reads/writes to fail with OS-level errors on any cloud-backed REST catalog (Polaris, Snowflake Open Catalog, Nessie with S3).
  - The factory is now selected based on the concrete table location URI (`s3://`, `s3a://` → `OpenDalStorageFactory::S3`; `gs://` → `OpenDalStorageFactory::Gcs`; everything else → `LocalFsStorageFactory`).
  - When the warehouse field is a catalog name rather than a storage URI (e.g. Polaris `"lakehouse"`), the table location from `warehouse_location` / `table_root_uri` is used as the primary dispatch key, with `warehouse` as fallback.
  - Both write and uniqueness-seed (Append dedup) paths are fixed.

- **`floe` 0.4.4**: version bump for this release.

## v0.4.3

- **Remote manifest support for `floe run --manifest`** (`docs/cli.md`, fixes #342):
  - `floe run --manifest` now accepts `s3://`, `gs://`, and `abfs://` URIs, downloading the manifest to a temporary directory using the same `resolve_config_location` infrastructure used by `floe run --config`.

- **OpenLineage: stable job name, versioned `_producer`, column lineage, and Dagster job injection** (`docs/lineage.md`, fixes #335 #336 #337 #338):
  - Top-level `RunStarted`/`RunFinished` events now use a **stable job name** derived from the config file stem (e.g. `orders.yml` → job name `orders`) instead of the ephemeral run UUID, so run history accumulates on a single job node in Marquez.
    - An optional `lineage.job_name` field in the config overrides the derived name.
  - The `_producer` URI is now **versioned** via `env!("CARGO_PKG_VERSION")` at compile time (e.g. `https://github.com/malon64/floe/releases/tag/v0.4.3`) instead of a static string, enabling consumers to correlate lineage events with the exact release.
  - **`ColumnLineageDatasetFacet`** is emitted on accepted output datasets, mapping each output column to its source field (or itself when no `source:` rename is configured). The `inputFields` dataset identity uses the same `(namespace, name)` tuple as the input dataset in the same event, so column-level edges are correctly joined in OpenLineage consumers.
  - `dagster-floe` now injects **`DAGSTER_JOB_NAME`** into the floe subprocess environment, so the `ParentRunFacet` carries the correct Dagster job name rather than an empty string.

- **OpenLineage: Marquez-compatible dataset naming and facet placement** (`docs/lineage.md`, fixes #340):
  - Source input datasets use a `.source` sub-namespace (e.g. `myns.source`) to avoid colliding with the logical entity name used for accepted outputs.
  - `SchemaDatasetFacet`, `DataQualityMetricsOutputDatasetFacet`, and `FloeQualityRunFacet` are placed on the accepted output dataset (the write side), matching OpenLineage's semantic: output facets describe what was written.
  - Rejected output datasets use a `.rejected` sub-namespace and carry their own `DataQualityMetricsOutputDatasetFacet` with the rejected row counts.

- **`dagster-floe`: `SourceAsset` registration and enriched rejected metadata** (fixes #339):
  - Each entity now registers a companion `SourceAsset` (key `<entity_key>_source`) so Dagster's asset graph shows the upstream data source as a node. `register_source_assets=False` opts out for pipelines that manage their own upstream declarations.
  - Rejected output metadata now includes `dominant_rejection_reason` and `files_with_rejections` computed from the entity report, giving Dagster run pages actionable context without opening the floe report file.

- **`dagster-floe` 0.1.7**, **`floe` 0.4.3**: version bumps for this release.

## v0.4.2

- **OpenLineage: source and sink datasets emitted separately** (`docs/lineage.md`, fixes #317):
  - Entity `COMPLETE`/`FAIL` events now set `inputs` to the **source dataset** (named after `source.path`) and `outputs` to the **accepted sink dataset** (named after `sink.accepted.path`).
  - When a rejected sink is configured, a second output dataset (named after `sink.rejected.path`) is appended to `outputs`.
  - Schema (`SchemaDataset`), `DataQualityMetrics`, and `FloeQualityRun` facets are attached to the source input dataset, which is the correct OpenLineage placement for input facets.
  - Previously, `inputs` contained a single dataset named after the entity (not the path) and `outputs` was always empty, causing Marquez to show a dead-end lineage graph.

- **OpenLineage observer now installed from profile `lineage` block** (fixes #316):
  - `floe run --profile` now uses `load_config_with_profile_overrides` for the early config load that wires up the OpenLineage observer. Previously it used `load_config_with_profile_vars`, which substituted `{{VAR}}` placeholders but did not merge the `lineage` section from the profile. Users who declared `lineage:` only in their profile file saw no lineage events emitted.

- **Profile support for `floe state inspect` and `floe state reset`** (fixes #320):
  - Both state subcommands now accept `-p / --profile <path>`. Without a profile, configs that reference `{{VAR}}` placeholders would fail with "unknown variable" errors. The same profile-loading path used by `validate` and `run` (variable resolution + storages/catalogs/lineage merging) is now applied before reading or resetting entity state.

- **Incremental state committed for rejected terminal outcomes** (fixes #327):
  - In `incremental_mode: file`, files whose rows are fully or partially rejected under `severity: reject` are now committed to state after the run. Previously, any `RunStatus::Rejected` caused state to be released, making Floe reprocess the same file on every subsequent run and duplicate accepted/rejected sink outputs. `Aborted` and `Failed` outcomes still release state, as those represent incomplete processing where reprocessing is safe.

- **`dagster-floe` 0.1.6**: version bump accompanying the floe 0.4.2 release.

## v0.4.1

- **Profile `storages` and `lineage` overrides** (`docs/profiles.md`):
  - Profile files can now declare a `storages` section and a `lineage` section alongside the existing `catalogs` override. Both are applied as wholesale config replacements before validation and run, following the same pattern as `catalogs`.
  - `floe validate --profile`, `floe run --profile`, and `floe manifest generate --profile` all honour the new sections.
  - Python bindings (`floe.validate`) pass storages and lineage through to the merged config.
  - Profile validation now enforces the same semantic constraints as config validation:
    - `storages.default` is required whenever `storages` is declared.
    - Storage definitions must use a supported type (`local`, `s3`, `adls`, `gcs`) and supply type-required fields (`s3`: bucket + region; `adls`: account + container; `gcs`: bucket).
    - `lineage.namespace` must not be empty; `lineage.max_failures` must be ≥ 1 when set.

## v0.4.0

- **OpenLineage circuit breaker and retry** (`docs/lineage.md`):
  - Transient failures (connection errors, HTTP 5xx, 429) are retried up to 3 times with 0 / 100 / 500 ms backoff before counting as a failure.
  - Non-retryable 4xx responses (e.g. 401 bad API key) are counted immediately without retrying and emit a `lineage_http_error` warning.
  - After `max_failures` consecutive failures (default 3, configurable via `lineage.max_failures`), the circuit opens and all subsequent events in the run are skipped with no HTTP calls.
  - A single `lineage_circuit_open` warning is emitted when the circuit trips. The circuit resets at `RunStarted` so a recovered endpoint is retried in the next pipeline execution without restarting the process.
  - A `lineage_http_error` warning is emitted whenever any event is dropped so silent event loss is always visible in operator logs.

- **Hardened remote incremental state** (`docs/how-it-works.md`):
  - State schema bumped to v2 — a `claims` map sits alongside the existing `files` map, enabling CAS-based concurrent-writer safety on S3, GCS, and ADLS via conditional writes (`If-Match` / generation numbers).
  - Local storage uses `FileLock` (O_CREAT|O_EXCL) to serialize version-check + write, preventing two concurrent local processes from both returning `Written`.
  - Claim scope is restricted to the owning runner: promotion, release, and renewal only touch URIs held by the current `ClaimedEntityState`, preventing cross-runner interference when multiple processes share a `run_id`.
  - Unexpired claims from the same `run_id` now block re-claiming — two processes sharing a `run_id` can no longer process the same files concurrently.
  - Deletes remain conditional even when `expected_version` is `None`, preserving state written by a concurrent runner.
  - V1 state files (no `claims` field) are silently upgraded to V2 on read.

- **Kubernetes manifest runner fields** (`context/orchestrators.md`):
  - `floe manifest generate` with a Kubernetes profile now emits full runner fields in the manifest: `image`, `namespace`, `service_account`, `resources` (cpu / memory_mb), `env`, and structured `secrets`.
  - `secrets` changed from `Vec<String>` to `Vec<{name, secret_name, key}>` to match the shape expected by `kubernetes_runner.py`.
  - `dagster-floe[kubernetes]` optional extra added to express the Kubernetes client dependency explicitly.

- **Internal hardening** (no config or API changes):
  - `PolicySeverity` is now a typed enum parsed at config load time — string comparison in mismatch, precheck, and run/entity paths replaced with enum match.
  - `AcceptedWriteReportState` removed — `run_accepted_write_phase` returns `AcceptedWriteOutput` directly, eliminating a 24-field manual field-by-field copy.
  - Error types (`ConfigError`, `RunError`, `StorageError`, `IoError`) adopt `thiserror` — removes ~40 lines of boilerplate `Display + Error` impls.
  - `SinkFormat` trait centralises write, seed, and data-driven config validation — adding a new format no longer requires changes to validate.rs or dispatch code.
  - State module eliminates duplicated load / persist / claim patterns (76 fewer lines, same behaviour).

- **macOS wheels**: universal2 wheel replaces separate aarch64 + x86_64 artifacts — a single `.whl` runs natively on both Apple Silicon and Intel Macs.

- **`dagster-floe` 0.1.5**: adds `dagster-floe[kubernetes]` optional extra so consumers can declare the `kubernetes>=28` dependency explicitly when using the Kubernetes runner.

## v0.3.9

- **Column-level PII masking** (`docs/pii.md`):
  - New `pii:` entity block with per-column transform strategies: `hash` (SHA-256), `drop`, `nullify`, `redact`, and `mask`.
  - `mask` strategy supports a pattern string with `{firstN}` / `{lastN}` reveal tokens (e.g. `{first4}****{last4}` for card numbers).
  - `redact` strategy replaces every non-null value with a configurable string (default `[REDACTED]`).
  - Masking runs after schema validation and data-quality checks — rejected rows are never masked.
  - Compatible with `normalize_columns`: `pii.columns[].name` matches schema names, not post-normalization runtime names.
  - Full config-validation coverage: duplicate columns, unknown strategies, missing `mask_pattern`, and `strategy: drop` on primary-key columns are all rejected at load time.

- **OpenLineage integration** (`docs/lineage.md`):
  - New optional `lineage:` top-level config block that posts run and entity lifecycle events to any OpenLineage-compatible HTTP endpoint (Marquez, Atlan, OpenMetadata, Astronomer, etc.).
  - Emits four facets per entity `COMPLETE` event: `DataQualityMetrics`, `FloeQualityRun`, `SchemaDataset`, and `ParentRun`.
  - `ParentRun` facet auto-detected from Airflow (`AIRFLOW_CTX_*`) and Dagster (`DAGSTER_*`) environment variables.
  - Bearer auth via `api_key` field; supports `{{VAR}}` placeholder expansion and nested `${HOST}/path` variable resolution via `--profile`.
  - Configurable `timeout_secs` (default 5); fail-silent — HTTP errors emit warnings and do not affect run outcome.
  - Lineage emission is independent of `--log-format`; events are always posted when configured.
  - Lineage HTTP error warnings (401, timeouts) are always surfaced to stderr, even with `--log-format off`.
  - Lifecycle correctness: every run produces a well-formed `START → COMPLETE/FAIL` sequence; pre-execution failures (config validation, context construction) emit a paired `START` before `FAIL`; post-start errors do not re-emit `START`.

- **Profile validation and catalog hardening** (v0.3.8 patch):
  - Profile variable resolution errors now produce explicit config errors instead of silently falling back to unresolved placeholders.
  - Catalog override validation tightened for Unity and REST catalog blocks.

## v0.3.8

- Delta Lake + Unity Catalog registration:
  - new `unity` catalog type — after writing a Delta table to cloud storage, Floe
    optionally registers (or confirms) it as an EXTERNAL DELTA table in Databricks
    Unity Catalog via the REST API (`POST /api/2.1/unity-catalog/tables`).
  - existing-table safety: location mismatch and missing `storage_location`
    (managed table / view collision) are returned as explicit errors.
  - ADLS: `abfs://` URIs are normalised to `abfss://` before registration.
  - new `sink.accepted.delta` block: `catalog`, `schema`, `table` overrides.
  - `create_schema_if_missing` flag on the catalog definition.
  - Validation: `sink.accepted.delta` rejected on non-delta formats; Unity type
    rejected for Iceberg sinks; local storage rejected for Unity targets.
  - Three new report fields: `delta_catalog_name`, `delta_catalog_schema`,
    `delta_catalog_table`.
  - `token` accepts a literal PAT or a single `${ENV_VAR}` reference resolved from the OS environment at run time.

## v0.3.7

- Windows binary now distributed via [Scoop](https://github.com/malon64/scoop-floe): `scoop bucket add floe https://github.com/malon64/scoop-floe` then `scoop install floe`.
- Release pipeline extended with a `x86_64-pc-windows-msvc` build target; artifact packaged as `.zip`.
- GitHub Actions upgraded to Node.js 24 runtime across all workflows.

## v0.3.6

- Added `--profile <path>` flag to `floe run` for environment-specific variable injection into `{{VAR}}` config placeholders.
- Profile variables support `${KEY}` cross-references; precedence chain: `env.vars` > `env.file` > profile variables.
- Updated `profile.schema.yaml` with `kubernetes_job`/`databricks_job` runner types and accurate variable semantics.
- Internal cleanup: shared test helper, consolidated `emit_log`, removed 8 redundant unit tests.
- README rewrite: architecture diagram, pipeline stage table, `--profile` example.

## v0.3.5

- Incremental ingestion release finalization:
  - documented `incremental_mode: file`, entity `state.path`, and the `floe state inspect/reset` CLI flow
  - refreshed the repository example config to show file-based incremental ingestion state explicitly
  - clarified incremental planning and state-commit behavior in the docs summary/reference set
- Packaging/version updates:
  - bumped `floe-core` and `floe-cli` to `0.3.5`

## v0.3.4

- Databricks runner foundation for orchestrator connectors:
  - added `databricks_job` runner contract support in Floe profile/manifest flow
  - added connector-side Databricks job client flow for Airflow and Dagster
  - standardized Databricks run status/result mapping with backend metadata and failure reason handling
  - added mocked integration coverage for success, failure, timeout, canceled, and infra failure paths
- Packaging/version updates:
  - bumped `floe-core` and `floe-cli` to `0.3.4`
  - bumped `airflow-floe` and `dagster-floe` Python packages to `0.1.4`

## v0.3.3

- Runner contract and architecture cleanup:
  - standardized Kubernetes runner naming to `kubernetes_job` across core/CLI/orchestrator-facing manifest surfaces
  - removed legacy runner alias handling for `kubernetes`
  - removed legacy Airflow manifest bridge from `floe.plan.v1` to `floe.manifest.v1` (manifest-v1 only)
- Connector reliability/refactor:
  - improved Kubernetes status normalization and failure-reason surfacing for orchestrator runner execution paths
  - reduced Airflow/Dagster drift in k8 runner handling and metadata surfaces
- Packaging/version updates:
  - bumped `floe-core` and `floe-cli` to `0.3.3`
  - bumped `airflow-floe` and `dagster-floe` Python packages to `0.1.3`

## v0.3.2

- Delta schema evolution rollout:
  - added additive schema evolution support for Delta accepted writes across `append`, `overwrite`, `merge_scd1`, and `merge_scd2`
  - enforced rollout guardrails: additive-only changes, partitioned-table limitations, and merge-key protection against schema-evolved columns
  - added explicit observability via the entity report `schema_evolution` block and the `schema_evolution_applied` lifecycle event

## v0.3.1

- Delta merge write modes:
  - added `merge_scd1` support for keyed upserts into accepted Delta outputs
  - added `merge_scd2` support for history-preserving merges with managed current/validity columns
- Schema/config validation:
  - added `schema.primary_key` as the explicit merge key surface, including validation for required, known, unique, non-nullable key columns
- Merge/reporting refinements:
  - added configurable Delta merge options and SCD2 closed/unchanged reporting metrics

## v0.3.0

- Core performance and observability:
  - added internal phase timing instrumentation (gated by `FLOE_PERF_PHASE_TIMINGS`) for run- and entity-level phases
  - reduced CSV read overhead by reusing prechecked input columns in the read path
  - optimized JSON `read_parse` path by reducing intermediate row allocations during selector extraction.
- Core refactoring (no intended behavior change):
  - split `run/entity` validation + split/reject flow into dedicated modules
  - split accepted write phase/report-state plumbing out of `run/entity/mod.rs`
  - further modularized writer internals (Delta/Iceberg) and report plumbing for maintainability.
- Documentation:
  - refreshed v0.3 release communication draft and docs updates for the new core organization/perf instrumentation.

## v0.2.8

- Iceberg accepted sink:
  - runtime execution of `sink.accepted.partition_spec` for supported transforms (`identity`, `year`, `month`, `day`, `hour`)
  - write-time file sizing metrics in entity reports (`files_written`, `total_bytes_written`, `avg_file_size_mb`, `small_files_count`)
- Delta accepted sink:
  - exact remote commit-log write metrics (S3/GCS/ADLS) collected via object store commit entry parsing (best-effort fallback keeps metrics nullable)
- `dagster-floe` connector package version bumped to `0.1.2` in the same release prep.

## v0.2.7

- Added Iceberg S3 accepted sink support (filesystem catalog, no data catalog / Glue yet).
- Improved `floe add-entity` bootstrap UX:
  - create a new config when target `-c` file does not exist
  - infer default entity name from input filename stem when `--name` is omitted
  - infer default format from input file extension when `--format` is omitted.
- Hardened archive mode safety:
  - archive only resolved/processed inputs
  - collision-safe archive behavior (no silent overwrite on repeated filenames).

## v0.2.6

- Added local Iceberg accepted sink MVP (`sink.accepted.format: iceberg`) with filesystem table layout and append/overwrite snapshot behavior.
- Added cloud source glob pattern support (e.g. `s3://.../sales_*.csv`) with prefix-derived listing + glob filtering.
- Added `floe add-entity` CLI command to infer a schema from an input file and append an entity definition to a Floe config.

## v0.2.5

- Added `floe manifest generate` as the common manifest surface for orchestrators (`floe.manifest.v1`).
- Airflow connector updates:
  - manifest-first operator flow (`FloeRunOperator` / `FloeManifestHook`)
  - multi-manifest DAG registration (`FLOE_MANIFEST_DIR`, one DAG per manifest)
  - streamed Floe stdout/stderr in task logs
  - enriched asset event metadata with per-entity report references.
- Dagster connector updates:
  - migration to common manifest contract
  - strict manifest schema validation
  - multi-manifest loading with one Dagster job per manifest and collision guards.
- CLI cleanup:
  - removed `floe validate --output json` (orchestrator automation now relies on generated manifests).
- Documentation updates for local orchestrator workflows and manifest-driven integration specs.

## v0.2.4

- Added new source input formats: `tsv`, `xlsx`, `fixed`, `orc`, `avro`, and `xml`.
- Added nested JSON selector extraction from `schema.columns[].source` with top-level-only mismatch checks.
- Added source-column mapping behavior (`source` as input selector, `name` as output column) in validation and run surfaces.
- Added XML selector support (`.` or `/` paths and terminal `@attribute`) with required `source.options.row_tag`.
- Dry-run now resolves inputs before execution, shows resolved file lists (with capped preview), and uses the same resolved plan as real runs.
- Refactored runtime/storage boundaries to reduce format- and storage-specific coupling in run orchestration.

## v0.2.3

- Added append/overwrite write modes for accepted parquet and delta outputs.
- Rejected outputs now use dataset-style part files with write modes.
- Append mode now seeds unique checks from existing accepted data (parquet + delta).
- Part naming improvements:
  - UUID parts for append
  - sequential parts for overwrite
  - unified part listing/cleanup helpers.
- Delta append fixes:
  - enforce schema nullability correctly
  - respect `normalize_columns` schema names.
- Dagster Docker runner now writes outputs correctly.

## v0.2.2

- Added Dagster orchestrator connector (`orchestrators/dagster-floe`) with:
  - validate plan ingestion
  - NDJSON run event parsing
  - local and Docker runner integration examples/tests.
- Introduced accepted write-mode scaffolding and design groundwork:
  - `WriteMode` in config model (default overwrite behavior retained)
  - accepted writer abstraction/module split for future append support
  - design note: `docs/design/write_modes.md`.
- Release workflow hardening:
  - build Linux AMD64 artifacts with `cross` to improve glibc compatibility.

## v0.2.1

- Added official Docker image packaging and GHCR publishing on version tags.
- Documentation: Docker usage added to installation guide and summary.
- Added machine-readable run event logs (json/text) behind `--log-format`.
- Fixes: `metadata.project` optional, CSV empty fields treated as null by default, default `cast_mode=strict`.

## v0.2.0

- Cloud storage registry with local/S3/ADLS/GCS support (canonical URIs).
- Cloud IO for CSV/JSON/Parquet inputs via temp download + local read.
- Accepted outputs: parquet (multipart with `max_size_per_file`) and delta (transactional object_store).
- Reports and rejected outputs can be written to cloud via temp upload.
- Schema mismatch policy (missing/extra columns) with file-level rejection handling.
- Deterministic run pipeline (file precheck → row validation → entity-level unique).
- JSON input modes: array (default) and NDJSON.
- Config templating (`env` + `domains`) and improved validation errors.

## v0.1.7

- Added ADLS and GCS storage definitions with URI resolution and validation.
- Implemented ADLS and GCS storage clients (list/download/upload) for file IO.
- Added Delta transactional writes via object_store for S3, ADLS, and GCS.
- Parquet accepted output now supports multipart chunking via `max_size_per_file`.
- Added config templating (`env` + `domains`) and duplicate domain validation.
- Refactored storage interface and reorganized test binaries/modules for faster CI.
- CI: path-based filters, shared rust-cache across branches, and controlled test threading.

## v0.1.6

- Added JSON array input mode alongside NDJSON, with config validation updates.
- Added entity-level accepted output with part files and cleared stale S3 outputs.
- Enforced validation order (file → row → entity) and fixed unique checks by rechunking.
- Expanded and reorganized core test suites (grouped modules) and improved CI test caching.

## v0.1.5

- Refactored storage configuration and IO to use a shared storage client abstraction.
- Split the entity runner into focused modules and centralized warning handling.
- Added configurable row error formatting (json/csv/text) in reports.
- Unified input resolution logic and reorganized run/config tests.
- Improved warn-mode performance and added lazy scan paths for CSV/Parquet.
- Added benchmark harness docs/scripts and example reports for v0.1.5.

## v0.1.4

- Added delta accepted sink support with overwrite semantics (local storage only).
- Added iceberg accepted sink configuration stub with a clear not-implemented error.
- Added `sink.accepted.options` for parquet compression and row group sizing.

## v0.1.3

- Added a format registry with adapter traits for inputs and sinks.
- Centralized file extension handling for local/S3 resolution.
- Expanded input format scaffolding (Parquet/JSON readers) and IO dispatch.
- Run pipeline refactor to use format adapters and shared IO helpers.

## v0.1.2

- Config validation now rejects unknown fields and adds broader negative test coverage.
- CLI and report examples use build-time version strings (no hardcoded 0.1.0).
- Release pipeline hardening: portable version bumping, allow-dirty publish, and tap checkout fixes.

## v0.1.1

- Global report layout with run-scoped directories and per-entity reports.
- CI/CD release pipeline (crate publish, binaries, checksums, GitHub Release, Homebrew tap).
- CLI output improvements and documentation refreshes for reports/checks.

## v0.1.0

- Initial CLI (`validate`, `run`) and YAML configuration schema.
- CSV ingestion with Parquet accepted output and CSV rejected output.
- Core checks: casting, not-null, unique; row-level rejection and run reports.
- Multi-entity support with run-scoped reporting.

---

<small>Synced from floe @ `v1.1.0` (`313b534`), [CHANGELOG.md](https://github.com/OpenLakeForge/floe/blob/313b53441b3b088290403ed1adb2f3894833b6c5/CHANGELOG.md).</small>
