apache-airflow-providers-sftp
更新日志¶
5.2.1¶
杂项¶
remove superfluous else block (#49199)
5.2.0¶
新特性¶
Implement concurrent directory transfer in SFTPOperator (#47533)
杂项¶
Make '@task' import from airflow.sdk (#48896)
5.1.2¶
Bug 修复¶
Checking modification timestamps only when newer_than parameter is present (#48063)
5.1.1¶
Bug 修复¶
Re-added close_conn connection on SFTPHook and get_conn should return SFTPClient instead of context managed connection (#47217)
杂项¶
Change get_conn to get_managed_conn in direcotry transfer (#47248)
Improve SFTP hook's directory transfer to use a single connection for multiple files (#46582)
Upgrade flit to 3.11.0 (#46938)
5.1.0¶
新特性¶
Add DELETE operation in SFTPOperator (#46233)
Also allow passing buffer instead of path for retrieve_file and store_file methods in SFTPHook (#44247)
Add directory transfer support for SFTPOperator (#44126)
Bug 修复¶
Make sure the SSHClient is also closed when using connection in context manager from SFTPHook (#46716)
杂项¶
AIP-72: Support better type-hinting for Context dict in SDK (#45583)
5.0.0¶
注意
提供程序此版本仅适用于 Airflow 2.9+,具体说明请参阅 Apache Airflow 提供程序支持政策。
重大变更¶
警告
所有已弃用的类、参数和功能已从 sftp 提供程序包中移除。引入了以下重大变更:
已从
SFTPOperator
中移除已弃用的参数ssh_hook
。请改用sftp_hook
。已从
SFTPHook
中移除已弃用的参数ssh_hook
。已从
SFTPHook
中移除已弃用的参数ftp_conn_id
。请改用ssh_conn_id
。
Remove deprecations from SFTP Provider (#44740)
新特性¶
feat: retrieve sftp file attrs once instead multiple time (#44625)
Add host_proxy_cmd parameter to SSHHook and SFTPHook (#44565)
杂项¶
Bump minimum Airflow version in providers to Airflow 2.9.0 (#44956)
4.11.1¶
杂项¶
remove deprecated soft_fail from providers (#41710)
4.11.0¶
注意
提供程序此版本仅适用于 Airflow 2.8+,具体说明请参阅 Apache Airflow 提供程序支持政策。
杂项¶
Bump minimum Airflow version in providers to Airflow 2.8.0 (#41396)
4.10.3¶
杂项¶
openlineage: migrate OpenLineage provider to V2 facets. (#39530)
4.10.2¶
Bug 修复¶
Fix resource management in SFTPSensor (#40022)
杂项¶
implement per-provider tests with lowest-direct dependency resolution (#39946)
4.10.1¶
Bug 修复¶
Fix SFTPSensor.newer_than not working with jinja logical ds/ts expression (#39056)
杂项¶
Faster 'airflow_version' imports (#39552)
Simplify 'airflow_version' imports (#39497)
4.10.0¶
注意
提供程序此版本仅适用于 Airflow 2.7+,具体说明请参阅 Apache Airflow 提供程序支持政策。
杂项¶
Bump minimum Airflow version in providers to Airflow 2.7.0 (#39240)
4.9.1¶
Bug 修复¶
fix(sftp): add return statement to yield within a while loop in triggers (#38391)
Close open connections for deferrable SFTPSensor (#38881)
4.9.0¶
新特性¶
Add deferrable param in SFTPSensor (#37117)
4.8.1¶
Bug 修复¶
change warning message (#36148)
Follow BaseHook connection fields method signature in child classes (#36086)
杂项¶
Add code snippet formatting in docstrings via Ruff (#36262)
4.8.0¶
注意
提供程序此版本仅适用于 Airflow 2.6+,具体说明请参阅 Apache Airflow 提供程序支持政策。
杂项¶
Bump minimum Airflow version in providers to Airflow 2.6.0 (#36017)
4.7.0¶
注意
提供程序此版本仅适用于 Airflow 2.5+,具体说明请参阅 Apache Airflow 提供程序支持政策。
杂项¶
Bump min airflow version of providers (#34728)
4.6.1¶
Bug 修复¶
fix(providers/sftp): respect soft_fail argument when exception is raised (#34169)
杂项¶
Improve modules import in Airflow providers by some of them into a type-checking block (#33754)
4.6.0¶
新特性¶
Add parameter sftp_prefetch to SFTPToGCSOperator (#33274)
杂项¶
Refactor: Remove useless str() calls (#33629)
4.5.0¶
新特性¶
openlineage, sftp: add OpenLineage support for sftp provider (#31360)
4.4.0¶
新特性¶
Adds sftp_sensor decorator (#32457)
4.3.1¶
注意
此版本取消了对 Python 3.7 的支持
杂项¶
Add note about dropping Python 3.7 for providers (#32015)
4.3.0¶
注意
提供程序此版本仅适用于 Airflow 2.4+,具体说明请参阅 Apache Airflow 提供程序支持政策。
杂项¶
Bump minimum Airflow version in providers (#30917)
4.2.4¶
Bug 修复¶
Fix SFTPSensor when using newer_than and there are multiple matched files (#29794)
4.2.3¶
Bug 修复¶
Fix sftp sensor with pattern (#29467)
4.2.2¶
Bug 修复¶
Fix SFTP operator's template fields processing (#29068)
FTP operator has logic in __init__ (#29073)
4.2.1¶
杂项¶
Update codespell and fix typos (#28568)
[misc] Get rid of 'pass' statement in conditions (#27775)
4.2.0¶
注意
提供程序此版本仅适用于 Airflow 2.3+,具体说明请参阅 Apache Airflow 提供程序支持政策。
杂项¶
Move min airflow version to 2.3.0 for all providers (#27196)
Bug 修复¶
SFTP Provider: Fix default folder permissions (#26593)
4.1.0¶
新特性¶
SFTPOperator - add support for list of file paths (#26666)
4.0.0¶
重大变更¶
Convert sftp hook to use paramiko instead of pysftp (#24512)
新特性¶
Update 'actual_file_to_check' with rendered 'path' (#24451)
3.0.0¶
重大变更¶
注意
提供程序此版本仅适用于 Airflow 2.2+,具体说明请参阅 Apache Airflow 提供程序支持政策。
新特性¶
Adding fnmatch type regex to SFTPSensor (#24084)
2.6.0¶
新特性¶
add newer_than parameter to SFTP sensor (#21655) (#22377)
2.5.2¶
Bug 修复¶
Fix mistakenly added install_requires for all providers (#22382)
2.5.1¶
杂项¶
Add Trove classifiers in PyPI (Framework :: Apache Airflow :: Provider)
2.5.0¶
新特性¶
Updates FTPHook provider to have test_connection (#21997)
杂项¶
Support for Python 3.10
Add optional features in providers. (#21074)
2.4.1¶
Bug 修复¶
Bugfix: ''SFTPHook'' does not respect ''ssh_conn_id'' arg (#20756)
fix deprecation messages for SFTPHook (#20692)
2.4.0 (已撤回)¶
警告
此版本已**撤回**,原因为:Breaking change found with ssh_conn_id
新特性¶
Making SFTPHook's constructor consistent with its superclass SSHHook (#20164)
2.3.0¶
新特性¶
Add test_connection method for sftp hook (#19609)
2.2.0¶
新特性¶
SFTP hook to prefer the SSH paramiko key over the key file path (#18988)
2.1.1¶
杂项¶
Optimise connection importing for Airflow 2.2.0
2.1.0¶
新特性¶
Add support for non-RSA type key for SFTP hook (#16314)
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
来完成迁移。
新特性¶
Depreciate private_key_pass in SFTPHook conn extra and rename to private_key_passphrase (#14028)
1.2.0¶
新特性¶
Undeprecate private_key option in SFTPHook (#15348)
Add logs to show last modified in SFTP, FTP and Filesystem sensor (#15134)
1.1.1¶
新特性¶
SFTPHook 的
private_key_pass
额外参数已弃用,并重命名为private_key_passphrase
,以便与 SSHHook 中的参数命名保持一致
Bug 修复¶
Corrections in docs and tools after releasing provider RCs (#14082)
1.1.0¶
更新了文档和 readme 文件。
新特性¶
Add retryer to SFTP hook connection (#13065)
1.0.0¶
提供程序的初始版本。