## langgenius/dify — 1.17.1…2.0.0-beta.1

_1347+ commits._

### Features
- **feat(graph_engine): allow to scale down without lock** (36048d1)
- **feat: add datasource category handling in marketplace list condition** (a6b0071)
- **feat(graph_engine): implement scale down worker** (226f14a)
- **feat(graph_engine): make runtime state read-only in layer** (657c27e)
- **feat(graph_runtime_state): prevent to set variable pool after initialized.** (16e9cd5)
- **feat: add property-based access control to GraphRuntimeState** (fe3f03e)
- **feat(workflow): add DisplayContent component for improved variable inspection and integrate schema type handling** (9d3772f)
- **feat: handle choose select** (885c7d2)
- **feat: tools add rag tag** (d2787dc)
- **feat(workflow): enhance RAG recommended plugins structure and update related components** (fc4bc08)
- **feat: set var inspect schema type** (60da4c9)
- **feat(input-field): add isEditMode prop to InputFieldForm and update handling of variable changes** (32a0096)
- **feat(portal): add customContainer prop to PortalToFollowElem for flexible rendering** (00b5772)
- **feat(graph_engine): Handle NodeRunAgentLogEvent** (d8ff4aa)
- **add recommended rag plugin endpoint** (56fc908)
- **feat(rag): integrate RAG recommended plugins into workflow component** (bf09c3e)
- **add recommended rag plugin endpoint** (826b9d5)
- **add recommended rag plugin endpoint** (633de2c)
- **add recommended rag plugin endpoint** (d94e03c)
- **add recommended rag plugin endpoint** (1103130)
- **add recommended rag plugin endpoint** (493dae2)
- **add recommended rag plugin endpoint** (1676207)
- **add recommended rag plugin endpoint** (7920714)

### Fixes
- **fix: correct type checking for None values in code node output validation** (81e9d6f)
- **perf: eliminate lock contention in worker pool by removing callbacks** (e229510)
- **fix(code_node): type checking bypass** (aff7ca1)
- **fix(firecrawl): map markdown content to content field in crawl results** (8506288)
- **fix: disable scale for perfermance** (ad9eed2)
- **fix file name** (41b5596)
- **fix file name** (94f2956)
- **fix: export workflow image** (1bf04b7)
- **fix file name** (1e5f6c1)
- **fix(pipeline-publish): publish not update dataset** (9f3c996)
- **fix(field): add z-index to sticky header for improved layering in workflow nodes** (0bcdd0d)
- **fix file name** (7efe215)
- **fix: some errors reported by basedpyright** (ead8568)
- **fix(pipeline-tracing-log): datasource icon error** (25e3f4d)
- **fix(rag-pipeline-dsl): dsl import session error** (68f4d4b)
- **fix(pipeline): correct API endpoint for stopping workflow runs** (c40dfe7)
- **fix file name** (647af6f)
- **fix(workflow): ensure variable updates only occur for matching selectors in updateNodeVars** (f811855)
- **fix file name** (e309283)
- **fix preview and recommend plugins** (dd89c9a)
- **fix preview and recommend plugins** (5ab3cd7)
- **fix preview and recommend plugins** (49d268d)
- **fix(datasource): add datasource icon in tracing panel** (aa670c8)
- **fix: in pipeline not show the node config right** (c8d60f3)
- **fix preview and recommend plugins** (fd3b55c)
- **fix(api): fix workflow execution** (0212f0d)
- **fix: large data markdown ui problems** (08d6fcf)
- **fix: tool bool input can choose file** (c422d73)
- **fix: one step run schema type file not support** (df0fe49)
- **fix(api): fix relations of WorkflowNodeExecutionModel not preloaded** (d2e3413)
- **fix(api): adjust gevent patching** (e761f38)
- **fix(api): fix variable truncation related field not returned.** (e2ff7fa)
- **fix preview and recommend plugins** (617dc24)
- **fix preview and recommend plugins** (e1b6da2)
- **fix: datasource file can not be chosen** (b10d7d5)
- **fix: correct run history tracing sequence** (7896eee)
- **fix(workflow): enhance variable inspection by integrating schema type handling and refactoring logic** (706969d)
- **fix preview and recommend plugins** (7623dc1)
- **fix(pipeline): add handling for RAG pipeline variables in workflow state** (1ad46d0)
- **fix(workflow): improve formatting and add checkbox type to input variable type mapping** (5e85423)
- **fix preview and recommend plugins** (343f1a3)
- **fix preview and recommend plugins** (8467494)
- **fix preview and recommend plugins** (7ace7e6)
- **fix(header): update boolean form type to checkbox and improve JSX formatting in form input component** (273dae6)
- **fix(api): fix ToolNode._extract_variable_selector_to_variable_mapping** (89ec13e)
- **fix(tests): fix broken tests and linter issues** (e2ae89e)
- **fix: rag pipeline template** (ce3eb0f)

### Backend
- **Merge branch 'feat/rag-2' of https://github.com/langgenius/dify into feat/rag-2** (495324b)
- **Merge branch 'feat/queue-based-graph-engine' into feat/rag-2** (d4ee915)
- **Merge branch 'feat/rag-2' of https://github.com/langgenius/dify into feat/rag-2** (637afe1)
- **Merge branch 'feat/queue-based-graph-engine' into feat/rag-2** (b9394d5)
- **change migration** (e21c133)
- **change migration** (771ea54)
- **change migration** (35ec0d2)
- **Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine** (0710984)
- **change migration** (952fb16)
- **change migration** (e9f11b4)
- **Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2** (64fc0c9)
- **[autofix.ci] apply automated fixes** (2b28aed)
- **Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine** (938a845)
- **Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine** (9c96b23)
- **Merge branch 'feat/rag-2' of https://github.com/langgenius/dify into feat/rag-2** (46731dc)
- **Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2** (451948d)
- **Merge branch 'feat/rag-2' of https://github.com/langgenius/dify into feat/rag-2** (9eb1c15)
- **Merge branch 'main' into feat/rag-2** (58e598d)
- **Merge branch 'feat/queue-based-graph-engine' into feat/rag-2** (d4aed3d)
- **plugin dependencies select all** (97875d2)
- **Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine** (8c97937)
- **Merge branch 'feat/rag-2' of https://github.com/langgenius/dify into feat/rag-2** (9a79d89)
- **Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine** (b81745a)
- **Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine** (8c41d95)
- **Merge branch 'feat/tool-rag-tag' into feat/rag-2** (38e2492)
- **[autofix.ci] apply automated fixes** (02fcd08)
- **Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine** (77a9a73)
- **Merge branch 'feat/rag-2' of https://github.com/langgenius/dify into feat/rag-2** (1522fd5)
- **Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2** (a8cd1e2)
- **Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2** (dfb9677)
- **Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine** (0b0dc63)
- **Merge remote-tracking branch 'upstream/feat/rag-2' into feat/rag-2** (eb7b21c)
- **Merge remote-tracking branch 'upstream/feat/big-var-value-show-fe' into feat/rag-2** (ad5a2c7)
- **Merge remote-tracking branch 'origin/feat/rag-2' into feat/rag-2** (8c780df)
- **Merge remote-tracking branch 'origin/main' into feat/queue-based-graph-engine** (546d75d)
- **Merge branch 'feat/rag-2' into feat/workflow-draft-var-optimize** (e9e7d4f)

### Tests
- **test: fix code node** (9c29431)
- **test: fix code node** (f6a2a09)
- **test: fix test** (2aeaefc)
- **test: remove outdated test case** (ed22d04)
- **test: correct imported name** (61c79b0)
- **test: fix test** (9d004a0)

### Chore
- **chore: add default value for FILES_URL** (fae6d4f)
- **refactor(DocumentList): Optimize dataset configuration handling and improve data source type checks** (65df8f6)
- **chore(docker): Update Docker images to version 2.0.0-beta.1 for API, worker, web, and plugin daemon services** (df70e28)
- **chore(docker): Update Docker images to version 2.0.0-beta1 for API, worker, web, and plugin daemon services** (1fda319)
- **chore: Update GitHub Actions workflow to include 'feat/rag-2' path for build triggers** (814cbee)
- **chore: Bump version to 2.0.0-beta1** (443e1fa)
- **refactor(notion-page-preview): update fetchNotionPagePreview to include pageType parameter for improved API request** (ef64729)
- **refactor(graph_engine): rename SimpleWorkerPool to WorkerPool** (4d63bd2)
- **refactor(context-menu): conditionally render export option based on pipeline ID** (55b9360)
- **refactor(form-input-item): enhance type switch logic to include select input handling** (ebeb17e)
- **refactor(workflow): improve loading state rendering and enhance control prompt editor re-rendering logic** (313069a)
- **refactor(chunk-preview): improve key assignment for ChunkContainer components and enhance localFileList handling in Preparation component** (5ecf382)
- **refactor(icons): remove unused Globe01 icon and related files** (04d01c8)
- **refactor(document-picker): enhance chunking mode handling and improve parent mode label logic** (5114569)
- **chore: code format** (04bbf54)
- **refactor(graph_engine): rename Layer to GraphEngineLayer** (8332472)
- **refactor(panel): simplify outputSchema mapping for improved readability** (c7510d3)
- **refactor(datasets): rename 'markdown' to 'content' for consistency across components** (1214942)
- **refactor(workflow): update fetchInspectVars calls to accept empty parameters** (c4f0691)
- **refactor(uploader): replace YAML icon with pipeline icon and update label text** (110211d)
- **refactor(workflow): enhance handleExportDSL function and clean up code structure** (d755b28)
- **refactor(workflow): update RAG tool suggestions and improve filtering logic** (b4c98da)
- **chore: remove unused variables** (f6acff4)
- **chore: remove ty-check from Python style check.** (3fa48cb)
- **chore(graph_engine): Add a TODO commment in `_update_response_outputs` in event_handlers** (1770b93)
- **chore: remove backup files** (9f8f21b)
- **refactor(value-content): improve JSX formatting for readability in variable inspect component** (e5e52ab)
- **chore(api): adjust migration order and date** (acbf27e)
- **refactor(graph_engine): Merge event_collector and event_emitter into event_manager** (8433cf4)
- **refactor(graph_engine): Merge branch_handler into edge_processor** (bb5d525)
- **refactor(graph_engine): Move setup methods into `__init__`** (88622f7)
- **refactor: update file upload and download handling for pipeline format** (a41af6f)
- **refactor(graph_engine): Correct private attributes and private methods naming** (0fdb1b2)
- **refactor(graph_engine): inline output_registry into response_coordinator** (a5cb9d2)
- **refactor(graph_engine): Merge worker management into one WorkerPool** (64c1234)
- **refactor(graph_engine): Remove backward compatibility code** (202fdfc)
- **refactor(graph_engine): Merge state managers into unified_state_manager** (e2f4c9b)
- **chore(api): migrate import for db** (63c035d)

_Recap by [Repo Wrapped](https://repowrapped.com/gh/langgenius/dify?utm_source=github-action)._