Closed renovate[bot] closed 1 month ago
β28 filesβ +β28βββ28 suitesβ +28βββ1m 18s :stopwatch: + 1m 18s 251 tests +251ββ251 :white_check_mark: +251ββ0 :zzz: Β±0ββ0 :x: Β±0β 372 runsβ +372ββ372 :white_check_mark: +372ββ0 :zzz: Β±0ββ0 :x: Β±0β
Results for commit b22b1a04.βΒ± Comparison against base commit 8f0c90e2.
This PR contains the following updates:
1.43.1
->1.44.0
Release Notes
slackapi/java-slack-sdk (com.slack.api:slack-api-client)
### [`v1.44.0`](https://redirect.github.com/slackapi/java-slack-sdk/releases/tag/v1.44.0): version 1.44.0 ### New Features #### Agents & Assistants A better [Agents & Assistants](https://api.slack.com/docs/apps/ai) support in Bolt is now available! While you already can implement your agents using `app.event(...)` listeners for `assistant_thread_started`, `assistant_thread_context_changed`, and `message` events, Bolt offers a simpler approach. You just need to create an `Assistant` instance, attach the needed event handlers to it, and then add the assistant to your `App` instance. ```java App app = new App(); Assistant assistant = new Assistant(app.executorService()); assistant.threadStarted((req, ctx) -> { try { ctx.say(r -> r.text("Hi, how can I help you today?")); ctx.setSuggestedPrompts(Collections.singletonList( SuggestedPrompt.create("What does SLACK stand for?") )); } catch (Exception e) { ctx.logger.error("Failed to handle assistant thread started event: {e}", e); } }); assistant.userMessage((req, ctx) -> { try { ctx.setStatus("is typing..."); Thread.sleep(500L); if (ctx.getThreadContext() != null) { String contextChannel = ctx.getThreadContext().getChannelId(); ctx.say(r -> r.text("I am ware of the channel context: <#" + contextChannel + ">")); } else { ctx.say(r -> r.text("Here you are!")); } } catch (Exception e) { ctx.logger.error("Failed to handle assistant thread started event: {e}", e); try { ctx.say(r -> r.text(":warning: Sorry, something went wrong during processing your request!")); } catch (Exception ee) { ctx.logger.error("Failed to inform the error to the end-user: {ee}", ee); } } }); app.assistant(assistant); ``` Please refer to https://tools.slack.dev/java-slack-sdk/guides/assistants for more details. ### Changes - \[bolt] [#1372](https://redirect.github.com/slackapi/java-slack-sdk/issues/1372) [#1383](https://redirect.github.com/slackapi/java-slack-sdk/issues/1383) Add Agents & Assistants document page - Thanks [@seratch](https://redirect.github.com/seratch) - \[bolt] [#1388](https://redirect.github.com/slackapi/java-slack-sdk/issues/1388) Fix [#1348](https://redirect.github.com/slackapi/java-slack-sdk/issues/1348) channel_convert_to_public message events - Thanks [@seratch](https://redirect.github.com/seratch) [@mgroth0](https://redirect.github.com/mgroth0) - \[bolt] [#1380](https://redirect.github.com/slackapi/java-slack-sdk/issues/1380) Remove extra double quotes from the "Add to Slack" OAuth image alt text - Thanks [@zimeg](https://redirect.github.com/zimeg) - \[slack-api-client] [#1382](https://redirect.github.com/slackapi/java-slack-sdk/issues/1382) Add conversations.requestSharedInvite.list API support - Thanks [@seratch](https://redirect.github.com/seratch) - \[slack-api-client] [#1376](https://redirect.github.com/slackapi/java-slack-sdk/issues/1376) Add RichTextBlock support to Block Kit Kotlin DSL builder - Thanks [@KENNYSOFT](https://redirect.github.com/KENNYSOFT) *** - All issues/pull requests: https://github.com/slackapi/java-slack-sdk/milestone/109?closed=1 - All changes: https://github.com/slackapi/java-slack-sdk/compare/v1.43.1...v1.44.0Configuration
π Schedule: Branch creation - At any time (no schedule defined), Automerge - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.