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 设置为 Trueairflow.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

此提供程序的初始版本。

此条目有帮助吗?