-
Notifications
You must be signed in to change notification settings - Fork 13k
chore: adds deprecation warning on sendFileLivechatMessage
#37235
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
|
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: a5459c3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 42 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughAdds a deprecation warning to the Meteor method sendFileLivechatMessage by invoking methodDeprecationLogger with target version 8.0.0 and suggested REST alternative /v1/livechat/upload/:rid. Also introduces a patch changeset entry documenting this deprecation. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant C as Client
participant M as Meteor Method: sendFileLivechatMessage
participant D as methodDeprecationLogger
participant H as Handler: sendFileLivechatMessage
C->>M: call(rid, file, ...)
M->>D: method('sendFileLivechatMessage','8.0.0','/v1/livechat/upload/:rid')
Note right of D: Emit deprecation warning
D-->>M: ack
M->>H: execute handler with params
H-->>M: result
M-->>C: result
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (2)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #37235 +/- ##
===========================================
- Coverage 67.58% 67.56% -0.03%
===========================================
Files 3295 3295
Lines 112648 112648
Branches 20450 20448 -2
===========================================
- Hits 76136 76107 -29
- Misses 33842 33867 +25
- Partials 2670 2674 +4
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Proposed changes (including videos or screenshots)
This PR adds the deprecation warning to
sendFileLivechatMessage.Issue(s)
CORE-1412
Steps to test or reproduce
Further comments
Summary by CodeRabbit
Chores
Documentation