π 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_user
argument (#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_id
now 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).bak
-
Get the latest code from the main branch
git checkout main git pull origin main
-
Stop the service. Please execute in the docker directory
docker compose down
-
Back up data
tar -cvf volumes-$(date +%s).tgz volumes
-
Upgrade 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.2
-
Update Python dependencies:
cd api uv sync
-
Then, let's run the migration script:
uv run flask db upgrade
-
Finally, run the API server, Worker, and Web frontend Server again.
What's Changed
- update img by @crazywoola in #20291
- Chore/update img by @crazywoola in #20292
- chore: enchance the copywriting of tool by @iamjoel in #20294
- fix: i18n auto run failed by @iamjoel in #20302
- fix: Enhances tenant ID handling in telemetry by @laipz8200 in #20304
- [Observability] Add type check and try-except in otel by @TedaLIEz in #20319
- fix(workflow): fetch user failed when workflow run in parallel mode by @laipz8200 in #20321
- fix: Instance is not bound to a Session by @laipz8200 in #20347
- fix: reset password page dark style by @junjiem in #20350
- Fixes some i18n(ko) translations. by @comfuture in #20348
- fix(http): force multipart/form-data even without files(#20322) by @ultramancode in #20323
- fix: workflow plugins list update by @zxhlyh in #20357
- feat(agent_node): ensure that the enum-checking syntax is compatible with Pythonβ―3.11. by @laipz8200 in #20373
- fix: register user model to current_user in backward invoke. by @laipz8200 in #20374
- Fix/branding broken by @douxc in #20375
- fix: inner invoke llm token too long by @Nov1c444 in #20391
- chore: remove agent turn limits by @Nov1c444 in #19930
- docs: Update PR template to emphasize guidelines and issue linking by @laipz8200 in #20382
- fix: show 'reset brand' button after set branding image by @douxc in #20420
- fix: apps/annotation missing 1 required positional argument: 'end_user' by @quicksandznzn in #20428
- fix: wrong env usage in middleware by @crazywoola in #20436
- chore: improve error logging for requests to plugin daemon by @bowenliang123 in #20328
- fix: handle values in output arrays for CodeNode transformation by @Yeuoly in #20437
- tests: Removes outdated marketplace download test by @laipz8200 in #20454
- refactor: Remove db from cycle manager by @laipz8200 in #20455
- refactor(workflow): Rename NodeRunMetadataKey to WorkflowNodeExecutionMetadataKey by @laipz8200 in #20457
- refactor(workflow): Rename workflow node execution models by @laipz8200 in #20458
- fix(models): WorkflowRun's total_steps and exceptions_count mismatch with database by @laipz8200 in #20452
- fix(ops_trace_manager): Adds app_id to TraceTask initialization by @laipz8200 in #20461
- chore: Colorize new OpenAI LLM versions by @DavideDelbianco in #20463
- Feat/15534 support replacing the bot in chat input placeholder with the bots name by @crazywoola in #20473
- fix: import from curl not work for --data by @hjlarry in #20471
- chore: translate i18n files by @github-actions in #20476
- refactor(api/core/workflow/enums): Rename WORKFLOW_RUN_ID to WORKFLOW_EXECUTION_ID by @laipz8200 in #20459
- fix: some display error in dark mode by @hjlarry in #20469
- Refactor/markdown component split by @xuzijie1995 in #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 #20488
- fix: drop some type fixme by @yihong0618 in #20344
- Refactor/message cycle manage and knowledge retrieval by @laipz8200 in #20460
- fix celery job not closed issue by @JohnJyong in #19268
- Improve CONVERSATION_TITLE_PROMPT to correctly handle Japanese and input by @yasu-oh in #20351
- update knowledge base api by @Gevtolev in #20426
- Add APIs for Knowledge Base Tag Management and Dataset Binding by @ZombieBlue in #20023
- fix: resolve unstable scrolling in workflow debug panel with multiple input fields #19697 by @KaitlynFeng in #19698
- fix: agent app tool update by @zxhlyh in #20490
- Amend color typo by @DavideDelbianco in #20497
- fix: fetch tenant_id in other trace providers besides langfuse by @laipz8200 in #20495
- fix: the plugin order is not the same as passed to api in DSL by @iamjoel in #20515
- fix(housekeeping): exclude files that are used as app icons or avatar images from being removed by @kurokobo in #20532
- nacos config init , and force add ts parms. by @zhanluxianshen in #20526
- fix ts5097 by @kenwoodjw in #20543
- check zilliz cloud of full-text search by @zc277584121 in #20519
- Fixes #20534: Allow $ref in parameter for custom tools by @IamIpanda in #20535
- Fix #20536: Force header in custom tool be string by @IamIpanda in #20537
- fix: ensure proper conversation role alternation for vLLM by @StellaContrail in #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 #20561
- Fix/dark theme style issues by @JzoNgKVO in #20566
- fix: agent thought replaced by response text by @iamjoel in #20571
- chore: update pnpm version to 10.11.1 by @ZeroZ-lab in #20573
- refactor: Replaces direct DB session usage with context managers by @laipz8200 in #20569
- fix: Upgrade Flask-Cors by @laipz8200 in #20577
- refactor: Removes unused LLMMode value_of method by @laipz8200 in #20575
- fix: Ensure model config integrity in retrieval processes by @laipz8200 in #20576
- fixes #19634 by @AnshumanSaini in #20545
- β»οΈ refactor(middleware): remove duplicate CSP header assignment by @MuttakinHasib in #20548
- chore: prepare the plugin daemon base url to yarl URL ahead intstead of in every invocation by @bowenliang123 in #20541
- Revert "β»οΈ refactor(middleware): remove duplicate CSP header assignment" by @crazywoola in #20592
- fix: variable aggregator with group and file raise exception by @hjlarry in #20581
- fix: ensure newlines around think tags for proper markdown rendering by @xuzijie1995 in #20594
- refactor: Removes tenant ID check from rate limit logic by @laipz8200 in #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 #20559
- fix: adjust sticky header properties in Container component by @ZeroZ-lab in #20624
- fix: update app tag error by @Nov1c444 in #20618
- fix: autocorrect everything in web by @kenwoodjw in #20605
- raise error when process_rule is required but missing by @osaimi in #20599
- chore: fix some security issues in markdown by @iamjoel in #20639
- fix: plugin update redcorner mark display incorrect by @hjlarry in #20636
- chore: ensure web code consistency by applying
pnpm fix
by @bowenliang123 in #20643 - feat: plugin storage support volcengine tos by @quicksandznzn in #20613
- fix(markdown): Ensure abbr: links render correctly in react-markdown v9+ by @xuzijie1995 in #20648
- Feat/queue monitor by @Gevtolev in #20647
- refactor: Improve model status handling and structured output by @laipz8200 in #20586
- feat: allow fill inputs from url params by @hjlarry in #20630
- assign dataset indexing_technique to args if not explicitly provided by @osaimi in #20597
- fix(llm_node): update file variable mapping to use vision configs by @lrhan321 in #20417
- Fix 500 error by @Eric-Guo in #20614
- Fix/webapp access scope by @douxc in #20109
- fix: the locale format(#20662) by @XiaoBa-Yu in #20665
- Update template.zh.mdx-fix document update metadata body param by @geosmart in #20659
- Add vscode debugger by @ZeroZ-lab in #20668
- chore: translate i18n files by @github-actions in #20664
- fix: update text_to_audio method to send data as JSON by @minglu7 in #20663
- fix: agent moderation not working by @Nov1c444 in #20673
- A more concise and effective extractor for excel and csv files by @HaiyangPeng in #20625
- Fix: style of radio checked by @JzoNgKVO in #20681
- feat: reorder app types by @nite-knite in #20685
- Fix builtin_providers for tools. by @zhanluxianshen in #20697
- fix: opensearch fulltext search with metadata filtering dsl error by @jefferyvvv in #20702
- fix(inner_api/plugin/wraps): refresh user model after creation in get user function by @Yeuoly in #20704
- chore: bump uv to 0.7.x by @bowenliang123 in #20692
- fix: opensearch metadata filtering returns empty by @jefferyvvv in #20701
- chore: remove repeat public api and service api panel by @iamjoel in #20715
- chore: replace pseudo-random generators with secrets module by @bowenliang123 in #20616
- feat: add browser list by @iamjoel in #20717
- chore: chart panel ui enhance by @iamjoel in #20743
- fix: opensearch vector search falls back to keyword search by @jefferyvvv in #20723
- fix: missing bot name in orchestrate by @iamjoel in #20747
- feat(api): Adjust
WorkflowDraftVariable
andWorkflowNodeExecutionModel
by @QuantumGhost in #20746 - Add support for W&B dedicated cloud instances in Weave tracing integration by @parambharat in #20765
- fix: clean up two unreachable code by @yihong0618 in #20773
- Fix/webapp no permission page by @douxc in #20819
- fix: some dark mode display incorrect by @hjlarry in #20788
- Feat/webapp verified sso main by @GareArc in #20494
- refactor(DSL imports): using organization/name/version to fetch DSL dependencies. by @Yeuoly in #20757
- fix(api): Resolve error encountered when executing
QuestionClassifieNode
by @QuantumGhost in #20829 - refactor(api): Decouple
ParameterExtractorNode
fromLLMNode
by @QuantumGhost in #20843 - fix(web): optimize prompt change logic for LLM nodes (#20841) by @HyaCiovo in #20865
- fix auto metadata filter by @JohnJyong in #20845
- chore: update plugin publish link text by @nite-knite in #20873
- chore: bump mypy to 1.16 by @bowenliang123 in #20608
- fix: only enterprise version request app access mode by @hjlarry in #20785
- refactor: replace compact response generation with length-prefixed response for backwards invocation api by @Yeuoly in #20903
- chore(package): Bump version to 1.4.2 by @laipz8200 in #20897
New Contributors
- @ultramancode made their first contribution in #20323
- @DavideDelbianco made their first contribution in #20463
- @yasu-oh made their first contribution in #20351
- @KaitlynFeng made their first contribution in #19698
- @IamIpanda made their first contribution in #20535
- @StellaContrail made their first contribution in #18837
- @AnshumanSaini made their first contribution in #20545
- @MuttakinHasib made their first contribution in #20548
- @Eric-Guo made their first contribution in #20614
- @HaiyangPeng made their first contribution in #20625
- @jefferyvvv made their first contribution in #20702
Full Changelog: 1.4.1...1.4.2