Commit Graph
158 Commits
Author SHA1 Message Date
Jackie Chui a718f7ffbd added LocalBackend support for disk sandbox.
- Added SANDBOX_LOCAL_PATH incase users want to edit the path
- adds MAX_LIST_OBJECTS for glob and grep
- pinned 20.12.0 < 21.0.0 to support file system calls
2026-05-04 14:51:52 -07:00
fed53e46b8 chore: update Node.js version consistency and optimize Docker build (#6285)
* chore: update Node.js version consistency and optimize Docker build

- Bump .nvmrc from v20.19.2 to v20.20.2 to match CI
- Narrow package.json engines to ^20 across root and packages/server
- Exclude @flowiseai/agentflow and @flowiseai/observe from Docker build
  to save ~40-50s per build (sdk packages not needed for app runtime)

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* chore: add build:docker script and fix Docker build filter

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* chore: update README files Node.js version to 20.0.0

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
Co-authored-by: yau-wd <[email protected]>
2026-04-27 20:20:35 +08:00
Henry Heng 1298a392d8 Chore/pin axios to 1.15.0 (#6282)
pin axios to 1.15.0
2026-04-24 18:19:56 +01:00
abdullah-workday 04b897adc3 Fix: Clean and Nuke Script (#6213) 2026-04-14 10:30:01 -07:00
Henry Hengandyau-wd 4114b3b506 Release/3.1.2 (#6215)
[email protected]

Co-authored-by: yau-wd <[email protected]>
2026-04-14 11:42:44 +01:00
mmattu-wd deb1330727 update eslint-plugin-jsx-a11y and remove pinned version for es-iterat… (#6159)
update eslint-plugin-jsx-a11y and remove pinned version for es-iterator-helpers
2026-04-07 08:34:59 -07:00
michaell-workday 833f911220 Add barrel export and exports map to packages/components (#6130)
* add barrel export and exports map

* pin dep for pre commit hook

* remove catch all as no need to support dist imports
2026-04-06 10:08:47 -07:00
Henry Heng 34cf28546b release/3.1.1 (#6037)
[email protected]
2026-03-23 18:38:19 +08:00
Henry Heng 57e08207de Release/3.1.0 (#5981)
[email protected] release
2026-03-16 20:37:41 +08:00
Henry Hengandyau-wd 0c6924bb08 Feat/Reasoning Support, Migrate LangChain to v1, Upgrade AI SDKs and Models (#5893)
* update langchain and all related scoped packages to v1, deprecate agents and llms, rename and upgrade chat models

* add reasoning capability to Agent and LLM

* add token cost to usageMetadata

* update azure and chat openai

* restore executable permission for husky pre-commit hook

* refactor(agentflow): implement extractResponseContent utility for consistent response handling

- Introduced extractResponseContent function to streamline response content extraction across various components.
- Updated multiple files to utilize the new utility, enhancing code readability and maintainability.
- Adjusted model configurations and added new parameters for Gemini models to improve functionality.

* added a mock implementation for the logger in the URL security utilities test file to isolate tests and improve reliability.

* chore: update package.json and pnpm-lock.yaml to add uuid dependency and mock multer-azure-blob-storage in Jest config

- Added uuid dependency with version 10.0.0 and request>uuid with version 3.4.0 in package.json.
- Updated pnpm-lock.yaml to reflect the new uuid dependency and its deprecation notice.
- Modified Jest configuration to mock multer-azure-blob-storage to avoid module resolution issues with uuid/v4.

* gpt 5.4 models

* - Changed the stream conversion method in convertTextToSpeechStream to utilize Readable.fromWeb, enhancing compatibility with web streams.
- Added '/api/v1/chatmessage/abort' to the WHITELIST_URLS array to allow for aborting chat messages in the API.

* - Refactors how agentflow nodes (Agent, ConditionAgent, LLM) handle images in chat messages so that base64 is only used during model invocation
- Storage and chat history keep file references only
- Added comprehensive test cases to ensure correct handling of base64 image data and file references

* fix unit test

* implement filename sanitization to prevent path traversal vulnerabilities

* fix(validator): normalize backslashes in file names for cross-platform compatibility

* updated utils to process messages with images, converting stored-file references to base64 for model invocation, and implement interfaces

* add sanitization to unwanted keys when processing images

* add uuid to components package.json

* move allow image uploads params on chat models

* add encodingformat to openai embeddings

* Refactor output parsing for reasoning models

* Update ConditionAgent to version 2.0, refactor system prompt handling, and enhance message preparation logic

* add claude settings local json to gitignore

* remove claude settings local json

---------

Co-authored-by: yau-wd <[email protected]>
2026-03-16 19:21:29 +08:00
Jocelyn LinandClaude Opus 4.6 280e3ef630 feat(agentflow): add test infrastructure and unit tests (#5749)
* feat(agentflow): add test infrastructure and unit tests

Add Jest test suite with coverage enforcement for @flowise/agentflow.
Includes 119 tests across core logic, API layer, search, and state
management. Fixes trailing-slash bug in getNodeIconUrl and extracts
reducer to its own module for cleaner separation.

Co-Authored-By: Claude Opus 4.6 <[email protected]>

* address gemini review comment

* fix lint errors

---------

Co-authored-by: Claude Opus 4.6 <[email protected]>
2026-02-13 13:36:56 -08:00
Henry Heng f0c1294173 Release/3.0.13 (#5700)
release @3.0.13
2026-02-03 21:00:09 +08:00
christopherholland-workdayandyau-wd 729eb10016 Enforce pnpm >= 10.26.0 (#5688)
* Enforce pnpm >= 10.26.0

* Update package.json

* Update main.yml

* chore(CONTRIBUTING.md): update to reflect pnpm v10 upgrade

---------

Co-authored-by: yau-wd <[email protected]>
2026-02-03 17:04:35 +08:00
Henry Heng 55b6913c03 Release/3.0.12 (#5554)
[email protected]
2025-12-05 13:23:12 +00:00
562370b8e2 Pin kill-port package version (#5523)
* Update package.json

* Update package.json

* Update pnpm-lock.yaml

* update pnpm lock

---------

Co-authored-by: Simon Song <[email protected]>
Co-authored-by: Henry <[email protected]>
2025-11-27 11:25:58 +00:00
Henry 2f2b6e1713 [email protected] 2025-11-15 23:13:31 +00:00
Henry Heng 2bd96090f0 Release/3.0.10 (#5431)
[email protected]
2025-11-06 22:28:58 +00:00
Henry Heng ec1762b10f Release/3.0.9 (#5427)
[email protected]
2025-11-06 10:27:13 +00:00
Henry Heng ac794ab6eb Release/3.0.8 (#5301)
[email protected]
2025-10-08 12:55:17 +01:00
Henry Heng c4322ce70b Release/3.0.7 (#5214)
[email protected]
2025-09-15 16:58:42 +01:00
Henry Heng 89a0f23fe5 Release/3.0.6 (#5210)
[email protected]
2025-09-15 12:07:20 +01:00
Henry Heng c00ae78488 Bugfix/add path traversal check to chatId (#5208)
* add path traversal check to chatId

* update axios
2025-09-13 23:47:22 +01:00
Henry Heng ba6a602cbe Release/3.0.5 (#5054)
[email protected] release
2025-08-11 19:59:22 +08:00
Henry Heng 3a33bfadf0 Chore/Patch dependencies (#4992)
patch dependencies
2025-07-31 12:31:47 +01:00
Henry Heng ee5ab1bd6d Chore/patch dependencies (#4858)
patch dependencies
2025-07-13 20:56:29 +01:00
Henry Heng 849b94b049 Release/3.0.4 (#4845)
[email protected]
2025-07-11 12:26:10 +01:00
Henry Heng be7599542b Release/3.0.3 (#4746)
[email protected]
2025-06-27 09:58:49 +01:00
Henry Heng 4c3b729b79 Chore/Google GenAI (#4742)
* update @langchain/core, custom google genai implementation

* update @langchain/core, custom google genai implementation
2025-06-27 00:44:11 +01:00
Henry Heng 306b6fbb31 Release/3.0.2 (#4629)
[email protected]
2025-06-11 14:18:51 +01:00
Ong Chung Yau 6dcb65cedb feature/cli-reset-password (#4585)
* feat: add cli to reset password

* chore: add information for password reset command

* fix: add information for password reset command
2025-06-06 19:16:16 +01:00
Henry Heng 7c803f4e0b Release/3.0.1 (#4537)
[email protected]
2025-05-29 17:49:17 +01:00
Henry Hengandchungyau97 5a37227d14 Chore/refractor (#4454)
* markdown files and env examples cleanup

* components update

* update jsonlines description

* server refractor

* update telemetry

* add execute custom node

* add ui refractor

* add username and password authenticate

* correctly retrieve past images in agentflowv2

* disable e2e temporarily

* add existing username and password authenticate

* update migration to default workspace

* update todo

* blob storage migrating

* throw error on agent tool call error

* add missing execution import

* add referral

* chore: add error message when importData is undefined

* migrate api keys to db

* fix: data too long for column executionData

* migrate api keys from json to db at init

* add info on account setup

* update docstore missing fields

---------

Co-authored-by: chungyau97 <[email protected]>
2025-05-27 07:29:42 +01:00
Henry Heng a6e64230b4 Release/3.0.0 (#4425)
[email protected]
2025-05-15 09:30:18 +08:00
7924fbce0d Feature/agentflow v2 (#4298)
* agent flow v2

* chat message background

* conditon agent flow

* add sticky note

* update human input dynamic prompt

* add HTTP node

* add default tool icon

* fix export duplicate agentflow v2

* add agentflow v2 marketplaces

* refractor memoization, add iteration nodes

* add agentflow v2 templates

* add agentflow generator

* add migration scripts for mysql, mariadb, posrgres and fix date filters for executions

* update agentflow chat history config

* fix get all flows error after deletion and rename

* add previous nodes from parent node

* update generator prompt

* update run time state when using iteration nodes

* prevent looping connection, prevent duplication of start node, add executeflow node, add nodes agentflow, chat history variable

* update embed

* convert form input to string

* bump openai version

* add react rewards

* add prompt generator to prediction queue

* add array schema to overrideconfig

* UI touchup

* update embedded chat version

* fix node info dialog

* update start node and loop default iteration

* update UI fixes for agentflow v2

* fix async drop down

* add export import to agentflowsv2, executions, fix UI bugs

* add default empty object to flowlisttable

* add ability to share trace link publicly, allow MCP tool use for Agent and Assistant

* add runtime message length to variable, display conditions on UI

* fix array validation

* add ability to add knowledge from vector store and embeddings for agent

* add agent tool require human input

* add ephemeral memory to start node

* update agent flow node to show vs and embeddings icons

* feat: add import chat data functionality for AgentFlowV2

* feat: set chatMessage.executionId to null if not found in import JSON file or database

* fix: MariaDB execution migration script to utf8mb4_unicode_520_ci

---------

Co-authored-by: Ong Chung Yau <[email protected]>
Co-authored-by: chungyau97 <[email protected]>
2025-05-10 10:21:26 +08:00
Henry Heng 5b4693cca3 Release/2.2.8 (#4354)
[email protected]
2025-04-28 15:56:39 +08:00
toi500andHenry d71369c3b7 Fix(FlowiseChatGoogleGenerativeAI): Prevent "parts must not be empty" API error in Seq Agents (#4292)
* Fix(FlowiseChatGoogleGenerativeAI): Prevent "parts must not be empty" API error in Seq Agents

* Fix: Update pnpm-lock.yaml to resolve CI issues

* convert role function and tool to function

* remove comment

---------

Co-authored-by: Henry <[email protected]>
2025-04-15 00:27:09 +08:00
Henry Heng 145a3bb415 Release/2.2.7-patch.1 (#4180)
[email protected]
2025-03-14 14:47:34 +00:00
Henry Heng 93cf47ce40 Chore/update pnpm run dev (#4154)
update pnpm run dev
2025-03-10 15:33:06 +00:00
Henry Heng cf7d841f88 Release/2.2.7 (#4135)
[email protected]
2025-03-06 14:27:12 +00:00
Henry Heng fc9d6e7a16 Release/2.2.6-hotfix.1 (#4105)
flowise @2.2.6-hotfix.1
2025-02-28 22:24:39 +00:00
Henry Heng da04289ecf Release/2.2.6 (#4102)
[email protected]
2025-02-28 12:25:48 +00:00
Henry Heng 97a196e11a Chore/patch deps (#4015)
patch deps
2025-02-26 15:19:13 +00:00
Ali SalehandIlango 0e10952b45 feat: Add Arize & Phoenix Tracer Integration (#4046)
Added Arize Phoenix Tracer

Co-authored-by: Ilango <[email protected]>
2025-02-24 20:11:30 +05:30
Henry Heng aeb82c2fb4 Release/2.2.5 (#3983)
* release 2.2.5

* update pnpm lock file

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml
2025-02-04 10:28:52 +00:00
Henry Heng a0b4abdd13 Feature/update openai version, add reasoning effort param, add o3 mini (#3973)
* update openai version, add reasoning effort param

* update azure

* add filter for pinecone llamaindex

* update graph cypher qa chain
2025-02-04 08:43:27 +00:00
Henry Heng a2a475ba7a Feature/Add bullmq redis for message queue processing (#3568)
* add bullmq redis for message queue processing

* Update pnpm-lock.yaml

* update queue manager

* remove singleton patterns, add redis to cache pool

* add bull board ui

* update rate limit handler

* update redis configuration

* Merge add rate limit redis prefix

* update rate limit queue events

* update preview loader to queue

* refractor namings to constants

* update env variable for queue

* update worker shutdown gracefully
2025-01-23 14:08:02 +00:00
Henry Heng ef96b57303 Release/2.2.4 (#3870)
[email protected] release
2025-01-14 20:47:48 +00:00
LightandHenry cc87d85675 Chore: Update @langchain/community (#3787)
* update package versions

* fix updated field defs due to lib update

* Merge branch 'main' into chore/Upgrade-LC-version

# Conflicts:
#	packages/components/package.json
#	pnpm-lock.yaml

* lintfix

* fix follow up prompt dialog

* lintfix

---------

Co-authored-by: Henry <[email protected]>
2025-01-14 16:30:51 +00:00
Henry Heng 4e434fd725 Release/2.2.3 (#3756)
release @2.2.3
2024-12-23 12:03:03 +00:00
Henry Heng b087f4c4a1 Release/2.2.2 (#3673)
[email protected] release
2024-12-10 16:14:22 +00:00