File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -145,29 +145,26 @@ GoogleChat ``symfony/google-chat-notifier`` ``googlechat://ACCESS_KEY:ACCESS_T
145
145
LinkedIn ``symfony/linked-in-notifier `` ``linkedin://TOKEN:USER_ID@default ``
146
146
Mattermost ``symfony/mattermost-notifier `` ``mattermost://TOKEN@ENDPOINT?channel=CHANNEL ``
147
147
RocketChat ``symfony/rocket-chat-notifier `` ``rocketchat://TOKEN@ENDPOINT?channel=CHANNEL ``
148
- Slack ``symfony/slack-notifier `` ``slack://default/ID ``
148
+ Slack ``symfony/slack-notifier `` ``slack://TOKEN@ default?channel=CHANNEL ``
149
149
Telegram ``symfony/telegram-notifier `` ``telegram://TOKEN@default?channel=CHAT_ID ``
150
150
Zulip ``symfony/zulip-notifier `` ``zulip://EMAIL:APIKEY@ENDPOINT?channel=CHANNEL ``
151
151
========== ================================ ===========================================================================
152
152
153
153
.. versionadded :: 5.1
154
154
155
- The Mattermost and RocketChat integrations were introduced in Symfony
156
- 5.1. The Slack DSN changed in Symfony 5.1 to use Slack Incoming
157
- Webhooks instead of legacy tokens.
155
+ The Mattermost and RocketChat integrations were introduced in Symfony 5.1.
158
156
159
157
.. versionadded :: 5.2
160
158
161
159
The GoogleChat, LinkedIn, Zulip and Discord integrations were introduced in Symfony 5.2.
160
+ The Slack DSN changed in Symfony 5.2 to use Slack Web API again same as in 5.0.
162
161
163
162
Chatters are configured using the ``chatter_transports `` setting:
164
163
165
164
.. code-block :: bash
166
165
167
166
# .env
168
- SLACK_DSN=slack://default/ID
169
- # If your slack webhook looks like "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX" then use:
170
- SLACK_DSN=slack://default/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXX
167
+ SLACK_DSN=slack://TOKEN@default? channel=CHANNEL
171
168
172
169
.. configuration-block ::
173
170
You can’t perform that action at this time.
0 commit comments