Commit Graph

59 Commits

Author SHA1 Message Date
Christian Bromann b1d307ab84 ci(infra): run framework browser tests only when paths change (#2425)
## Summary
- Add a `detect-changes` job to the browser test workflow using
`dorny/paths-filter@v3.0.2`.
- Run all four framework browser jobs when `libs/sdk/**` changes or when
this workflow file changes.
- Run only the matching job when `libs/sdk-react`, `libs/sdk-angular`,
`libs/sdk-vue`, or `libs/sdk-svelte` changes.
- Keep the full matrix on `workflow_dispatch` (manual runs and CI
dispatched via workflow_dispatch).
2026-05-22 07:15:30 -07:00
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] b423a64d4e chore: version packages (#1888)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-13 00:54:22 +00:00
Oscar Y. 3c8c305cd0 fix(checkpoint-validation): include cli.ts in exports to generate dist/cli.js (#1884) 2026-01-12 13:52:11 -08:00
David Duong 6d5cdcbb10 fix(chore): replace turbo:command with plain turbo (#1869) 2026-01-09 19:16:10 +00:00
github-actions[bot] 1f36303245 chore: version packages (#1868)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-09 11:03:26 -08: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
github-actions[bot] b949b85ebd chore: version packages (#1857)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 23:52:48 -08:00
github-actions[bot] 5b98e5c257 chore: version packages (#1854)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 18:41:30 -08:00
github-actions[bot] da5e82633a chore: version packages (#1851)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 17:37:39 -08:00
github-actions[bot] 4477fdb603 Version Packages (#1849)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 16:57:07 -08:00
github-actions[bot] e720351a93 Version Packages (#1847)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 16:13:27 -08:00
github-actions[bot] 5125de572c Version Packages (#1844)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-01-08 15:23:23 -08:00
Christian Bromann 730dc7c3b8 feat(sdk): add type-safe tool call streaming with agent type inference (#1826)
Co-authored-by: David Duong <david@duong.cz>
2026-01-08 14:50:18 -08:00
Sergey Zelenov 4b7832ec39 feat(checkpoint-mongodb): append client metadata for mongodb (#1777)
Co-authored-by: Hunter Lovell <40191806+hntrl@users.noreply.github.com>
2026-01-08 11:01:53 -08: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
github-actions[bot] 99a989166f Version Packages (#1815)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-15 14:30:48 +00:00
Baptiste Jamin b1ed761610 Bump zod on remaining packages (#1814)
Co-authored-by: Baptiste Jamin <baptiste@crisp.chat>
Co-authored-by: Hunter Lovell <40191806+hntrl@users.noreply.github.com>
Co-authored-by: Hunter Lovell <hunter@hntrl.io>
2025-12-09 12:03:40 -08:00
Christian Bromann 52dc36b425 fix(*): set proper url prefix for package reference (#1811) 2025-12-07 12:13:53 -08: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
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
github-actions[bot] 5e7e710914 Version Packages (#1590)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-08-28 20:23:54 +02:00
David Duong 11c7807a56 chore: add support for V1 in checkpointer packages (#1589) 2025-08-28 18:20:17 +00:00
Tat Dat Duong 0d47d482a4 release: 0.4 2025-07-28 17:02:42 +02:00
David Duong 773ec0d3d4 chore(checkpoint): remove checkpoint["writes"] (#1432) 2025-07-28 16:56:16 +02:00
David Duong ccbcbc1fc3 feat(checkpoint): add deleteThread method (#1327) 2025-07-28 16:56:15 +02:00
David Duong 10f292a4e1 feat(langgraph): remove Checkpoint.pending_sends (#1307) 2025-07-28 16:56:15 +02:00
David Duong 8e818724f1 feat(checkpoint-validation): migrate CLI to Vitest (#1346) 2025-07-07 13:41:14 +02:00
Tat Dat Duong 8fa640beba Update turbo definitions 2025-07-02 02:35:57 +02:00
David Duong 462c366824 chore(deps): remove jest in favour of vitest (#1314) 2025-06-25 14:24:47 +02:00
David Duong dcf9627d7e chore(deps): migrate to Yarn v4 (#1310)
Co-authored-by: Logan Rosen <loganrosen@gmail.com>
2025-06-25 12:44:25 +02:00
Tat Dat Duong 4bf750557f deps(langgraph): upgrade to TypeScript 5.8.x
Turns out that `moduleResolution: node10` will achieve the same result as setting `src/package.json` to `{}` (verified via git worktrees).

Also switching `moduleResolution: bundler` for ESM build, after which I've compared the build output of `libs/checkpoint` via `diff -r -q`.
2025-05-24 16:24:42 +02:00
Tat Dat Duong b640f50596 security: dedupe @octokit
Solved by deduping @langchain/scripts and bumping release-it to ^19
2025-05-08 18:38:30 +02:00
dependabot[bot] f387ace50a build(deps): bump the npm_and_yarn group across 2 directories with 2 updates (#1135)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-28 23:54:18 +12:00
dependabot[bot] babe7309fe build(deps-dev): bump rollup from 4.35.0 to 4.36.0 in the npm_and_yarn group across 1 directory (#1002)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-28 17:51:09 +12:00
dependabot[bot] 435b785b61 build(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#980)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-14 10:14:55 +13:00
Divy Srivastava 7ea6b1b130 fix(checkpoint-sqlite): upgrade better-sqlite3 to 11.7.0 (#986) 2025-03-14 08:58:52 +13:00
Ben Burns 25a2c3aa22 chore: enable sourcemaps 2025-02-28 19:25:54 +13:00
dependabot[bot] c1d5960766 build(deps): bump the npm_and_yarn group across 2 directories with 4 updates (#872)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-21 15:03:42 +13:00
dependabot[bot] c6c9461462 build(deps-dev): bump rollup from 4.32.1 to 4.33.0 in the npm_and_yarn group across 1 directory (#853)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-18 14:43:20 +00:00
Ben Burns 8e916caffb chore: bump checkpoint peer dep to 0.0.15 2025-01-30 12:44:33 +13:00
dependabot[bot] 95a10a1d12 build(deps-dev): bump rollup
Bumps the npm_and_yarn group with 1 update in the / directory: [rollup](https://github.com/rollup/rollup).


Updates `rollup` from 4.32.0 to 4.32.1
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.32.0...v4.32.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-30 11:49:02 +13:00
dependabot[bot] fbe24a217b build(deps): bump the npm_and_yarn group across 1 directory with 2 updates (#806)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 20:14:09 -08:00
dependabot[bot] 3bbd8dac4d build(deps): bump the npm_and_yarn group across 2 directories with 2 updates (#771)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-04 22:21:21 -08:00
dependabot[bot] f57decbdf6 build(deps): bump the npm_and_yarn group across 2 directories with 2 updates (#751)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-19 17:55:16 -08:00