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

chore(deps): bump slack-bolt from 1.20.1 to 1.21.2 #5393

Merged
merged 1 commit into from
Oct 26, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 25, 2024

Bumps slack-bolt from 1.20.1 to 1.21.2.

Release notes

Sourced from slack-bolt's releases.

version 1.21.2

Changes

  • #1186 Improve metadata resolution timing in assistant app's say method - Thanks @​seratch

References

version 1.21.1

Changes

  • #1184 Fix a bug where parsing assistant thread message event fails for beta feature enabled apps - Thanks @​seratch

References

version 1.21.0

New Features

Agents & Assistants

A better Agents & Assistants 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.

assistant = Assistant()
This listener is invoked when a human user opened an assistant thread
@​assistant.thread_started
def start_assistant_thread(say: Say, set_suggested_prompts: SetSuggestedPrompts):
# Send the first reply to the human who started chat with your app's assistant bot
say(":wave: Hi, how can I help you today?")
# Setting suggested prompts is optional
set_suggested_prompts(
    prompts=[
        # If the suggested prompt is long, you can use {"title": "short one to display", "message": "full prompt"} instead
        "What does SLACK stand for?",
        "When Slack was released?",
    ],
)

This listener is invoked when the human user sends a reply in the assistant thread
@​assistant.user_message
def respond_in_assistant_thread(
</tr></table>

... (truncated)

Commits

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)

Bumps [slack-bolt](https://github.com/slackapi/bolt-python) from 1.20.1 to 1.21.2.
- [Release notes](https://github.com/slackapi/bolt-python/releases)
- [Commits](slackapi/bolt-python@v1.20.1...v1.21.2)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Oct 25, 2024
@whitdog47 whitdog47 merged commit 55408e1 into master Oct 26, 2024
10 checks passed
@whitdog47 whitdog47 deleted the dependabot/pip/slack-bolt-1.21.2 branch October 26, 2024 00:32
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 python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant