1.4.2
v1.4.2
π What's New in v1.4.2?
We've packed v1.4.2 with usability upgrades, polished features, and stability enhancements. Check out what's new:
π New Features & Improvements
Smarter Webapp Inputs: Automatically fill hidden fields using URL parameters (#20630), by @hjlarry.
Efficient Document Extraction: Faster, streamlined processing for Excel and CSV files (#20625), thanks to @HaiyangPeng.
Marketplace UI Update: Easier browsing with improved sorting for app types (#20685), courtesy of @nite-knite.
Personalized Chatbot UX: Chat input placeholder now dynamically displays your bot's name (#20473), thanks to @crazywoola.
Robust File Uploads: Addressed issues with multiple file extension mappings (#20559), by @bowenliang123.
Advanced Knowledge Base API Features:
- Refined metadata filtering for precise querying. Targeted searches using chunk IDs (#20426), by @Gevtolev.
- Improved tagging and dataset binding capabilities (#20023), thanks to @ZombieBlue.
Weave Tracing & W&B Integration: Enhanced support for dedicated cloud instances for better operations monitoring (#20765), from @parambharat.
π Security Updates
- Flask-Cors Upgrade: Enhanced security by updating to the latest Flask-Cors version (#20577), by @laipz8200.
π Bug Fixes
Resolved 401 Errors:
- Smooth parallel workflow execution (#20321).
- Fixed authentication issues in
workflow_as_tool(#20347). - Eliminated backward invoke errors (#20374). All thanks to @laipz8200.
Agent Node Refinements:
- Corrected enum syntax for Python 3.11 (#20373), by @laipz8200.
- Improved handling of long tokens in LLM invocation (#20391), by @Nov1c444.
Annotation API Fix: Restored the missing
end_userargument (#20428), courtesy of @quicksandznzn.Docker Environment Corrections: Fixed erroneous handling of environment variables (#20436), by @crazywoola.
Code Node & Trace Management:
- Enhanced array validation in code nodes (#20437), by @Yeuoly.
app_idnow included in TraceTasks for better management (#20461), thanks to @laipz8200.
HTTP Node Reliability: Corrected curl operations using
--data(#20471), by @hjlarry.Memory Leak Prevention: Fixed Celery worker leaks ensuring jobs close correctly (#19268), by @JohnJyong.
Improved Housekeeping Command: Now preserves avatar images and app icons correctly (#20532), thanks to @kurokobo.
Email Invitation Fixes: SMTP authentication errors resolved (#20545), by @AnshumanSaini.
Consistent App Tagging: Resolved app tag update issues (#20618), by @Nov1c444.
Markdown Rendering Fixes: Ensured abbreviations display properly in react-markdown (#20648), by @xuzijie1995.
LLM Node Image Parsing: Improved reliability for single-step executions with images (#20417), by @lrhan321.
Restored Agent Moderation: Functionality fully restored (#20673), by @Nov1c444.
Plugin Extension Performance: Restored responsiveness and speed (#20704), by @Yeuoly.
Question Classifier Stability: Executions now error-free (#20829), thanks to @QuantumGhost.
Enhanced Web UX: Single-run modals now auto-dismiss for better usability (#20865), by @HyaCiovo.
Enjoy these improvements and a smoother, more stable experience! π
Upgrade Guide
Docker Compose Deployments
Back up your customized docker-compose YAML file (optional)
cd docker cp docker-compose.yaml docker-compose.yaml.$(date +%s).bakGet the latest code from the main branch
git checkout main git pull origin mainStop the service. Please execute in the docker directory
docker compose downBack up data
tar -cvf volumes-$(date +%s).tgz volumesUpgrade services
docker compose up -d
Source Code Deployments
Stop the API server, Worker, and Web frontend Server.
Get the latest code from the release branch:
git checkout 1.4.2Update Python dependencies:
cd api uv syncThen, let's run the migration script:
uv run flask db upgradeFinally, run the API server, Worker, and Web frontend Server again.
What's Changed
- update img by @crazywoola in https://github.com/langgenius/dify/pull/20291
- Chore/update img by @crazywoola in https://github.com/langgenius/dify/pull/20292
- chore: enchance the copywriting of tool by @iamjoel in https://github.com/langgenius/dify/pull/20294
- fix: i18n auto run failed by @iamjoel in https://github.com/langgenius/dify/pull/20302
- fix: Enhances tenant ID handling in telemetry by @laipz8200 in https://github.com/langgenius/dify/pull/20304
- [Observability] Add type check and try-except in otel by @TedaLIEz in https://github.com/langgenius/dify/pull/20319
- fix(workflow): fetch user failed when workflow run in parallel mode by @laipz8200 in https://github.com/langgenius/dify/pull/20321
- fix: Instance is not bound to a Session by @laipz8200 in https://github.com/langgenius/dify/pull/20347
- fix: reset password page dark style by @junjiem in https://github.com/langgenius/dify/pull/20350
- Fixes some i18n(ko) translations. by @comfuture in https://github.com/langgenius/dify/pull/20348
- fix(http): force multipart/form-data even without files(#20322) by @ultramancode in https://github.com/langgenius/dify/pull/20323
- fix: workflow plugins list update by @zxhlyh in https://github.com/langgenius/dify/pull/20357
- feat(agent_node): ensure that the enum-checking syntax is compatible with Pythonβ―3.11. by @laipz8200 in https://github.com/langgenius/dify/pull/20373
- fix: register user model to current_user in backward invoke. by @laipz8200 in https://github.com/langgenius/dify/pull/20374
- Fix/branding broken by @douxc in https://github.com/langgenius/dify/pull/20375
- fix: inner invoke llm token too long by @Nov1c444 in https://github.com/langgenius/dify/pull/20391
- chore: remove agent turn limits by @Nov1c444 in https://github.com/langgenius/dify/pull/19930
- docs: Update PR template to emphasize guidelines and issue linking by @laipz8200 in https://github.com/langgenius/dify/pull/20382
- fix: show 'reset brand' button after set branding image by @douxc in https://github.com/langgenius/dify/pull/20420
- fix: apps/annotation missing 1 required positional argument: 'end_user' by @quicksandznzn in https://github.com/langgenius/dify/pull/20428
- fix: wrong env usage in middleware by @crazywoola in https://github.com/langgenius/dify/pull/20436
- chore: improve error logging for requests to plugin daemon by @bowenliang123 in https://github.com/langgenius/dify/pull/20328
- fix: handle values in output arrays for CodeNode transformation by @Yeuoly in https://github.com/langgenius/dify/pull/20437
- tests: Removes outdated marketplace download test by @laipz8200 in https://github.com/langgenius/dify/pull/20454
- refactor: Remove db from cycle manager by @laipz8200 in https://github.com/langgenius/dify/pull/20455
- refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey by @laipz8200 in https://github.com/langgenius/dify/pull/20457
- refactor(workflow): Rename workflow node execution models by @laipz8200 in https://github.com/langgenius/dify/pull/20458
- fix(models): WorkflowRun's total_steps and exceptions_count mismatch with database by @laipz8200 in https://github.com/langgenius/dify/pull/20452
- fix(ops_trace_manager): Adds app_id to TraceTask initialization by @laipz8200 in https://github.com/langgenius/dify/pull/20461
- chore: Colorize new OpenAI LLM versions by @DavideDelbianco in https://github.com/langgenius/dify/pull/20463
- Feat/15534 support replacing the bot in chat input placeholder with the bots name by @crazywoola in https://github.com/langgenius/dify/pull/20473
- fix: import from curl not work for --data by @hjlarry in https://github.com/langgenius/dify/pull/20471
- chore: translate i18n files by @github-actions in https://github.com/langgenius/dify/pull/20476
- refactor(api/core/workflow/enums): Rename WORKFLOW_RUN_ID to WORKFLOW_EXECUTION_ID by @laipz8200 in https://github.com/langgenius/dify/pull/20459
- fix: some display error in dark mode by @hjlarry in https://github.com/langgenius/dify/pull/20469
- Refactor/markdown component split by @xuzijie1995 in https://github.com/langgenius/dify/pull/20177
- fix(json-schema-editor): Add container reference for resize observer in CodeEditor; Update language hook and help doc URL in JsonSchemaConfig by @WTW0313 in https://github.com/langgenius/dify/pull/20488
- fix: drop some type fixme by @yihong0618 in https://github.com/langgenius/dify/pull/20344
- Refactor/message cycle manage and knowledge retrieval by @laipz8200 in https://github.com/langgenius/dify/pull/20460
- fix celery job not closed issue by @JohnJyong in https://github.com/langgenius/dify/pull/19268
- Improve CONVERSATION_TITLE_PROMPT to correctly handle Japanese and input by @yasu-oh in https://github.com/langgenius/dify/pull/20351
- update knowledge base api by @Gevtolev in https://github.com/langgenius/dify/pull/20426
- Add APIs for Knowledge Base Tag Management and Dataset Binding by @ZombieBlue in https://github.com/langgenius/dify/pull/20023
- fix: resolve unstable scrolling in workflow debug panel with multiple input fields #19697 by @KaitlynFeng in https://github.com/langgenius/dify/pull/19698
- fix: agent app tool update by @zxhlyh in https://github.com/langgenius/dify/pull/20490
- Amend color typo by @DavideDelbianco in https://github.com/langgenius/dify/pull/20497
- fix: fetch tenant_id in other trace providers besides langfuse by @laipz8200 in https://github.com/langgenius/dify/pull/20495
- fix: the plugin order is not the same as passed to api in DSL by @iamjoel in https://github.com/langgenius/dify/pull/20515
- fix(housekeeping): exclude files that are used as app icons or avatar images from being removed by @kurokobo in https://github.com/langgenius/dify/pull/20532
- nacos config init , and force add ts parms. by @zhanluxianshen in https://github.com/langgenius/dify/pull/20526
- fix ts5097 by @kenwoodjw in https://github.com/langgenius/dify/pull/20543
- check zilliz cloud of full-text search by @zc277584121 in https://github.com/langgenius/dify/pull/20519
- Fixes #20534: Allow $ref in parameter for custom tools by @IamIpanda in https://github.com/langgenius/dify/pull/20535
- Fix #20536: Force header in custom tool be string by @IamIpanda in https://github.com/langgenius/dify/pull/20537
- fix: ensure proper conversation role alternation for vLLM by @StellaContrail in https://github.com/langgenius/dify/pull/18837
- fix: #20560 When elasticsearch is used as the vector database, the Retrieval Test fails to filter the data after setting the Score Threshold, and the score of the recalled results is empty by @zhaobingshuang in https://github.com/langgenius/dify/pull/20561
- Fix/dark theme style issues by @JzoNgKVO in https://github.com/langgenius/dify/pull/20566
- fix: agent thought replaced by response text by @iamjoel in https://github.com/langgenius/dify/pull/20571
- chore: update pnpm version to 10.11.1 by @ZeroZ-lab in https://github.com/langgenius/dify/pull/20573
- refactor: Replaces direct DB session usage with context managers by @laipz8200 in https://github.com/langgenius/dify/pull/20569
- fix: Upgrade Flask-Cors by @laipz8200 in https://github.com/langgenius/dify/pull/20577
- refactor: Removes unused LLMMode value_of method by @laipz8200 in https://github.com/langgenius/dify/pull/20575
- fix: Ensure model config integrity in retrieval processes by @laipz8200 in https://github.com/langgenius/dify/pull/20576
- fixes #19634 by @AnshumanSaini in https://github.com/langgenius/dify/pull/20545
- β»οΈ refactor(middleware): remove duplicate CSP header assignment by @MuttakinHasib in https://github.com/langgenius/dify/pull/20548
- chore: prepare the plugin daemon base url to yarl URL ahead intstead of in every invocation by @bowenliang123 in https://github.com/langgenius/dify/pull/20541
- Revert "β»οΈ refactor(middleware): remove duplicate CSP header assignment" by @crazywoola in https://github.com/langgenius/dify/pull/20592
- fix: variable aggregator with group and file raise exception by @hjlarry in https://github.com/langgenius/dify/pull/20581
- fix: ensure newlines around think tags for proper markdown rendering by @xuzijie1995 in https://github.com/langgenius/dify/pull/20594
- refactor: Removes tenant ID check from rate limit logic by @laipz8200 in https://github.com/langgenius/dify/pull/20585
- fix: unable to upload custom file in case of incorrect inffered by multiple extensions mapped from mime type with filename extension hints by @bowenliang123 in https://github.com/langgenius/dify/pull/20559
- fix: adjust sticky header properties in Container component by @ZeroZ-lab in https://github.com/langgenius/dify/pull/20624
- fix: update app tag error by @Nov1c444 in https://github.com/langgenius/dify/pull/20618
- fix: autocorrect everything in web by @kenwoodjw in https://github.com/langgenius/dify/pull/20605
- raise error when process_rule is required but missing by @osaimi in https://github.com/langgenius/dify/pull/20599
- chore: fix some security issues in markdown by @iamjoel in https://github.com/langgenius/dify/pull/20639
- fix: plugin update redcorner mark display incorrect by @hjlarry in https://github.com/langgenius/dify/pull/20636
- chore: ensure web code consistency by applying
pnpm fixby @bowenliang123 in https://github.com/langgenius/dify/pull/20643 - feat: plugin storage support volcengine tos by @quicksandznzn in https://github.com/langgenius/dify/pull/20613
- fix(markdown): Ensure abbr: links render correctly in react-markdown v9+ by @xuzijie1995 in https://github.com/langgenius/dify/pull/20648
- Feat/queue monitor by @Gevtolev in https://github.com/langgenius/dify/pull/20647
- refactor: Improve model status handling and structured output by @laipz8200 in https://github.com/langgenius/dify/pull/20586
- feat: allow fill inputs from url params by @hjlarry in https://github.com/langgenius/dify/pull/20630
- assign dataset indexing_technique to args if not explicitly provided by @osaimi in https://github.com/langgenius/dify/pull/20597
- fix(llm_node): update file variable mapping to use vision configs by @lrhan321 in https://github.com/langgenius/dify/pull/20417
- Fix 500 error by @Eric-Guo in https://github.com/langgenius/dify/pull/20614
- Fix/webapp access scope by @douxc in https://github.com/langgenius/dify/pull/20109
- fix: the locale format(#20662) by @XiaoBa-Yu in https://github.com/langgenius/dify/pull/20665
- Update template.zh.mdx-fix document update metadata body param by @geosmart in https://github.com/langgenius/dify/pull/20659
- Add vscode debugger by @ZeroZ-lab in https://github.com/langgenius/dify/pull/20668
- chore: translate i18n files by @github-actions in https://github.com/langgenius/dify/pull/20664
- fix: update text_to_audio method to send data as JSON by @minglu7 in https://github.com/langgenius/dify/pull/20663
- fix: agent moderation not working by @Nov1c444 in https://github.com/langgenius/dify/pull/20673
- A more concise and effective extractor for excel and csv files by @HaiyangPeng in https://github.com/langgenius/dify/pull/20625
- Fix: style of radio checked by @JzoNgKVO in https://github.com/langgenius/dify/pull/20681
- feat: reorder app types by @nite-knite in https://github.com/langgenius/dify/pull/20685
- Fix builtin_providers for tools. by @zhanluxianshen in https://github.com/langgenius/dify/pull/20697
- fix: opensearch fulltext search with metadata filtering dsl error by @jefferyvvv in https://github.com/langgenius/dify/pull/20702
- fix(inner_api/plugin/wraps): refresh user model after creation in get user function by @Yeuoly in https://github.com/langgenius/dify/pull/20704
- chore: bump uv to 0.7.x by @bowenliang123 in https://github.com/langgenius/dify/pull/20692
- fix: opensearch metadata filtering returns empty by @jefferyvvv in https://github.com/langgenius/dify/pull/20701
- chore: remove repeat public api and service api panel by @iamjoel in https://github.com/langgenius/dify/pull/20715
- chore: replace pseudo-random generators with secrets module by @bowenliang123 in https://github.com/langgenius/dify/pull/20616
- feat: add browser list by @iamjoel in https://github.com/langgenius/dify/pull/20717
- chore: chart panel ui enhance by @iamjoel in https://github.com/langgenius/dify/pull/20743
- fix: opensearch vector search falls back to keyword search by @jefferyvvv in https://github.com/langgenius/dify/pull/20723
- fix: missing bot name in orchestrate by @iamjoel in https://github.com/langgenius/dify/pull/20747
- feat(api): Adjust
WorkflowDraftVariableandWorkflowNodeExecutionModelby @QuantumGhost in https://github.com/langgenius/dify/pull/20746 - Add support for W&B dedicated cloud instances in Weave tracing integration by @parambharat in https://github.com/langgenius/dify/pull/20765
- fix: clean up two unreachable code by @yihong0618 in https://github.com/langgenius/dify/pull/20773
- Fix/webapp no permission page by @douxc in https://github.com/langgenius/dify/pull/20819
- fix: some dark mode display incorrect by @hjlarry in https://github.com/langgenius/dify/pull/20788
- Feat/webapp verified sso main by @GareArc in https://github.com/langgenius/dify/pull/20494
- refactor(DSL imports): using organization/name/version to fetch DSL dependencies. by @Yeuoly in https://github.com/langgenius/dify/pull/20757
- fix(api): Resolve error encountered when executing
QuestionClassifieNodeby @QuantumGhost in https://github.com/langgenius/dify/pull/20829 - refactor(api): Decouple
ParameterExtractorNodefromLLMNodeby @QuantumGhost in https://github.com/langgenius/dify/pull/20843 - fix(web): optimize prompt change logic for LLM nodes (#20841) by @HyaCiovo in https://github.com/langgenius/dify/pull/20865
- fix auto metadata filter by @JohnJyong in https://github.com/langgenius/dify/pull/20845
- chore: update plugin publish link text by @nite-knite in https://github.com/langgenius/dify/pull/20873
- chore: bump mypy to 1.16 by @bowenliang123 in https://github.com/langgenius/dify/pull/20608
- fix: only enterprise version request app access mode by @hjlarry in https://github.com/langgenius/dify/pull/20785
- refactor: replace compact response generation with length-prefixed response for backwards invocation api by @Yeuoly in https://github.com/langgenius/dify/pull/20903
- chore(package): Bump version to 1.4.2 by @laipz8200 in https://github.com/langgenius/dify/pull/20897
Full Changelog: https://github.com/langgenius/dify/compare/1.4.1...1.4.2