1.0
Upgrading and Migrating Slack Connector to Version 2.x - Mule 4
Upgrade Anypoint Connector for Slack (Slack Connector) to version 2.x.
Changes in This Release
This release contains the following changes:
-
This connector no longer has the Upload File operation because the Slack
files.upload
API method is deprecated. For more information, refer to the Slack API documentation. -
To upload files, this connector now includes the new Get upload url and Complete Upload External operations.
For more information about the operations, refer to Get Upload URL and Complete Upload External.
For examples about how to use these operations, refer to Upload a File to a Slack Channel (Using File Path) and Upload File Text Content to a Slack Channel.
-
In the Slack Connector configuration window, the TLS tab is renamed to the Security tab.
Upgrade Prerequisites
Before you perform the upgrade, create a backup of your files, data, and configurations in case you need to restore to them.
Upgrade Steps
Follow these steps to perform the upgrade:
-
In Anypoint Studio, create a Mule project.
-
In Mule Palette, click Search in Exchange.
-
In Add Dependencies to Project, enter
slack
in the search field. -
In Available modules, select Slack and click Add.
-
Click Finish.
-
Verify that the Slack Connector dependency version is 2.x in the
pom.xml
file in the Mule project.
Studio upgrades the connector automatically.