Commit Graph

13748 Commits

Author SHA1 Message Date
77154a7d00 Update src/backend/base/pyproject.toml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-06-02 10:09:48 -07:00
15932358f3 Update src/backend/base/pyproject.toml
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-06-02 10:09:35 -07:00
0ff5aa4b2d [autofix.ci] apply automated fixes (attempt 2/3) 2026-06-02 17:07:08 +00:00
b161d08718 [autofix.ci] apply automated fixes 2026-06-02 17:03:16 +00:00
e02838799d Merge release-1.9.6 into main 2026-06-02 09:50:54 -07:00
110bea8281 Merge release-1.9.5 into main 2026-06-01 16:40:57 -07:00
59981246de fix: remove duplicate base uv.lock from workflows (forward-port #13326 to main) (#13427)
fix: remove duplicate uv.lock from workspace member

Forward-port of #13326 to main. The monorepo should keep only one
uv.lock at the workspace root; src/backend/base/uv.lock was a stale
duplicate. The scheduled nightly build runs from main's workflow
definition, so create-nightly-tag still ran
`git add ... src/backend/base/uv.lock` against a tree where the file
no longer exists, failing with exit 128.

- Delete src/backend/base/uv.lock
- nightly_build.yml: drop base-dir `uv lock` regeneration and the
  base lockfile from `git add`
- Remove COPY/bind-mount of the base lockfile from all Dockerfiles
- Makefile: lock_base/lock now lock only the root workspace
- changes-filter.yaml: drop the base lockfile path
- .secrets.baseline: shift nightly_build.yml line number 305 -> 304

Fixes the failing nightly:
https://github.com/langflow-ai/langflow/actions/runs/26699469476
2026-05-30 21:07:00 -07:00
b11bd1f261 chore: update lock files
update lock files
2026-05-29 14:43:40 -04:00
d70757976c chore: bump toml and package.json versions
bump toml and package.json versions
2026-05-29 14:40:30 -04:00
3e694305f9 fix: separate docling chunking dependencies (#13411)
* separate docling chunking

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* fix nitpicks

* [autofix.ci] apply automated fixes

* remove langchain docling dependency

* add docling image description as an optional dep

* [autofix.ci] apply automated fixes

* fix line too long

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-29 15:33:49 -03:00
601a3e30e2 ci: port safe workflow fixes from release-1.10.0 to main (#13401)
* ci: port safe workflow fixes from release-1.10.0 to main

Reconciles the workflow/CI improvements that landed on release-1.10.0 back
into main, EXCLUDING workflows that depend on release-only features not yet
present on main.

Ported (verified no release-only dependencies):
- test-coverage-advisor.yml (new; advisory-only, fully self-contained)
- ci.yml, nightly_build.yml, db-migration-validation.yml (incl. the #13249
  enhancements), python_test.yml (Python 3.14 support), cross-platform-test.yml
  (--prerelease=if-necessary-or-explicit), lint-js.yml, py_autofix.yml,
  typescript_test.yml

Held back (depend on features that only exist on release-1.10.0):
- extension-migration-checks.yml (extensions / src/bundles / scripts/migrate)
- gp-backend-check.yml (release-only scripts/gp/*.py + backend locales/en.json)
- regression-stub.yml (release-only regressions/ tracking)
- gp-download.yml / gp-upload.yml backend-translation steps
  (release-only scripts/gp/{download,upload}.py)

These converge with main once release-1.10.0 ships. 3-way merged from the
common ancestor; the diff was verified to introduce zero references to
release-only paths.

* test: add cache_dir to Settings EXPECTED_FIELDS snapshot

The diskcache-removal change added a `cache_dir` field to the cache settings group,
but the field-count guard in test_settings_composition.py (EXPECTED_FIELDS, frozen by
the settings split in #13141) was never updated. As a result test_field_count_unchanged
failed on main with `assert 106 == 105`. Add "cache_dir" to the snapshot so it matches
the live Settings model (106 fields).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-28 15:38:20 -07:00
b410b54294 chore: update starter projects 2026-05-27 14:33:16 -04:00
8c7fe0ac3a chore: bump versions
bump package versions
2026-05-27 14:25:54 -04:00
6a43888915 fix: change docling remote component to receive task id and to throw processing errors (#13353)
* change docling remote component to receive task id and to throw processing errors

* fix: small bug fix tweaks

* fix: report from rafael

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* fix: Global variable selection in tableinput rows

* fix: merge release branch

---------

Co-authored-by: Eric Hare <ericrhare@gmail.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-27 09:58:21 -07:00
6923ca24c4 Merge release-1.9.4 into main
# Conflicts:
#	.secrets.baseline
#	src/lfx/src/lfx/_assets/component_index.json
#	src/lfx/src/lfx/services/settings/base.py
2026-05-27 08:43:43 -07:00
1e68de7c2a fix(agent): Force streaming on Agent LLM so tokens stream incrementally (#13356)
* add streaming on agent default back

* [autofix.ci] apply automated fixes

* fix streaming backward compatibility

* ruff style and checker

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-27 12:06:42 -03:00
75b3cc9f6d chore: upgrade uv.lock 2026-05-26 13:14:23 -04:00
87039b46d3 fix: port chroma collection hardening (#13339)
* fix: port chroma collection hardening

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-26 08:08:19 -07:00
26736d6d7d fix: align diskcache removal port 2026-05-26 10:59:31 -04:00
0a5f25f32b chore: port Remove the diskcache dependency
port of https://github.com/langflow-ai/langflow/pull/12953
2026-05-26 10:59:31 -04:00
e192f91eeb fix: ChatBedrock playwright failures 2026-05-25 23:35:48 -04:00
23f3453a65 [autofix.ci] apply automated fixes 2026-05-25 23:35:48 -04:00
7ac198ac37 chore: update opik, perplexity , weaviate 2026-05-25 23:35:48 -04:00
00fe8c001c chore: dup langchain-qdrant to langchain-mongodb 2026-05-25 23:35:48 -04:00
a752275fbd chore: add to deps and loose missing test 2026-05-25 23:35:48 -04:00
a7ae55e5d5 [autofix.ci] apply automated fixes 2026-05-25 23:35:48 -04:00
9224534f70 chore: port over mem0ai changes from 1.10.0
https://github.com/langflow-ai/langflow/pull/13292
2026-05-25 23:35:48 -04:00
cb6d09fc5d chore: update pkg in test_all_modules_importable 2026-05-25 23:35:48 -04:00
1bae798321 [autofix.ci] apply automated fixes 2026-05-25 23:35:48 -04:00
d5bdc6175f chore: update test_all_modules_importable 2026-05-25 23:35:48 -04:00
a11ef3113b [autofix.ci] apply automated fixes 2026-05-25 23:35:48 -04:00
c2b440cede chore: update qdrant 2026-05-25 23:35:48 -04:00
71567829f5 fix: use langchain-mongodb
use langchain-mongodb instead of depricated langchain_community.vectorstores for MongoDBAtlasVectorSearch import
2026-05-25 23:35:48 -04:00
c34b79f3c7 chore: update pymongo 2026-05-25 13:57:05 -04:00
e2c30451d2 chore: update uv.locks 2026-05-25 13:29:36 -04:00
bd926ca3d4 refactor(settings): split monolithic Settings into per-domain group mixins (#13141)
* refactor(settings): split monolithic Settings into per-domain group mixins

Move the ~70-field Settings class from one 755-line base.py into 13 cohesive
BaseModel mixins under lfx/services/settings/groups/ (paths, server, database,
cache, storage, mcp, telemetry, observability, security, components, ui,
runtime, variables). Settings now composes them via multiple inheritance.

Inheritance order is chosen so cross-group validators see their dependencies
in info.data: PathSettings rightmost (config_dir before database_url),
ServerSettings just left of it (workers before event_delivery).

No env var or call-site changes. BASE_COMPONENTS_PATH re-export preserved for
tests that import it transitively.

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* docs(settings): fix wrong mcp_server_timeout docstring and idle-timeout comment

mcp_server_timeout's docstring was copy-pasted from a database setting and
mentioned 'lock to released' / 'database connection'. Replace with text that
describes the actual field.

mcp_session_idle_timeout's comment said 'Defaults to 5 minutes' but 400s is
~6.7 minutes. Drop the misleading 'minutes' claim and keep the value.

* test(settings): add structural safety tests for the group composition

Adds 26 tests to guard the refactor:

- All 105 fields that lived on the monolithic Settings still exist on the
  composed class. A missing group in the inheritance list trips this loudly.
- A sampling of critical scalar and dict defaults (host, port, workers,
  cache_type, sqlite_pragmas, db_connection_settings, etc.) are byte-for-byte
  unchanged.
- Cross-group validator dependencies still resolve via info.data:
  workers > 1 forces event_delivery=direct (ServerSettings -> RuntimeSettings)
  and database_url falls back to a sqlite path under config_dir without
  raising 'config_dir not set' (PathSettings -> DatabaseSettings).
- A parametrized sweep verifies a representative set of LANGFLOW_* env vars
  still populate their fields.
- Back-compat exports (CustomSource, is_list_of_any, yaml helpers,
  BASE_COMPONENTS_PATH) are still importable from settings.base.
- update_settings handles scalars and list-with-no-duplicates correctly.
- save_settings_to_yaml round-trips without error.

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-25 13:37:29 +00:00
7f8bd2d432 chore: update versions and revert dockerfile npm 2026-05-25 09:18:30 -04:00
5168c9f3ef chore: upgrades and docker file changes 2026-05-25 09:18:30 -04:00
0ba4c3725d chore: mass dep update 2026-05-25 09:18:30 -04:00
c5816cef34 fix: upgrade dependencies for security fixes (#13218)
* chore: upgrade dependencies for security fixes

- Upgrade authlib from 1.7.0 to 1.7.2
- Update Docker build to use Node.js 22.x (includes npm 10.9+)
- Update uv.lock with latest dependency versions

* chore: run npm audit fix

run npm audit fix

---------

Co-authored-by: Janardan S Kavia <janardanskavia@Janardans-MacBook-Pro.local>
Co-authored-by: Adam Aghili <Adam.Aghili@ibm.com>
2026-05-20 11:18:50 -04:00
2ff17eca24 fix: Model handling for tool calling in agents and update IBM models (#13191)
* Model handling for tool calling in agents and update IBM models

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-05-18 21:35:37 +00:00
322e4908b9 fix: backport policies ToolGuard lazy imports (#13144)
fix: backport policies toolguard lazy imports
2026-05-15 09:24:55 -07:00
b695f97cd3 fix: More python 3.14 compatibility cleanup 2026-05-14 17:49:56 -07:00
cf488e545c fix: Gate more tests on package presence 2026-05-14 17:15:37 -07:00
5fec0a1a42 fix: Skip Python 3.14 incompatible watsonX imports 2026-05-14 16:50:30 -07:00
ecadc106d0 fix: Python 3.14 fallback for baidu 2026-05-14 16:19:03 -07:00
f2b028f28b fix: update gunicorn constraint to allow version 26.x
- Update gunicorn constraint from <26.0.0 to <27.0.0
- Resolves dependency check failure with gunicorn 26.0.0
- Regenerate uv.lock with updated constraint
2026-05-14 18:01:34 -04:00
22e9003bec fix: correct version numbers for 1.9.3 patch release
- langflow-base: 0.10.0 -> 0.9.3
- lfx: 0.5.0 -> 0.4.3 (and dependency reference)
- sdk: 0.2.0 -> 0.1.3
2026-05-14 16:56:00 -04:00
e16c99d031 fix: upgrade langchain-classic to 1.0.7 (#13130)
chore: upgrade langchain-classic to 1.0.7

- Update version constraint from ~=1.0.0 to ~=1.0.7
- Fixes issues present in version 1.0.4
- Update uv.lock with new dependency resolution

Co-authored-by: Janardan S Kavia <janardanskavia@Janardans-MacBook-Pro.local>
2026-05-14 16:51:35 -04:00
d5ef588e42 chore: bump versions to 1.9.3 2026-05-14 15:41:43 -04:00