Commit Graph

93 Commits

Author SHA1 Message Date
Yeuoly 8310e77533 chore: update Python SDK version to 0.1.0 and add README for Dify Plugin SDK 2025-04-10 14:56:55 +08:00
Yeuoly 957aab49cd fix: improve gevent socket connection handling, avoid blocking except… (#86)
* fix: improve gevent socket connection handling, avoid blocking exceptions

* fix: enhance TCP socket handling with thread safety and improved data transmission
2025-04-10 13:42:35 +08:00
3Dify-developer 579f26f67a chore: update pydantic-settings version to >=2.5.0 (#80)
* chore: update pydantic-settings version to >=2.5.0

* chore: limit pydantic-settings < v3.0.0
2025-04-09 20:09:47 +08:00
Yeuoly 46cc404d2e fix: bump sdk version to beta76 2025-03-29 01:55:53 +09:00
Novice 4fb304570e bump version to 0.0.1-beta75 2025-03-27 09:20:53 +08:00
Novice f1e62ad85b chore: update dependency constraint for pydantic 2025-03-25 08:45:02 +08:00
Novice 4dac802553 Merge branch 'main' into chore/upgrade-yarl-version 2025-03-25 08:44:42 +08:00
QuantumGhost 9e084d7d09 feat(python): upgrade ruff to v0.11.2, integrate flake8-bandit ruleset for security linting (#65)
* chore(python): update .gitignore for Python SDK

Adjust .gitignore for Python SDK based on the templated generated by
gitignore.io, with minor custom modifications.

* chore: add .editorconfig for consistent formatting

Add a .editorconfig file to enforce consistent file encoding,
indentation, and end-of-line characters across the project.

* chore(python): upgrade ruff version to v0.11.2

* feat(python): Integrate flake8-bandit ruleset for security linting

Enable the flake8-bandit (S) ruleset in ruff to enforce security-related
best practices and mitigate potential vulnerabilities in the codebase.

Suppress existing issues in the current code using `noqa` comments, primarily for
instances of `requests` calls without a specified `timeout` parameter.
2025-03-24 18:00:14 +08:00
Novice 46ca484beb chore: update dependency constraint for yarl 2025-03-21 09:53:41 +08:00
Yeuoly b2ace32a05 bump version to 0.0.1-beta74 2025-03-18 18:49:54 +08:00
Yeuoly 43c566799e bump version to 0.0.1-beta74 2025-03-18 17:41:43 +08:00
-LAN- b7a30ae78a fix: cannot init prompt message (#42)
* chore(*): Add pytest into test group

Signed-off-by: -LAN- <laipz8200@outlook.com>

* fix: Enhance content transformation to support Sequence type and add unit tests

Signed-off-by: -LAN- <laipz8200@outlook.com>

---------

Signed-off-by: -LAN- <laipz8200@outlook.com>
2025-03-14 13:36:48 +08:00
Yeuoly c40344f44f bump sdk to beta 73 2025-03-12 20:18:41 +08:00
Yeuoly b936b1be9f fix: flush output when initialize 2025-03-07 16:14:16 +08:00
Yeuoly 7cb4b8a00a chore: Bump version to 0.0.1-beta71 and add server startup logging 2025-03-06 17:53:03 +08:00
Yeuoly 0354eda546 feat: Add health check endpoint and token counting optimization 2025-03-04 15:48:14 +08:00
Yeuoly 161045b65f fix: memory leak 2025-03-03 14:15:51 +08:00
Yeuoly 0685b4bec5 bump to beta68 2025-02-28 14:09:27 +08:00
Yeuoly 6cf29e1040 bump gevent to 24.11.1 2025-02-18 10:23:49 +08:00
Novice 9832fa7257 bump version to 0.0.1-beta66 2025-02-10 17:43:51 +08:00
Yeuoly 7c90378701 bump version to beta65 2025-02-10 15:09:35 +08:00
Novice Lee eee96a3b25 bump version to 0.0.1-beta64 2025-02-08 11:34:02 +08:00
Novice Lee 5fbbfe5fe2 bump version to 0.0.1-beta63 2025-02-07 10:56:04 +08:00
Novice Lee 54dc283c18 bump version to 0.0.1-beta62 2025-01-22 13:44:06 +08:00
Yeuoly 40fa53baee bump version to 0.0.1-beta61 2025-01-21 15:07:48 +08:00
Novice Lee e764cd2d9e bump version to 0.0.1-beta60 2025-01-09 08:53:29 +08:00
Novice Lee fbe6e3f08c bump version to 0.0.1-beta59 2025-01-08 07:59:40 +08:00
Yeuoly d0f12a590a bump version to 0.0.1-beta58 2025-01-07 20:44:08 +08:00
Yeuoly aa15b9315b bump to beta57 2025-01-03 18:08:31 +08:00
Yeuoly c14d28908d bump to beta 56 2025-01-03 17:30:50 +08:00
Yeuoly d65b36cdb9 bump to beta55 2025-01-03 14:49:24 +08:00
Yeuoly 749e55e3a4 bump to 0.0.1-beta.54 2024-12-27 22:58:14 +08:00
Yeuoly de4ffe2cd9 bump to 0.0.1-beta53 2024-12-26 17:28:59 +08:00
Yeuoly d450c94888 fix: using absolute importing 2024-12-17 18:24:31 +08:00
Yeuoly 123fe35f1c bump version to beta51 2024-12-16 23:13:22 +08:00
Yeuoly 55097006c7 feat: release first agent version 2024-12-13 15:05:47 +08:00
Yeuoly aaf4f20df3 bump sdk to b49 2024-12-06 19:15:58 +08:00
Yeuoly fe7b246939 chore: bump version to beta48 2024-12-04 16:16:04 +08:00
Yeuoly 2fd16834d0 feat: support mime type and type for File 2024-12-03 16:54:01 +08:00
Yeuoly bc1097dcca chore: bump sdk to b46 2024-12-03 15:50:05 +08:00
Yeuoly 6bd2aa721f fix: Sequence to list 2024-12-03 15:30:55 +08:00
-LAN- 7153cd6a64 chore: add ruff to dependency
Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 22:45:34 +08:00
-LAN- e71dbdef59 feat: Introduce PDM
1. Use PDM and `pyproject.toml` instead of the `requirements.txt` under `python/dify_plugin`.
2. Use PDM and `setup-pdm` action instead of setuptools and publish manually.

> You can configure trusted publishers for PyPI so that you don't need to expose the PyPI tokens in the release workflow. To do this, follow [the guide](https://docs.pypi.org/trusted-publishers/adding-a-publisher/) to add a publisher.

Signed-off-by: -LAN- <laipz8200@outlook.com>
2024-12-02 20:44:06 +08:00