Skip to content

Releases: slackapi/bolt-python

version 1.16.3

08 Mar 06:22
Compare
Choose a tag to compare

Changes

Document Changes

  • #835 Add documention for injected 'args' param option - Thanks @YSaxon
  • #831 Added redirect url to readme - Thanks @smyja

References

version 1.16.2

15 Feb 01:13
Compare
Choose a tag to compare

Changes

  • #825 Fix perform_bot_token_rotation call in AsyncInstallationStoreAuthorize - Thanks @ccaruceru

References

version 1.16.1

19 Dec 23:17
Compare
Choose a tag to compare

Changes

Document / Project Updates

  • #792 Adding Handling views on close documentation - Thanks @BrandonDalton
  • #762 Add documentation related to how to handle view_closed events - Thanks @filmaj

References

version 1.16.0

08 Dec 03:14
Compare
Choose a tag to compare

New Features

ASGI Adapter

Since this version, a new adapter that implements the ASGI standard is available. The novel adapter brings the following benefits to developers:

  • A builtin way to deploy HTTP apps to production using the ASGI standard
  • Allow bolt to be deployed on a web servers such as daphne, uvicorn and hypercorn without other dependencies
  • A way to create small, lightweight and efficient docker images for bolt python

The adapter is compatible with both App and AsyncApp. You can run both of the following app code by running uvicorn app:api --reload --port 3000 --log-level debug:

from slack_bolt import App
from slack_bolt.adapter.asgi import SlackRequestHandler

app = App()

@app.event("app_mention")
def handle_app_mentions(say):
    say("What's up?")

api = SlackRequestHandler(app)

Here is an asyncio-based app:

from slack_bolt.async_app import AsyncApp
from slack_bolt.adapter.asgi.async_handler import AsyncSlackRequestHandler

app = AsyncApp()

@app.event("app_mention")
async def handle_app_mentions(say):
    await say("What's up?")

api = AsyncSlackRequestHandler(app)

To learn more on the implementation and grab more code examples, please check @WilliamBergamin's pull request adding the feature: #780

Changes

Document / Project Updates

References

version 1.15.5

17 Nov 07:35
Compare
Choose a tag to compare

Changes

  • #769 Fix #768 The client arg in a listener does not respect the singleton WebClient's retry_handlers - Thanks @seratch

References

version 1.15.4

17 Nov 02:13
Compare
Choose a tag to compare

Changes

References

version 1.15.3

08 Nov 05:01
Compare
Choose a tag to compare

Changes

References

version 1.15.2

18 Oct 22:58
Compare
Choose a tag to compare

Changes

  • #741 Fix #738 Add more keyword args to say utility - Thanks @seratch @jacklowrie
  • #736 Add context 'user_id' extraction for 'message_changed' and 'message_deleted' events - Thanks @eddyg

References

version 1.15.1

06 Oct 02:41
Compare
Choose a tag to compare

Changes

  • #734 Fix context.team_id for view interactions in a Slack Connect channel - Thanks @seratch

References

version 1.15.0

30 Sep 01:29
Compare
Choose a tag to compare

Changes

  • #722 Fix #721 Passing a global dict object without channel prop can cause issues among requests - Thanks @seratch @gk-patel
  • #714 Change to create a WebClient per request for safety - Thanks @seratch
  • #726 #727 Bump Sanic, websockets packages to the latest major versions - Thanks @E-Zim @JWZepf

Document Changes

References