-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] Remove deprecation in slack-notifier #41298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
jschaedl
commented
May 19, 2021
Q | A |
---|---|
Branch? | 6.0 |
Bug fix? | no |
New feature? | no |
Deprecations? | no |
Tickets | - |
License | MIT |
Doc PR | - |
93d20c5
to
3566574
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should also remove this code
symfony/src/Symfony/Component/Notifier/Bridge/Slack/SlackTransportFactory.php
Lines 34 to 36 in a2c8e84
if ('/' !== $dsn->getPath() && null !== $dsn->getPath()) { | |
throw new IncompleteDsnException('Support for Slack webhook DSN has been dropped since 5.2 (maybe you haven\'t updated the DSN when upgrading from 5.1).'); | |
} |
I think that make sense. This is missing an entry in the changelog of 5.2 too. Shall I add that entry in a separate PR against 5.2? |
190b4b7
to
4bf9461
Compare
I checked it again. It's probably this entry: https://github.com/symfony/symfony/blame/4bf9461d9b0d2ee6840f4e3873542f8b54a5f8f4/src/Symfony/Component/Notifier/Bridge/Slack/CHANGELOG.md#L21 |
9bb67b0
to
bb4e119
Compare
This PR was merged into the 5.2 branch. Discussion ---------- [Notifier] Add missing deprecation entry | Q | A | ------------- | --- | Branch? | 5.2 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | <!-- required for new features --> follow-up on #41298 Commits ------- 257d9ba Add missing deprecation entry
6.0 | ||
--- | ||
|
||
* Remove `SlackOptions::channel()`, use `SlackOptions::recipient()` instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no final dot please
3abdf63
to
1c7d5b9
Compare
Thank you @jschaedl. |
This PR was merged into the 6.0 branch. Discussion ---------- [Mime] Remove symfony/deprecation-contracts | Q | A | ------------- | --- | Branch? | 6.0 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | - <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | - <!-- required for new features --> As commented here #41298 (comment) I removed `symfony/deprecation-contracts` as follow-up on #41364 If the removal of `symfony/deprecation-contracts` is not important, I am happy to close this PR. Commits ------- 4a52a9b Remove symfony/deprecation-contracts