Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions libs/core/langchain_core/load/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ def __init__(
"""
if allowed_objects is None:
warn_deprecated(
since="1.4.0",
since="1.3.3",
message=(
"The default value of `allowed_objects` will change in a future "
"version. Pass an explicit value (e.g., "
Expand Down Expand Up @@ -648,7 +648,7 @@ def loads(
"""
if allowed_objects is None:
warn_deprecated(
since="1.4.0",
since="1.3.3",
message=(
"The default value of `allowed_objects` will change in a future "
"version. Pass an explicit list of allowed classes (or "
Expand Down Expand Up @@ -781,7 +781,7 @@ def load(
"""
if allowed_objects is None:
warn_deprecated(
since="1.4.0",
since="1.3.3",
message=(
"The default value of `allowed_objects` will change in a future "
"version. Pass an explicit list of allowed classes (or "
Expand Down
4 changes: 2 additions & 2 deletions libs/core/langchain_core/runnables/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ async def astream_log(

"""
warn_deprecated(
since="1.4.0",
since="1.3.3",
message=("astream_log is deprecated. Use astream instead."),
removal="2.0.0",
)
Expand Down Expand Up @@ -1545,7 +1545,7 @@ async def slow_thing(some_input: str, config: RunnableConfig) -> str:
)
elif version == "v1":
warn_deprecated(
since="1.4.0",
since="1.3.3",
message=(
"astream_events version='v1' is deprecated. "
"Use version='v2' or astream instead."
Expand Down
2 changes: 1 addition & 1 deletion libs/core/langchain_core/runnables/history.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def get_session_history(

"""
warn_deprecated(
since="1.4.0",
since="1.3.3",
message=(
"RunnableWithMessageHistory is deprecated. "
"Use LangGraph's built-in persistence instead."
Expand Down
Loading