Commit Graph

102 Commits

Author SHA1 Message Date
github-actions[bot] a39f132b91 Update versions to 1.19.0-SNAPSHOT and 1.19.0-beta29-SNAPSHOT 2026-07-17 13:42:56 +00:00
github-actions[bot] 66ad5ee6d5 Release versions 1.18.0 and 1.18.0-beta28 2026-07-17 12:34:45 +00:00
github-actions[bot] 7d7c3349d7 Update versions to 1.18.0-SNAPSHOT and 1.18.0-beta28-SNAPSHOT 2026-06-26 14:49:40 +00:00
github-actions[bot] 207407aec9 Release versions 1.17.0 and 1.17.0-beta27 2026-06-26 13:13:06 +00:00
Eunbin Son 6020c8a1ce
fix: Decode Markdown as UTF-8 instead of the platform default charset (#5436)
## Issue
Closes #5435
<!-- Replace # with the real issue number before submitting. -->

## Change

`MarkdownDocumentParser.parse()` decoded input via `new
InputStreamReader(inputStream)` — the JVM platform default charset —
silently corrupting non-ASCII Markdown on non-UTF-8 platforms.

- Pass an explicit `UTF_8` to `InputStreamReader`, matching
`TextDocumentParser` (UTF-8 default) and `YamlDocumentParser` (UTF-8
internally); other parsers in this module decode via backends and are
unaffected.
- Test: a multibyte (café / 한글 / emoji) UTF-8 round-trip. The
platform-default regression is not unit-testable —
`Charset.defaultCharset()` is fixed at JVM start (UTF-8 on CI) — so this
is positive coverage.


## General checklist
- [X] There are no breaking changes (API, behaviour) <!-- no API change;
the only behaviour change is the bug fix (platform-default → UTF-8), a
no-op where default is already UTF-8 -->
- [X] I have added unit and/or integration tests for my change
- [ ] The tests cover both positive and negative cases <!-- positive
coverage only; the platform-default regression is not unit-testable
without JVM-level charset flags -->
- [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
and main modules, and they are all green <!-- N/A — only the changed
module was run locally; CI covers core+main -->
- [ ] I have added/updated the documentation <!-- N/A — no public API or
behaviour change requiring docs -->
- [ ] I have added an example in the examples repo (only for "big"
features) <!-- N/A — minor bug fix -->
- [ ] I have added/updated Spring Boot starter(s) (if applicable) <!--
N/A — no starter changes needed -->
2026-06-17 18:16:06 +02:00
github-actions[bot] 01de41d641 Update versions to 1.17.0-SNAPSHOT and 1.17.0-beta27-SNAPSHOT 2026-06-06 06:46:38 +00:00
github-actions[bot] cd836845dd Release versions 1.16.0 and 1.16.0-beta26 2026-06-05 15:46:56 +00:00
Mario Fusco 8ae759e3a5
Upgrade pdfbox to version 3.0.7 (#5276)
<!--
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 #5268

## Change
<!-- Please describe the changes you made. -->


## 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] -->
- [ ] 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
2026-05-29 14:02:46 +02:00
github-actions[bot] 6185599e37 Update versions to 1.16.0-SNAPSHOT and 1.16.0-beta26-SNAPSHOT 2026-05-15 16:21:14 +00:00
github-actions[bot] d0e54aa006 Release versions 1.15.0 and 1.15.0-beta25 2026-05-15 15:55:12 +00:00
renovate[bot] 006aeefda9
fix(deps): update commonmark.version to v0.28.0 (#5232)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[org.commonmark:commonmark](https://redirect.github.com/commonmark/commonmark-java)
| `0.26.0` → `0.28.0` |
![age](https://developer.mend.io/api/mc/badges/age/maven/org.commonmark:commonmark/0.28.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.commonmark:commonmark/0.26.0/0.28.0?slim=true)
|
|
[org.commonmark:commonmark-ext-yaml-front-matter](https://redirect.github.com/commonmark/commonmark-java)
| `0.26.0` → `0.28.0` |
![age](https://developer.mend.io/api/mc/badges/age/maven/org.commonmark:commonmark-ext-yaml-front-matter/0.28.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.commonmark:commonmark-ext-yaml-front-matter/0.26.0/0.28.0?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/2069) for more information.

---

### Release Notes

<details>
<summary>commonmark/commonmark-java
(org.commonmark:commonmark)</summary>

###
[`v0.28.0`](https://redirect.github.com/commonmark/commonmark-java/blob/HEAD/CHANGELOG.md#0280---2026-03-31)

##### Added

- New extension for alerts (aka callouts/admonitions)
  - Syntax:
    ```
    > [!NOTE]
    > The text of the note.
    ```
- As types you can use NOTE, TIP, IMPORTANT, WARNING, CAUTION; or
configure the
    extension to add additional ones.
- Use class `AlertsExtension` in artifact `commonmark-ext-gfm-alerts`
([#&#8203;420](https://redirect.github.com/commonmark/commonmark-java/issues/420))
- New option `maxOpenBlockParsers` for `Parser.Builder` to set an
overall limit
for the depth of block parsing. If set, any nesting beyond the limit
will be
  parsed as paragraph text instead. The default remains unlimited.

###
[`v0.27.1`](https://redirect.github.com/commonmark/commonmark-java/blob/HEAD/CHANGELOG.md#0271---2026-01-14)

##### Fixed

- Line(s) after a hard line break would sometimes also get an unwanted
hard
line break, e.g. if they ended in emphasis or other non-text inlines
([#&#8203;415](https://redirect.github.com/commonmark/commonmark-java/issues/415))
- `TextContentRenderer` (for plain text): Fix nested lists on the same
line
([#&#8203;413](https://redirect.github.com/commonmark/commonmark-java/issues/413))
- Fix minor performance regression with pathological input (deeply
nested
  brackets) that was introduced in version 0.23.0.

###
[`v0.27.0`](https://redirect.github.com/commonmark/commonmark-java/blob/HEAD/CHANGELOG.md#0270---2025-10-12)

##### Added

- Autolink extension: Now supports configuration of different link types
that
should be recognized and converted to links. See
`AutolinkExtension#builder`

| Type | Default? | Description |
| ------- | -------- |
------------------------------------------------------ |
| `URL` | Yes | URL with a protocol such as `https://example.com` |
| `EMAIL` | Yes | Email address such as `foo@example.com` |
| `WWW` | Yes | Address beginning with `www` such as `www.example.com` |

Note that this changes the behavior of `AutolinkExtension.create()` to
now also
include `WWW` links by default. To re-enable the previous behavior, use:

  ```java
AutolinkExtension.builder().linkTypes(AutolinkType.URL,
AutolinkType.EMAIL).build();
  ```

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/langchain4j/langchain4j).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzMuNiIsInVwZGF0ZWRJblZlciI6IjQzLjE3My42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-14 12:59:23 +02:00
renovate[bot] 9e799935b3
fix(deps): update apache-poi monorepo to v5.5.1 (#5230)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [org.apache.poi:poi-scratchpad](https://poi.apache.org/) | `5.4.0` →
`5.5.1` |
![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.poi:poi-scratchpad/5.5.1?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.apache.poi:poi-scratchpad/5.4.0/5.5.1?slim=true)
|
| [org.apache.poi:poi-ooxml](https://poi.apache.org/) | `5.4.0` →
`5.5.1` |
![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.poi:poi-ooxml/5.5.1?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.apache.poi:poi-ooxml/5.4.0/5.5.1?slim=true)
|
| [org.apache.poi:poi](https://poi.apache.org/) | `5.4.0` → `5.5.1` |
![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.poi:poi/5.5.1?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.apache.poi:poi/5.4.0/5.5.1?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/2069) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/langchain4j/langchain4j).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzMuNiIsInVwZGF0ZWRJblZlciI6IjQzLjE3My42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dmytro Liubarskyi <ljubarskij@gmail.com>
2026-05-14 12:57:29 +02:00
renovate[bot] fddc6ae2e4
fix(deps): update dependency org.testcontainers:testcontainers-bom to v2.0.5 (#5207)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[org.testcontainers:testcontainers-bom](https://java.testcontainers.org)
([source](https://redirect.github.com/testcontainers/testcontainers-java))
| `2.0.4` → `2.0.5` |
![age](https://developer.mend.io/api/mc/badges/age/maven/org.testcontainers:testcontainers-bom/2.0.5?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.testcontainers:testcontainers-bom/2.0.4/2.0.5?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/2069) for more information.

---

### Release Notes

<details>
<summary>testcontainers/testcontainers-java
(org.testcontainers:testcontainers-bom)</summary>

###
[`v2.0.5`](https://redirect.github.com/testcontainers/testcontainers-java/releases/tag/2.0.5)

[Compare
Source](https://redirect.github.com/testcontainers/testcontainers-java/compare/2.0.4...2.0.5)

### What's Changed

#### 🚀 Features & Enhancements

- Support `apache/artemis` in ArtemisContainer
([#&#8203;11590](https://redirect.github.com/testcontainers/testcontainers-java/issues/11590))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Add getHttpPort and getGrpcPort methods in WeaviateContainer
([#&#8203;11712](https://redirect.github.com/testcontainers/testcontainers-java/issues/11712))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Add support for !override docker compose tag
([#&#8203;11490](https://redirect.github.com/testcontainers/testcontainers-java/issues/11490))
[@&#8203;meck-gd](https://redirect.github.com/meck-gd)

#### 🐛 Bug Fixes

- Fix jarFileTest cache relocatability
([#&#8203;11574](https://redirect.github.com/testcontainers/testcontainers-java/issues/11574))
[@&#8203;ribafish](https://redirect.github.com/ribafish)

#### 📖 Documentation

- Update LocalStack docs
([#&#8203;11581](https://redirect.github.com/testcontainers/testcontainers-java/issues/11581))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)

#### 🧹 Housekeeping

- Fix typo in GenericContainer namespace validation error message
([#&#8203;11717](https://redirect.github.com/testcontainers/testcontainers-java/issues/11717))
[@&#8203;haider2122](https://redirect.github.com/haider2122)
- Replace deprecated/removed method calls javadoc examples
([#&#8203;11570](https://redirect.github.com/testcontainers/testcontainers-java/issues/11570))
[@&#8203;ratonalgaze](https://redirect.github.com/ratonalgaze)
- Use weaviate client v6
([#&#8203;11711](https://redirect.github.com/testcontainers/testcontainers-java/issues/11711))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Polish CI workflows
([#&#8203;11686](https://redirect.github.com/testcontainers/testcontainers-java/issues/11686))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Update testcontainers version to 2.0.4
([#&#8203;11357](https://redirect.github.com/testcontainers/testcontainers-java/issues/11357))
@&#8203;[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)
- Update docs version to 2.0.4
([#&#8203;11573](https://redirect.github.com/testcontainers/testcontainers-java/issues/11573))
@&#8203;[github-actions\[bot\]](https://redirect.github.com/apps/github-actions)

#### 📦 Dependency updates

<details>
<summary>16 changes</summary>

- Combined dependencies PR
([#&#8203;11710](https://redirect.github.com/testcontainers/testcontainers-java/issues/11710))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11708](https://redirect.github.com/testcontainers/testcontainers-java/issues/11708))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11707](https://redirect.github.com/testcontainers/testcontainers-java/issues/11707))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11706](https://redirect.github.com/testcontainers/testcontainers-java/issues/11706))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11705](https://redirect.github.com/testcontainers/testcontainers-java/issues/11705))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11704](https://redirect.github.com/testcontainers/testcontainers-java/issues/11704))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11701](https://redirect.github.com/testcontainers/testcontainers-java/issues/11701))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11700](https://redirect.github.com/testcontainers/testcontainers-java/issues/11700))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11699](https://redirect.github.com/testcontainers/testcontainers-java/issues/11699))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11685](https://redirect.github.com/testcontainers/testcontainers-java/issues/11685))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11684](https://redirect.github.com/testcontainers/testcontainers-java/issues/11684))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11681](https://redirect.github.com/testcontainers/testcontainers-java/issues/11681))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11672](https://redirect.github.com/testcontainers/testcontainers-java/issues/11672))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11671](https://redirect.github.com/testcontainers/testcontainers-java/issues/11671))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11670](https://redirect.github.com/testcontainers/testcontainers-java/issues/11670))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)
- Combined dependencies PR
([#&#8203;11632](https://redirect.github.com/testcontainers/testcontainers-java/issues/11632))
[@&#8203;eddumelendez](https://redirect.github.com/eddumelendez)

</details>

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/langchain4j/langchain4j).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzMuNiIsInVwZGF0ZWRJblZlciI6IjQzLjE3My42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-13 14:58:38 +02:00
renovate[bot] d1ab7504fc
fix(deps): update docling.version to v0.5.2 (#5208)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
|
[ai.docling:docling-testcontainers](https://docling-project.github.io/docling-java)
([source](https://redirect.github.com/docling-project/docling-java)) |
`0.5.1` → `0.5.2` |
![age](https://developer.mend.io/api/mc/badges/age/maven/ai.docling:docling-testcontainers/0.5.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/ai.docling:docling-testcontainers/0.5.1/0.5.2?slim=true)
|
|
[ai.docling:docling-serve-client](https://docling-project.github.io/docling-java)
([source](https://redirect.github.com/docling-project/docling-java)) |
`0.5.1` → `0.5.2` |
![age](https://developer.mend.io/api/mc/badges/age/maven/ai.docling:docling-serve-client/0.5.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/ai.docling:docling-serve-client/0.5.1/0.5.2?slim=true)
|
|
[ai.docling:docling-serve-api](https://docling-project.github.io/docling-java)
([source](https://redirect.github.com/docling-project/docling-java)) |
`0.5.1` → `0.5.2` |
![age](https://developer.mend.io/api/mc/badges/age/maven/ai.docling:docling-serve-api/0.5.2?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/ai.docling:docling-serve-api/0.5.1/0.5.2?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/2069) for more information.

---

### Release Notes

<details>
<summary>docling-project/docling-java
(ai.docling:docling-testcontainers)</summary>

###
[`v0.5.2`](https://redirect.github.com/docling-project/docling-java/releases/tag/v0.5.2)

[Compare
Source](https://redirect.github.com/docling-project/docling-java/compare/v0.5.1...v0.5.2)

##### Changelog

##### 🚀 Features

-
[d558840](https://redirect.github.com/docling-project/docling-java/commits/d558840)
add Maven BOM module for aligned dependency management
([#&#8203;482](https://redirect.github.com/docling-project/docling-java/issues/482)),
closes
[#&#8203;481](https://redirect.github.com/docling-project/docling-java/issues/481)
[#&#8203;482](https://redirect.github.com/docling-project/docling-java/issues/482)
-
[d1d13be](https://redirect.github.com/docling-project/docling-java/commits/d1d13be)
improve error message when Jackson is missing from classpath
([#&#8203;473](https://redirect.github.com/docling-project/docling-java/issues/473)),
closes
[#&#8203;470](https://redirect.github.com/docling-project/docling-java/issues/470)
[#&#8203;473](https://redirect.github.com/docling-project/docling-java/issues/473)

##### 🧰 Tasks

**deps**

-
[d7741b9](https://redirect.github.com/docling-project/docling-java/commits/d7741b9)
Bump org.testcontainers:testcontainers-bom
([#&#8203;478](https://redirect.github.com/docling-project/docling-java/issues/478)),
closes
[#&#8203;478](https://redirect.github.com/docling-project/docling-java/issues/478)
-
[e0a2c6f](https://redirect.github.com/docling-project/docling-java/commits/e0a2c6f)
Bump lombok-gradle from 9.2.0 to 9.4.0
([#&#8203;477](https://redirect.github.com/docling-project/docling-java/issues/477)),
closes
[#&#8203;477](https://redirect.github.com/docling-project/docling-java/issues/477)
-
[e0a37fe](https://redirect.github.com/docling-project/docling-java/commits/e0a37fe)
Bump quarkus from 3.34.5 to 3.34.6
([#&#8203;479](https://redirect.github.com/docling-project/docling-java/issues/479)),
closes
[#&#8203;479](https://redirect.github.com/docling-project/docling-java/issues/479)
-
[684545a](https://redirect.github.com/docling-project/docling-java/commits/684545a)
Bump dependabot/fetch-metadata from 3.0.0 to 3.1.0
([#&#8203;476](https://redirect.github.com/docling-project/docling-java/issues/476)),
closes
[#&#8203;476](https://redirect.github.com/docling-project/docling-java/issues/476)
-
[e9d0f84](https://redirect.github.com/docling-project/docling-java/commits/e9d0f84)
Bump actions/github-script from 8.0.0 to 9.0.0
([#&#8203;466](https://redirect.github.com/docling-project/docling-java/issues/466)),
closes
[#&#8203;466](https://redirect.github.com/docling-project/docling-java/issues/466)
-
[bbb02c4](https://redirect.github.com/docling-project/docling-java/commits/bbb02c4)
Bump quarkus from 3.34.3 to 3.34.5
([#&#8203;468](https://redirect.github.com/docling-project/docling-java/issues/468)),
closes
[#&#8203;468](https://redirect.github.com/docling-project/docling-java/issues/468)
-
[6d1cea0](https://redirect.github.com/docling-project/docling-java/commits/6d1cea0)
Bump actions/upload-artifact from 7.0.0 to 7.0.1
([#&#8203;464](https://redirect.github.com/docling-project/docling-java/issues/464)),
closes
[#&#8203;464](https://redirect.github.com/docling-project/docling-java/issues/464)
-
[8e5d97c](https://redirect.github.com/docling-project/docling-java/commits/8e5d97c)
Bump actions/create-github-app-token from 3.0.0 to 3.1.1
([#&#8203;465](https://redirect.github.com/docling-project/docling-java/issues/465)),
closes
[#&#8203;465](https://redirect.github.com/docling-project/docling-java/issues/465)
-
[470c90f](https://redirect.github.com/docling-project/docling-java/commits/470c90f)
Bump peter-evans/create-pull-request from 8.1.0 to 8.1.1
([#&#8203;467](https://redirect.github.com/docling-project/docling-java/issues/467)),
closes
[#&#8203;467](https://redirect.github.com/docling-project/docling-java/issues/467)

##### 🛠  Build

-
[b37ce55](https://redirect.github.com/docling-project/docling-java/commits/b37ce55)
Prevent duplicate tag creation in release workflow
-
[63cf32e](https://redirect.github.com/docling-project/docling-java/commits/63cf32e)
Enable overwrite for GitHub releases

##### 📝 Documentation

-
[119e170](https://redirect.github.com/docling-project/docling-java/commits/119e170)
Update docling-serve compatibility table (from Version tests run # 49)
-
[22098ff](https://redirect.github.com/docling-project/docling-java/commits/22098ff)
Update docling-serve compatibility table (from Version tests run # 48)
-
[08bc465](https://redirect.github.com/docling-project/docling-java/commits/08bc465)
Fix formatting for Quarkus and Spring Boot instructions
-
[7878b21](https://redirect.github.com/docling-project/docling-java/commits/7878b21)
Fix formatting in serve-client.md for clarity
-
[5f15a2f](https://redirect.github.com/docling-project/docling-java/commits/5f15a2f)
Add links to Quarkus/Arconia
-
[d09b59d](https://redirect.github.com/docling-project/docling-java/commits/d09b59d)
Add apiKey option to Docling Serve setup
-
[28456b8](https://redirect.github.com/docling-project/docling-java/commits/28456b8)
Update getting-started.md with API usage example
-
[35a5f7d](https://redirect.github.com/docling-project/docling-java/commits/35a5f7d)
Update docling-serve compatibility table (from Version tests run # 47)

***

-
[eeb4206](https://redirect.github.com/docling-project/docling-java/commits/eeb4206)
Release 0.5.1
([#&#8203;454](https://redirect.github.com/docling-project/docling-java/issues/454)),
closes
[#&#8203;454](https://redirect.github.com/docling-project/docling-java/issues/454)

##### Contributors

We'd like to thank the following people for their contributions:

- Eric Deandrea
([@&#8203;edeandrea](https://redirect.github.com/edeandrea))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/langchain4j/langchain4j).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzMuNiIsInVwZGF0ZWRJblZlciI6IjQzLjE3My42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-13 14:58:25 +02:00
renovate[bot] b3c54bb27e
fix(deps): update dependency org.apache.pdfbox:pdfbox to v2.0.36 (#5190)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [org.apache.pdfbox:pdfbox](https://www.apache.org/)
([source](https://svn.apache.org/viewvc/pdfbox/tags/3.0.7/pdfbox)) |
`2.0.32` → `2.0.36` |
![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.pdfbox:pdfbox/2.0.36?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.apache.pdfbox:pdfbox/2.0.32/2.0.36?slim=true)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the [Dependency
Dashboard](../issues/2069) for more information.

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/langchain4j/langchain4j).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzMuNiIsInVwZGF0ZWRJblZlciI6IjQzLjE3My42IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-13 11:18:11 +02:00
lfelner22 b7f745f88a
Add Docling Document Parser Integration (#4933)
Closes #4257

## Summary
This PR adds Docling document parser integration to LangChain4j,
enabling advanced document processing with OCR, table extraction, and
layout analysis.

## Implementation
- DocumentParser interface implementation using docling-java client
- Configurable timeout support (default 60s)
- Base64 document encoding for API transmission
- Comprehensive metadata extraction

## Testing
- 20 unit tests (all passing)
- Integration test framework ready
- Full JavaDoc documentation

## Files Included
- pom.xml (module configuration)
- DoclingDocumentParser.java (main implementation)
- DoclingDocumentParserTest.java (20 unit tests)
- DoclingDocumentParserIntegrationTest.java (integration test framework)
- TestDocumentHelper.java (test utilities)
- src/test/resources/README.md (test resource documentation)

Ready for review! cc @edeandrea

---------

Signed-off-by: Eric Deandrea <eric.deandrea@gmail.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Eric Deandrea <eric.deandrea@ibm.com>
Co-authored-by: Eric Deandrea <eric.deandrea@gmail.com>
Co-authored-by: Dmytro Liubarskyi <ljubarskij@gmail.com>
2026-05-07 14:37:06 +02:00
github-actions[bot] 628ac34c01 Update versions to 1.15.0-SNAPSHOT and 1.15.0-beta25-SNAPSHOT 2026-04-30 18:43:12 +00:00
github-actions[bot] 4917afa297 Release versions 1.14.0 and 1.14.0-beta24 2026-04-30 18:10:30 +00:00
github-actions[bot] 4798a89d66 Update versions to 1.14.0-SNAPSHOT and 1.14.0-beta24-SNAPSHOT 2026-04-09 14:41:27 +00:00
github-actions[bot] 759cd9a236 Release versions 1.13.0 and 1.13.0-beta23 2026-04-09 13:07:30 +00:00
Dmytro Liubarskyi e10abf04d0
Update versions to 1.13.0-SNAPSHOT and 1.13.0-beta23-SNAPSHOT (#4710)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-13 11:39:50 +01:00
Dmytro Liubarskyi c92ea033e4
Update versions to 1.13.0-SNAPSHOT and 1.13.0-beta22-SNAPSHOT (#4666)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-03-05 17:18:22 +01:00
Dmytro Liubarskyi 336b2accce
Update versions to 1.12.0-SNAPSHOT and 1.12.0-beta20-SNAPSHOT (#4537)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-02-04 14:27:44 +01:00
Dmytro Liubarskyi 778be1b360
Update versions to 1.11.0-SNAPSHOT and 1.11.0-beta19-SNAPSHOT (#4285)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-24 15:38:05 +01:00
Dmytro Liubarskyi 25d3b3ec87 cleaned up test dependencies 2025-12-10 10:18:30 +01:00
Dmytro Liubarskyi 0098aca4d0 fixed missing transitive dependency 2025-12-10 09:50:39 +01:00
Dmytro Liubarskyi ca6097e35d
Update versions to 1.10.0-SNAPSHOT and 1.10.0-beta18-SNAPSHOT (#4152)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-28 12:21:30 +01:00
Dmytro Liubarskyi bc0801a4df
Update versions to 1.10.0-SNAPSHOT and 1.10.0-beta17-SNAPSHOT (#4140)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-11-26 17:38:36 +01:00
Dmytro Liubarskyi a473835133
Update versions to 1.9.0-SNAPSHOT and 1.9.0-beta16-SNAPSHOT (#3951)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-24 16:51:33 +02:00
Mathias Geat 60aaf78233
chore(deps): Update Apache Tika to version 3.2.3 (#3885)
<!--
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" -->
Mentioned on the [dependency
dashboard](https://github.com/langchain4j/langchain4j/issues/2069), but
it seems renovate is not handling these?

## Change

The `langchain4j-document-parser-apache-tika` module uses Apache Tika in
version `3.0.0` which is subject [to a critical XXE
vulnerability](https://github.com/advisories/GHSA-p72g-pv48-7w9x). This
PR updates Tika to the latest version `3.2.3` (a fix is available since
`3.2.2`).


## General checklist
<!-- Please double-check the following points and mark them like this:
[X] -->
- [x] There are no breaking changes (API, behaviour)
- [ ] I have added unit and/or integration tests for my change
- [ ] 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] -->
- [ ] 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>
2025-10-16 11:15:13 +02:00
Xin Wang b56a3183c4
Fix markdown tests package (#3844)
<!--
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 #

## Change
<!-- Please describe the changes you made. -->
fix markdown tests package

## General checklist
<!-- Please double-check the following points and mark them like this:
[X] -->
- [ ] There are no breaking changes (API, behaviour)
- [ ] I have added unit and/or integration tests for my change
- [ ] The tests cover both positive and negative cases
- [ ] 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] -->
- [ ] 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
2025-10-10 10:07:53 +02:00
Dmytro Liubarskyi 34632c06a2 nex dev iteration 2025-10-02 17:17:35 +02:00
Xin Wang e09d5d1eb6
Introduce yaml document parser (#3748)
<!--
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 #

## Change
<!-- Please describe the changes you made. -->
Introduce yaml document parser

## 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
- [x] 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. -->
- [x] 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>
2025-10-02 10:14:51 +02:00
Dmytro Liubarskyi 7add1a1b4e next dev iteration 2025-09-26 16:54:16 +02:00
Xin Wang 63f4e02c53
Introduce markdown document parser (#3732)
<!--
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 #

## Change
<!-- Please describe the changes you made. -->
Introduce markdown document parser.

## General checklist
<!-- Please double-check the following points and mark them like this:
[X] -->
- [x] There are no breaking changes
- [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
- [x] 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. -->
- [x] 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
2025-09-24 16:44:43 +02:00
Dmytro Liubarskyi afee79638b next dev iteration 2025-09-16 15:23:21 +02:00
Dmytro Liubarskyi 7cc34306db next dev iteration 2025-08-29 08:35:38 +02:00
Dmytro Liubarskyi 5b1b2e76d2 next dev iteration 2025-08-07 16:24:25 +02:00
Dmytro Liubarskyi 0a01b49951 next dev iteration 2025-07-29 17:50:28 +02:00
Harikrishna 049ea856b8
Fix class-level Javadoc: use singular Document and update Tika format… (#3387)
### Summary

This PR includes two documentation-related improvements to
`ApacheTikaDocumentParser`:

1. **Corrected class-level Javadoc wording:**
- Changed `Parses files into {@link Document}s` → `Parses an {@link
InputStream} into a {@link Document}`.
- The parser returns a **single** `Document`, not multiple, so the
plural reference was misleading.

2. **Updated Apache Tika formats documentation link:**
- Previously pointed to [Tika
2.9.1](https://tika.apache.org/2.9.1/formats.html).
- Updated to match the library version in use: [Tika
3.0.0](https://tika.apache.org/3.0.0/formats.html).

### Motivation

These changes improve clarity and accuracy in documentation for
developers using or extending this parser, especially:
- Avoiding confusion about the return type (`Document` vs
`List<Document>`).
- Ensuring the format reference aligns with the actual library version
in use.

No functional code changes have been made.

Co-authored-by: Harikrishna <harikrishna.gurram@walmart.com>
2025-07-25 14:49:35 +02:00
Dmytro Liubarskyi 39a504a83e Updated to the next development version 2025-06-18 19:36:52 +02:00
Dmytro Liubarskyi 3fb258b009 - Updated to the next dev version
- Release to Maven central portal instead of s01
2025-05-20 15:55:12 +02:00
Dmytro Liubarskyi 3ab9218386 Updated version to 1.0.0-beta4-SNAPSHOT 2025-04-14 11:19:37 +02:00
Dmytro Liubarskyi 6ed38d4362
Release 1.0.0-beta3 (#2853) 2025-04-11 15:32:05 +02:00
Mario Fusco 3b46ac9c35
Fix build after apache-poi upgrade (#2849)
<!--
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" -->

After this upgrade
fa6b02c501
the build fails with this error message

```
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.5.0:enforce (enforce) on project langchain4j-document-parser-apache-poi: 
[ERROR] Rule 1: org.apache.maven.enforcer.rules.dependency.DependencyConvergence failed with message:
[ERROR] Failed while enforcing releasability.
[ERROR] 
[ERROR] Dependency convergence error for commons-io:commons-io:jar:2.18.0 paths to dependency are:
[ERROR] +-dev.langchain4j:langchain4j-document-parser-apache-poi:jar:1.0.0-beta3-SNAPSHOT
[ERROR]   +-org.apache.poi:poi:jar:5.4.0:compile
[ERROR]     +-commons-io:commons-io:jar:2.18.0:compile
[ERROR] and
[ERROR] +-dev.langchain4j:langchain4j-document-parser-apache-poi:jar:1.0.0-beta3-SNAPSHOT
[ERROR]   +-org.apache.poi:poi-ooxml:jar:5.4.0:compile
[ERROR]     +-org.apache.commons:commons-compress:jar:1.27.1:compile
[ERROR]       +-commons-io:commons-io:jar:2.16.1:compile
[ERROR] and
[ERROR] +-dev.langchain4j:langchain4j-document-parser-apache-poi:jar:1.0.0-beta3-SNAPSHOT
[ERROR]   +-org.apache.poi:poi-ooxml:jar:5.4.0:compile
[ERROR]     +-commons-io:commons-io:jar:2.18.0:compile
[ERROR] and
[ERROR] +-dev.langchain4j:langchain4j-document-parser-apache-poi:jar:1.0.0-beta3-SNAPSHOT
[ERROR]   +-org.apache.poi:poi-scratchpad:jar:5.4.0:compile
[ERROR]     +-commons-io:commons-io:jar:2.18.0:compile

```

## Change
(Temporarily?) exclude `commons-io` from `poi-ooxml` so it will take the
version coming from `poi`.

## General checklist
<!-- Please double-check the following points and mark them like this:
[X] -->
- [X] There are no breaking changes
- [ ] I have added unit and/or integration tests for my change
- [ ] The tests cover both positive and negative cases
- [ ] 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)
2025-04-11 10:28:17 +02:00
renovate[bot] fa6b02c501
Update dependency org.apache.poi:poi-ooxml to v5.4.0 [SECURITY] (#2842)
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [org.apache.poi:poi-ooxml](https://poi.apache.org/) | `5.2.5` ->
`5.4.0` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.apache.poi:poi-ooxml/5.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.apache.poi:poi-ooxml/5.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.apache.poi:poi-ooxml/5.2.5/5.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.apache.poi:poi-ooxml/5.2.5/5.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

### GitHub Vulnerability Alerts

#### [CVE-2025-31672](https://nvd.nist.gov/vuln/detail/CVE-2025-31672)

Improper Input Validation vulnerability in Apache POI. The issue affects
the parsing of OOXML format files like xlsx, docx and pptx. These file
formats are basically zip files and it is possible for malicious users
to add zip entries with duplicate names (including the path) in the zip.
In this case, products reading the affected file could read different
data because 1 of the zip entries with the duplicate name is selected
over another but different products may choose a different zip entry.
This issue affects Apache POI poi-ooxml before 5.4.0. poi-ooxml 5.4.0
has a check that throws an exception if zip entries with duplicate file
names are found in the input file.
Users are recommended to upgrade to version poi-ooxml 5.4.0, which fixes
the issue. Please read https://poi.apache.org/security.html for
recommendations about how to use the POI libraries securely.

---

### Configuration

📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/langchain4j/langchain4j).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 18:53:51 +02:00
Dmytro Liubarskyi a2f8e7f40a Update version to 1.0.0-beta3-SNAPSHOT 2025-03-14 10:00:39 +01:00
Dmytro Liubarskyi 2fcfa357ef
Release 1.0.0-beta2 (#2689) 2025-03-13 15:03:17 +01:00
Konstantin Pavlov ed08a0b8d9
Streamline dependencies (#2639)
## Issue

Streamline maven dependencies

Should fix [this
issue](https://github.com/langchain4j/langchain4j/actions/runs/13666001227/job/38207360909?pr=2640#step:5:16630)
```
2025/03/05 00:52:59,050 3922 [INFO  ] [main] netty.implementation.NettyUtility - {"az.sdk.message":"The following Netty versions were found on the classpath and have a mismatch with the versions used by azure-core-http-netty. If your application runs without issue this message can be ignored, otherwise please align the Netty versions used in your application. For more information, see https://aka.ms/azsdk/java/dependency/troubleshoot.","azure-netty-version":"4.1.118.Final","azure-netty-native-version":"2.0.70.Final","classpath-netty-version-io.netty:netty-common":"4.1.115.Final","classpath-netty-version-io.netty:netty-handler":"4.1.110.Final","classpath-netty-version-io.netty:netty-handler-proxy":"4.1.110.Final","classpath-netty-version-io.netty:netty-buffer":"4.1.110.Final","classpath-netty-version-io.netty:netty-codec":"4.1.110.Final","classpath-netty-version-io.netty:netty-codec-http":"4.1.110.Final","classpath-netty-version-io.netty:netty-codec-http2":"4.1.110.Final","classpath-netty-version-io.netty:netty-transport-native-unix-common":"4.1.110.Final","classpath-netty-version-io.netty:netty-transport-native-epoll":"4.1.110.Final","classpath-netty-version-io.netty:netty-transport-native-kqueue":"4.1.118.Final","classpath-native-netty-version-io.netty:netty-tcnative-boringssl-static":"2.0.70.Final"}
```

## Change

This pull request includes the following changes to improve project
dependency management:

- Removed unnecessary and redundant Netty dependencies and exclusions.
- Updated and reorganized dependency versions for consistency, including
new BOM imports for Azure SDK, Netty, and Reactor.
- Eliminated AWS SDK v1 dependencies, transitioning to
`software.amazon.awssdk` BOM for better compatibility and reduced
clutter.
- Removed redundant test dependencies like `assertj-core` and `mockito`
across modules, referring to the parent POM.
- Adjusted `kotlinx-coroutines-test` to use JVM-specific artifact and
standardized dependency version variables.
- Refined POM XML formatting for consistency and clarity (`mvn
spotless:apply`)


## General checklist
<!-- Please double-check the following points and mark them like this:
[X] -->
- [ ] There are no breaking changes
- [ ] I have added unit and/or integration tests for my change
- [ ] The tests cover both positive and negative cases
- [ ] 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] -->
- [ ] 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: kpavlov <{ID}+{username}@users.noreply.github.com>
Co-authored-by: Dmytro Liubarskyi <ljubarskij@gmail.com>
2025-03-11 09:57:05 +01:00
Tim te Beek 86afe2698e
Apply testing best practices to the project and future pull requests (#2561)
## Issue
As discussed with @dliubarskyi on
-
https://github.com/langchain4j/langchain4j/pull/2437#discussion_r1928261580

## Change
Ran a trio of OpenRewrite recipes to improve the tests here:
1.
[TestsShouldNotBePublic](https://docs.openrewrite.org/recipes/java/testing/cleanup/testsshouldnotbepublic)
2.
[RemoveTestPrefix](https://docs.openrewrite.org/recipes/java/testing/cleanup/removetestprefix)
3.
[Assertj](https://docs.openrewrite.org/recipes/java/testing/assertj/assertj-best-practices)

This was followed by some light touch ups, and applying Spotless to any
changed files.
I've also added the recipes to those enforced on future PRs, and applied
minor fixes to that workflow.

Already ran the tests on a fork PR, to verify the integration
- https://github.com/timtebeek/langchain4j/pull/1

## General checklist
- [x] There are no breaking changes
- [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
- [x] 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)
2025-02-17 11:24:24 +01:00