Skip to content

Commit c247f28

Browse files
authored
Merge branch 'main' into patch-2
2 parents 972884b + 40ee766 commit c247f28

File tree

11 files changed

+131
-111
lines changed

11 files changed

+131
-111
lines changed

.github/workflows/_lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ jobs:
3232
- "3.10"
3333
- "3.13"
3434
steps:
35-
- uses: actions/checkout@v5
35+
- uses: actions/checkout@v6
3636
with:
3737
persist-credentials: false
3838
- name: Install uv
39-
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
39+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
4040
with:
4141
enable-cache: true
4242
python-version: ${{ matrix.python-version }}

.github/workflows/_release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
version: ${{ steps.check-version.outputs.version }}
3737

3838
steps:
39-
- uses: actions/checkout@v5
39+
- uses: actions/checkout@v6
4040
with:
4141
persist-credentials: false
4242
- name: Install uv
43-
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
43+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
4444
with:
4545
python-version: ${{ env.PYTHON_VERSION }}
4646

@@ -91,7 +91,7 @@ jobs:
9191
run:
9292
working-directory: ${{ inputs.working-directory }}
9393
steps:
94-
- uses: actions/checkout@v5
94+
- uses: actions/checkout@v6
9595
with:
9696
persist-credentials: false
9797
# We explicitly *don't* set up caching here. This ensures our tests are
@@ -108,7 +108,7 @@ jobs:
108108
# used in the real world.
109109

110110
- name: Install uv
111-
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
111+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
112112
with:
113113
python-version: ${{ env.PYTHON_VERSION }}
114114

@@ -204,12 +204,12 @@ jobs:
204204
working-directory: ${{ inputs.working-directory }}
205205

206206
steps:
207-
- uses: actions/checkout@v5
207+
- uses: actions/checkout@v6
208208
with:
209209
persist-credentials: false
210210

211211
- name: Install uv
212-
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
212+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
213213
with:
214214
python-version: ${{ env.PYTHON_VERSION }}
215215

@@ -244,11 +244,11 @@ jobs:
244244
working-directory: ${{ inputs.working-directory }}
245245

246246
steps:
247-
- uses: actions/checkout@v5
247+
- uses: actions/checkout@v6
248248
with:
249249
persist-credentials: false
250250
- name: Install uv
251-
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
251+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
252252
with:
253253
python-version: ${{ env.PYTHON_VERSION }}
254254

.github/workflows/_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ jobs:
2222
- "3.13"
2323
name: "run test #${{ matrix.python-version }}"
2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@v6
2626
with:
2727
persist-credentials: false
2828
- name: Install uv
29-
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
29+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
3030
with:
3131
enable-cache: true
3232
python-version: ${{ matrix.python-version }}
@@ -39,7 +39,7 @@ jobs:
3939
run: just install
4040

4141
- name: Start MongoDB
42-
uses: supercharge/mongodb-github-action@90004df786821b6308fb02299e5835d0dae05d0d # 1.12.0
42+
uses: supercharge/mongodb-github-action@315db7fe45ac2880b7758f1933e6e5d59afd5e94 # 1.12.1
4343

4444
- name: Run unit tests
4545
shell: bash

.github/workflows/_test_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
version: ${{ steps.check-version.outputs.version }}
2424

2525
steps:
26-
- uses: actions/checkout@v5
26+
- uses: actions/checkout@v6
2727
with:
2828
persist-credentials: false
2929
- name: Install uv
30-
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
30+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
3131
with:
3232
python-version: ${{ env.PYTHON_VERSION }}
3333

@@ -72,7 +72,7 @@ jobs:
7272
id-token: write
7373

7474
steps:
75-
- uses: actions/checkout@v5
75+
- uses: actions/checkout@v6
7676
with:
7777
persist-credentials: false
7878
- uses: actions/download-artifact@v6

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
build:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v5
23+
- uses: actions/checkout@v6
2424
with:
2525
persist-credentials: false
2626
- uses: actions/setup-python@v6
@@ -41,7 +41,7 @@ jobs:
4141
runs-on: ubuntu-latest
4242

