Repository navigation
Releases
v3.48.0
What's Changed
🚀 Enhancements
- perf(models): cache validator names per class by @WilliamBergamin in #2036
- feat(models): model the datetimepicker, timezone, rich text, and file view state values by @WilliamBergamin in #2045
- feat: add apps.icon.set method by @zimeg in #2058
- feat: add apps.managed.permissions.set method by @zimeg in #2052
- feat: add assistant.search.context method by @ArielTM in #1667
- feat: add assistant.search.info method by @zimeg in #2053
- perf(web): parse each sync response body once by @WilliamBergamin in #2069
🐛 Bug Fixes
- fix(socket_mode): seed last_ping_pong_time on first ping in builtin client by @hello-ashleyintech in #1998
- fix(web): use the request body for has_json and read async upload data by @WilliamBergamin in #2037
- fix(models): accept unknown view state value keys by @WilliamBergamin in #2042
- fix(models): skip unknown view state values instead of crashing by @WilliamBergamin in #2043
- fix(socket_mode): send frames over 64 KB with the 64-bit length form by @WilliamBergamin in #2046
- fix(socket_mode): raise ValueError for an unsupported request payload by @WilliamBergamin in #2047
- fix(socket_mode): only release connect_operation_lock when send_message holds it by @WilliamBergamin in #2048
- fix(web): raise an error when a files_upload_v2 file exceeds 1 GB by @60507 in #2049
- fix(oauth): evict every cached installation for a workspace on save by @WilliamBergamin in #2051
- fix(web): raise an error when apps_icon_set gets neither file nor url by @zimeg in #2060
- fix(audit_logs, scim, webhook): retry async calls on any error status by @WilliamBergamin in #2061
- fix(oauth): delete org-wide installations in the sqlite3 store by @WilliamBergamin in #2062
- fix(oauth): add async delete methods to the sqlite3 installation store by @WilliamBergamin in #2065
- fix(socket_mode): re-raise the send error instead of AttributeError in websocket_client by @WilliamBergamin in #2068
📚 Documentation
- docs: standardize the pull request template and add the salesforce cla checkbox by @WilliamBergamin in #2044
📦 Other changes
- ci: announce published releases in Slack by @zimeg in #2039
- ci: fail the notify job when the announcement is rejected by @zimeg in #2040
- refactor(web): build the file size error from MAX_V2_FILE_SIZE by @mwbrooks in #2050
- chore(release): version 3.48.0 by @zimeg in #2074
New Contributors
Full Changelog: v3.47.0...v3.48.0
Milestone: https://github.com/slackapi/python-slack-sdk/milestone/125?closed=1
v3.47.0
What's Changed
🚀 Enhancements
- docs: update Block Kit Builder links to app.slack.com by @srtaalej in #2004
- chore: drop setup.cfg and configure metadata in pyproject.toml only by @WilliamBergamin in #2015
- feat: add admin.conversations.bulkSetProperties by @Keanro in #1991
- feat: add slackbot.skills.create method by @zimeg in #2017
- feat: add slackbot.skills.info method by @zimeg in #2018
- feat: add slackbot.skills.update method by @zimeg in #2019
- feat: add slackbot.skills.list method by @zimeg in #2020
- feat: add slackbot.skills.library.add method by @zimeg in #2021
- feat: add slackbot.skills.library.remove method by @zimeg in #2022
- feat: add admin.slackbot.skills.list method by @zimeg in #2023
- feat: add admin.slackbot.skills.publish method by @zimeg in #2024
- feat: add admin.slackbot.skills.setAutoEnabled method by @zimeg in #2025
- feat: add admin.slackbot.skills.unpublish method by @zimeg in #2026
- feat: add slackbot.skills.delete method by @zimeg in #2027
- feat: add admin.apps.mcp.servers.list method by @zimeg in #2032
- feat: add admin.apps.mcp.servers.permissions.list method by @zimeg in #2031
- feat: add admin.apps.mcp.servers.permissions.set method by @zimeg in #2033
📚 Documentation
📦 Other changes
- chore(deps): update mypy requirement from <=2.3.1 to <=2.4.1 by @dependabot[bot] in #2007
- chore(deps): bump ruff from 0.16.9 to 0.17.3 by @dependabot[bot] in #2005
- chore(deps): update aiohttp requirement from <4,>=3.14.3 to >=3.14.5,<4 by @dependabot[bot] in #2013
- chore(deps): update sqlalchemy requirement from <3,>=2.0.54 to >=2.0.55,<3 by @dependabot[bot] in #2010
- chore(deps): update asyncpg requirement from <1,>=0.31.0 to >=0.32.0,<1 by @dependabot[bot] in #2008
- chore(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2 by @dependabot[bot] in #2012
- chore(deps): bump actions/setup-python from 7.0.0 to 7.1.0 by @dependabot[bot] in #2011
- chore(deps): bump actions/download-artifact from 8.0.1 to 8.0.2 by @dependabot[bot] in #2009
- chore(deps): bump pypa/gh-action-pypi-publish from 1.14.2 to 1.14.3 by @dependabot[bot] in #2006
- chore: mark generated web clients as generated for diffs by @zimeg in #2028
- ci: check generated web clients match codegen by @zimeg in #2029
- chore(release): version 3.47.0 by @zimeg in #2034
New Contributors
Full Changelog: v3.46.0...v3.47.0
v3.46.0
What's Changed
🚀 Enhancements
- feat: add admin.users.getExpiration method by @srtaalej in #1983
- feat: add support for apps.user.connection.requestAuth and bulkUpdate by @WilliamBergamin in #1984
- feat: add AuthProviderBlock layout block support by @WilliamBergamin in #1985
- feat: add canvases.getContent method by @zimeg in #1999
- feat: add channel_id and optional document_content to canvases.create by @zimeg in #2001
- feat: add Slackbot availability option to team_info by @samkantor123 in #2003
🐛 Bug Fixes
- fix: preserve agent prompt fields in button models by @samkantor123 in #2000
📚 Documentation
- docs: add code of conduct by @zimeg in #1994
- chore: set gus team and product tag in code owners by @zimeg in #1996
📦 Other changes
- chore(deps): bump codecov/codecov-action from 7.0.0 to 7.1.1 by @dependabot[bot] in #1977
- chore(deps): update sqlalchemy requirement from <3,>=2.0.52 to >=2.0.54,<3 by @dependabot[bot] in #1976
- chore(deps): update websocket-client requirement from <2,>=1.9.1 to >=1.9.2,<2 by @dependabot[bot] in #1974
- chore: support python 3.15 by @WilliamBergamin in #1987
- chore: floor certifi at 2026.10.19 in tutorial and test requirements by @davidmreed in #1995
- chore(release): version 3.46.0 by @mwbrooks in #2002
New Contributors
- @davidmreed made their first contribution in #1995
- @samkantor123 made their first contribution in #2000
Full Changelog: v3.45.0...v3.46.0
v3.45.0
What's Changed
🚀 Enhancements
- feat(models): add ContainerBlock for block kit by @srtaalej in #1949
- feat(models): allow raw_number cells in TableBlock rows by @zimeg in #1964
- feat(web-api): add agents.conversations.* methods by @zimeg in #1943
🐛 Bug Fixes
- fix(socket_mode): shut down current_session_runner in built-in close() by @WilliamBergamin in #1962
- fix(socket_mode): check the effective log level in debug guards by @Shubham-Padkonde in #1965
- fix(socket_mode): recreate a closed aiohttp session when reconnecting by @Shubham-Padkonde in #1966
- fix(oauth): treat naive datetime values as UTC when converting to timestamps by @kwy404 in #1970
📚 Documentation
- chore: add docstring formatting + linting by @WilliamBergamin in #1959
- chore: ignore docstring formatting commit in git blame by @WilliamBergamin in #1960
📦 Other changes
- ci: use psycopg 3 for the PostgreSQL database tests by @WilliamBergamin in #1971
- docs(deps): simplify the managing-dependencies skill by @WilliamBergamin in #1972
- chore(deps): bump ruff from 0.16.4 to 0.16.9 by @dependabot[bot] in #1975
- chore(release): version 3.45.0 by @zimeg in #1979
New Contributors
- @Shubham-Padkonde made their first contribution in #1965
- @kwy404 made their first contribution in #1970
Full Changelog: v3.44.1...v3.45.0
Milestone: https://github.com/slackapi/python-slack-sdk/milestone/122?closed=1
v3.44.1
What's Changed
🐛 Bug Fixes
- fix: stop aiohttp Socket Mode connect() retrying forever after close by @WilliamBergamin in #1956
📦 Other changes
- chore(deps): bump click from 8.4.2 to 8.5.0 by @dependabot[bot] in #1952
- chore(deps): update mypy requirement from <=2.1.0 to <=2.3.1 by @dependabot[bot] in #1951
- chore(deps): update sqlalchemy requirement from <3,>=2.0.51 to >=2.0.52,<3 by @dependabot[bot] in #1950
- chore: replace flake8 and black with ruff by @WilliamBergamin in #1954
- chore: ignore ruff migration commit in git blame by @WilliamBergamin in #1955
- chore(deps): update websocket-client requirement from <2,>=1 to >=1.9.1,<2 by @dependabot[bot] in #1953
- chore(release): version 3.44.1 by @WilliamBergamin in #1958
Full Changelog: v3.44.0...v3.44.1
Milestone: https://github.com/slackapi/python-slack-sdk/milestone/121?closed=1
v3.44.0
What's Changed
🚀 Enhancements
- feat(oauth): add StatelessOAuthStateStore using JWT by @muskaannnr in #1916
- feat(blocks): add min_lines/max_lines to RichTextInputElement by @srtaalej in #1925
- feat(models): add typed model classes for TableBlock cells and column_settings by @srtaalej in #1939
- feat(web-api): add agents.sessions.setStatus and agents.sessions.rename by @zimeg in #1942
- feat(web-api): add blocks.validate method by @zimeg in #1946
- feat(web-api): add session_status to chat.stopStream and chat_stream stop() helpers by @zimeg in #1945
🐛 Bug Fixes
- fix(models): type CardBlock icon/hero_image as image element (not str) by @zimeg in #1937
- fix(socket-mode): only release connect_operation_lock when this task acquired it by @ckarnell in #1926
📚 Documentation
- docs(oauth): document StatelessOAuthStateStore anti-replay caveat by @WilliamBergamin in #1920
📦 Other changes
- chore(deps): bump actions/setup-python from 6.2.0 to 6.3.0 by @dependabot[bot] in #1910
- chore(deps): bump actions/checkout from 6.0.3 to 7.0.0 by @dependabot[bot] in #1909
- chore(deps): update psycopg2-binary requirement from <3,>=2.9 to >=2.9.12,<3 by @dependabot[bot] in #1907
- chore(deps): update mypy requirement from <=1.19.1 to <=2.1.0 by @dependabot[bot] in #1904
- fix: resolve flaky sqlite3 installation store bot token lookup (#1441) by @WilliamBergamin in #1911
- chore(deps): update psutil requirement from <8,>=6.0.0 to >=7.2.2,<8 by @dependabot[bot] in #1906
- docs(deps): establish and apply a managing-dependencies convention by @WilliamBergamin in #1915
- chore(deps): update aiodns requirement from >1.0 to >=4.0.4 by @dependabot[bot] in #1905
- chore(deps): update pytest requirement from <9,>=7.0.1 to >=9.1.1,<10 by @dependabot[bot] in #1908
- ci: do not fail CI when Codecov test-results upload errors by @WilliamBergamin in #1918
- test: fix intermittent CI hang in the unit test matrix by @WilliamBergamin in #1921
- chore(deps): bump black from 24.3.0 to 26.3.1 in /requirements by @dependabot[bot] in #1924
- chore(deps): bump pypa/gh-action-pypi-publish from 1.14.0 to 1.14.2 by @dependabot[bot] in #1934
- chore(deps): bump actions/checkout from 7.0.0 to 7.0.1 by @dependabot[bot] in #1933
- chore(deps): bump slackapi/slack-github-action from 3.0.3 to 4.0.0 by @dependabot[bot] in #1931
- chore(deps): update sqlalchemy requirement from <3,>=2.0.49 to >=2.0.51,<3 by @dependabot[bot] in #1929
- chore(deps): update pytest-timeout requirement from <3,>=2.2 to >=2.4.0,<3 by @dependabot[bot] in #1927
- chore(deps): update websockets requirement from <16,>=9.1 to >=16.1.1,<17 by @dependabot[bot] in #1936
- chore(deps): update aiohttp requirement from <4,>=3.13.5 to >=3.14.3,<4 by @dependabot[bot] in #1932
- chore(deps): bump actions/setup-python from 6.3.0 to 7.0.0 by @dependabot[bot] in #1928
- chore(deps): bump actions/stale from 10.3.0 to 11.0.0 by @dependabot[bot] in #1930
- chore(deps): bump click from 8.0.4 to 8.4.2 by @dependabot[bot] in #1935
- chore(release): version 3.44.0 by @zimeg in #1947
New Contributors
- @muskaannnr made their first contribution in #1916
- @ckarnell made their first contribution in #1926
Full Changelog: v3.43.0...v3.44.0
Milestone: https://github.com/slackapi/python-slack-sdk/milestone/120
v3.43.0
What's Changed
⚠️ Warning: A signing secret is now required to exist when validating requests. Apps that receive events with Socket Mode should update to Bolt for Python1.29.0to avoid errors at initialization. Please refer to this issue: #1903
🚀 Enhancements
- feat(web): expose public ts property on ChatStream by @srtaalej in #1880
- feat: make thread_ts optional for assistant.threads.setSuggestedPrompts by @zimeg in #1901
📚 Documentation
- docs: add security policy by @WilliamBergamin in #1881
- docs: removing external links for unified nav by @haleychaas in #1895
- docs: fixing broken links to security concepts by @haleychaas in #1896
- docs: restore canonical security policy over bot-added SECURITY.md by @WilliamBergamin in #1897
🔒 Security
- fix(signature): validate signing_secret is a non-empty string by @WilliamBergamin in #1884
📦 Other changes
- chore(deps): update aiohttp requirement from <4,>=3.7.3 to >=3.13.5,<4 by @dependabot[bot] in #1867
- chore(deps): update sqlalchemy requirement from <3,>=1.4 to >=2.0.49,<3 by @dependabot[bot] in #1866
- Add missing
styleattribute to RichTextElementParts.Date & friends by @Lexicality in #1882 - chore(deps): bump codecov/codecov-action from 6.0.0 to 6.0.1 by @dependabot[bot] in #1891
- chore(deps): bump slackapi/slack-github-action from 3.0.2 to 3.0.3 by @dependabot[bot] in #1892
- chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in #1893
- chore(deps): bump actions/stale from 10.2.0 to 10.3.0 by @dependabot[bot] in #1890
- chore(deps): update moto requirement from <6,>=4.0.13 to >=4.2.14,<6 by @dependabot[bot] in #1887
- chore(deps): update asyncpg requirement from <1,>=0.27 to >=0.31.0,<1 by @dependabot[bot] in #1888
- chore(deps): bump docutils from 0.22.4 to 0.23 by @dependabot[bot] in #1886
- chore(deps): update pytest-cov requirement from <8,>=2 to >=7.1.0,<8 by @dependabot[bot] in #1885
- chore(deps): update flake8 requirement from <8,>=5.0.4 to >=7.3.0,<8 by @dependabot[bot] in #1889
- docs: audit and fix docs/english markdown files by @lukegalbraithrussell in #1883
- chore(deps): bump codecov/codecov-action from 6.0.1 to 7.0.0 by @dependabot[bot] in #1894
- chore(release): version 3.43.0 by @zimeg in #1902
New Contributors
- @haleychaas made their first contribution in #1895
Full Changelog: v3.42.0...v3.43.0
Milestone: https://github.com/slackapi/python-slack-sdk/milestone/119
v3.42.0
What's Changed
🚀 Enhancements
- feat: add authorship arguments to assistant threads and chat stream by @zimeg in #1862
- feat(blocks): add Card, Carousel, and Alert block types by @srtaalej in #1865
- feat(models): add BlockChunk type to chat.{start,append,stop}Stream methods by @srtaalej in #1872
- feat: add highlight_type to files.completeUploadExternal and files_upload_v2 by @zimeg in #1875
🐛 Bug Fixes
- fix: pass default ssl=True to aiohttp to avoid deprecation warning by @WilliamBergamin in #1843
- fix: Improve type annotations in
SignatureVerifierby @BHSPitMonkey in #1845 - Fix typo in SectionBlock field validation by @Lexicality in #1848
- fix: improve Socket Mode client stability and correctness by @WilliamBergamin in #1854
- fix: pin cryptography<46 for PyPy 3.10 CI builds by @WilliamBergamin in #1860
- fix: resolve OAuth installation store bugs and typos by @WilliamBergamin in #1864
📚 Documentation
- docs - adds chat_stream helper to python sdk docs (removing from bolt-py) by @lukegalbraithrussell in #1846
- docs(maintainers): adding block kit types instructions by @srtaalej in #1861
📦 Other changes
- chore: fix formatting based on new black version by @WilliamBergamin in #1842
- chore: fix test warnings across test suite by @WilliamBergamin in #1844
- chore(deps): bump actions/download-artifact from 8.0.0 to 8.0.1 by @dependabot[bot] in #1849
- chore(deps): bump codecov/codecov-action from 5.5.2 to 6.0.0 by @dependabot[bot] in #1851
- chore(deps): bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in #1852
- chore(deps): bump slackapi/slack-github-action from 2.1.1 to 3.0.1 by @dependabot[bot] in #1850
- chore(deps): bump slackapi/slack-github-action from 3.0.1 to 3.0.2 by @dependabot[bot] in #1869
- chore(deps): bump actions/upload-artifact from 7.0.0 to 7.0.1 by @dependabot[bot] in #1871
- chore(deps): bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 by @dependabot[bot] in #1868
- chore(deps): bump pypa/gh-action-pypi-publish from 1.13.0 to 1.14.0 by @dependabot[bot] in #1870
- chore(release): version 3.42.0 by @zimeg in #1876
New Contributors
- @BHSPitMonkey made their first contribution in #1845
- @Lexicality made their first contribution in #1848
Full Changelog: v3.41.0...v3.42.0
Milestone: https://github.com/slackapi/python-slack-sdk/milestone/118?closed=1
v3.41.0
What's Changed
🚀 Enhancements
- feat: add support for apps.user.connection.update by @WilliamBergamin in #1835
📦 Other changes
- chore: add AGENTS.md and consolidate development scripts by @WilliamBergamin in #1836
- chore(deps): bump actions/upload-artifact from 6.0.0 to 7.0.0 by @dependabot[bot] in #1837
- chore(deps): bump actions/stale from 10.1.1 to 10.2.0 by @dependabot[bot] in #1838
- chore(deps): bump actions/download-artifact from 7.0.0 to 8.0.0 by @dependabot[bot] in #1839
- chore(release): version 3.41.0 by @WilliamBergamin in #1841
Full Changelog: v3.40.1...v3.41.0
Milestone: https://github.com/slackapi/python-slack-sdk/milestone/117?closed=1
v3.40.1
What's Changed
🐛 Bug Fixes
- fix: rely on naive datetime for sqlalchemy by @WilliamBergamin in #1833
📦 Other changes
- chore(release): version 3.40.1 by @WilliamBergamin in #1834
Full Changelog: v3.40.0...v3.40.1
Milestone: https://github.com/slackapi/python-slack-sdk/milestone/116?closed=1