apache-airflow-providers-slack
¶
Provider package¶
This is a provider package for slack
provider. All classes for this provider package
are in airflow.providers.slack
python package.
Installation¶
You can install this package on top of an existing Airflow 2 installation (see Requirements
below)
for the minimum Airflow version supported) via
pip install apache-airflow-providers-slack
Requirements¶
PIP package |
Version required |
---|---|
|
|
|
|
|
|
Cross provider package dependencies¶
Those are dependencies that might be needed in order to use all the features of the package. You need to install the specified provider packages in order to use them.
You can install such cross-provider dependencies when installing from PyPI. For example:
pip install apache-airflow-providers-slack[common.sql]
Dependent package |
Extra |
---|---|
|
Downloading official packages¶
You can download officially released packages and verify their checksums and signatures from the Official Apache Download site
The apache-airflow-providers-slack 7.2.0 sdist package (asc, sha512)
The apache-airflow-providers-slack 7.2.0 wheel package (asc, sha512)
Changelog¶
7.1.0¶
Features¶
Implements SqlToSlackApiFileOperator (#26374)
Bug Fixes¶
Bump common.sql provider to 1.3.1 (#27888)
7.0.0¶
This release of provider is only available for Airflow 2.3+ as explained in the Apache Airflow providers support policy.
Breaking changes¶
In SlackHook and SlackWebhookHook, if both
extra__<conn type>__foo
andfoo
existed in connection extra dict, the prefixed version would be used; now, the non-prefixed version will be preferred. You’ll see a warning if there is such a collision.
Misc¶
Move min airflow version to 2.3.0 for all providers (#27196)
Allow and prefer non-prefixed extra fields for slack hooks (#27070)
6.0.0¶
Breaking changes¶
The hook class
SlackWebhookHook
does not inherit fromHttpHook
anymore. In practice the only impact on user-defined classes based on SlackWebhookHook and you use attributes from HttpHook.Drop support deprecated
webhook_token
parameter inslack-incoming-webhook
extra.Refactor 'SlackWebhookOperator': Get rid of mandatory http-provider dependency (#26648)
Refactor SlackWebhookHook in order to use 'slack_sdk' instead of HttpHook methods (#26452)
Features¶
Move send_file method into SlackHook (#26118)
Refactor Slack API Hook and add Connection (#25852)
Remove unsafe imports in Slack API Connection (#26459)
Add common-sql lower bound for common-sql (#25789)
Fix Slack Connections created in the UI (#26845)
5.1.0¶
Features¶
Move all SQL classes to common-sql provider (#24836)
Adding generic 'SqlToSlackOperator' (#24663)
5.0.0¶
Breaking changes¶
This release of provider is only available for Airflow 2.2+ as explained in the Apache Airflow providers support policy https://github.com/apache/airflow/blob/main/README.md#support-for-providers
4.2.0¶
Features¶
Return slack api call response in slack_hook (#21107)
Bug Fixes¶
Fix template_fields type to have MyPy friendly Sequence type (#20571)
4.0.1¶
Misc¶
Optimise connection importing for Airflow 2.2.0
Bug Fixes¶
Fixed SlackAPIFileOperator to upload file and file content. (#17400)
Fixed SlackAPIFileOperator to upload file and file content (#17247)
4.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.
Bug Fixes¶
Fix hooks extended from http hook (#16109)
2.0.0¶
Breaking changes¶
We updated the support for slack_sdk
from >=2.0.0,<3.0.0
to >=3.0.0,<4.0.0
. In most cases,
this doesn’t mean any breaking changes to the DAG files, but if you used this library directly
then you have to make the changes. For details, see
the Migration Guide
for Python Slack SDK.
Upgrade slack_sdk to v3 (#13745)
1.0.0¶
Initial version of the provider.