To provide a more stable migration for custom HTTPAdapters impacted
by the CVE changes in 2.32.0, we've renamed _get_connection to
a new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of Requests>=2.32.0.
A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)
v2.32.1
2.32.1 (2024-05-20)
Bugfixes
Add missing test certs to the sdist distributed on PyPI.
verify=True now reuses a global SSLContext which should improve
request time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a Python
version built with OpenSSL 3.x. (#6667)
Requests now supports optional use of character detection
(chardet or charset_normalizer) when repackaged or vendored.
This enables pip and other projects to minimize their vendoring
surface area. The Response.text() and apparent_encoding APIs
will default to utf-8 if neither library is present. (#6702)
Bugfixes
Fixed bug in length detection where emoji length was incorrectly
calculated in the request content-length. (#6589)
Fixed deserialization bug in JSONDecodeError. (#6629)
Fixed bug where an extra leading / (path separator) could lead
urllib3 to unnecessarily reparse the request URI. (#6644)
To provide a more stable migration for custom HTTPAdapters impacted
by the CVE changes in 2.32.0, we've renamed _get_connection to
a new public API, get_connection_with_tls_context. Existing custom
HTTPAdapters will need to migrate their code to use this new API.
get_connection is considered deprecated in all versions of Requests>=2.32.0.
A minimal (2-line) example has been provided in the linked PR to ease
migration, but we strongly urge users to evaluate if their custom adapter
is subject to the same issue described in CVE-2024-35195. (#6710)
2.32.1 (2024-05-20)
Bugfixes
Add missing test certs to the sdist distributed on PyPI.
verify=True now reuses a global SSLContext which should improve
request time variance between first and subsequent requests. It should
also minimize certificate load time on Windows systems when using a Python
version built with OpenSSL 3.x. (#6667)
Requests now supports optional use of character detection
(chardet or charset_normalizer) when repackaged or vendored.
This enables pip and other projects to minimize their vendoring
surface area. The Response.text() and apparent_encoding APIs
will default to utf-8 if neither library is present. (#6702)
Bugfixes
Fixed bug in length detection where emoji length was incorrectly
calculated in the request content-length. (#6589)
Fixed deserialization bug in JSONDecodeError. (#6629)
Fixed bug where an extra leading / (path separator) could lead
urllib3 to unnecessarily reparse the request URI. (#6644)
[!WARNING]
This release fixes a vulnerability (CVE-2024-36039).
All users are recommended to update to this version.
If you can not update soon, check the input value from untrusted source has an expected type.
Only dict input from untrusted source can be an attack vector.
What's Changed
Prohibit dict parameter for Cursor.execute(). It didn't produce valid SQL
and might cause SQL injection. (CVE-2024-36039)
[!WARNING]
This release fixes a vulnerability (CVE-2024-36039).
All users are recommended to update to this version.
If you can not update soon, check the input value from
untrusted source has an expected type. Only dict input
from untrusted source can be an attack vector.
Prohibit dict parameter for Cursor.execute(). It didn't produce valid SQL
and might cause SQL injection. (CVE-2024-36039)
community[patch]: Release 0.2.2 (#22496)
community, milvus, pinecone, qdrant, mongo: Broadcast operation failure while using simsimd beyond v3.7.7 (#22271)
community[minor]: Add tools calls to ChatEdenAI (#22320)
docs : Update docstrings for OpenAI base.py (#22221)
communty[patch]: Native RAG Support in Prem AI langchain (#22238)
community[minor]: Enable retrieval api calls in PebbloRetrievalQA (#21958)
community[patch]: deprecate all HF classes (#22444)
community[minor]: Improve Cassandra VectorStore as_retriever (#22465)
community[patch]: Upstash Vector Store Namespace Support (#22251)
community[minor]: Updating payload for pebblo discover API (#22309)
community: add standard chat model params to Ollama (#22446)
community[patch]: Update OpenVINO embedding and reranker to support static input shape (#22171)
community[minor]: Implement MiniMaxChat interface (#22391)
community[patch]: Airtable to allow for addtl params (#22092)
community[patch]: update embeddings/oracleai.py (#22240)
community[patch]: Update the default api_url and reqeust_body of sparkllm embedding (#22136)
community[minor]: Add IPEX-LLM BGE embedding support on both Intel CPU and GPU (#22226)
community: fix AzureSearch delete documents (#22315)
community: fix missing apify_api_token field in ApifyWrapper (#22421)
add embed_image API to JinaEmbedding (#22416)
doc: fix wrong documentation on FAISS load_local function (#22310)
community[patch]: Standardize qianfan model init args name (#22322)
community: adding tool_call_id for every ToolCall (#22323)
community, docs: update token usage tracking callback + how-to guides (#22145)
milvus: New langchain_milvus package and new milvus features (#21077)
community[patch]: Update firecrawl api key name (#22183)
community[minor]: Add Zep Cloud components + docs + examples (#21671)
community[patch]: DuckDB VS - expose similarity, improve performance of from_texts (#20971)
community[minor]: clickhouse -- ability to use secure connection (#22108)
community[patch]: Put authorized identities behind a feature flag in SharepointLoader (#22125)
community: add metadata to chain logging; (#22122)
community: Update costs of openai finetuned models (#22124)
community[major]: lint for usage of xml library (#22132)
doc: Add doc for CassandraByteStore (#22126)
docs: fix some spelling mistakes caught by newest version of code spell (#22090)
community[minor]: ManticoreSearch engine added to vectorstore (#19117)
langchain==0.2.2
Release langchain==0.2.2
Changes since langchain==0.2.1
langchain[patch]: Release 0.2.2 (#22495)
langchain[patch]: Fix MongoDBAtlasVectorSearch reference in self query retriever (#22401)
Update parent_document_retriever.py about **kwargs (#22219)
infra: update langchainhub and add integration test (#22154)
docs: fix some spelling mistakes caught by newest version of code spell (#22090)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/ai-cfia/louis/network/alerts).
Bumps the pip group with 4 updates in the /backend directory: flask-cors, requests, pymysql and langchain.
Updates
flask-cors
from 4.0.0 to 4.0.1Release notes
Sourced from flask-cors's releases.
Changelog
Sourced from flask-cors's changelog.
Commits
1df178c
Release 0.4.1 (#353)5090b4a
Update CI to include Python 3.12 and flask 3.0.3 (#354)6172c20
Update extension.py to clean request.path before logging it (#351)cadade9
Fix Read the Docs builds (#345)Updates
requests
from 2.31.0 to 2.32.2Release notes
Sourced from requests's releases.
... (truncated)
Changelog
Sourced from requests's changelog.
... (truncated)
Commits
88dce9d
v2.32.2c98e4d1
Merge pull request #6710 from nateprewitt/api_rename92075b3
Add deprecation warningaa1461b
Move _get_connection to get_connection_with_tls_context970e8ce
v2.32.1d6ebc4a
v2.32.09a40d12
Avoid reloading root certificates to improve concurrent performance (#6667)0c030f7
Merge pull request #6702 from nateprewitt/no_char_detection555b870
Allow character detection dependencies to be optional in post-packaging stepsd6dded3
Merge pull request #6700 from franekmagiera/update-redirect-to-invalid-uri-testUpdates
pymysql
from 1.1.0 to 1.1.1Release notes
Sourced from pymysql's releases.
Changelog
Sourced from pymysql's changelog.
Commits
2cab9ec
v1.1.1521e400
forbid dict parameter7f032a6
remove coveralls from requirements69f6c74
ruff formatb4ed688
test json - mariadb without JSON type (#1165)bbd049f
Support error packet without sqlstate (#1160)9694747
pyupgrade1f0b785
chore(deps): update codecov/codecov-action action to v4 (#1158)1e28be8
chore(deps): update github/codeql-action action to v3 (#1154)f13f054
chore(deps): update actions/setup-python action to v5 (#1152)Updates
langchain
from 0.1.16 to 0.2.2Release notes
Sourced from langchain's releases.
... (truncated)
Commits
85aa218
langchain[patch]: Release 0.2.2 (#22495)8e86080
mistralai[patch]: Release 0.1.8 (#22494)e850de2
huggingface[patch]: release 0.0.2 (#22493)593de8a
docs[patch]: Add robots.txt and root sitemap (#22492)99a3cad
text-splitters[patch]: Release 0.2.1 (#22490)161b02a
core[patch]: Release 0.2.4 (#22489)50258a7
docs: Update chroma docs link for collection reference (#22472)9b45374
docs: Added Semantic Cache Example with BedrockChat using Bedrock Embedding… ...3796672
community, milvus, pinecone, qdrant, mongo: Broadcast operation failure while...03178ee
community[minor]: Add tools calls toChatEdenAI
(#22320)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show