4343
steps:
44-
- uses: actions/checkout@v5
44+
- uses: actions/checkout@v6
4545
with:
4646
persist-credentials: false
4747
- uses: actions/setup-python@v6
@@ -78,12 +78,12 @@ jobs:
7878
name: API docs
7979
runs-on: ubuntu-latest
8080
steps:
81-
- uses: actions/checkout@v5
81+
- uses: actions/checkout@v6
8282
with:
8383
persist-credentials: false
8484
- uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
8585
- name: Install uv
86-
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
86+
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7
8787
with:
8888
enable-cache: true
8989
python-version: "3.10"

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535
build-mode: none
3636
steps:
3737
- name: Checkout repository
38-
uses: actions/checkout@v5
38+
uses: actions/checkout@v6
3939
with:
4040
ref: ${{ inputs.ref }}
4141
persist-credentials: false
4242
- uses: actions/setup-python@v6
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4
46+
uses: github/codeql-action/init@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4
4747
with:
4848
languages: ${{ matrix.language }}
4949
build-mode: ${{ matrix.build-mode }}
@@ -60,6 +60,6 @@ jobs:
6060
pip install -e .
6161
6262
- name: Perform CodeQL Analysis
63-
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4
63+
uses: github/codeql-action/analyze@e12f0178983d466f2f6028f5cc7a6d786fd97f4b # v4
6464
with:
6565
category: "/language:${{matrix.language}}"

.github/workflows/zizmor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
security-events: write
1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@v6
1818
with:
1919
persist-credentials: false
2020
- name: Run zizmor
21-
uses: zizmorcore/zizmor-action@da5ac40c5419dcf7f21630fb2f95e725ae8fb9d5
21+
uses: zizmorcore/zizmor-action@9d985c6a33094e632ee3e60d1924caa8588dc5db

libs/langgraph-checkpoint-mongodb/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
---
44

5+
## Changes in version 0.3.0 (2025/11/19)
6+
- Allow custom serde objects to be passed to MongoDBSaver for serialization/deserialization.
7+
- Remove the deprecated AsyncMongoDBSaver class, which has been replaced by MongoDBSaver's async methods.
8+
- Update dependencies to require LangChain and LangGraph versions 1.0.0 and above.
9+
510
## Changes in version 0.2.2 (2025/11/13)
611

712
- Bumps minimum version of langgraph-checkpoint to 3.0 to address the Remode Code Execution CVE in JsonPlusSerializer's "json" mode, described [here](https://osv.dev/vulnerability/GHSA-wwqv-p2pp-99h5).

libs/langgraph-checkpoint-mongodb/pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "langgraph-checkpoint-mongodb"
7-
version = "0.2.2"
7+
version = "0.3.0"
88
description = "Library with a MongoDB implementation of LangGraph checkpoint saver."
99
readme = "README.md"
1010
requires-python = ">=3.10"
1111
dependencies = [
1212
"langgraph-checkpoint>=3.0.0",
13-
"langchain-mongodb<1.0.0",
13+
"langchain-mongodb>=0.8.0",
1414
"pymongo>=4.12,<4.16",
1515
]
1616

1717
[dependency-groups]
1818
dev = [
1919
"anyio>=4.4.0",
20-
"langchain-core>=0.3.55",
21-
"langchain-ollama>=0.2.2",
22-
"langchain-openai>=0.2.14",
23-
"langgraph>=0.3.23",
20+
"langchain-core>=1.0.0",
21+
"langchain-ollama>=1.0.0",
22+
"langchain-openai>=1.0.0",
23+
"langgraph>=1.0.0",
2424
"pytest-asyncio>=0.21.1",
2525
"pytest>=7.2.1",
2626
"pytest-mock>=3.11.1",

0 commit comments

Comments
 (0)