Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:6.0fromjschaedl:notifier-deprecations
May 23, 2021

Conversation

@jschaedl
Copy link
Contributor

QA
Branch?6.0
Bug fix?no
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

Copy link
Member

@jderussejderusse left a 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

if ('/' !==$dsn->getPath() &&null !==$dsn->getPath()) {
thrownewIncompleteDsnException('Support for Slack webhook DSN has been dropped since 5.2 (maybe you haven\'t updated the DSN when upgrading from 5.1).');
}

derrabus and jschaedl reacted with thumbs up emoji
@jschaedl
Copy link
ContributorAuthor

I wonder if we should also remove this code

if ('/' !==$dsn->getPath() &&null !==$dsn->getPath()) {
thrownewIncompleteDsnException('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?

@jschaedljschaedlforce-pushed thenotifier-deprecations branch from190b4b7 to4bf9461CompareMay 20, 2021 05:56
@jschaedl
Copy link
ContributorAuthor

I wonder if we should also remove this code

if ('/' !==$dsn->getPath() &&null !==$dsn->getPath()) {
thrownewIncompleteDsnException('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?

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

@jschaedljschaedlforce-pushed thenotifier-deprecations branch from9bb67b0 tobb4e119CompareMay 20, 2021 19:22
nicolas-grekas added a commit that referenced this pull requestMay 21, 2021
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#41298Commits-------257d9ba Add missing deprecation entry
6.0
---

* Remove`SlackOptions::channel()`, use`SlackOptions::recipient()` instead.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

no final dot please

jschaedl reacted with thumbs up emoji
@nicolas-grekas
Copy link
Member

Thank you@jschaedl.

jschaedl reacted with hooray emoji

@nicolas-grekasnicolas-grekas merged commit5344dc2 intosymfony:6.0May 23, 2021
derrabus added a commit that referenced this pull requestMay 23, 2021
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#41364If the removal of `symfony/deprecation-contracts` is not important, I am happy to close this PR.Commits-------4a52a9b Remove symfony/deprecation-contracts
@fabpotfabpot mentioned this pull requestNov 5, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@jderussejderussejderusse left review comments

@derrabusderrabusderrabus requested changes

@OskarStarkOskarStarkOskarStark approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.0

Development

Successfully merging this pull request may close these issues.

6 participants

@jschaedl@nicolas-grekas@jderusse@OskarStark@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp