Nuno Campos
5498893780
Restore compatibility with custom checkpointer classes created in prior versions
...
- Ensure existing custom checkpointer classes are compatible with new langgraph-checkpoint release
2025-06-13 16:29:55 -07:00
Sydney Runkle and GitHub
3ad061f0d7
serialize/deserialize pandas with pickle fallback ( #5057 )
2025-06-12 15:14:00 -04:00
Nuno Campos and GitHub
2e33c520a5
Support numpy array serialization in JsonPlusSerializer ( #5035 )
...
* Handle numpy Fortran arrays
* Lint
* Lint
* Lint
2025-06-10 01:17:28 +00:00
Nuno Campos and GitHub
67b1dc602e
Update ormsgpack ( #5034 )
...
* Update ormsgpack
- Now supports bytearray/memoryview passthrough
* Lint
2025-06-10 00:30:58 +00:00
Naohiro Yoshida and GitHub
1519b90414
Centralized CheckpointTuple creation into a shared function for checkpoint_postgres ( #4970 )
2025-06-09 18:40:17 +00:00
c42cd57a32
chore: Update variable naming in postgres store ( #4096 )
...
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com >
2025-06-09 17:54:06 +00:00
Yassin Nouh and GitHub
6b30d4fd8f
docs: enhance PostgresSaver connection requirements explanation ( #4953 )
...
docs: enhance PostgresSaver connection requirements explanation - Add detailed explanation of why autocommit=True and row_factory=dict_row are required - Include example of incorrect usage and resulting errors - Addresses issue #4937 about incomplete setup documentation
2025-06-09 17:12:44 +00:00
Sydney Runkle and GitHub
5e7566f4a3
lint: use pep 604 union syntax and pep 585 generic syntax ( #4963 )
...
* new union syntax
* fix test
* second round of conversions by injecting future annotations
* format + add top level makefile
2025-06-04 21:50:16 -04:00
Nuno Campos
c31c940bbb
checkpoint-postgres: Use lock also for pipeline mode
2025-06-03 14:59:56 -07:00
Nuno Campos
936176eb21
Remove Checkpoint.writes
...
- This has been superseded by saving the individual writes of each task through put_writes()
- Removing this speeds up checkpoint operations as it was duplicating data saved elsewhere already
2025-05-25 19:06:46 -07:00
Nuno Campos
4e8fbe4525
Remove Checkpoint.pending_sends
...
- Instead store sends in a Topic channel, removing the need to fetch sends as writes against the parent checkpoint
- Remove deprecated/unused functions in langgraph-checkpoint (will require bumping min range for langgraph-checkpoint in langgraph lib)
- Implement migration of old pending sends in langgraph-checkpoint-postgres
- Ensure parent config of `checkpoint_during=False` checkpoints always points to checkpoints that were also saved
2025-05-25 19:06:02 -07:00
Nuno Campos
8c11c1155a
Remove postgres shallow checkpointer
...
- This was deprecated, and superseded by checkpoint_during=False, which is available for all checkpointers
2025-05-24 12:39:50 -07:00
Sydney Runkle and GitHub
228a08b966
ci: migrate to uv! ( #4698 )
...
* Migrate to `uv`
* Format `pyproject.toml` files properly
* Remove upper bounds on dependencies, and bounds on dev dependencies
(we should be using latest)
* Move to hatch for packaing
In the future we should:
* Set up dependabot / automate lockfile updates and tests
* Add tests for min compatible versions (I'll do this right after merge)
* Use dynamic versioning
* Bump `pydantic` to v2.11.4 in the lockfile, we have some tests failing
2025-05-15 17:39:14 -07:00
André Menezes and GitHub
3d394740ce
Fix AsyncPostgresStore._cursor row type ( #4623 )
...
`AsyncPostgresStore._cursor` is expected to yield
`AsyncCursor[DictRow]`. In the `else` branch the `row_factory` was not
defined, meaning that it would yield `AsyncCursor[TupleRow]` (default).
This resulted in an error in
[langgraph/store/postgres/aio.py#L249](https://github.com/langchain-ai/langgraph/blob/main/libs/checkpoint-postgres/langgraph/store/postgres/aio.py#L249 )
(`TypeError: tuple indices must be integers or slices, not str`).
2025-05-12 13:34:56 +00:00
Sydney Runkle
8ce33b948c
docstrings for checkpoint-postgres
2025-05-01 13:40:05 -04:00
Vadym Barda and GitHub
e25dde1df0
docs(reference): filter class methods and add missing docstrings ( #4463 )
2025-04-29 21:31:57 +00:00
Sydney Runkle
6250b364f7
version bumps and locks
2025-04-28 17:39:20 -04:00
Sydney Runkle
5e9bea5134
no upper bounds for python
2025-04-25 17:45:54 -07:00
Nuno Campos
70afd2dc2c
Update all
2025-04-25 15:11:32 -07:00
ba7f9975fa
Fix text fields naming ( #4345 )
...
The configuration expects the key "fields", not "text_fields": I had
failed to update across all implementations in the original PR
Thank you to Vincent Min for the fix!
---------
Co-authored-by: Vincent Min <93780551+VMinB12@users.noreply.github.com >
2025-04-18 08:21:46 -07:00
Vadym Barda and GitHub
3da5c73a04
checkpoint-postgres: release 2.0.20 ( #4335 )
2025-04-17 17:08:18 -04:00
18a9ae45f3
Add delete_thread method to Checkpointer class ( #4328 )
...
- Deletes all data associated with a thread_id
- Implemented in InMemory, Sqlite and Postgres checkpointers
Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com >
2025-04-17 16:38:58 +00:00
Vadym Barda and GitHub
fdb9b9b8e0
checkpoint-postgres: add deprecation warning for ShallowPostgresSaver ( #4219 )
2025-04-09 11:31:33 -04:00
Ykoh and GitHub
01fed0fae2
Docs fix example docs ( #3971 )
2025-03-25 11:02:20 -04:00
Nuno Campos
aadbcb443a
Bump
2025-03-24 09:03:23 -07:00
Nuno Campos
a5dd181138
Update
2025-03-24 07:57:02 -07:00
Ykoh and GitHub
765b04adfd
Docs: fix example ( #3972 )
2025-03-21 16:39:39 -04:00
William Fu-Hinthorn
8c0306c3f4
Lock
2025-03-20 07:59:30 -07:00
William FH and GitHub
992b05a196
langgraph-checkpoint-postgres 2.0.19 ( #3945 )
2025-03-20 07:25:41 -07:00
William Fu-Hinthorn
893a9646d3
langgraph-checkpoint-postgres 2.0.19
2025-03-20 07:25:14 -07:00
William Fu-Hinthorn
daee8d88bb
Increase pg->checkpoint minbound
2025-03-20 07:24:15 -07:00
William FH and GitHub
d4255a0645
Merge branch 'main' into wfh/idempotency_test_
2025-03-17 13:27:12 -07:00
William Fu-Hinthorn
424f24720a
Make expires_at idempotent
2025-03-17 13:25:22 -07:00
William Fu-Hinthorn
2a71180c1d
Add tests for idempotency in migraionts
2025-03-17 12:43:21 -07:00
William Fu-Hinthorn
697f878e36
Make expires_at idempotent
2025-03-17 12:38:43 -07:00
William Fu-Hinthorn
18ed044c27
Bump patch version
2025-03-14 14:03:30 -07:00
William Fu-Hinthorn
9741d9bdf0
Add tests for sweeper (sync)
2025-03-14 13:43:53 -07:00
William Fu-Hinthorn
06ca07432d
Add sweeper
2025-03-13 18:55:16 -07:00
William Fu-Hinthorn
852a129881
Default store ttl config
2025-03-11 15:58:58 -07:00
William FH and GitHub
e4c7db180e
Release checkpoint-postgres ( #3745 )
2025-03-07 13:51:36 -08:00
William FH and GitHub
09bd5990d4
Add TTL option for store items ( #3704 )
2025-03-06 13:20:32 -08:00
Nuno Campos
9786be1ff7
Update requirement
2025-02-14 19:01:50 -08:00
Nuno Campos
d4b22ac1d4
Fix postgres tests
2025-02-14 18:40:30 -08:00
Nuno Campos
7f4822931e
Update tests
2025-02-14 18:24:48 -08:00
Nuno Campos
9706211aca
Exclude complex values from checkpoint metadata
2025-02-14 17:35:14 -08:00
Vadym Barda and GitHub
d45253cee8
checkpoint: release libraries ( #3412 )
2025-02-12 22:44:44 -05:00
Vadym Barda and GitHub
1377e3b6ba
checkpoint: combine metadata when writing checkpoints ( #3404 )
2025-02-13 03:24:41 +00:00
William FH and GitHub
a11f9b3535
Fix docstring in pg store init ( #3094 )
2025-01-18 00:03:51 +00:00
Vadym Barda and GitHub
89b0be3a7d
checkpoint-postgres: release 2.0.13 ( #3063 )
2025-01-16 09:17:43 -05:00
Vadym Barda and GitHub
7ecda42b42
checkpoint-postgres: bring back missing migration ( #3058 )
2025-01-16 03:16:28 +00:00