Commit a6b5c10
authored
chore(deps): bump langgraph lower bounds to fix security vulnerabilities (#165)
* chore(deps): bump langgraph and langgraph-checkpoint lower bounds for security fixes
- langgraph-checkpoint: >=3.0.0 → >=4.0.0 (fixes CVE for BaseCache
deserialization RCE, Dependabot alert #17)
- langgraph: >=0.3.0 → >=1.0.10 (fixes unsafe msgpack deserialization,
Dependabot alert #18)
* fix: align prune()/aprune() signatures with upstream BaseCheckpointSaver
langgraph-checkpoint 4.0.0 changed the base class signature from no
prune() to prune(strategy="keep_latest"). Update all 4 implementations
to accept the upstream `strategy` parameter while keeping `keep_last`
as an optional override for backwards compatibility.
Mapping: strategy="keep_latest" → keep_last=1, strategy="delete" → keep_last=0.1 parent 541b631 commit a6b5c10
6 files changed
Lines changed: 99 additions & 69 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1660 | 1660 | | |
1661 | 1661 | | |
1662 | 1662 | | |
1663 | | - | |
| 1663 | + | |
| 1664 | + | |
1664 | 1665 | | |
1665 | 1666 | | |
1666 | 1667 | | |
1667 | 1668 | | |
1668 | | - | |
1669 | | - | |
1670 | | - | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
1671 | 1672 | | |
1672 | 1673 | | |
1673 | | - | |
1674 | | - | |
1675 | | - | |
1676 | | - | |
| 1674 | + | |
| 1675 | + | |
| 1676 | + | |
1677 | 1677 | | |
1678 | 1678 | | |
1679 | 1679 | | |
1680 | | - | |
1681 | | - | |
1682 | | - | |
1683 | | - | |
1684 | | - | |
| 1680 | + | |
| 1681 | + | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
1685 | 1686 | | |
1686 | | - | |
1687 | | - | |
1688 | | - | |
1689 | | - | |
| 1687 | + | |
1690 | 1688 | | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
1691 | 1696 | | |
1692 | 1697 | | |
1693 | 1698 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2047 | 2047 | | |
2048 | 2048 | | |
2049 | 2049 | | |
2050 | | - | |
| 2050 | + | |
| 2051 | + | |
2051 | 2052 | | |
2052 | 2053 | | |
2053 | 2054 | | |
2054 | 2055 | | |
2055 | | - | |
2056 | | - | |
2057 | | - | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
2058 | 2059 | | |
2059 | 2060 | | |
2060 | | - | |
2061 | | - | |
2062 | | - | |
2063 | | - | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
2064 | 2064 | | |
2065 | 2065 | | |
2066 | 2066 | | |
2067 | | - | |
2068 | | - | |
2069 | | - | |
2070 | | - | |
2071 | | - | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
2072 | 2073 | | |
2073 | | - | |
2074 | | - | |
2075 | | - | |
2076 | | - | |
| 2074 | + | |
2077 | 2075 | | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
2078 | 2083 | | |
2079 | 2084 | | |
2080 | 2085 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
| 904 | + | |
| 905 | + | |
905 | 906 | | |
906 | 907 | | |
907 | 908 | | |
908 | 909 | | |
909 | | - | |
910 | | - | |
911 | | - | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
912 | 913 | | |
913 | 914 | | |
914 | 915 | | |
915 | | - | |
916 | | - | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
917 | 920 | | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
918 | 928 | | |
919 | 929 | | |
920 | | - | |
| 930 | + | |
921 | 931 | | |
922 | 932 | | |
923 | 933 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
769 | 769 | | |
770 | 770 | | |
771 | 771 | | |
772 | | - | |
| 772 | + | |
| 773 | + | |
773 | 774 | | |
774 | 775 | | |
775 | 776 | | |
776 | 777 | | |
777 | | - | |
778 | | - | |
779 | | - | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
780 | 781 | | |
781 | 782 | | |
782 | 783 | | |
783 | | - | |
784 | | - | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
785 | 788 | | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
786 | 796 | | |
787 | 797 | | |
788 | | - | |
| 798 | + | |
789 | 799 | | |
790 | 800 | | |
791 | 801 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments