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: release 0.2.5 (#22923)
docs: Fix wrongly referenced class name in confluence.py (#22879)
community[minor]: Fix long_context_reorder.py async (#22839)
community[major], experimental[patch]: Remove Python REPL from community (#22904)
community[patch]: SitemapLoader restrict depth of parsing sitemap (CVE-2024-2965) (#22903)
core[patch]: fix validation of @deprecated decorator (#22513)
[Community]: HuggingFaceCrossEncoder score accounting for pairs. (#22578)
community[minor]: add chat model llamacpp (#22589)
community[minor]: Prem Templates (#22783)
community[minor]: Implement ZhipuAIEmbeddings interface (#22821)
docs, cli[patch]: document loaders doc template (#22862)
ci: Add script to check for pickle usage in community (#22863)
community[patch]: FAISS VectorStore deserializer should be opt-in (#22861)
[docs]: added info for TavilySearchResults (#22765)
minor functionality change: adding API functionality to tavilysearch (#22761)
docs: improved recursive url loader docs (#22648)
ci: add testing with Python 3.12 (#22813)
community[patch]: fix database uri type in SQLDatabase (#22661)
community[patch]: Update root_validators embeddings: llamacpp, jina, dashscope, mosaicml, huggingface_hub, Toolkits: Connery, ChatModels: PAI_EAS, (#22828)
community[minor]: implement huggingface show_progress consistently (#22682)
community[patch]: fix hunyuan message include chinese signature error (#22795) (#22796)
community[patch]: bugfix for YoutubeLoader's LINES format (#22815)
langchain[minor]: Make EmbeddingsFilters async (#22737)
community[patch]: fix hunyuan client json analysis (#22452) (#22767)
community[patch]: Support for old clients (Thin and Thick) Oracle Vector Store (#22766)
community[patch]: Load YouTube transcripts (captions) as fixed-duration chunks with start times (#21710)
community[minor]: Adds a vector store for Azure Cosmos DB for NoSQL (#21676)
[Community]: Added Metadata filter support for DocumentDB Vector Store (#22777)
Ollama vision support (#22734)
community[minor]: fix redis store docstring and streamline initialization code (#22730)
community[patch]: Kinetica Integrations handled error in querying; quotes in table names; updated gpudb API (#22724)
community[minor]: Add support for OVHcloud AI Endpoints Embedding (#22667)
community[patch]: Add missing type annotations (#22758)
community[patch]: fix WandbTracer to work with new "RunV2" API (#22673)
community[patch]: fix deepinfra inference (#22680)
community[patch]: Add function response to graph cypher qa chain (#22690)
community[minor]: add Volcengine Rerank (#22700)
community[patch]: Small Fix in OutlookMessageLoader (Close the Message once Open) (#22744)
Community[minor]: Add language parser for Elixir (#22742)
community[patch]: Use Custom Logger Instead of Root Logger in get_user_agent Function (#22691)
community[minor]: Add SQL storage implementation (#22207)
couchbase: Add the initial version of Couchbase partner package (#22087)
community[minor]: Add UpstashRatelimitHandler (#21885)
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-community.
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-community
from 0.0.34 to 0.2.5Release notes
Sourced from langchain-community's releases.
... (truncated)
Commits
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