apache-airflow-providers-http

变更日志

5.2.2

Bug 修复

  • HttpHook: allways add port if given (#48573)

其他

  • remove superfluous else block (#49199)

5.2.1

Bug 修复

  • Fix HttpSensor to enable returning xcom value (#46848)

其他

  • Upgrade flit to 3.11.0 (#46938)

5.2.0

注意

此版本无代码更改。发布此版本是由于上一个版本因打包问题被撤回。

5.1.0

新特性

  • Deferrable support for HttpOperator (#45228)

  • Allow check_response to be defined in extra_options of HTTP connection (#45451)

其他

  • AIP-72: Support better type-hinting for Context dict in SDK  (#45583)

5.0.0

注意

根据 Apache Airflow 提供者支持策略 的说明,此提供者版本仅适用于 Airflow 2.9+。

重大变更

警告

所有已弃用的类、参数和功能已从 HTTP 提供者包中移除。引入了以下重大更改:

  • Operator
    • 移除 airflow.providers.http.operators.http.SimpleHttpOperator。请改用 airflow.providers.http.operators.http.HttpOperator

  • Remove Provider Deprecations in HTTP (#44542)

新特性

  • [Providers/HTTP] Add adapter parameter to HttpHook to allow custom requests adapters (#44302)

其他

  • Bump minimum Airflow version in providers to Airflow 2.9.0 (#44956)

  • Update DAG example links in multiple providers documents (#44034)

  • Rename execution_date to logical_date across codebase (#43902)

  • Bump aiohttp to 3.11.1 (#44036)

4.13.3

Bug 修复

  • Fix(http) bug, pass request_kwargs to HttpHooK.run (#43459)

其他

  • Limit temporarily aiohttp to < 3.11.0 (#44006)

4.13.2

Bug 修复

  • fix: HttpSensorTrigger to include 'method' when serializing (#42925)

  • Use url_from_endpoint inside HttpHook. (#42785)

其他

  • add lowerbount to requests-toolbelt and replace requests_toolbelt with requests-toolbelt (#43020)

  • Set lower bound to asgiref>=2.3.0 (#43001)

4.13.1

其他

  • remove deprecated soft_fail from providers (#41727)

4.13.0

注意

根据 Apache Airflow 提供者支持策略 的说明,此提供者版本仅适用于 Airflow 2.8+。

其他

  • Bump minimum Airflow version in providers to Airflow 2.8.0 (#41396)

4.12.0

新特性

  • Add 'retry_args' parameter to 'HttpOperator' (#40086)

4.11.1

其他

  • Faster 'airflow_version' imports (#39552)

  • Simplify 'airflow_version' imports (#39497)

4.11.0

注意

根据 Apache Airflow 提供者支持策略 的说明,此提供者版本仅适用于 Airflow 2.7+。

新特性

  • Allow trust env parameter to be defined in extra options of HTTP Connection (#39161)

其他

  • Bump minimum Airflow version in providers to Airflow 2.7.0 (#39240)

4.10.1

Bug 修复

  • fix(http): add return statement to yield within a while loop in triggers (#38392)

  • Consolidate HttpOperator http request between sync and async mode (#37293)

4.10.0

新特性

  • Change the URL building in HttpHookAsync to match the behavior of HttpHook (#37696)

其他

  • Return back removed public HttpHook's method (#37738)

4.9.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)

  • Get rid of pytest-httpx as dependency (#37334)

4.9.0

新特性

  • Allow default requests parameters like proxy to be defined in extra options field of a Airflow HTTP Connection (#36733)

  • Add deferrable implementation in HTTPSensor (#36904)

Bug 修复

  • Fix stacklevel in warnings.warn into the providers (#36831)

4.8.0

注意

根据 Apache Airflow 提供者支持策略 的说明,此提供者版本仅适用于 Airflow 2.6+。

Bug 修复

  • Fix HttpOperator pagination with 'str' data (#35782)

其他

  • Bump minimum Airflow version in providers to Airflow 2.6.0 (#36017)

4.7.0

新特性

  • Add pagination to 'HttpOperator' and make it more modular (#34669)

Bug 修复

  • Fix json data for async PUTs (#35405)

  • Fix: Paginate on latest Response (#35560)

4.6.0

注意

根据 Apache Airflow 提供者支持策略 的说明,此提供者版本仅适用于 Airflow 2.5+。

Bug 修复

  • fix(providers/http): respect soft_fail argument when exception is raised (#34391)

其他

  • Bump min airflow version of providers (#34728)

4.5.2

其他

  • Improve modules import in Airflow providers by some of them into a type-checking block (#33754)

  • Convert hard-coded allowlist error code to be argument of HttpSensor (#33717)

4.5.1

其他

  • Refactor: Simplify code in smaller providers (#33234)

4.5.0

新特性

  • Add deferrable mode to SimpleHttpOperator (#32448)

Bug 修复

  • Fix headers passed into HttpAsyncHook (#32409)

4.4.2

注意

此版本放弃了对 Python 3.7 的支持

其他

  • Add note about dropping Python 3.7 for providers (#32015)

4.4.1

其他

  • Bring back min-airflow-version for preinstalled providers (#31469)

4.4.0 (撤回)

警告

此版本已根据以下原因被 撤回This version might cause unconstrained installation of old airflow version lead to Runtime Error.

注意

根据 Apache Airflow 提供者支持策略 的说明,此提供者版本仅适用于 Airflow 2.4+。

4.3.0

新特性

  • Add non login-password auth support for SimpleHttpOpeator (#29206)

4.2.0

新特性

  • Add HttpHookAsync for deferrable implementation (#29038)

4.1.1

其他

  • Change logging for HttpHook to debug (#28911)

4.1.0

注意

根据 Apache Airflow 提供者支持策略 的说明,此提供者版本仅适用于 Airflow 2.3+。

其他

  • Move min airflow version to 2.3.0 for all providers (#27196)

4.0.0

重大变更

SimpleHTTPOperator、HttpSensor 和 HttpHook 现在默认使用 TCP_KEEPALIVE。你可以通过将 tcp_keep_alive 设置为 False 来禁用它,并且可以通过添加到 Hook、Operator 和 Sensor 构造函数中的新参数 tcp_keep_alive_* 来控制 keepalive 参数。设置 TCP_KEEPALIVE 可以防止某些防火墙通过定期发送空 TCP 数据包来关闭长时间不活动的长连接。这对网络流量的影响非常小,并且可能防止空闲/挂起的连接被防火墙自动关闭。

  • Add TCP_KEEPALIVE option to http provider (#24967)

3.0.0

重大变更

注意

根据 Apache Airflow 提供者支持策略 的说明,此提供者版本仅适用于 Airflow 2.2+。

2.1.2

Bug 修复

  • Fix mistakenly added install_requires for all providers (#22382)

2.1.1

其他

  • Add Trove classifiers in PyPI (Framework :: Apache Airflow :: Provider)

2.1.0

新特性

  • Add 'method' to attributes in HttpSensor. (#21831)

其他

  • Support for Python 3.10

2.0.3

其他

  • Split out confusing path combination logic to separate method (#21247)

2.0.2

Bug 修复

  • Un-ignore DeprecationWarning (#20322)

2.0.1

其他

  • Optimise connection importing for Airflow 2.2.0

  • Remove airflow dependency from http provider

2.0.0

重大变更

  • Auto-apply apply_default decorator (#15667)

警告

由于移除了 apply_default 装饰器,此版本的提供者需要 Airflow 2.1.0+。如果你的 Airflow 版本低于 2.1.0,并且想要安装此提供者版本,请先将 Airflow 升级到至少 2.1.0 版本。否则,你的 Airflow 包版本将自动升级,你将不得不手动运行 airflow upgrade db 来完成迁移。

新特性

  • Update 'SimpleHttpOperator' to take auth object (#15605)

  • HttpHook: Use request factory and respect defaults (#14701)

1.1.1

Bug 修复

  • Corrections in docs and tools after releasing provider RCs (#14082)

1.1.0

更新了文档和 readme 文件。

新特性

  • Add a new argument for HttpSensor to accept a list of http status code

1.0.0

提供者的初始版本。

此条目有帮助吗?