Skip to content

Releases: coze-dev/coze-py

v0.3.0

09 Oct 08:42
4e5547e
Compare
Choose a tag to compare

Changes

🚀 Features

  • feat: Add AsyncStream and async clients for all async interfaces @chyroc (#56)
  • feat: Add async support with httpx.AsyncClient and refactor HTTP clients @chyroc (#55)

🧰 Maintenance

  • chore: Release v0.3.0 @chyroc (#63)
  • docs: Update README to include usage instructions for stream and async @chyroc (#62)
  • chore: Correct type annotations and add mypy for code checking @chyroc (#61)
  • chore: Correct type annotation to accurately identify @chyroc (#60)
  • refactor: Refactor CozePKCEAuthError to use CozePKCEAuthErrorType Enum @chyroc (#58)
  • chore: Correct type annotation for Iterable of T @chyroc (#57)

Full Changelog: v0.2.0...v0.3.0

v0.2.0

08 Oct 02:50
a6c0d31
Compare
Choose a tag to compare

Changes

🚀 Features

  • feat: Add logid support to CozeEventError exception @chyroc (#50)
  • feat: Add Web OAuth app scenario @chyroc (#44)
  • feat: Add bot restriction support in JWT OAuth app @chyroc (#42)
  • feat: Add Device Auth flow with error handling @chyroc (#41)
  • feat: Add PKCE OAuth flow and refactor OAuth structure @chyroc (#40)
  • refactor: Merge Chat and Workflow Iterator into a generic Stream Iterator @chyroc (#32)
  • feat: Add submit_tool_outputs API @chyroc (#31)
  • feat: Add logging to requester and setup_logging function @chyroc (#30)
  • feat: Update documentation and export knowledge base classes @chyroc (#29)
  • feat: Add API for delete knowledge document @chyroc (#28)
  • feat: Add API for updating knowledge document @chyroc (#27)
  • feat: Add API to create knowledge documents with multiple document su… @chyroc (#26)
  • feat: Add Knowledge API to fetch document list @chyroc (#24)
  • feat: Customize HTTPClient by extending httpx.Client @chyroc (#23)
  • feat: Add version file and include in HTTP request user-agent @chyroc (#21)
  • feat: Add custom exceptions and replace direct Exception usage @chyroc (#19)
  • build: Add support for Python 3.7 @chyroc (#18)
  • refactor: Replace requests with httpx @chyroc (#17)
  • feat: add workflow api @chyroc (#16)
  • feat: add upload and retrieve file api @chyroc (#15)
  • feat: add message api @chyroc (#14)
  • feat: add create/update/publish bot api @chyroc (#13)
  • feat: support ApplicationOAuth jwt auth to impl Auth @chyroc (#12)
  • refactor: refactor folder struct @chyroc (#11)
  • feat: get and cancel chat v3 @chyroc (#10)
  • feat: add chat v3 api @chyroc (#9)
  • feat: add get conversation api @chyroc (#8)
  • feat: add create conversation api @chyroc (#7)
  • feat: add get workspace list api @chyroc (#6)
  • feat: get oauth token by jwt flow @chyroc (#4)
  • feat: add list_published_bots_v1 api @chyroc (#2)
  • feat: add bot.get_online_info_v1 feature @chyroc (#1)

🐛 Bug Fixes

  • fix: Correct scope parameter type in JWT OAuth app for channel scenarios @chyroc (#43)
  • fix: Correct knowledge base document list retrieval API @chyroc (#37)

🧰 Maintenance

  • chore: Release v0.2.0 @chyroc (#52)
  • chore: Update automated release configuration @chyroc (#53)
  • chore: Update codecov configuration and add missing unit tests @chyroc (#49)
  • chore: Add more test @chyroc (#48)
  • chore: Add respx dependency and update unit tests to use mocks @chyroc (#47)
  • docs: Correct typo in README from 'pycon' to 'python' @chyroc (#46)
  • docs: Add README for using 4 types of OAuth apps @chyroc (#45)
  • refactor: Move random_hex function to util.py @chyroc (#39)
  • refactor: Simplify code by removing getargs and getorigin @nhywieza (#33)
  • refactor: Rename variable json to body to avoid using built-in package name @chyroc (#38)
  • style: Update enum values to uppercase snake_case and format code @chyroc (#25)
  • docs: Update LICENSE with correct copyright holder @chyroc (#22)
  • chore: Configure coverage.io and update ci.yaml @chyroc (#20)
  • chore: add black to format code @chyroc (#5)
  • chore: add test ci @chyroc (#3)

New Contributors

Full Changelog: v0.1.0...v0.2.0