Skip to content

Releases: larksuite/channel-sdk-python

lark-channel-sdk v1.0.0

Choose a tag to compare

@HanShaoshuai-k HanShaoshuai-k released this 05 Jun 09:03
a976b2b

lark-channel-sdk v1.0.0

This is the first standalone release of the Python Channel SDK.

Highlights

  • Standalone package: lark-channel-sdk
  • New import path: lark_channel
  • High-level FeishuChannel entry point
  • WebSocket and webhook event handling
  • Message normalization, send/reply/update/recall/forward
  • Card actions and streaming card updates
  • Media upload/download and media cache primitives
  • Message reactions and typing reaction helpers
  • Cloud document comment context and reply/update helpers for supported doc, docx, sheet, and file targets

Compatibility

  • Existing lark_oapi.channel users are not forced to migrate immediately.
  • The full OpenAPI SDK remains available from lark-oapi.
  • lark-channel-sdk is designed to install alongside lark-oapi.

Migration

pip install lark-channel-sdk
from lark_channel import FeishuChannel

See Migration from lark_oapi.channel for the
full checklist.

Security

SecurityConfig defaults to compatibility mode. Use audit mode to observe
legacy behavior during rollout, then strict mode to enforce webhook signature,
WebSocket endpoint, error-response, and token-cache checks.

See Security configuration.

Notes

  • Media cache, typing reactions, and cloud document comment helpers require the corresponding Lark app permissions.
  • Cloud document comment helpers cover supported doc, docx, sheet, and file comment targets.
  • The full Drive/OpenAPI surface remains in lark-oapi.