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

Bump com.slack.api:bolt-socket-mode from 1.40.3 to 1.43.1 #196

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 20, 2024

Bumps com.slack.api:bolt-socket-mode from 1.40.3 to 1.43.1.

Release notes

Sourced from com.slack.api:bolt-socket-mode's releases.

version 1.43.1

Changes

  • [bolt] #1375 Fix #1147 Improve the logic to extract the requestUserId for context objects - Thanks @​seratch
  • [slack-api-client] #1374 Fix #1373 LogsResponse in AuditClient returns "ok: false" when request was a success - Thanks @​Dunkhell @​seratch
  • [slack-api-client] Add missing properties in web API responses - Thanks @​seratch

Additionaly, while #1377 is not a change for the main code, @​KENNYSOFT significantly improved the test execution time by the PR. Thank you so much for the wonderful contribution!


version 1.43.0

Announcements

Assistant Apps in Bolt

This version includes the folllowing APIs and Events API payloads:

We're planning to add a more convenient way to develop AI assistant apps in the near future, but we can already develop such with the following primitive code:

app.event(AssistantThreadStartedEvent.class, (req, ctx) -> {
  String channelId = req.getEvent().getAssistantThread().getChannelId();
  String threadTs = req.getEvent().getAssistantThread().getThreadTs();
  app.executorService().submit(() -> {
    try {
      ctx.client().assistantThreadsSetTitle(r -> r.channelId(channelId).threadTs(threadTs).title("New chat"));
      ctx.client().chatPostMessage(r -> r.channel(channelId).threadTs(threadTs).text("Hi, how can I help you today?"));
      ctx.client().assistantThreadsSetSuggestedPrompts(r -> r.channelId(channelId).threadTs(threadTs).title("How are you?")
        .prompts(Collections.singletonList(new SuggestedPrompt("What does SLACK stand for?")))
      );
    } catch (Exception e) {
      ctx.logger.error("Failed to handle assistant thread started event: {e}", e);
    }
  });
  return ctx.ack();
});
app.event(AssistantThreadContextChangedEvent.class, (req, ctx) -> {
app.executorService().submit(() -> {
String channelId = req.getEvent().getAssistantThread().getChannelId();
String threadTs = req.getEvent().getAssistantThread().getThreadTs();
// TODO: Store req.getEvent().getAssistantThread() for the following conversation
});
return ctx.ack();
});
</tr></table>

... (truncated)

Commits
  • 5348668 version 1.43.1
  • 51a93d7 Run all the integration tests - 2024-09-19 PT
  • 8d83942 Fix #1147 Improve the logic to extract the requestUserId for context objects ...
  • bb20c2b Speedup slow tests due to rate limit (#1377)
  • d5e0036 Run all the integration tests - 2024-09-17 PT
  • 8b5b30e Fix #1373 LogsResponse in AuditClient returns "ok: false" when request was a ...
  • 46b1fcd Start new version
  • 007b0c2 version 1.43.0
  • 63d0acb Resolve build errors and invalid JSON generation
  • 3f31683 Add assistant.threads.* APIs and related event payloads (#1371)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Sep 20, 2024
Bumps [com.slack.api:bolt-socket-mode](https://github.com/slackapi/java-slack-sdk) from 1.40.3 to 1.43.1.
- [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.40.3...v1.43.1)

---
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] <[email protected]>
@marcwrobel marcwrobel force-pushed the dependabot/gradle/com.slack.api-bolt-socket-mode-1.43.1 branch from 6318de3 to 41b8f0b Compare September 23, 2024 11:57
@marcwrobel marcwrobel merged commit 41b8f0b into main Sep 23, 2024
3 checks passed
@marcwrobel marcwrobel deleted the dependabot/gradle/com.slack.api-bolt-socket-mode-1.43.1 branch September 23, 2024 12:01
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 java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant