apache-airflow-providers-dbt-cloud
變更日誌¶
4.3.3¶
雜項¶
remove superfluous else block (#49199)
4.3.2¶
Bug 修復¶
fix: add explicit requirement for OpenLineage version on DBT function (#47999)
4.3.1¶
特性¶
feat: Adjust DBT OpenLineage to Airflow 3 and improve logging (#47500)
雜項¶
AIP-72: Handle Custom XCom Backend on Task SDK (#47339)
4.2.1¶
雜項¶
AIP-72: Moving BaseOperatorLink to task sdk (#47008)Upgrade flit to 3.11.0 (#46938)
4.2.0¶
注意
此版本沒有程式碼更改。釋出它是由於之前的版本因打包問題被撤回。
4.1.0¶
特性¶
New Optional dbt Cloud Job Operator Params (#45634)
雜項¶
AIP-72: Improving Operator Links Interface to Prevent User Code Execution in Webserver (#46613)Add missing newline on conn string example (#45603)Remove classes from 'typing_compat' that can be imported directly (#45589)
4.0.0¶
注意
此提供程式版本僅適用於 Airflow 2.9+,如 Apache Airflow 提供程式支援策略 中所述。
重大變更¶
警告
所有已棄用的類、引數和特性已從 DBT 提供程式包中移除。引入了以下重大變更
- Sensor
移除
airflow.providers.dbt.cloud.sensors.dbt.DbtCloudJobRunAsyncSensor。請改為使用將deferrable設定為True的airflow.providers.dbt.cloud.sensors.dbt.DbtCloudJobRunSensor。從
DbtCloudJobRunSensor中移除了polling_interval引數。請改為使用poke_interval。
Remove Provider Deprecations in DBT (#44638)
雜項¶
Bump minimum Airflow version in providers to Airflow 2.9.0 (#44956)Fix yoda-conditions (#44466)utilize more information to deterministically generate OpenLineage run_id (#43936)Remove commented breakpoint in dbt provider (#44163)Rename execution_date to logical_date across codebase (#43902)
3.11.2¶
Bug 修復¶
Added condition to check if it is a scheduled save or rerun (#43453)
3.11.1¶
雜項¶
Set lower bound to asgiref>=2.3.0 (#43001)
3.11.0¶
特性¶
Add ability to provide proxy for dbt Cloud connection (#42737)
雜項¶
Simplify code for recent dbt provider change (#42840)
3.10.1¶
雜項¶
remove deprecated soft_fail from providers (#41710)
3.10.0¶
注意
此提供程式版本僅適用於 Airflow 2.8+,如 Apache Airflow 提供程式支援策略 中所述。
雜項¶
Bump minimum Airflow version in providers to Airflow 2.8.0 (#41396)
3.9.0¶
特性¶
Add 'retry_from_failure' parameter to DbtCloudRunJobOperator (#38868)
Bug 修復¶
Fix 'DbtCloudRunJobOperator' to Use Correct Status Parameters for 'reuse_existing_run' (#40048)
3.8.1¶
警告
僅當您執行 Airflow >= 2.10.0 時,才需要對此注意事項採取行動。在 Airflow 2.10.0 中,我們修復了 try_number 的工作方式,使其不再根據任務例項狀態返回不同的值。重要的是,任務完成後,它不再顯示 current_try + 1。因此,我們修補了此提供程式以修復 try_number 引用,使其不再針對舊的、不良行為進行調整。
Bug 修復¶
Scheduler to handle incrementing of try_number (#39336)Validate dbt 'cause' field to be less than 255 characters (#38896)
雜項¶
Faster 'airflow_version' imports (#39552)Simplify 'airflow_version' imports (#39497)Add (optional) dependency between dbt-cloud and openlineage providers (#39366)
3.8.0¶
注意
此提供程式版本僅適用於 Airflow 2.7+,如 Apache Airflow 提供程式支援策略 中所述。
Bug 修復¶
fix(dbt): fix wrong payload set when reuse_existing_run set to True in DbtCloudRunJobOperator (#39271)
雜項¶
Bump minimum Airflow version in providers to Airflow 2.7.0 (#39240)migrate to dbt v3 api for project endpoints (#39214)
3.7.1¶
Bug 修復¶
fix: disabled_for_operators now stops whole event emission (#38033)fix(dbt): add return statement to yield within a while loop in triggers (#38395)
3.7.0¶
特性¶
feat(providers/dbt): add reuse_existing_run for allowing DbtCloudRunJobOperator to reuse existing run (#37474)
3.6.1¶
雜項¶
Bump aiohttp min version to avoid CVE-2024-23829 and CVE-2024-23334 (#37110)feat: Switch all class, functions, methods deprecations to decorators (#36876)
3.6.0¶
特性¶
feat: Add dag_id when generating OpenLineage run_id for task instance. (#36659)
Bug 修復¶
Fix stacklevel in warnings.warn into the providers (#36831)
3.5.1¶
Bug 修復¶
Follow BaseHook connection fields method signature in child classes (#36086)
3.5.0¶
注意
此提供程式版本僅適用於 Airflow 2.6+,如 Apache Airflow 提供程式支援策略 中所述。
雜項¶
Bump minimum Airflow version in providers to Airflow 2.6.0 (#36017)
3.4.1¶
Bug 修復¶
added cancelled handling in DbtCloudRunJobOperator deferred (#35597)
3.4.0¶
注意
此提供程式版本僅適用於 Airflow 2.5+,如 Apache Airflow 提供程式支援策略 中所述。
雜項¶
Bump min airflow version of providers (#34728)Remove useless print from dbt operator (#34322)
3.3.0¶
特性¶
Add OpenLineage support for DBT Cloud. (#33959)
Bug 修復¶
fix(providers/redis): respect soft_fail argument when exception is raised (#34164)dbt, openlineage: set run_id after defer, do not log error if operator has no run_id set (#34270)
雜項¶
Remove some useless try/except from providers code (#33967)Use a single statement with multiple contexts instead of nested statements in providers (#33768)
3.2.3¶
雜項¶
Refactor: Remove useless str() calls (#33629)Refactor: Simplify code in smaller providers (#33234)
3.2.2¶
雜項¶
Add default_deferrable config (#31712)
3.2.1¶
注意
此版本放棄了對 Python 3.7 的支援
雜項¶
Remove Python 3.7 support (#30963)
3.2.0¶
注意
此提供程式版本僅適用於 Airflow 2.4+,如 Apache Airflow 提供程式支援策略 中所述。
雜項¶
Bump minimum Airflow version in providers (#30917)Optimize deferred execution mode in DbtCloudJobRunSensor (#30968)Optimize deferred execution mode for DbtCloudRunJobOperator (#31188)
3.1.1¶
雜項¶
Merge DbtCloudJobRunAsyncSensor logic to DbtCloudJobRunSensor (#30227)Move typing imports behind TYPE_CHECKING in DbtCloudHook (#29989)
3.1.0¶
特性¶
Add 'DbtCloudJobRunAsyncSensor' (#29695)
3.0.0¶
重大變更¶
從 2.0.0 版本開始,使用者可以透過 Airflow 連線中的 schema 引數指定單租戶 dbt Cloud 域。隨後在 2.3.1 版本中,使用者還可以透過使用 Airflow 連線的 host 引數指定整個租戶域來連線美國區域以外的 dbt Cloud 例項以及私有例項。保留了使用 schema 的向後相容性。3.0.0 版本移除了對使用 schema 指定 dbt Cloud 例項租戶域的支援。如果您希望連線到單租戶例項、美國以外區域的例項或私有例項,您必須使用 host 引數在 Airflow 連線中指定_整個_租戶域名。
Drop Connection.schema use in DbtCloudHook (#29166)
特性¶
Allow downloading of dbt Cloud artifacts to non-existent paths (#29048)Add deferrable mode to 'DbtCloudRunJobOperator' (#29014)
雜項¶
Provide more context for 'trigger_reason' in DbtCloudRunJobOperator (#28994)
2.3.1¶
Bug 修復¶
Use entire tenant domain name in dbt Cloud connection (#28890)
2.3.0¶
注意
此提供程式版本僅適用於 Airflow 2.3+,如 Apache Airflow 提供程式支援策略 中所述。
雜項¶
Move min airflow version to 2.3.0 for all providers (#27196)
2.2.0¶
特性¶
Add 'DbtCloudListJobsOperator' (#26475)
2.1.0¶
特性¶
Improve taskflow type hints with ParamSpec (#25173)
2.0.1¶
Bug 修復¶
Update providers to use functools compat for ''cached_property'' (#24582)
2.0.0¶
重大變更¶
注意
此提供程式版本僅適用於 Airflow 2.2+,如 Apache Airflow 提供程式支援策略 中所述。
特性¶
Enable dbt Cloud provider to interact with single tenant instances (#24264)
Bug 修復¶
Fix typo in dbt Cloud provider description (#23179)Fix new MyPy errors in main (#22884)
1.0.2¶
Bug 修復¶
Fix mistakenly added install_requires for all providers (#22382)
1.0.1¶
此提供程式的初始版本。