Bumps
[org.apache.httpcomponents.client5:httpclient5](https://github.com/apache/httpcomponents-client)
from 5.6 to 5.6.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/apache/httpcomponents-client/blob/rel/v5.6.1/RELEASE_NOTES.txt">org.apache.httpcomponents.client5:httpclient5's
changelog</a>.</em></p>
<blockquote>
<h2>Release 5.6.1</h2>
<p>This is a maintenance release disables experimental SCRAM auth scheme
by default and
fixes SCRAM final response handling. The SCRAM auth scheme can be
re-enabled by
choosing a custom auth scheme preference sequence that explicitly
includes SCRAM auth.</p>
<h2>Change Log</h2>
<ul>
<li>
<p>Fix SCRAM final response handling.
Contributed by Arturo Bernal <!-- raw HTML omitted --></p>
</li>
<li>
<p>Auth challenge parsing code improvement.
Contributed by Oleg Kalnichevski <!-- raw HTML omitted --></p>
</li>
<li>
<p>Add missing Javadoc for ConnectionConfig (<a
href="https://redirect.github.com/apache/httpcomponents-client/issues/820">#820</a>).
Contributed by Gary Gregory <!-- raw HTML omitted --></p>
</li>
<li>
<p>Bug fix: Corrected async message exchange cancellation logic in
InternalHttpAsyncExecRuntime.
Contributed by Oleg Kalnichevski <!-- raw HTML omitted --></p>
</li>
<li>
<p>HTTPCLIENT-2417: Honor TlsConfig attachment in async connect path.
Contributed by Arturo Bernal <!-- raw HTML omitted --></p>
</li>
<li>
<p>HTTPCLIENT-2414: Fix Basic auth cache scoping across path prefixes
(<a
href="https://redirect.github.com/apache/httpcomponents-client/issues/802">#802</a>).
Contributed by Arturo Bernal <!-- raw HTML omitted --></p>
</li>
<li>
<p>HTTPCLIENT-2415: Normalize CookieOrigin path for cookie matching (<a
href="https://redirect.github.com/apache/httpcomponents-client/issues/803">#803</a>).
Contributed by Arturo Bernal <!-- raw HTML omitted --></p>
</li>
<li>
<p>Bug fix: Corrected sleep time calculation in IdleConnectionEvictor;
use 1 minute sleep
time by default.
Contributed by Oleg Kalnichevski <!-- raw HTML omitted --></p>
</li>
<li>
<p>DefaultManagedHttpClientConnection: Restore original socket timeout.
Contributed by Ryan Schmitt <!-- raw HTML omitted --></p>
</li>
<li>
<p>HTTPCLIENT-2411: Use standard HTTP-date format for synthesized Date
header (<a
href="https://redirect.github.com/apache/httpcomponents-client/issues/775">#775</a>).
Contributed by Arturo Bernal <!-- raw HTML omitted --></p>
</li>
<li>
<p>Fix NPE in connection evictor setup (<a
href="https://redirect.github.com/apache/httpcomponents-client/issues/774">#774</a>).
Contributed by Arturo Bernal <!-- raw HTML omitted --></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4f86ca6a5e"><code>4f86ca6</code></a>
HttpClient 5.6.1 release</li>
<li><a
href="1b2bafe817"><code>1b2bafe</code></a>
Updated release notes for HttpClient 5.6.1 release</li>
<li><a
href="1acf00b879"><code>1acf00b</code></a>
Fix SCRAM final response handling</li>
<li><a
href="49549abca8"><code>49549ab</code></a>
Auth challenge parsing code improvement</li>
<li><a
href="fa6b6d70af"><code>fa6b6d7</code></a>
Add missing Javadoc for ConnectionConfig (<a
href="https://redirect.github.com/apache/httpcomponents-client/issues/820">#820</a>)</li>
<li><a
href="3de8ad5e99"><code>3de8ad5</code></a>
Fixed DefaultClientTlsStrategy test failures on MacOS</li>
<li><a
href="c69f38f764"><code>c69f38f</code></a>
Bug-fix: corrects message exchange cancellation logic in
InternalHttpAsyncExe...</li>
<li><a
href="30386d3096"><code>30386d3</code></a>
HTTPCLIENT-2417 Honor TlsConfig attachment in async connect path</li>
<li><a
href="9cc45f6c67"><code>9cc45f6</code></a>
HTTPCLIENT-2414 - Fix Basic auth cache scoping across path prefixes (<a
href="https://redirect.github.com/apache/httpcomponents-client/issues/802">#802</a>)</li>
<li><a
href="1e01a487e2"><code>1e01a48</code></a>
HTTPCLIENT-2415: Normalize CookieOrigin path for cookie matching (<a
href="https://redirect.github.com/apache/httpcomponents-client/issues/803">#803</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/apache/httpcomponents-client/compare/rel/v5.6...rel/v5.6.1">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/langchain4j/langchain4j/network/alerts).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dmytro Liubarskyi <ljubarskij@gmail.com>
<!--
Thank you so much for your contribution!
Please fill in all the sections below.
Please open the PR as a draft initially. Once it is reviewed and
approved, we will ask you to add documentation and examples.
Please note that PRs with breaking changes or without tests will be
rejected.
Please note that PRs will be reviewed based on the priority of the
issues they address.
We ask for your patience. We are doing our best to review your PR as
quickly as possible.
Please refrain from pinging and asking when it will be reviewed. Thank
you for understanding!
-->
## Issue
<!-- Please specify the ID of the issue this PR is addressing. For
example: "Closes #1234" or "Fixes #1234" -->
Closes#3775
## Change
<!-- Please describe the changes you made. -->
Simply integrated Apache HttpClient 5 and modified the timeout in the
HttpClientTimeoutIT class within the langchain4j-http-client test
methods to 1 second. Since Apache HttpClient 5's asynchronous timeout
cannot accurately implement a 250-millisecond timeout, the effect can
only be achieved by increasing the timeout duration.
## General checklist
<!-- Please double-check the following points and mark them like this:
[X] -->
- [x] There are no breaking changes (API, behaviour)
- [x] I have added unit and/or integration tests for my change
- [x] The tests cover both positive and negative cases
- [x] I have manually run all the unit and integration tests in the
module I have added/changed, and they are all green
- [ ] I have manually run all the unit and integration tests in the
[core](https://github.com/langchain4j/langchain4j/tree/main/langchain4j-core)
and
[main](https://github.com/langchain4j/langchain4j/tree/main/langchain4j)
modules, and they are all green
<!-- Before adding documentation and example(s) (below), please wait
until the PR is reviewed and approved. -->
- [ ] I have added/updated the
[documentation](https://github.com/langchain4j/langchain4j/tree/main/docs/docs)
- [ ] I have added an example in the [examples
repo](https://github.com/langchain4j/langchain4j-examples) (only for
"big" features)
- [ ] I have added/updated [Spring Boot
starter(s)](https://github.com/langchain4j/langchain4j-spring) (if
applicable)
## Checklist for adding new maven module
<!-- Please double-check the following points and mark them like this:
[X] -->
- [x] I have added my new module in the root `pom.xml` and
`langchain4j-bom/pom.xml`
## Checklist for adding new embedding store integration
<!-- Please double-check the following points and mark them like this:
[X] -->
- [ ] I have added a `{NameOfIntegration}EmbeddingStoreIT` that extends
from either `EmbeddingStoreIT` or `EmbeddingStoreWithFilteringIT`
- [ ] I have added a `{NameOfIntegration}EmbeddingStoreRemovalIT` that
extends from `EmbeddingStoreWithRemovalIT`
## Checklist for changing existing embedding store integration
<!-- Please double-check the following points and mark them like this:
[X] -->
- [ ] I have manually verified that the
`{NameOfIntegration}EmbeddingStore` works correctly with the data
persisted using the latest released version of LangChain4j
---------
Co-authored-by: Dmytro Liubarskyi <ljubarskij@gmail.com>