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

提供程式的初始版本。

此條目是否有幫助?