QuantumGhost and GitHub
1789988be7
fix(api): fix concurrency issues in StreamsBroadcastChannel ( #34061 )
2026-03-25 15:47:31 +08:00
QuantumGhost and GitHub
eef13853b2
fix(api): StreamsBroadcastChannel start reading messages from the end ( #34030 )
...
The current frontend implementation closes the connection once `workflow_paused` SSE event is received and establish a new connection to subscribe new events. The implementation of `StreamsBroadcastChannel` sets initial `_last_id` to `0-0`, consumes streams from start and send `workflow_paused` event created before pauses to frontend, causing excessive connections being established.
This PR fixes the issue by setting initial id to `$`, which means only new messages are received by the subscription.
2026-03-25 10:21:57 +08:00
67d5c9d148
feat: configurable model parameters with variable reference support in LLM, Question Classifier and Variable Extractor nodes ( #33082 )
...
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-24 17:41:51 +08:00
244f9e0c11
fix: handle null email/name from GitHub API for private-email users ( #33882 )
...
Co-authored-by: copilot-swe-agent[bot] <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: QuantumGhost <[email protected] >
2026-03-23 14:53:03 +08:00
c7f86dba09
chore(deps-dev): bump the dev group across 1 directory with 19 updates ( #33525 )
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-16 20:31:58 +09:00
29b724e23d
chore(deps): bump google-auth from 2.49.0 to 2.49.1 in /api in the google group ( #33483 )
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asuka Minato <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-03-16 13:55:34 +09:00
-LAN- and GitHub
fb41b215c8
refactor(api): move workflow knowledge nodes and trigger nodes ( #33445 )
2026-03-15 15:24:59 +08:00
wangxiaolei and GitHub
2f4c740d46
feat: support redis xstream ( #32586 )
2026-03-04 13:18:55 +08:00
-LAN- and GitHub
c917838f9c
refactor: move workflow package to dify_graph ( #32844 )
2026-03-02 18:42:30 +08:00
HanWenbo and GitHub
691c9911c7
fix(ci): make pyrefly diff comments focus on diagnostics ( #32778 )
2026-03-02 10:11:23 +08:00
-LAN- and GitHub
20fcc95db9
test(api): add autospec to MagicMock-based patch usage ( #32752 )
2026-03-01 04:30:45 +08:00
704ee40caa
fix(api): excessive high CPU usage caused by RedisClientWrapper ( #32212 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-11 09:49:29 +08:00
a1fc280102
feat: Human Input Node ( #32060 )
...
The frontend and backend implementation for the human input node.
Co-authored-by: twwu <[email protected] >
Co-authored-by: JzoNg <[email protected] >
Co-authored-by: yyh <[email protected] >
Co-authored-by: zhsama <[email protected] >
2026-02-09 14:57:23 +08:00
2c9430313d
fix: redis for api token ( #31861 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: hj24 <[email protected] >
2026-02-06 16:25:27 +08:00
90fe9abab7
revert: revert human input relevant code ( #31766 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-30 19:18:49 +08:00
03e3acfc71
feat(api): Human Input Node (backend part) ( #31646 )
...
The backend part of the human in the loop (HITL) feature and relevant architecture / workflow engine changes.
Signed-off-by: yihong0618 <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <[email protected] >
Co-authored-by: 盐粒 Yanli <[email protected] >
Co-authored-by: CrabSAMA <[email protected] >
Co-authored-by: Stephen Zhou <[email protected] >
Co-authored-by: Copilot <[email protected] >
Co-authored-by: yihong <[email protected] >
Co-authored-by: Joel <[email protected] >
2026-01-30 10:18:49 +08:00
fa92548cf6
feat: archive workflow run logs backend ( #31310 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-23 13:11:56 +08:00
Xiyuan Chen and GitHub
72ce6ca437
feat: implement workspace permission checks for member invitations an… ( #31202 )
2026-01-18 19:35:50 -08:00
wangxiaolei and GitHub
0ec2b12e65
feat: allow pass hostname in docker env ( #30975 )
2026-01-14 19:30:37 +08:00
615c313f80
fix(api): refactors the SQL LIKE pattern escaping logic to use a centralized utility function, ensuring consistent and secure handling of special characters across all database queries. ( #30450 )
...
Signed-off-by: NeatGuyCoding <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-06 09:56:30 +08:00
Byron.wang and GitHub
5362f69083
feat(refactoring): Support Structured Logging (JSON) ( #30170 )
2026-01-04 11:46:46 +08:00
3015e9be73
feat: add archive storage client and env config ( #30422 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-31 16:14:46 +08:00
b7649f61f8
fix: Login secret text transmission ( #29659 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Joel <[email protected] >
Co-authored-by: -LAN- <[email protected] >
2025-12-16 16:55:51 +08:00
wangxiaolei and GitHub
cad2991946
feat: support redis 7.0 shared pub and sub ( #28333 )
2025-11-21 10:33:52 +08:00
+4
b76e17b25d
feat: introduce trigger functionality ( #27644 )
...
Signed-off-by: lyzno1 <[email protected] >
Co-authored-by: Stream <[email protected] >
Co-authored-by: lyzno1 <[email protected] >
Co-authored-by: zhsama <[email protected] >
Co-authored-by: Harry <[email protected] >
Co-authored-by: lyzno1 <[email protected] >
Co-authored-by: yessenia <[email protected] >
Co-authored-by: hjlarry <[email protected] >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: WTW0313 <[email protected] >
Co-authored-by: Copilot <[email protected] >
2025-11-12 17:59:37 +08:00
b9bc48d8dd
feat(api): Introduce Broadcast Channel ( #27835 )
...
This PR introduces a `BroadcastChannel` abstraction with broadcasting and at-most once delivery semantics, serving as the communication component between celery worker and API server.
It also includes a reference implementation backed by Redis PubSub.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Copilot <[email protected] >
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-10 17:23:21 +08:00
NeatGuyCoding and GitHub
6569801162
extract parse_time_range for console app stats related queries ( #27626 )
...
Signed-off-by: NeatGuyCoding <[email protected] >
2025-11-04 10:00:12 +08:00
Eric Guo and GitHub
ff32dff163
Enabled cross-subdomain console sessions by making the cookie domain configurable and aligning the frontend so it reads the shared CSRF cookie. ( #27190 )
2025-10-28 10:04:24 +08:00
e843fe8aa6
fix: rename cookie for webapp ( #27264 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-10-23 11:03:48 +08:00
32c715c4d0
rm type ignore ( #25715 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <[email protected] >
2025-10-21 11:26:58 +08:00
+24
9a5f214623
refactor: replace localStorage with HTTP-only cookies for auth tokens ( #24365 )
...
Signed-off-by: NeatGuyCoding <[email protected] >
Signed-off-by: lyzno1 <[email protected] >
Signed-off-by: kenwoodjw <[email protected] >
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Yunlu Wen <[email protected] >
Co-authored-by: Joel <[email protected] >
Co-authored-by: GareArc <[email protected] >
Co-authored-by: NFish <[email protected] >
Co-authored-by: Davide Delbianco <[email protected] >
Co-authored-by: minglu7 <[email protected] >
Co-authored-by: Ponder <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: heyszt <[email protected] >
Co-authored-by: Asuka Minato <[email protected] >
Co-authored-by: Guangdong Liu <[email protected] >
Co-authored-by: Eric Guo <[email protected] >
Co-authored-by: NeatGuyCoding <[email protected] >
Co-authored-by: XlKsyt <[email protected] >
Co-authored-by: Dhruv Gorasiya <[email protected] >
Co-authored-by: crazywoola <[email protected] >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: lyzno1 <[email protected] >
Co-authored-by: hj24 <[email protected] >
Co-authored-by: GuanMu <[email protected] >
Co-authored-by: 非法操作 <[email protected] >
Co-authored-by: Copilot <[email protected] >
Co-authored-by: Tonlo <[email protected] >
Co-authored-by: Yusuke Yamada <[email protected] >
Co-authored-by: Novice <[email protected] >
Co-authored-by: kenwoodjw <[email protected] >
Co-authored-by: Ademílson Tonato <[email protected] >
Co-authored-by: znn <[email protected] >
Co-authored-by: yangzheli <[email protected] >
2025-10-19 21:29:04 +08:00
ac79691d69
Feat/add status filter to workflow runs ( #26850 )
...
Co-authored-by: Jacky Su <[email protected] >
2025-10-18 12:15:29 +08:00
830f891a74
Fix json in md when use quesion classifier node ( #26992 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: crazywoola <[email protected] >
2025-10-18 11:58:40 +08:00
8a2b208299
Refactor account models to use SQLAlchemy 2.0 dataclass mapping ( #26415 )
...
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <[email protected] >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-10 17:12:12 +09:00
8940decd1b
more httpx ( #25651 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-22 23:07:09 +08:00
bab4975809
chore: add ast-grep rule to convert Optional[T] to T | None ( #25560 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-09-15 13:06:33 +08:00
26a9abef64
test: imporve ( #25461 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-09-10 11:36:22 +08:00
GuanMu and GitHub
a1cf48f84e
Add lib test ( #25410 )
2025-09-09 17:11:49 +08:00
a78339a040
remove bare list, dict, Sequence, None, Any ( #25058 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: -LAN- <[email protected] >
2025-09-06 03:32:23 +08:00
Charles Zhou and GitHub
0d745c64d8
chore: bump supabase and pyjwt versions and added tests ( #24681 )
2025-08-28 13:45:56 +08:00
Asuka Minato and GitHub
7995ff1410
Typing test ( #24651 )
2025-08-28 09:36:39 +08:00
0f4809b9b8
refactor: centralize email internationalization handling ( #22752 )
...
Co-authored-by: Claude <[email protected] >
2025-07-23 00:26:00 +08:00
Jason Young and GitHub
74caebac32
test: add comprehensive OAuth authentication unit tests ( #22528 )
2025-07-17 14:20:59 +08:00
QuantumGhost and GitHub
ddfd8c8525
feat(api): add UUIDv7 implementation in SQL and Python ( #22058 )
...
This PR introduces UUIDv7 implementations in both Python and SQL to establish the foundation for migrating from UUIDv4 to UUIDv7 as proposed in #19754 .
ID generation algorithm of existing models are not changed, and new models should use UUIDv7 for ID generation.
Close #19754 .
2025-07-16 13:07:08 +08:00
Jason Young and GitHub
27e5e2745b
test: add comprehensive unit tests for login decorator ( #22294 )
2025-07-14 09:34:13 +08:00
Jason Young and GitHub
253d8e5a5f
test: add comprehensive unit tests for PassportService with exception handling optimization ( #22268 )
2025-07-12 19:56:20 +08:00
-LAN- and GitHub
4cb50f1809
feat(libs): Introduce extract_tenant_id ( #22086 )
...
Signed-off-by: -LAN- <[email protected] >
2025-07-09 17:45:56 +08:00
Jason Young and GitHub
5c0cb7f912
test: add unit tests for password validation and hashing ( #22003 )
2025-07-08 10:00:00 +08:00
QuantumGhost and GitHub
10b738a296
feat: Persist Variables for Enhanced Debugging Workflow ( #20699 )
...
This pull request introduces a feature aimed at improving the debugging experience during workflow editing. With the addition of variable persistence, the system will automatically retain the output variables from previously executed nodes. These persisted variables can then be reused when debugging subsequent nodes, eliminating the need for repetitive manual input.
By streamlining this aspect of the workflow, the feature minimizes user errors and significantly reduces debugging effort, offering a smoother and more efficient experience.
Key highlights of this change:
- Automatic persistence of output variables for executed nodes.
- Reuse of persisted variables to simplify input steps for nodes requiring them (e.g., `code`, `template`, `variable_assigner`).
- Enhanced debugging experience with reduced friction.
Closes #19735 .
2025-06-24 09:05:29 +08:00
-LAN- and GitHub
0dcacdf83d
feat: add a flask_context_manager. ( #21061 )
...
Signed-off-by: -LAN- <[email protected] >
2025-06-17 16:31:29 +08:00