Skip to content

v0.4.0

Compare
Choose a tag to compare
@meetbryce meetbryce released this 30 Aug 04:34
· 25 commits to main since this release

Breaking Changes

The function signatures of multiple handlers have changed. If you run your own serve using the open-source-slack-ai package, you'll need to update your usage accordingly.

What's Changed

  • feat: introduce @catch_errors_and_dm_user decorator for use in handlers (resolving #7)
  • feat: add support for proper logging
  • refactor: resolve inconsistencies in handler signatures
  • test: unit test to ensure handlers all inform the user if not in channel

Minor improvements

  • chore: add CORS middleware for future use
  • chore: standardize on Black formatting
  • chore: remove handle_slack_api_error_with_say() and its usage since our decorator handles it now
  • test: update test to better reflect real world payload

Full Changelog: v0.3.2...v0.4.0