zhsama
760a739e91
Merge branch 'main' into feat/grouping-branching
...
# Conflicts:
# web/package.json
2026-01-06 22:00:01 +08:00
Coding On Star
64bfcbc4a9
feat: implement dataset creation step one with preview functionality ( #30507 )
...
Co-authored-by: CodingOnStar <hanxujiang@dify.ai>
2026-01-06 18:59:18 +08:00
wangxiaolei
2cc89d30db
feat: use more universal C.UTF-8 instead of en_US.UTF-8 ( #30621 )
2026-01-06 16:39:04 +08:00
yyh
5661f821c3
chore: bump pnpm version in packageManager ( #30605 )
2026-01-06 15:24:25 +08:00
-LAN-
1f5d744cc2
fix(db): parameterize sessionmaker with Session ( #30612 )
2026-01-06 15:23:50 +08:00
wangxiaolei
68d68a46a0
refactor: generate_url to support scenario to build url ( #30598 )
2026-01-06 14:53:38 +08:00
-LAN-
d12b91a01a
refactor(api): inject sessionmaker into conversation variable updater ( #30609 )
2026-01-06 14:52:59 +08:00
lif
f3ca8be9f9
refactor: clean type: ignore comments in login.py and template_transformer.py ( #30510 )
...
Signed-off-by: majiayu000 <1835304752@qq.com>
2026-01-06 14:33:27 +08:00
wangxiaolei
4f74e90f51
fix: _model_to_insertion_dict missing id ( #30603 )
2026-01-06 14:13:29 +08:00
-LAN-
d6e9c3310f
feat: Add conversation variable persistence layer ( #30531 )
2026-01-06 14:05:33 +08:00
Stephen Zhou
b2124a7358
feat: init rsc support for translation ( #30596 )
2026-01-06 13:23:03 +08:00
CodeCraftsman
89463cc11d
fix: allow unauthenticated CORS preflight for embedded bots ( #30587 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-06 11:40:34 +08:00
Zhiqiang Yang
114a34e008
fix: correct docx hyperlink extraction ( #30360 )
2026-01-06 11:24:26 +08:00
Asuka Minato
f320fd5f95
refactor: port controllers/console/app/app.py ( #30522 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-06 10:12:52 +08:00
wangxiaolei
061d552928
feat: unified management stop event ( #30479 )
2026-01-06 10:12:05 +08:00
ga_o
eccf79a710
chore: remove unused link icon type ( #30469 )
2026-01-06 10:10:06 +08:00
Asuka Minato
7e3bfb9250
refactor: split changes for api/controllers/console/datasets/hit_test… ( #30581 )
2026-01-06 10:08:09 +08:00
yyh
f14c3ce15e
fix: system model selector loading state flash ( #30572 )
2026-01-06 10:07:42 +08:00
Asuka Minato
c0331b23a9
refactor: split changes for api/controllers/web/conversation.py ( #30582 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-06 10:06:48 +08:00
Asuka Minato
ce87371bef
refactor: split changes for api/controllers/web/saved_message.py ( #30583 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-06 10:06:21 +08:00
NeatGuyCoding
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 <15627489+NeatGuyCoding@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-06 09:56:30 +08:00
zhsama
d92c476388
feat(workflow): enhance group node availability checks
...
- Updated `checkMakeGroupAvailability` to include a check for existing group nodes, preventing group creation if a group node is already selected.
- Modified `useMakeGroupAvailability` and `useNodesInteractions` hooks to incorporate the new group node check, ensuring accurate group creation logic.
- Adjusted UI rendering logic in the workflow panel to conditionally display elements based on node type, specifically for group nodes.
2026-01-06 02:07:13 +08:00
-LAN-
de6262784c
chore: Harden API image Node.js runtime install ( #30497 )
2026-01-05 21:19:26 +09:00
zhsama
9012dced6a
feat(workflow): improve group node interaction handling
...
- Enhanced `useNodesInteractions` to better manage group node handlers and connections, ensuring accurate identification of leaf nodes and their branches.
- Updated logic to create handlers based on node connections, differentiating between internal and external connections.
- Refined initial node setup to include target branches for group nodes, improving the overall interaction model for grouped elements.
2026-01-05 17:42:31 +08:00
-LAN-
a9e2c05a10
feat(graph-engine): add command to update variables at runtime ( #30563 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-05 16:47:34 +08:00
-LAN-
6f8bd58e19
feat(graph-engine): make layer runtime state non-null and bound early ( #30552 )
...
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>
2026-01-05 16:43:42 +08:00
zhsama
50bed78d7a
feat(workflow): add group node support and translations
...
- Introduced GroupDefault node with metadata and default values for group nodes.
- Enhanced useNodeMetaData hook to handle group node author and description using translations.
- Added translations for group node functionality in English, Japanese, Simplified Chinese, and Traditional Chinese.
2026-01-05 16:29:00 +08:00
scdeng
591ca05c84
feat(logstore): make `graph` field optional via env variable LOGSTORE… ( #30554 )
...
Co-authored-by: 阿永 <ayong.dy@alibaba-inc.com>
2026-01-05 16:12:41 +08:00
Stephen Zhou
a72044aa86
chore: fix lint in i18n ( #30571 )
2026-01-05 16:12:12 +08:00
Lework
34f3b288a7
chore(docker): update nltk data download process to include unstructured download_nltk_packages ( #28876 )
2026-01-05 15:50:33 +08:00
-LAN-
a99ac3fe0d
refactor(models): Add mapped type hints to MessageAnnotation ( #27751 )
2026-01-05 15:50:03 +08:00
Stephen Zhou
52149c0d9b
chore(web): add ESLint rules for i18n JSON validation ( #30491 )
2026-01-05 15:49:31 +08:00
wangxiaolei
631f999f65
refactor: use contains_any instead of Chaining where = where | f ( #30559 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-05 15:48:31 +08:00
zhsama
60250355cb
feat(workflow): enhance group edge management and validation
...
- Introduced `createGroupInboundEdges` function to manage edges for group nodes, ensuring proper connections to head nodes.
- Updated edge creation logic to handle group nodes in both inbound and outbound scenarios, including temporary edges.
- Enhanced validation in `useWorkflow` to check connections for group nodes based on their head nodes.
- Refined edge processing in `preprocessNodesAndEdges` to ensure correct handling of source handles for group edges.
2026-01-05 15:48:26 +08:00
hsiong
be3ef9f050
fix : #30511 [Bug] knowledge_retrieval_node fails when using Rerank Model: "Working outside of application context" and add regression test ( #30549 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-05 15:02:21 +08:00
zhsama
75afc2dc0e
chore: update packageManager version in package.json to pnpm@10.27.0
2026-01-05 14:42:48 +08:00
dependabot[bot]
93a85ae98a
chore(deps): bump @amplitude/analytics-browser from 2.31.4 to 2.33.1 in /web ( #30538 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-05 15:05:04 +09:00
wangxiaolei
e3e19c437a
fix: fix db env not work ( #30541 )
2026-01-05 11:10:45 +08:00
hsiong
693daea474
fix: INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH settings ( #30463 )
2026-01-05 11:10:04 +08:00
wangxiaolei
bc317a0009
feat: return data_source_info and data_source_detail_dict ( #29912 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-05 11:04:03 +08:00
Kimi WANG
c158dfa198
fix: support to change NEXT_PUBLIC_BASE_PATH env using `--build-arg` in docker build ( #29836 )
...
Co-authored-by: root <root@KIMI-DESKTOP-01.mchrcloud.com>
2026-01-05 11:03:12 +08:00
Maries
79913590ae
fix(api): surface subscription deletion errors to users ( #30333 )
2026-01-05 11:02:04 +08:00
wangxiaolei
f1fff0a243
fix: fix WorkflowExecution.outputs containing non-JSON-serializable o… ( #30464 )
2026-01-05 10:57:23 +08:00
hsiong
4bb08b93d7
chore: update dockerignore ( #30460 )
2026-01-05 10:55:14 +08:00
wangxiaolei
d0564ac63c
feat: add flask command file-usage ( #30500 )
2026-01-05 10:52:21 +08:00
-LAN-
eb321ad614
chore: Add a new rule for import lint ( #30526 )
2026-01-05 10:48:14 +08:00
dependabot[bot]
7128d71cf7
chore(deps-dev): bump intersystems-irispython from 5.3.0 to 5.3.1 in /api ( #30540 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-05 10:47:39 +08:00
-LAN-
95edbad1c7
refactor(workflow): add Jinja2 renderer abstraction for template transform ( #30535 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-05 10:46:37 +08:00
-LAN-
154abdd915
chore: Update PR template lint command ( #30533 )
2026-01-05 10:46:01 +08:00
zhsama
225b13da93
Merge branch 'main' into feat/grouping-branching
2026-01-04 21:56:13 +08:00