Skip to content

2.3.0

Choose a tag to compare

@guoshiqiufeng guoshiqiufeng released this 23 Apr 03:26
· 15 commits to main since this release
260b7e1

Overview

Version 2.3.0 expands the Server API with app lifecycle management, app model config publishing, and workspace member invitation support, along with
documentation and test coverage updates.

New Features

1. App Management APIs (Server)

  • Added createApp(AppCreateRequest), updateApp(String appId, AppUpdateRequest request), and deleteApp(String appId) to DifyServer and
    DifyServerClient.
  • Implemented default client support for app create/update/delete endpoints under /apps.
  • Delegation implemented in DifyServerClientImpl.

2. App Model Config Publish API (Server)

  • Added updateAppModelConfig(String appId, AppModelConfigRequest request) to DifyServer and DifyServerClient.
  • Implemented default client support for POST /apps/{appId}/model-config (no response body).
  • Supports publishing model-related configuration updates for chat / agent-chat / completion apps.

3. Workspace Member Invite API (Server)

  • Added inviteMembers(MemberInviteRequest request) to DifyServer and DifyServerClient.
  • Implemented default client support for POST /workspaces/current/members/invite-email.
  • Returns per-email invitation results (activation URL on success, error message on failure).

Improvements

  • Added maxActiveRequests to AppUpdateRequest, with documented semantics that 0 means unlimited.
  • Added comprehensive AppModelConfigRequest DTO structure for advanced model/prompt/tool/upload/retrieval settings.

Documentation

  • Added/updated Server feature docs (EN/ZH) for:
    • Create App
    • Update App
    • Delete App
    • Publish App Model Config
    • Invite Members
  • Documented max_active_requests = 0 behavior.

Tests

  • Added unit tests for new Server APIs in default client and server client implementations.