apache-airflow-providers-openlineage
Changelog¶
1.11.0¶
Note
This release of provider is only available for Airflow 2.8+ as explained in the Apache Airflow providers support policy.
Features¶
feat: add debug facet to all OpenLineage events (#41217)
feat: add fileloc to DAG info in AirflowRunFacet (#41311)
feat: remove openlineage client deprecated from_environment() method (#41310)
feat: openlineage listener captures hook-level lineage (#41482)
Bug Fixes¶
fix: get task dependencies without serializing task tree to string (#41494)
fix: return empty data instead of None when OpenLineage on_start method is missing (#41268)
fix: replace dagTree with downstream_task_ids (#41587)
Misc¶
Bump minimum Airflow version in providers to Airflow 2.8.0 (#41396)
chore: remove openlineage deprecation warnings (#41284)
1.10.0¶
Features¶
Add AirflowRun on COMPLETE/FAIL events (#40996)
openlineage: extend custom_run_facets to also be executed on complete and fail (#40953)
openlineage: migrate OpenLineage provider to V2 facets. (#39530)
openlineage: Add AirflowRunFacet for dag runEvents (#40854)
[AIP-62] Translate AIP-60 URI to OpenLineage (#40173)
Ability to add custom facet in OpenLineage events (#38982)
openlineage: add method to common.compat to not force hooks to try/except every 2.10 hook lineage call (#40812)
openlineage: use airflow provided getters from conf (#40790)
openlineage: add config to include 'full' task info based on conf setting (#40589)
Add TaskInstance log_url to OpenLineage facet (#40797)
openlineage: add deferrable information to task info in airflow run facet (#40682)
Bug Fixes¶
Adjust default extractor's on_failure detection for airflow 2.10 fix (#41094)
openlineage: make value of slots in attrs.define consistent across all OL usages (#40992)
Set 'slots' to True for facets used in DagRun (#40972)
openlineage: fix / add some task attributes in AirflowRunFacet (#40725)
Misc¶
openlineage: replace dt.now with airflow.utils.timezone.utcnow (#40887)
openlineage: remove deprecated parentRun facet key (#40681)
1.9.0¶
Features¶
local task job: add timeout, to not kill on_task_instance_success listener prematurely (#39890)
openlineage: add some debug logging around sql parser call sites (#40200)
Add task SLA and queued datetime information to AirflowRunFacet (#40091)
Add error stacktrace to OpenLineage task event (#39813)
Introduce AirflowJobFacet and AirflowStateRunFacet (#39520)
Use UUIDv7 for OpenLineage runIds (#39889)
openlineage: execute extraction and message sending in separate process (#40078)
Add few removed Task properties in AirflowRunFacet (#40371)
Bug Fixes¶
openlineage, redshift: do not call DB for schemas below Airflow 2.10 (#40197)
fix: scheduler crashing with OL provider on airflow standalone (#40459)
nit: fix logging level (#40461)
fix: provide stack trace under proper key in OL facet (#40372)
Misc¶
fix: sqa deprecations for airflow providers (#39293)
Enable enforcing pydocstyle rule D213 in ruff. (#40448)
1.8.0¶
Warning
In Airflow 2.10.0, we fix the way try_number works.
For Airflow >= 2.10.0, use apache-airflow-providers-openlineage >= 1.8.0
.
Older versions of Airflow are not affected, In case you run an incompatible version
an exception will be raised asking you to upgrade provider version.
Features¶
Scheduler to handle incrementing of try_number (#39336)
Bug Fixes¶
fix: Prevent error when extractor can't be imported (#39736)
Re-configure ORM in spawned OpenLineage process in scheduler. (#39735)
Misc¶
chore: Update conf retrieval docstring and adjust pool_size (#39721)
Remove 'openlineage.common' dependencies in Google and Snowflake providers. (#39614)
Use 'ProcessPoolExecutor' over 'ThreadPoolExecutor'. (#39235)
misc: Add custom provider runtime checks (#39609)
Faster 'airflow_version' imports (#39552)
Simplify 'airflow_version' imports (#39497)
openlineage: notify that logged exception was caught (#39493)
chore: Add more OpenLineage logs to facilitate debugging (#39136)
1.7.0¶
Features¶
Add lineage_job_namespace and lineage_job_name OpenLineage macros (#38829)
openlineage: add 'opt-in' option (#37725)
Bug Fixes¶
fix: Remove redundant operator information from facets (#38264)
fix: disabled_for_operators now stops whole event emission (#38033)
fix: Add fallbacks when retrieving Airflow configuration to avoid errors being raised (#37994)
fix: Fix parent id macro and remove unused utils (#37877)
Misc¶
Avoid use of 'assert' outside of the tests (#37718)
Add default for 'task' on TaskInstance / fix attrs on TaskInstancePydantic (#37854)
1.6.0¶
Features¶
feat: Add OpenLineage metrics for event_size and extraction time (#37797)
feat: Add OpenLineage support for File and User Airflow's lineage entities (#37744)
[OpenLineage] Add support for JobTypeJobFacet properties. (#37255)
chore: Update comments and logging in OpenLineage ExtractorManager (#37622)
Bug Fixes¶
fix: Check if operator is disabled in DefaultExtractor.extract_on_complete (#37392)
Misc¶
docs: Update whole OpenLineage Provider docs. (#37620)
1.3.0¶
Features¶
feat: Add parent_run_id for COMPLETE and FAIL events (#36067)
Add basic metrics to stats collector. (#35368)
Bug Fixes¶
fix: Repair run_id for OpenLineage FAIL events (#36051)
Fix and reapply templates for provider documentation (#35686)
Misc¶
Remove ClassVar annotations. (#36084)
1.1.0¶
Features¶
Allow to disable openlineage at operator level (#33685)
Bug Fixes¶
Fix import in 'get_custom_facets'. (#34122)
Misc¶
Improve modules import in Airflow providers by some of them into a type-checking block (#33754)
Add OpenLineage support for DBT Cloud. (#33959)
Refactor unneeded jumps in providers (#33833)
Refactor: Replace lambdas with comprehensions in providers (#33771)
1.0.2¶
Bug Fixes¶
openlineage: don't run task instance listener in executor (#33366)
openlineage: do not try to redact Proxy objects from deprecated config (#33393)
openlineage: defensively check for provided datetimes in listener (#33343)
Misc¶
Add OpenLineage support for Trino. (#32910)
Simplify conditions on len() in other providers (#33569)
Replace repr() with proper formatting (#33520)
1.0.1¶
Bug Fixes¶
openlineage: disable running listener if not configured (#33120)
Don't use database as fallback when no schema parsed. (#32959)
Misc¶
openlineage, bigquery: add openlineage method support for BigQueryExecuteQueryOperator (#31293)
Move openlineage configuration to provider (#33124)
1.0.0¶
Initial version of the provider.