Repository navigation
v0.6.0
⚠️ Security notice: this release depends on LangChain 0.3, which has since received security advisories (GHSA-qh6h-p6c9-ff54, GHSA-gr75-jv2w-4656, GHSA-fv5p-p927-qmxr, GHSA-2g6r-c272-w58r, GHSA-r7w7-9xr2-qq2r). Upgrade to v0.7.4 or later:pip install -U open-source-slack-ai.
Breaking Changes
- Major breaking changes for those using
ossaias a package. Updated signature of all handlers, they now take a SlackContext instance rather than directly taking a slack WebClient.
Before
return await handler_topics_slash_command(
client, ack, payload, say, user_id=payload['user_id']
)After
return await handler_topics_slash_command(
SlackContext(client), ack, payload, say, user_id=payload["user_id"]
)- To use the new archival feature, you'll need to ensure your Slack App is granted the
files:writescope.
Other changes
The changes below were released in prior versions that are being deprecated due to the undocumented breaking changes above.
- Experimental WIP feature for archiving message history to a file for analysis & archiving purposes. Access it via the
/sandboxcommand by default, or if usingossaias a package you can implement your own slash command (when released, the default will be/tldr_archive). - Formally declare aiohttp as a dependency to resolve downstream issues with testability.