Hunter Lovell and GitHub
06f311fffb
chore: add forum to readme ( #5488 )
...
* chore: add forum to readme
* chore(langgraph): sync readme
2025-07-14 12:51:18 -04:00
Sydney Runkle and GitHub
6c4034420c
fix(langgraph): remove ABC spec for PregelProtocol ( #5485 )
2025-07-14 12:24:49 -04:00
jito and GitHub
54dadadac4
docs(prebuilt): fix typo in interrupt.py ( #5478 )
...
fix typo in interrupt.py
Signed-off-by: jitokim <pigberger70@gmail.com >
2025-07-14 14:06:13 +00:00
jito and GitHub
0b6a9e345d
fix(langgraph): replace _state_schema to state_schema when accessing StateGraph ( #5436 )
2025-07-11 01:39:59 +00:00
William FH and GitHub
9b9bf88aee
fix(checkpoint-postgres): Remove python invalid escape warning ( #5441 )
2025-07-10 22:38:05 +00:00
Sydney Runkle and GitHub
5f00938aa2
feat(langgraph): add type checking for matching node signatures vs input_schema for add_node ( #5424 )
2025-07-10 09:42:37 -04:00
Sydney Runkle and GitHub
e5ded1888b
Merge branch 'main' into v1
2025-07-09 15:26:08 -04:00
Sydney Runkle and GitHub
0ab9770056
release(langgraph): v0.5.2 ( #5421 )
...
langgraph bump
2025-07-09 19:10:20 +00:00
Sydney Runkle and GitHub
d1710e2eac
change[langgraph]: clean up Interrupt interface for v1 ( #5405 )
2025-07-09 14:03:08 -04:00
Sydney Runkle and GitHub
6eace78c53
patch[langgraph]: Fix hint for invoke/stream to allow for Command and None ( #5414 )
...
use Command and None as well
2025-07-09 13:23:28 -04:00
Sydney Runkle and GitHub
e5947bcd30
Merge branch 'main' into v1
2025-07-09 13:06:41 -04:00
Kai-Wendel and GitHub
7a66213535
Fix typo in types.py in the interrupt example ( #5407 )
...
Update types.py
This example still lacked to include `Command`.
2025-07-08 20:49:04 +00:00
William FH and GitHub
2fee649980
chore: (cli) Update description of disable_meta ( #5406 )
2025-07-08 19:55:10 +00:00
William FH and GitHub
0d8a8c5847
feat: [CLI] Add arg to retain build deps (setuptools, pip, wheel) ( #5404 )
2025-07-08 19:41:47 +00:00
Michael Li and GitHub
9cb6365914
docs: update file paths to make the examples more robust ( #5382 )
...
* cli: update file paths to make the examples more robust
* fix: fix the prompt path
2025-07-08 18:58:04 +00:00
Sydney Runkle
a84b744eb6
Merge branch 'main' into v1
2025-07-08 09:55:13 -04:00
lc-arjun and GitHub
6f86a8c4cb
Revert "docs: add -tunnel flag for node server" ( #5397 )
...
Revert "docs: add -tunnel flag for node server (#5373 )"
This reverts commit 4abf948462 .
2025-07-08 06:49:13 -07:00
87f2e69395
chore[deps]: upgrade dependencies with uv lock --upgrade ( #5358 )
...
* chore: upgrade dependencies with `uv lock --upgrade`
* linting
* upgrade PR title
---------
Co-authored-by: sydney-runkle <54324534+sydney-runkle@users.noreply.github.com >
Co-authored-by: Sydney Runkle <sydneymarierunkle@gmail.com >
2025-07-07 23:24:32 +00:00
jito and GitHub
4321ed0f87
Remove duplicate CONFIG_KEY_CHECKPOINT_MAP from RESERVED set ( #5372 )
...
Signed-off-by: jitokim <pigberger70@gmail.com >
2025-07-07 19:19:16 -04:00
jito and GitHub
f3a7925d86
Fix typo: funtion → function ( #5370 )
...
fix typos
Signed-off-by: jitokim <pigberger70@gmail.com >
2025-07-07 20:09:55 +00:00
jito and GitHub
e99f6292c5
Fix typo in StreamMode debug description: checlkpoints → checkpoints ( #5371 )
...
Signed-off-by: jitokim <pigberger70@gmail.com >
2025-07-07 19:27:09 +00:00
jito and GitHub
1800df7048
Fix docstring for _unset_config_context function ( #5374 )
...
Signed-off-by: jitokim <pigberger70@gmail.com >
2025-07-07 19:25:06 +00:00
lc-arjun and GitHub
4abf948462
docs: add -tunnel flag for node server ( #5373 )
...
add -tunnel flag for node server
2025-07-07 08:05:46 -07:00
Sydney Runkle and GitHub
7a8f29847b
fix conflicts in state.py ( #5340 )
...
* fix conflicts
* lockfile fixes
2025-07-03 23:33:39 +00:00
Sydney Runkle and GitHub
f001246794
Merge branch 'main' into v1
2025-07-03 19:27:07 -04:00
Tat Dat Duong
dc95d1af88
Add a README.md
2025-07-03 16:52:35 +02:00
Tat Dat Duong
042e8ef315
chore: remove sdk-js
...
`sdk-js` has been moved here: https://github.com/langchain-ai/langgraphjs/tree/main/libs/sdk
2025-07-03 16:50:51 +02:00
Sydney Runkle
b7d11b4141
Merge branch 'main' into v1
2025-07-02 17:23:45 -04:00
Sydney Runkle and GitHub
1d3fd9a46b
chore: merge main into v1 ( #5324 )
2025-07-02 17:13:31 -04:00
Sydney Runkle and GitHub
813a1d6d0c
langgraph: release v0.5.1 ( #5323 )
...
* bump
* lock
2025-07-02 21:06:05 +00:00
Sydney Runkle and GitHub
8c4e698c5a
langgraph[change]: solidify public/private differentiations ( #5252 )
...
* public interfaces for channels
* public interfaces for func
* public interfaces for graph
* pi for managed
* first pass public interface for top level modules
* first pass at private for utils -> _internal
* private interface for pregel
* scratchpad/stream protocol move
* docs update
* backwards compat for runnable
* deprecation warning for send and interrupt
* deprecation for pregel import
2025-07-02 16:48:53 -04:00
Sydney Runkle and GitHub
339de4c204
langgraph[fix]: remove deprecated pydantic logic + fix schema gen behavior for typed dicts ( #5296 )
2025-07-02 20:08:48 +00:00
Josh Rogers and GitHub
669cf817e8
Bump js sdk to 0.0.89 ( #5313 )
2025-07-02 09:56:04 -07:00
Sydney Runkle and GitHub
000f5c3043
fix[deps]: update lockfiles / deps bounds for internal tools ( #5301 )
...
update lockfiles / deps bounds
2025-07-02 10:30:55 -04:00
Josh Rogers and GitHub
df368bdd30
Updating message types to include all base message fields ( #5298 )
2025-07-01 15:40:13 -07:00
Sydney Runkle and GitHub
c989f1c898
langgraph: remove support for thread_ts (old alias for checkpoint_id) ( #5295 )
...
* remove support for thread_ts
* docs and tests
2025-07-01 13:42:25 -04:00
c16e42e6d5
fix broken link ( #5291 )
...
* fix broken link
* Apply suggestions from code review
Fix link
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com >
---------
Co-authored-by: Lauren Hirata Singh <lauren@langchain.dev >
Co-authored-by: Sydney Runkle <54324534+sydney-runkle@users.noreply.github.com >
2025-07-01 13:52:26 +00:00
Tat Dat Duong
7e2af0ce8d
release(sdk-js): 0.0.88
2025-07-01 14:21:11 +02:00
Sam Crowder and GitHub
0a8ba20f5f
docs: remove beta flag on self hosted plane ( #5288 )
2025-06-30 22:41:05 -04:00
David Duong and GitHub
f3ed32e611
feat(react): enhance useStream with initialValues, newThreadId, and onStop callback for improved UX ( #5111 )
2025-07-01 01:53:28 +02:00
Tat Dat Duong
276675b618
Make sure to spread stream values
2025-07-01 01:39:53 +02:00
Tat Dat Duong
882de42996
Fix non-existent assistantId
2025-07-01 01:35:59 +02:00
Tat Dat Duong
70be50f37b
Fix typo
2025-07-01 01:33:08 +02:00
Tat Dat Duong
3d88f75254
Cleanup
2025-07-01 01:19:07 +02:00
ccurme and GitHub
6182cd1dcb
prebuilt: release 0.5.2 ( #5280 )
2025-06-30 15:50:21 -04:00
ccurme and GitHub
a48d8cb69b
prebuilt[patch]: import recognized tool message content block types from langchain-core ( #5275 )
2025-06-30 15:22:19 -04:00
MauritsBrinkman and Tat Dat Duong
c7bbb26ac0
test: add useStream onStop callback tests
2025-06-30 16:43:48 +02:00
MauritsBrinkman and Tat Dat Duong
ac9b6c416e
feat: add onStop callback to useStream for custom stop behavior
...
Add onStop callback to useStream hook enabling developers to customize
UI behavior when streams are stopped. This is especially useful for
UI messages with loading states that need to show "stopped" status
instead of remaining in infinite loading state.
The callback provides the same mutate function as onCustomEvent for
immediate local state updates, while users can optionally update
server thread state using the threads client.
Example usage:
```typescript
const stream = useStream({
assistantId: "my-assistant",
onStop: async ({ mutate }) => {
// Immediate UI update - stop loading components
mutate((prev) => ({
...prev,
ui: prev.ui?.map(component =>
component.props?.isLoading
? {
...component,
props: {
...component.props,
isLoading: false,
isStopped: true
}
}
: component
)
}));
// Optional server thread state update
if (stream.threadId) {
await stream.client.threads.updateState(stream.threadId, {
values: {
ui: prev.ui // persist stopped state to server
}
});
}
}
});
```
This is especially useful for cases where gen UI components have loading states,
where we don't want the loading state to persist on cancellation.
2025-06-30 16:43:13 +02:00
MauritsBrinkman and Tat Dat Duong
d4b4eebe4a
fix(sdk-js): convert SSE classes to factory functions to resolve tree shaking
...
- Convert BytesLineDecoder and SSEDecoder from classes extending TransformStream to factory functions
- Fixes tree shaking failures that prevented build completion
- Maintains identical API functionality, just removes 'new' keyword usage
- All tests continue to pass
Resolves tree shaking side effect detection issues with TransformStream extension
2025-06-30 16:43:13 +02:00
MauritsBrinkman and Tat Dat Duong
f8e1e803e1
docs(react): add documentation and tests for initialValues and newThreadId options
...
- Document initialValues for cached thread display
- Document newThreadId for optimistic thread creation
- Add comprehensive test coverage for both features
2025-06-30 16:43:12 +02:00