Skip to content

Bump bolt-socket-mode from 1.14.0 to 1.27.0#53

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/com.slack.api-bolt-socket-mode-1.27.0
Closed

Bump bolt-socket-mode from 1.14.0 to 1.27.0#53
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/com.slack.api-bolt-socket-mode-1.27.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 9, 2022

Bumps bolt-socket-mode from 1.14.0 to 1.27.0.

Release notes

Sourced from bolt-socket-mode's releases.

version 1.27.0

Changes

  • [slack-api-model] #1076 Add datetimepicker, url, email, number block elements - Thanks @​seratch
  • [slack-api-client] #1081 Add requestFileInfo param to MethodsClient#filesUploadV2 method - Thanks @​seratch
  • [all] #1077 Upgrade GSON and other optional dependencies - Thanks @​seratch
  • [project] #1079 Removed deprecated CodCov script - Thanks @​WilliamBergamin
  • [documents] #1073 Resolve minor typos for ExecutorService - Thanks @​jasonoh

version 1.26.1

Changes

  • [slack-api-client] #1068 Fix context.teamId for view interactions in a Slack Connect channel - Thanks @​seratch

version 1.26.0

Announcements

files.upload v2

We've received many reports on the performance issue of the existing files.upload API. So, to cope with the problem, our platform team decided to unlock a new way to upload files to Slack via public APIs. To utilize the new approach, developers need to implement the following steps on their code side:

  1. Call MethodsClient#filesGetUploadURLExternal() method to receive a URL to use for each file
  2. Perform an HTTP POST request to the URL you received in step 1 for each file
  3. Call MethodsClient#filesCompleteUploadExternal() method with the pairs of file ID and title to complete the whole process, plus share the files in a channel
  4. If you need the full metadata of the files, call MethodsClient#filesInfo() method for each file

We do understand that writing the above code requires many lines of code. Also, the existing MethodsClient#filesUpload() users have to take a certain amount of time for migration. To mitigate the pain, we've added a wrapper method named MethodsClient#filesUploadV2() on the SDK side.

Also, in addition to the performance improvements, another good news is that 3rd party apps can now upload multiple files at a time!

See the following code examples demonstrating how the wrapper method works:

import com.slack.api.Slack;
import com.slack.api.methods.request.files.FilesUploadV2Request;
import com.slack.api.methods.response.files.FilesUploadResponse;
import com.slack.api.methods.response.files.FilesUploadV2Response;
import java.util.Arrays;
import java.util.List;
Slack slack = Slack.getInstance();
</tr></table>

... (truncated)

Commits
  • c8d1ae1 version 1.27.0
  • 9e4ea7b Upgrade Kotlin patch version to 1.7.21
  • 4de8ac3 Run all the integration tests - 2022-11-08 PT
  • c2d42a6 Add requestFileInfo param to MethodsClient#filesUploadV2 method (#1081)
  • b4d0161 Exclude unsupported APIs in tests
  • b1ea488 Revert logback upgrade for tests
  • cf17bb1 Adjust test dependencies
  • 1688b4c Fix a failing unit test
  • 04c70a9 Run all the integration tests - 2022-11-07 PT
  • d57682b Upgrade GSON and other optional dependencies (#1077)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [bolt-socket-mode](https://github.com/slackapi/java-slack-sdk) from 1.14.0 to 1.27.0.
- [Release notes](https://github.com/slackapi/java-slack-sdk/releases)
- [Changelog](https://github.com/slackapi/java-slack-sdk/blob/main/jSlack_changelog.md)
- [Commits](slackapi/java-slack-sdk@v1.14.0...v1.27.0)

---
updated-dependencies:
- dependency-name: com.slack.api:bolt-socket-mode
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 9, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 17, 2022

Superseded by #55.

@dependabot dependabot bot closed this Nov 17, 2022
@dependabot dependabot bot deleted the dependabot/gradle/com.slack.api-bolt-socket-mode-1.27.0 branch November 17, 2022 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants