Skip to main content

Provider for Apache Airflow. Implements apache-airflow-providers-slack package

Project description

Package apache-airflow-providers-slack

Release: 7.2.0

Slack

Provider package

This is a provider package for slack provider. All classes for this provider package are in airflow.providers.slack python package.

You can find package information and changelog for the provider in the documentation.

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

The package supports the following python versions: 3.7,3.8,3.9,3.10

Requirements

PIP package

Version required

apache-airflow

>=2.3.0

apache-airflow-providers-common-sql

>=1.3.1

slack_sdk

>=3.0.0

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

apache-airflow-providers-common-sql

common.sql

Changelog

7.2.0

Features

  • Add general-purpose "notifier" concept to DAGs (#28569)

7.1.1

Misc

  • [misc] Replace XOR '^' conditions by 'exactly_one' helper in providers (#27858)

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 and foo 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 from HttpHook 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 in slack-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

4.2.3

Bug Fixes

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

4.2.2

Misc

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

4.2.1

Misc

  • Support for Python 3.10

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.1.0

Features

  • Restore filename to template_fields (#18466)

Bug Fixes

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)

Bug Fixes

  • Fix hooks extended from http hook (#16109)

3.0.0

Breaking changes

  • Don't allow SlackHook.call method accept *args (#14289)

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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apache-airflow-providers-slack-7.2.0.tar.gz (30.9 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page