apache-airflow-providers-sftp

Changelog

5.0.0

Note

This release of provider is only available for Airflow 2.9+ as explained in the Apache Airflow providers support policy.

Breaking changes

Warning

All deprecated classes, parameters and features have been removed from the sftp provider package. The following breaking changes were introduced:

  • Removed deprecated ssh_hook parameter from SFTPOperator. Use sftp_hook instead.

  • Removed deprecated ssh_hook parameter from SFTPHook.

  • Removed deprecated ftp_conn_id parameter from SFTPHook. Use ssh_conn_id instead.

  • Remove deprecations from SFTP Provider (#44740)

Features

  • feat: retrieve sftp file attrs onces instead multiple time (#44625)

  • Add host_proxy_cmd parameter to SSHHook and SFTPHook (#44565)

Misc

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

4.11.1

Misc

  • remove deprecated soft_fail from providers (#41710)

4.11.0

Note

This release of provider is only available for Airflow 2.8+ as explained in the Apache Airflow providers support policy.

Misc

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

4.10.3

Misc

  • openlineage: migrate OpenLineage provider to V2 facets. (#39530)

4.10.2

Bug Fixes

  • Fix resource management in SFTPSensor (#40022)

Misc

  • implement per-provider tests with lowest-direct dependency resolution (#39946)

4.10.1

Bug Fixes

  • Fix SFTPSensor.newer_than not working with jinja logical ds/ts expression (#39056)

Misc

  • Faster 'airflow_version' imports (#39552)

  • Simplify 'airflow_version' imports (#39497)

4.10.0

Note

This release of provider is only available for Airflow 2.7+ as explained in the Apache Airflow providers support policy.

Misc

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

4.9.1

Bug Fixes

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

  • Close open connections for deferrable SFTPSensor (#38881)

4.9.0

Features

  • Add deferrable param in SFTPSensor (#37117)

4.8.1

Bug Fixes

  • change warnning message (#36148)

  • Follow BaseHook connection fields method signature in child classes (#36086)

Misc

  • Add code snippet formatting in docstrings via Ruff (#36262)

4.8.0

Note

This release of provider is only available for Airflow 2.6+ as explained in the Apache Airflow providers support policy.

Misc

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

4.7.0

Note

This release of provider is only available for Airflow 2.5+ as explained in the Apache Airflow providers support policy.

Misc

  • Bump min airflow version of providers (#34728)

4.6.1

Bug Fixes

  • fix(providers/sftp): respect soft_fail argument when exception is raised (#34169)

Misc

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

4.6.0

Features

  • Add parameter sftp_prefetch to SFTPToGCSOperator (#33274)

Misc

  • Refactor: Remove useless str() calls (#33629)

4.5.0

Features

  • openlineage, sftp: add OpenLineage support for sftp provider (#31360)

4.4.0

Features

  • Adds sftp_sensor decorator (#32457)

4.3.1

Note

This release dropped support for Python 3.7

Misc

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

4.3.0

Note

This release of provider is only available for Airflow 2.4+ as explained in the Apache Airflow providers support policy.

Misc

  • Bump minimum Airflow version in providers (#30917)

4.2.4

Bug Fixes

  • Fix SFTPSensor when using newer_than and there are multiple matched files (#29794)

4.2.3

Bug Fixes

  • Fix sftp sensor with pattern (#29467)

4.2.2

Bug Fixes

  • Fix SFTP operator's template fields processing (#29068)

  • FTP operator has logic in __init__ (#29073)

4.2.1

Misc

  • Update codespell and fix typos (#28568)

  • [misc] Get rid of 'pass' statement in conditions (#27775)

4.2.0

Note

This release of provider is only available for Airflow 2.3+ as explained in the Apache Airflow providers support policy.

Misc

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

Bug Fixes

  • SFTP Provider: Fix default folder permissions  (#26593)

4.1.0

Features

  • SFTPOperator - add support for list of file paths (#26666)

4.0.0

Breaking changes

  • Convert sftp hook to use paramiko instead of pysftp (#24512)

Features

  • Update 'actual_file_to_check' with rendered 'path' (#24451)

3.0.0

Breaking changes

Note

This release of provider is only available for Airflow 2.2+ as explained in the Apache Airflow providers support policy.

Features

  • Adding fnmatch type regex to SFTPSensor (#24084)

2.6.0

Features

  • add newer_than parameter to SFTP sensor (#21655) (#22377)

2.5.2

Bug Fixes

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

2.5.1

Misc

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

2.5.0

Features

  • Updates FTPHook provider to have test_connection (#21997)

Misc

  • Support for Python 3.10

  • Add optional features in providers. (#21074)

2.4.1

Bug Fixes

  • Bugfix: ''SFTPHook'' does not respect ''ssh_conn_id'' arg (#20756)

  • fix deprecation messages for SFTPHook (#20692)

2.4.0 (YANKED)

Warning

This release has been yanked with a reason: Breaking change found with ssh_conn_id

Features

  • Making SFTPHook's constructor consistent with its superclass SSHHook (#20164)

2.3.0

Features

  • Add test_connection method for sftp hook (#19609)

2.2.0

Features

  • SFTP hook to prefer the SSH paramiko key over the key file path (#18988)

2.1.1

Misc

  • Optimise connection importing for Airflow 2.2.0

2.1.0

Features

  • Add support for non-RSA type key for SFTP hook (#16314)

2.0.0

Breaking changes

  • Auto-apply apply_default decorator (#15667)

Warning

Due to apply_default decorator removal, this version of the provider requires Airflow 2.1.0+. If your Airflow version is < 2.1.0, and you want to install this provider version, first upgrade Airflow to at least version 2.1.0. Otherwise your Airflow package version will be upgraded automatically and you will have to manually run airflow upgrade db to complete the migration.

Features

  • Depreciate private_key_pass in SFTPHook conn extra and rename to private_key_passphrase (#14028)

1.2.0

Features

  • Undeprecate private_key option in SFTPHook (#15348)

  • Add logs to show last modified in SFTP, FTP and Filesystem sensor (#15134)

1.1.1

Features

  • SFTPHook private_key_pass extra param is deprecated and renamed to private_key_passphrase, for consistency with arguments' naming in SSHHook

Bug fixes

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

1.1.0

Updated documentation and readme files.

Features

  • Add retryer to SFTP hook connection (#13065)

1.0.0

Initial version of the provider.

Was this entry helpful?