-
Notifications
You must be signed in to change notification settings - Fork 13k
chore: Adds deprecation warning on saveCannedResponse
#37052
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 not ready to merge, because of the following issues:
Please fix the issues and try again If you have any trouble, please check the PR guidelines |
🦋 Changeset detectedLatest commit: 85e2e6f The changes in this PR will be included in the next version bump. This PR includes changesets to release 40 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 changeset for a patch release and introduces a deprecation log at the start of the saveCannedResponse server method, indicating migration to POST /v1/canned-responses. No control flow or API surface changes. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant C as Client
participant M as saveCannedResponse (Method)
participant D as Deprecation Logger
participant S as Storage/Service
C->>M: invoke saveCannedResponse(payload)
Note over M: New: emit deprecation notice
M->>D: method('saveCannedResponse','8.0.0','POST /v1/canned-responses')
D-->>M: logged
M->>S: proceed with existing save logic
S-->>M: result
M-->>C: response
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (2)
🔇 Additional comments (2)
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 #37052 +/- ##
===========================================
- Coverage 67.30% 67.28% -0.02%
===========================================
Files 3337 3337
Lines 113326 113326
Branches 20576 20573 -3
===========================================
- Hits 76272 76256 -16
- Misses 34443 34463 +20
+ Partials 2611 2607 -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 aims at adding a deprecation warning on
saveCannedResponsemethod.Issue(s)
CTZ-73
Steps to test or reproduce
Further comments
Summary by CodeRabbit