-
Notifications
You must be signed in to change notification settings - Fork 226
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
fix(deps): update module github.com/atc0005/go-teams-notify/v2 to v2.7.0 #488
fix(deps): update module github.com/atc0005/go-teams-notify/v2 to v2.7.0 #488
Conversation
f6ac149
to
900aedd
Compare
Codecov ReportPatch and project coverage have no change.
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## main #488 +/- ##
=======================================
Coverage 75.07% 75.07%
=======================================
Files 41 41
Lines 1376 1376
=======================================
Hits 1033 1033
Misses 251 251
Partials 92 92 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
3b4045d
to
26f4227
Compare
3393982
to
7eb0013
Compare
1a4e511
to
bcfc602
Compare
512beda
to
58cdf38
Compare
58cdf38
to
424142c
Compare
424142c
to
5116cfa
Compare
892ade1
to
73db619
Compare
4237688
to
0d73d95
Compare
b37a8dc
to
d7e6d39
Compare
Hi @nikoksr, Is this a reference to the following GH issue? I completely understand the desire to drop external dependencies, but wanted to touch base to make sure I hadn't missed something else. Thanks in advance. |
5999f0e
to
ccf0aa0
Compare
ccf0aa0
to
87fa4c0
Compare
@atc0005 thanks for reaching out! Yes, exactly, in particular the following paragraph of yours from the description of atc0005/go-teams-notify/issues/149 captures what broke testabilty of the Teams service for us:
The fact that I hope this helps! Cheers |
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update (v2.7.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
I think I understand. It's not that recent releases have breaking changes (including the v2.7.0 update), it's that breaking changes occurred at all. I understand that you've already made the decision to move away from using the library, so I don't provide this information in an attempt to sway you, but I wanted to make sure that the changes applied and my notes surrounding them were not misleading.
Once I realized that introducing those changes to the exported I then reviewed the codebase and opted to retain things as they were to prevent breakage, but introduce new features via
That might be a spot I missed marking as deprecated. I'll have to review it closer to be sure. That type is returned by deprecated code and is part of the original implementation. The The paragraph you quoted was very much me "thinking out loud" as it were in an attempt to state the problem as I understood it to help frame next steps for resolving it in a backwards compatible way. I think I accomplished that and aside from the deprecation warnings generated by linters it seems to have worked.
I pulled the latest from the If any breakage remains please let me know as I consider that bug that needs to be resolved. I do see the deprecation warnings that I noted: $ staticcheck ./... | grep -i teams
service/msteams/mock_teams_client.go:18:99: goteamsnotify.MessageCard is deprecated: use messagecard.MessageCard instead. (SA1019)
service/msteams/mock_teams_client.go:22:57: goteamsnotify.MessageCard is deprecated: use messagecard.MessageCard instead. (SA1019)
service/msteams/ms_teams.go:12:73: teams.MessageCard is deprecated: use messagecard.MessageCard instead. (SA1019)
service/msteams/ms_teams.go:17:21: teams.NewClient is deprecated: use NewTeamsClient() function instead. (SA1019)
service/msteams/ms_teams.go:30:12: teams.NewClient is deprecated: use NewTeamsClient() function instead. (SA1019)
service/msteams/ms_teams.go:61:13: teams.NewMessageCard is deprecated: use messagecard.NewMessageCard instead. (SA1019)
service/msteams/ms_teams_test.go:56:13: teams.NewMessageCard is deprecated: use messagecard.NewMessageCard instead. (SA1019) If you were not moving away from the library I'd offer to submit a PR to correct those and also work with you to help identify and address any specific points of concern that you have with the library. Since you are, I'll refrain from doing that and instead wish you well. I'll continue to follow project releases and hope to use it in the future. Thank you for the kind response. |
This PR contains the following updates:
v2.6.1
->v2.7.0
Release Notes
atc0005/go-teams-notify
v2.7.0
Compare Source
Added
value
http.Client
Adaptive Card
message format support@ghokun
MessageCard
Changed
github.com/stretchr/testify
v1.7.0
tov1.8.1
Fixed
lintinstall
Makefile recipe./send_test.go:238:8: second argument to errors.As should not be *error
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.