langchain/libs/core/langchain_core/utils
Erick Friis e1924b3e93
core[patch]: deprecate hwchase17/langchain-hub, address path traversal (#18600)
Deprecates the old langchain-hub repository. Does *not* deprecate the
new https://smith.langchain.com/hub

@PinkDraconian has correctly raised that in the event someone is loading
unsanitized user input into the `try_load_from_hub` function, they have
the ability to load files from other locations in github than the
hwchase17/langchain-hub repository.

This PR adds some more path checking to that function and deprecates the
functionality in favor of the hub built into LangSmith.
2024-03-05 12:49:38 -08:00
..
__init__.py core[minor]: Image prompt template (#14263) 2024-01-27 17:04:29 -08:00
_merge.py core: improve None value processing in merge_dicts() (#17462) 2024-02-13 08:48:02 -08:00
aiter.py
env.py Improve: remove extra spaces in get_from_env error (#15064) 2023-12-22 11:50:03 -08:00
formatting.py core[patch]: docstring update (#16813) 2024-02-09 12:47:41 -08:00
function_calling.py Fix Dep Recommendation (#16793) 2024-01-30 09:40:28 -08:00
html.py core[patch], community[patch]: link extraction continue on failure (#17200) 2024-02-07 14:15:30 -08:00
image.py core[minor]: Image prompt template (#14263) 2024-01-27 17:04:29 -08:00
input.py infra: add print rule to ruff (#16221) 2024-02-09 16:13:30 -08:00
interactive_env.py core[patch]: simple prompt pretty printing (#15968) 2024-01-12 21:08:51 -05:00
iter.py
json_schema.py Update _retrieve_ref inside json_schema.py to include an isdigit() check (#14745) 2024-01-01 16:25:42 -08:00
loading.py core[patch]: deprecate hwchase17/langchain-hub, address path traversal (#18600) 2024-03-05 12:49:38 -08:00
pydantic.py
strings.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
utils.py