[PR #23643] feat: simplify marketplace plugin identifier format #30333

Closed
opened 2026-02-21 20:47:17 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/23643

State: closed
Merged: No


Summary

  • Simplified marketplace plugin identifier format by removing checksums
  • Changed from org/name:version@checksum to org/name:version
  • Updated download endpoint to use REST-style path /api/v1/plugins/{org}/{name}/{version}/download

Changes

  1. Backend (Python):

    • Updated marketplace.py to parse the new format and use the new download endpoint
    • Modified plugin entities to strip checksums when present for backward compatibility
  2. Frontend (TypeScript/React):

    • Updated components to handle the simplified format
    • Added checksum stripping for backward compatibility

Benefits

  • Simpler and more stable plugin identifiers (checksums can change even for same version)
  • Cleaner DSL structure
  • Better developer experience
  • Maintains full backward compatibility

Test Plan

  • Backend code formatted with ruff
  • Frontend code lints successfully
  • Test installing plugins with old format (with checksum)
  • Test installing plugins with new format (without checksum)
  • Verify download endpoint works with new REST-style path

Fixes #23642

**Original Pull Request:** https://github.com/langgenius/dify/pull/23643 **State:** closed **Merged:** No --- ## Summary - Simplified marketplace plugin identifier format by removing checksums - Changed from `org/name:version@checksum` to `org/name:version` - Updated download endpoint to use REST-style path `/api/v1/plugins/{org}/{name}/{version}/download` ## Changes 1. **Backend (Python)**: - Updated `marketplace.py` to parse the new format and use the new download endpoint - Modified plugin entities to strip checksums when present for backward compatibility 2. **Frontend (TypeScript/React)**: - Updated components to handle the simplified format - Added checksum stripping for backward compatibility ## Benefits - Simpler and more stable plugin identifiers (checksums can change even for same version) - Cleaner DSL structure - Better developer experience - Maintains full backward compatibility ## Test Plan - [x] Backend code formatted with ruff - [x] Frontend code lints successfully - [ ] Test installing plugins with old format (with checksum) - [ ] Test installing plugins with new format (without checksum) - [ ] Verify download endpoint works with new REST-style path Fixes #23642
yindo added the pull-request label 2026-02-21 20:47:17 -05:00
yindo closed this issue 2026-02-21 20:47:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#30333