Commit Graph

24 Commits

Author SHA1 Message Date
Christian Bromann 085a07f569 feat(core): event based streaming (#2314)
All stream v2 changes consolidated.

---------

Co-authored-by: Hunter Lovell <hunter@hntrl.io>
2026-05-05 00:13:12 -07:00
Hunter Lovell 9102d526c8 fix(langgraph): propagate tracer metadata defaults from configurable (#2315)
## Summary

This updates Pregel callback manager initialization to pass
`tracerInheritableMetadata` defaults derived from `config.configurable`,
and narrows `ensureLangGraphConfig` metadata mirroring to the
allowlisted LangGraph identifiers used in stream/runtime metadata.

## Changes

### `@langchain/langgraph` (`libs/langgraph-core`)

- Updated Pregel callback manager setup to configure core callbacks with
`tracerInheritableMetadata` based on configurable primitive values,
excluding internal and secret-like keys.
- Hoisted tracing default logic into `_getTracingMetadataDefaults` and
`_excludeAsMetadata` for parity with the Python implementation shape.
- Restricted `ensureLangGraphConfig` configurable-to-metadata
propagation to the identifier allowlist:
  - `thread_id`
  - `checkpoint_id`
  - `checkpoint_ns`
  - `task_id`
  - `run_id`
  - `assistant_id`
  - `graph_id`
- Updated config tests to assert the narrowed metadata propagation
behavior.
2026-04-15 18:48:41 -07:00
Christian Bromann d88f29ba25 chore(repo): migrate linting and formatting from ESLint/Prettier to oxlint/oxfmt (#2256)
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Christian Bromann <christian-bromann@users.noreply.github.com>
Co-authored-by: Hunter Lovell <40191806+hntrl@users.noreply.github.com>
2026-03-30 18:08:00 -07:00
github-actions[bot] a1e2abff1e chore: version packages (#2174)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hunter Lovell <hunter@hntrl.io>
2026-03-17 18:10:42 +00:00
Christian Bromann a8f1b9d26b fix(checkpoint-redis): fix dependency (#2181) 2026-03-12 17:08:19 -07:00
github-actions[bot] dc37d3cd62 chore: version packages (#2025)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hunter Lovell <hunter@hntrl.io>
2026-03-06 14:11:51 -08:00
pawel-twardziak c35c274a5d fix(checkpoint-redis): detect existing writes in put to preserve has_writes flag (#2026)
Co-authored-by: Christian Bromann <git@bromann.dev>
2026-03-05 13:38:45 -08:00
John Kennedy 194e5bf1e5 fix: use comprehensive RediSearch tag escaping (#2012)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 00:19:35 +00:00
John Kennedy 9c0c92e121 fix: bump testcontainers to ^11 in checkpoint-redis to resolve CVE-2026-22036 (#1982)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-19 19:44:35 +00:00
github-actions[bot] 289cc95bea chore: version packages (#1941)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hunter Lovell <hunter@hntrl.io>
2026-02-04 18:07:19 -08:00
Hunter Lovell 814c76dc39 fix(checkpoint): improve sanitization in Redis and MongoDB filters (#1943) 2026-02-04 16:14:50 -08:00
David Duong 6d5cdcbb10 fix(chore): replace turbo:command with plain turbo (#1869) 2026-01-09 19:16:10 +00:00
David Duong e7aeffeb72 chore: replace yarn with pnpm (#1862)
Co-authored-by: Christian Bromann <git@bromann.dev>
2026-01-09 19:52:29 +01:00
Josh Rogers f602df6593 fix(langgraph): add resumable stream support to remote graph (#1827)
Co-authored-by: Hunter Lovell <40191806+hntrl@users.noreply.github.com>
2025-12-17 16:20:14 -05:00
Christian Bromann 52dc36b425 fix(*): set proper url prefix for package reference (#1811) 2025-12-07 12:13:53 -08:00
github-actions[bot] 3e81549d0b Version Packages (#1801)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-02 02:50:39 +01:00
Christian Bromann 9440d080e6 fix(@langchain/langgraph-checkpoint-redis): deserialize checkpointed state (#1768)
Co-authored-by: David Duong <david@duong.cz>
2025-12-02 00:35:38 +00:00
David Duong fdd5878e89 chore: update dependencies (#1774)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-11 14:43:13 +00:00
github-actions[bot] d4b6d9ca98 Version Packages (#1735)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hunter Lovell <hunter@hntrl.io>
2025-10-17 16:59:01 -07:00
Hunter Lovell 1e1ecbbcf8 feat: merge v1 (#1733)
Co-authored-by: Tat Dat Duong <david@duong.cz>
Co-authored-by: Christian Bromann <git@bromann.dev>
Co-authored-by: Nuno Campos <nuno@langchain.dev>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-17 16:34:43 -07:00
github-actions[bot] c90a7fb74d Version Packages (#1714)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-30 13:47:08 +02:00
Baptiste Jamin 926db1efe9 fix(langgraph-checkpoint-redis): allow alpha version of 1.0.0 (#1701)
Co-authored-by: Baptiste Jamin <baptiste@crisp.chat>
Co-authored-by: David Duong <david@duong.cz>
2025-09-30 11:28:03 +00:00
David Duong 03ae1089ea chore: remove release-it, fix dependabot for tmp (#1638) 2025-09-10 19:08:13 +00:00
Brian Sam-Bodden 2c6cc0ac9e feat(checkpoint-redis): add Redis-based checkpoint and store implemen… (#1544)
Co-authored-by: Tat Dat Duong <david@duong.cz>
2025-09-04 19:08:10 +02:00