You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2024/09/17 06:49:54 UTC

[PR] chore(deps): Bump com.slack.api:slack-api-client from 1.42.0 to 1.43.0 [camel]

dependabot[bot] opened a new pull request, #15585:
URL: https://github.com/apache/camel/pull/15585

   Bumps [com.slack.api:slack-api-client](https://github.com/slackapi/java-slack-sdk) from 1.42.0 to 1.43.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/slackapi/java-slack-sdk/releases">com.slack.api:slack-api-client's releases</a>.</em></p>
   <blockquote>
   <h2>version 1.43.0</h2>
   <h1>Announcements</h1>
   <h2>Assistant Apps in Bolt</h2>
   <p>This version includes the folllowing APIs and Events API payloads:</p>
   <ul>
   <li><a href="https://api.slack.com/methods?query=assistant.threads">https://api.slack.com/methods?query=assistant.threads</a></li>
   <li><a href="https://api.slack.com/events?filter=Events&amp;query=assistant_thread">https://api.slack.com/events?filter=Events&amp;query=assistant_thread</a></li>
   </ul>
   <p>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:</p>
   <pre lang="java"><code>app.event(AssistantThreadStartedEvent.class, (req, ctx) -&gt; {
     String channelId = req.getEvent().getAssistantThread().getChannelId();
     String threadTs = req.getEvent().getAssistantThread().getThreadTs();
     app.executorService().submit(() -&gt; {
       try {
         ctx.client().assistantThreadsSetTitle(r -&gt; r.channelId(channelId).threadTs(threadTs).title(&quot;New chat&quot;));
         ctx.client().chatPostMessage(r -&gt; r.channel(channelId).threadTs(threadTs).text(&quot;Hi, how can I help you today?&quot;));
         ctx.client().assistantThreadsSetSuggestedPrompts(r -&gt; r.channelId(channelId).threadTs(threadTs).title(&quot;How are you?&quot;)
           .prompts(Collections.singletonList(new SuggestedPrompt(&quot;What does SLACK stand for?&quot;)))
         );
       } catch (Exception e) {
         ctx.logger.error(&quot;Failed to handle assistant thread started event: {e}&quot;, e);
       }
     });
     return ctx.ack();
   });
   <p>app.event(AssistantThreadContextChangedEvent.class, (req, ctx) -&gt; {<br />
   app.executorService().submit(() -&gt; {<br />
   String channelId = req.getEvent().getAssistantThread().getChannelId();<br />
   String threadTs = req.getEvent().getAssistantThread().getThreadTs();<br />
   // TODO: Store req.getEvent().getAssistantThread() for the following conversation<br />
   });<br />
   return ctx.ack();<br />
   });</p>
   <p>app.event(MessageEvent.class, (req, ctx) -&gt; {<br />
   if (req.getEvent().getChannelType().equals(&quot;im&quot;) &amp;&amp; req.getEvent().getThreadTs() != null) {<br />
   String channelId = req.getEvent().getChannel();<br />
   String threadTs = req.getEvent().getThreadTs();<br />
   app.executorService().submit(() -&gt; {<br />
   try {<br />
   ctx.client().assistantThreadsSetStatus(r -&gt; r.channelId(channelId).threadTs(threadTs).status(&quot;is typing...&quot;));<br />
   Thread.sleep(500L);<br />
   ctx.client().chatPostMessage(r -&gt; r.channel(channelId).threadTs(threadTs).text(&quot;Here you are!&quot;));<br />
   } catch (Exception e) {<br />
   ctx.logger.error(&quot;Failed to handle assistant thread started event: {e}&quot;, e);<br />
   try {<br />
   &lt;/tr&gt;&lt;/table&gt;<br />
   </code></pre></p>
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/slackapi/java-slack-sdk/commit/007b0c267e60e2081492bd15e210ca6a9d469057"><code>007b0c2</code></a> version 1.43.0</li>
   <li><a href="https://github.com/slackapi/java-slack-sdk/commit/63d0acbe5c3d9b6f4373743ba878a2c09fdc1a12"><code>63d0acb</code></a> Resolve build errors and invalid JSON generation</li>
   <li><a href="https://github.com/slackapi/java-slack-sdk/commit/3f31683c984f165ff03ddea7d23abdd7b6277c00"><code>3f31683</code></a> Add assistant.threads.* APIs and related event payloads (<a href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1371">#1371</a>)</li>
   <li><a href="https://github.com/slackapi/java-slack-sdk/commit/2f7c7431251b24992a246b63b75a8389edbed7ea"><code>2f7c743</code></a> docs: new url</li>
   <li><a href="https://github.com/slackapi/java-slack-sdk/commit/cd26403dc0ca5f90c80c093e12bfcaba7a93efee"><code>cd26403</code></a> Bump express from 4.19.2 to 4.21.0 in /docs (<a href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1370">#1370</a>)</li>
   <li><a href="https://github.com/slackapi/java-slack-sdk/commit/5241b79bbf7b409235acb4e208ee009eb282db1d"><code>5241b79</code></a> Bump body-parser and express in /docs (<a href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1369">#1369</a>)</li>
   <li><a href="https://github.com/slackapi/java-slack-sdk/commit/6c58421035170b3a371ae072d24cb5f6e493bcb1"><code>6c58421</code></a> Bump serve-static and express in /docs (<a href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1367">#1367</a>)</li>
   <li><a href="https://github.com/slackapi/java-slack-sdk/commit/be65cd6f9b3855a057c19c846b4b161949d2472b"><code>be65cd6</code></a> Bump send and express in /docs (<a href="https://redirect.github.com/slackapi/java-slack-sdk/issues/1368">#1368</a>)</li>
   <li><a href="https://github.com/slackapi/java-slack-sdk/commit/c5784d1c4576cff3c7f37c2346c7876f36fd09f9"><code>c5784d1</code></a> Start new version</li>
   <li><a href="https://github.com/slackapi/java-slack-sdk/commit/e0b277ef60711cfff557cbb5b57d64bcb95a4074"><code>e0b277e</code></a> version 1.42.1</li>
   <li>Additional commits viewable in <a href="https://github.com/slackapi/java-slack-sdk/compare/v1.42.0...v1.43.0">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.slack.api:slack-api-client&package-manager=maven&previous-version=1.42.0&new-version=1.43.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   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-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   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)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore(deps): Bump com.slack.api:slack-api-client from 1.42.0 to 1.43.0 [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #15585:
URL: https://github.com/apache/camel/pull/15585#issuecomment-2354689668

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :robot: CI automation will test this PR automatically.
   
   :camel: Apache Camel Committers, please review the following items:
   
   * First-time contributors **require MANUAL approval** for the GitHub Actions to run
   
   * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot.
   
   * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
   
   * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. 
   
   * :warning: Be careful when sharing logs. Review their contents before sharing them publicly.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore(deps): Bump com.slack.api:slack-api-client from 1.42.0 to 1.43.0 [camel]

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd merged PR #15585:
URL: https://github.com/apache/camel/pull/15585


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore(deps): Bump com.slack.api:slack-api-client from 1.42.0 to 1.43.0 [camel]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #15585:
URL: https://github.com/apache/camel/pull/15585#issuecomment-2354721921

   :robot: The Apache Camel test robot will run the tests for you :+1:


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] chore(deps): Bump com.slack.api:slack-api-client from 1.42.0 to 1.43.0 [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on PR #15585:
URL: https://github.com/apache/camel/pull/15585#issuecomment-2354720794

   /component-test camel-slack


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org