Skip to content

v0.6.0

Choose a tag to compare

@meetbryce meetbryce released this 11 Jun 16:06
· 81 commits to main since this release

⚠️ 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

  1. Major breaking changes for those using ossai as 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"]
)
  1. To use the new archival feature, you'll need to ensure your Slack App is granted the files:write scope.

Other changes

The changes below were released in prior versions that are being deprecated due to the undocumented breaking changes above.

  1. Experimental WIP feature for archiving message history to a file for analysis & archiving purposes. Access it via the /sandbox command by default, or if using ossai as a package you can implement your own slash command (when released, the default will be /tldr_archive).
  2. Formally declare aiohttp as a dependency to resolve downstream issues with testability.