Skip to content
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

files.upload is getting deprecated by Slack #1287

Closed
DestroyerAlpha opened this issue May 3, 2024 · 1 comment
Closed

files.upload is getting deprecated by Slack #1287

DestroyerAlpha opened this issue May 3, 2024 · 1 comment
Assignees
Labels
community decision issues that are not technical, and cause behaviour changes, but not API breaks. Web API

Comments

@DestroyerAlpha
Copy link

Description

Check if we are using slack's file.upload API and migrate to newly suggested API for uploading files in slack.

(Optional) Slack's documentation

https://api.slack.com/methods/files.upload
files.upload is deprecated and will stop functioning on March 11, 2025. Use files.getUploadURLExternal and files.completeUploadExternal to upload files instead. Newly created apps will be unable to use files.upload beginning May 8, 2024. See Uploading files for more details on the process and this changelog for more on the deprecation.

@lorenzoaiello
Copy link
Contributor

@DestroyerAlpha , There are currently two methods available in this package (UploadFileV2 and UploadFileV2Context) which should provide a path forward which require no token scope changes to transition to.

I'm not sure how many people are going to be affected or if there is interest in updating the existing UploadFile method to call UploadFileV2 under the hood to not break existing applications.

@lorenzoaiello lorenzoaiello added breaking changes community decision issues that are not technical, and cause behaviour changes, but not API breaks. Web API labels Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community decision issues that are not technical, and cause behaviour changes, but not API breaks. Web API
Projects
None yet
Development

No branches or pull requests

2 participants