[PR #2067] [MERGED] feat(feishu_task): Update the API in feishu_task tool to version 2.0 to support more features #2240

Closed
opened 2026-02-16 11:16:27 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-official-plugins/pull/2067
Author: @lycohana
Created: 11/14/2025
Status: Merged
Merged: 11/17/2025
Merged by: @crazywoola

Base: plugin/feishu_taskHead: plugin/feishu_task


📝 Commits (10+)

  • 10a6db2 feat(feishu): add Feishu Task API v2 utility class
  • 987bac5 feat(feishu tasks): upgrade Feishu Task API to v2 and add timezone support
  • a1e14b2 fix(feishu tasks): improve task creation tool and API implementation
  • 8c3919b fix(feishu task): fix time handling logic and optimize member list processing
  • dda2bc5 fix(feishu_task): Remove feishu_task.difypkg package file
  • 23c89a9 feat(feishu_task): add user ID retrieval tool and optimize API utility class
  • c8a7c9d ci(feishu_task): Bump feishu_task plugin version to 0.1.0
  • a04e208 feat(feishu_task): update task tool and member-adding tool features
  • 7e0787b chore: update feishu_task plugin version to 1.0.0
  • a838729 Update tools/feishu_task/feishu_task_api_v2_utils.py

📊 Changes

14 files changed (+633 additions, -47 deletions)

View changed files

📝 .gitignore (+1 -0)
tools/feishu_task/feishu_task_api_v2_utils.py (+366 -0)
📝 tools/feishu_task/manifest.yaml (+2 -2)
📝 tools/feishu_task/provider/feishu_task.py (+1 -1)
📝 tools/feishu_task/provider/feishu_task.yaml (+9 -0)
📝 tools/feishu_task/requirements.txt (+1 -0)
📝 tools/feishu_task/tools/add_members.py (+38 -5)
📝 tools/feishu_task/tools/add_members.yaml (+47 -13)
📝 tools/feishu_task/tools/create_task.py (+31 -6)
📝 tools/feishu_task/tools/create_task.yaml (+74 -11)
📝 tools/feishu_task/tools/delete_task.py (+2 -2)
tools/feishu_task/tools/get_user_id.py (+19 -0)
tools/feishu_task/tools/get_user_id.yaml (+28 -0)
📝 tools/feishu_task/tools/update_task.py (+14 -7)

📄 Description

Related Issues or Context

close https://github.com/langgenius/dify-official-plugins/issues/1991

This PR contains Changes to Non-Plugin

  • Documentation
  • Other

This PR contains Changes to Non-LLM Models Plugin

  • I have Run Comprehensive Tests Relevant to My Changes
image I have completed all the tests locally. But because it was updated to the feishu api 2.0, it was a destructive update compared to the previous version.

This PR contains Changes to LLM Models Plugin

  • My Changes Affect Message Flow Handling (System Messages and User→Assistant Turn-Taking)
  • My Changes Affect Tool Interaction Flow (Multi-Round Usage and Output Handling, for both Agent App and Agent Node)
  • My Changes Affect Multimodal Input Handling (Images, PDFs, Audio, Video, etc.)
  • My Changes Affect Multimodal Output Generation (Images, Audio, Video, etc.)
  • My Changes Affect Structured Output Format (JSON, XML, etc.)
  • My Changes Affect Token Consumption Metrics
  • My Changes Affect Other LLM Functionalities (Reasoning Process, Grounding, Prompt Caching, etc.)
  • Other Changes (Add New Models, Fix Model Parameters etc.)

Version Control (Any Changes to the Plugin Will Require Bumping the Version)

  • I have Bumped Up the Version in Manifest.yaml (Top-Level Version Field, Not in Meta Section)

Dify Plugin SDK Version

  • I have Ensured dify_plugin>=0.3.0,<0.6.0 is in requirements.txt (SDK docs)

Environment Verification (If Any Code Changes)

Local Deployment Environment

  • Dify Version is: 1.9.2, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration.

SaaS Environment

  • I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the Production Configuration

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-official-plugins/pull/2067 **Author:** [@lycohana](https://github.com/lycohana) **Created:** 11/14/2025 **Status:** ✅ Merged **Merged:** 11/17/2025 **Merged by:** [@crazywoola](https://github.com/crazywoola) **Base:** `plugin/feishu_task` ← **Head:** `plugin/feishu_task` --- ### 📝 Commits (10+) - [`10a6db2`](https://github.com/langgenius/dify-official-plugins/commit/10a6db2444e7e7215d8e128fd47b00ce3ceb9085) feat(feishu): add Feishu Task API v2 utility class - [`987bac5`](https://github.com/langgenius/dify-official-plugins/commit/987bac5dbde0839988f76d251eab251998d6aeea) feat(feishu tasks): upgrade Feishu Task API to v2 and add timezone support - [`a1e14b2`](https://github.com/langgenius/dify-official-plugins/commit/a1e14b27ff9e0b2e3f0e402273dce3b762b4a762) fix(feishu tasks): improve task creation tool and API implementation - [`8c3919b`](https://github.com/langgenius/dify-official-plugins/commit/8c3919bdff7000f32f8ad84ac83d9f931f8fb54c) fix(feishu task): fix time handling logic and optimize member list processing - [`dda2bc5`](https://github.com/langgenius/dify-official-plugins/commit/dda2bc58ef157fb5c5c891b51a4a63072c18b12b) fix(feishu_task): Remove feishu_task.difypkg package file - [`23c89a9`](https://github.com/langgenius/dify-official-plugins/commit/23c89a9c0661103dc33b29fe5f7bc753a3bed14f) feat(feishu_task): add user ID retrieval tool and optimize API utility class - [`c8a7c9d`](https://github.com/langgenius/dify-official-plugins/commit/c8a7c9ded50e720ba32206463497ff3e1ac33155) ci(feishu_task): Bump feishu_task plugin version to 0.1.0 - [`a04e208`](https://github.com/langgenius/dify-official-plugins/commit/a04e2085f792c055287dfdec157821865a31cba7) feat(feishu_task): update task tool and member-adding tool features - [`7e0787b`](https://github.com/langgenius/dify-official-plugins/commit/7e0787bf937f42ebdbf4a6e4b3c5e8ceed392708) chore: update feishu_task plugin version to 1.0.0 - [`a838729`](https://github.com/langgenius/dify-official-plugins/commit/a83872970cbd5f974fb7274b77a6f031c7ddb9d4) Update tools/feishu_task/feishu_task_api_v2_utils.py ### 📊 Changes **14 files changed** (+633 additions, -47 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) ➕ `tools/feishu_task/feishu_task_api_v2_utils.py` (+366 -0) 📝 `tools/feishu_task/manifest.yaml` (+2 -2) 📝 `tools/feishu_task/provider/feishu_task.py` (+1 -1) 📝 `tools/feishu_task/provider/feishu_task.yaml` (+9 -0) 📝 `tools/feishu_task/requirements.txt` (+1 -0) 📝 `tools/feishu_task/tools/add_members.py` (+38 -5) 📝 `tools/feishu_task/tools/add_members.yaml` (+47 -13) 📝 `tools/feishu_task/tools/create_task.py` (+31 -6) 📝 `tools/feishu_task/tools/create_task.yaml` (+74 -11) 📝 `tools/feishu_task/tools/delete_task.py` (+2 -2) ➕ `tools/feishu_task/tools/get_user_id.py` (+19 -0) ➕ `tools/feishu_task/tools/get_user_id.yaml` (+28 -0) 📝 `tools/feishu_task/tools/update_task.py` (+14 -7) </details> ### 📄 Description ## Related Issues or Context <!-- ⚠️ NOTE: This repository is for Dify Official Plugins only. For community contributions, please submit to https://github.com/langgenius/dify-plugins instead. - Link Related Issues if Applicable: #issue_number - Or Provide Context about Why this Change is Needed --> close https://github.com/langgenius/dify-official-plugins/issues/1991 ## This PR contains Changes to *Non-Plugin* <!-- Put an `x` in all the boxes that apply by replacing [ ] with [x] For example: - [x] Documentation --> - [ ] Documentation - [ ] Other ## This PR contains Changes to *Non-LLM Models Plugin* - [x] I have Run Comprehensive Tests Relevant to My Changes <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> <img width="1138" height="874" alt="image" src="https://github.com/user-attachments/assets/839d772e-e758-4256-8123-0dac4203b582" /> I have completed all the tests locally. But because it was updated to the feishu api 2.0, it was a destructive update compared to the previous version. ## This PR contains Changes to *LLM Models Plugin* <!-- LLM Models Test Example: --> <!-- https://github.com/langgenius/dify-official-plugins/blob/main/.assets/test-examples/llm-plugin-tests/llm_test_example.md --> - [ ] My Changes Affect Message Flow Handling (System Messages and User→Assistant Turn-Taking) <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> - [ ] My Changes Affect Tool Interaction Flow (Multi-Round Usage and Output Handling, for both Agent App and Agent Node) <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> - [ ] My Changes Affect Multimodal Input Handling (Images, PDFs, Audio, Video, etc.) <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> - [ ] My Changes Affect Multimodal Output Generation (Images, Audio, Video, etc.) <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> - [ ] My Changes Affect Structured Output Format (JSON, XML, etc.) <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> - [ ] My Changes Affect Token Consumption Metrics <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> - [ ] My Changes Affect Other LLM Functionalities (Reasoning Process, Grounding, Prompt Caching, etc.) <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> - [ ] Other Changes (Add New Models, Fix Model Parameters etc.) <!-- 📷 Include Screenshots/Videos Demonstrating the Fix, New Feature, or the Behavior Before/After Breaking Changes. --> ## Version Control (Any Changes to the Plugin Will Require Bumping the Version) - [x] I have Bumped Up the Version in Manifest.yaml (Top-Level `Version` Field, Not in Meta Section) <!-- ⚠️ NOTE: Version Format: MAJOR.MINOR.PATCH - MAJOR (0.x.x): Reserved for Significant architectural changes or incompatible API modifications - MINOR (x.0.x): For New feature additions while maintaining backward compatibility - PATCH (x.x.0): For Backward-compatible bug fixes and minor improvements - Note: Each Version Component (MAJOR, MINOR, PATCH) Can Be 2 Digits, e.g., 10.11.22 --> ## Dify Plugin SDK Version - [ ] I have Ensured `dify_plugin>=0.3.0,<0.6.0` is in requirements.txt ([SDK docs](https://github.com/langgenius/dify-plugin-sdks/blob/main/python/README.md)) ## Environment Verification (If Any Code Changes) <!-- ⚠️ NOTE: At Least One Environment Must Be Tested. --> ### Local Deployment Environment - [x] Dify Version is: 1.9.2, I have Tested My Changes on Local Deployment Dify with a Clean Environment That Matches the Production Configuration. <!-- - Python Virtual Env Matching Manifest.yaml & requirements.txt - No Breaking Changes in Dify That May Affect the Testing Result --> ### SaaS Environment - [ ] I have Tested My Changes on cloud.dify.ai with a Clean Environment That Matches the Production Configuration <!-- - Python Virtual Env Matching Manifest.yaml & requirements.txt --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 11:16:27 -05:00
yindo closed this issue 2026-02-16 11:16:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#2240