Releases: slackapi/bolt-python
Releases · slackapi/bolt-python
Release list
version 1.16.0
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
- #780 Add ASGI adapter - Thanks @WilliamBergamin
Document / Project Updates
- #779 Fixing link to message event subtypes docs - Thanks @filmaj
- #776 CI python 3.6 bug fix - Thanks @WilliamBergamin
- #770 Fix #757 by using Falcon 3.1.1 - Thanks @seratch
References
- Release Milestone: https://github.com/slackapi/bolt-python/milestone/65?closed=1
- All Diff: v1.15.5...v1.16.0
version 1.15.5
Changes
- #769 Fix #768 The client arg in a listener does not respect the singleton WebClient's retry_handlers - Thanks @seratch
References
- Release Milestone: https://github.com/slackapi/bolt-python/milestone/70?closed=1
- All Diff: v1.15.4...v1.15.5
version 1.15.4
Changes
- #766 Fix #763 by improving the suggestion logging for view_closed patterns - Thanks @seratch @filmaj
References
- Release Milestone: https://github.com/slackapi/bolt-python/milestone/69?closed=1
- All Diff: v1.15.3...v1.15.4
version 1.15.3
Changes
- #751 Add Python 3.11 to the supported language versions - Thanks @seratch
- #758 Fix #754 by adding the async version of Tornado adapter - Thanks @seratch @castrapel
- #748 Fix #747 by updating async SQLAlchemy OAuth example code - Thanks @ntarora
- #752 Update code_cov upload method - Thanks @WilliamBergamin
- #745 Remove 2020-resolver - Thanks @WilliamBergamin
References
- Release Milestone: https://github.com/slackapi/bolt-python/milestone/68?closed=1
- All Diff: v1.15.2...v1.15.3
version 1.15.2
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
- Release Milestone: https://github.com/slackapi/bolt-python/milestone/67?closed=1
- All Diff: v1.15.1...v1.15.2
version 1.15.1
Changes
References
- Release Milestone: https://github.com/slackapi/bolt-python/milestone/64?closed=1
- All Diff: v1.15.0...v1.15.1
version 1.15.0
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
- #725 Development release steps in guide - Thanks @WilliamBergamin
- #690 Issue #660: Replace HTML entities before markdownify in docs - Thanks @acq688
References
- Release Milestone: https://github.com/slackapi/bolt-python/milestone/60?closed=1
- All Diff: v1.14.3...v1.15.0
version 1.14.3
Changes
Document Changes
References
- Release Milestone: https://github.com/slackapi/bolt-python/milestone/63?closed=1
- All Diff: v1.14.2...v1.14.3
version 1.14.2
Changes
- #684 Fix #683 IgnoringSelfEvents middleware does not filter out Message sent via response_url - Thanks @seratch @deppe
References
- Release Milestone: https://github.com/slackapi/bolt-python/milestone/62?closed=1
- All Diff: v1.14.1...v1.14.2
version 1.14.1
Changes
- #679 Allow lazy function invocation to target version/alias - Thanks @angrychimp
- #662 Make the flake8 and black settings consistent - Thanks @seratch
Document / Example Updates
- #665 Fix #664 Django example installation store improvement - Thanks @seratch @DataGreed
- #659 #661 Change AWS API Gateway to Lambda Function URL in documents - Thanks @Globart1337
References
- Release Milestone: https://github.com/slackapi/bolt-python/milestone/61?closed=1
- All Diff: v1.14.0...v1.14.1