dependabot[bot] opened a new pull request, #31105: URL: https://github.com/apache/camel/pull/31105
Bumps the langchain4j group with 17 updates: | Package | From | To | | --- | --- | --- | | [dev.langchain4j:langchain4j-core](https://github.com/langchain4j/langchain4j) | `1.24.0` | `1.24.1` | | [dev.langchain4j:langchain4j](https://github.com/langchain4j/langchain4j) | `1.24.0` | `1.24.1` | | [dev.langchain4j:langchain4j-open-ai](https://github.com/langchain4j/langchain4j) | `1.24.0` | `1.24.1` | | [dev.langchain4j:langchain4j-google-ai-gemini](https://github.com/langchain4j/langchain4j) | `1.24.0` | `1.24.1` | | [dev.langchain4j:langchain4j-ollama](https://github.com/langchain4j/langchain4j) | `1.24.0` | `1.24.1` | | [dev.langchain4j:langchain4j-azure-open-ai](https://github.com/langchain4j/langchain4j) | `1.24.0` | `1.24.1` | | [dev.langchain4j:langchain4j-mcp](https://github.com/langchain4j/langchain4j) | `1.24.0-beta34` | `1.24.1-beta34` | | [dev.langchain4j:langchain4j-guardrails](https://github.com/langchain4j/langchain4j) | `1.24.0-beta34` | `1.24.1-beta34` | | [dev.langchain4j:langchain4j-embeddings-bge-small-en-v15-q](https://github.com/langchain4j/langchain4j) | `1.24.0-beta34` | `1.24.1-beta34` | | [dev.langchain4j:langchain4j-hugging-face](https://github.com/langchain4j/langchain4j) | `1.24.0-beta34` | `1.24.1-beta34` | | [dev.langchain4j:langchain4j-embeddings](https://github.com/langchain4j/langchain4j) | `1.24.0-beta34` | `1.24.1-beta34` | | [dev.langchain4j:langchain4j-embeddings-all-minilm-l6-v2](https://github.com/langchain4j/langchain4j) | `1.24.0-beta34` | `1.24.1-beta34` | | [dev.langchain4j:langchain4j-qdrant](https://github.com/langchain4j/langchain4j) | `1.24.0-beta34` | `1.24.1-beta34` | | [dev.langchain4j:langchain4j-milvus](https://github.com/langchain4j/langchain4j) | `1.24.0-beta34` | `1.24.1-beta34` | | [dev.langchain4j:langchain4j-weaviate](https://github.com/langchain4j/langchain4j) | `1.24.0-beta34` | `1.24.1-beta34` | | [dev.langchain4j:langchain4j-web-search-engine-tavily](https://github.com/langchain4j/langchain4j) | `1.24.0-beta34` | `1.24.1-beta34` | | [dev.langchain4j:langchain4j-web-search-engine-google-custom](https://github.com/langchain4j/langchain4j) | `1.24.0-beta34` | `1.24.1-beta34` | Updates `dev.langchain4j:langchain4j-core` from 1.24.0 to 1.24.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain4j/langchain4j/releases">dev.langchain4j:langchain4j-core's releases</a>.</em></p> <blockquote> <h2>1.24.1 and 1.24.1-beta34</h2> <h2>What's Changed</h2> <ul> <li>Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7245">#7245</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the size, nesting and parse time of SQL metadata filters (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><strong>Media given by URL is no longer downloaded</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a>). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an <code>UnsupportedFeatureException</code>. Create the content from a file (<code>ImageContent.from(Path, String)</code>, <code>PdfFileContent.from(Path)</code>) or from its bytes instead. No integration reads a local file from a <code>file:</code> URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass <code>http</code> and <code>https</code> media URLs on to Gemini, which must be able to reach them.</li> <li><strong>Limits in the Apache Tika and PDFBox document parsers</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a>, <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a>). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with <code>ApacheTikaDocumentParser.builder().maxCharacters(-1)</code> and <code>ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)</code>.</li> <li><strong>Limits in <code>SqlFilterParser</code></strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a>). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with <code>CASE</code>, <code>CAST(...)</code>, a nested <code>SELECT</code> or an array is rejected, and <code>LanguageModelSqlFilterBuilder</code> then returns no filter. Raise the limits with <code>SqlFilterParser.builder()</code>.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain4j/langchain4j/commit/fcdd463e1da506645366a9788f556aac7af29fb0"><code>fcdd463</code></a> Release versions 1.24.1 and 1.24.1-beta34</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/dc2ad8d268d06a2e8f619f1681e6e3c3acb7d2e9"><code>dc2ad8d</code></a> Limit the size, nesting and parse time of SQL metadata filters (backport of #...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/b3d88617dcd06f71b84e58301b3d75c60fce1ee9"><code>b3d8861</code></a> Apache PDFBox document parser: a page with more characters than maxCharacters...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/58292779372528e38c63dd179b0e2e844c7c5d11"><code>5829277</code></a> Limit the text extracted by the Apache Tika and PDFBox document parsers (back...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/9e3fb142ee3d5435abc070ba467840d683b89896"><code>9e3fb14</code></a> Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/726">#726</a>...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/fd73ba1e96c57756b50d86f1dd8bb56ca22be95a"><code>fd73ba1</code></a> Avoid deep regex recursion on long inputs in the prompt injection guardrail a...</li> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j` from 1.24.0 to 1.24.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain4j/langchain4j/releases">dev.langchain4j:langchain4j's releases</a>.</em></p> <blockquote> <h2>1.24.1 and 1.24.1-beta34</h2> <h2>What's Changed</h2> <ul> <li>Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7245">#7245</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the size, nesting and parse time of SQL metadata filters (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><strong>Media given by URL is no longer downloaded</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a>). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an <code>UnsupportedFeatureException</code>. Create the content from a file (<code>ImageContent.from(Path, String)</code>, <code>PdfFileContent.from(Path)</code>) or from its bytes instead. No integration reads a local file from a <code>file:</code> URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass <code>http</code> and <code>https</code> media URLs on to Gemini, which must be able to reach them.</li> <li><strong>Limits in the Apache Tika and PDFBox document parsers</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a>, <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a>). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with <code>ApacheTikaDocumentParser.builder().maxCharacters(-1)</code> and <code>ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)</code>.</li> <li><strong>Limits in <code>SqlFilterParser</code></strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a>). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with <code>CASE</code>, <code>CAST(...)</code>, a nested <code>SELECT</code> or an array is rejected, and <code>LanguageModelSqlFilterBuilder</code> then returns no filter. Raise the limits with <code>SqlFilterParser.builder()</code>.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain4j/langchain4j/commit/fcdd463e1da506645366a9788f556aac7af29fb0"><code>fcdd463</code></a> Release versions 1.24.1 and 1.24.1-beta34</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/dc2ad8d268d06a2e8f619f1681e6e3c3acb7d2e9"><code>dc2ad8d</code></a> Limit the size, nesting and parse time of SQL metadata filters (backport of #...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/b3d88617dcd06f71b84e58301b3d75c60fce1ee9"><code>b3d8861</code></a> Apache PDFBox document parser: a page with more characters than maxCharacters...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/58292779372528e38c63dd179b0e2e844c7c5d11"><code>5829277</code></a> Limit the text extracted by the Apache Tika and PDFBox document parsers (back...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/9e3fb142ee3d5435abc070ba467840d683b89896"><code>9e3fb14</code></a> Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/726">#726</a>...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/fd73ba1e96c57756b50d86f1dd8bb56ca22be95a"><code>fd73ba1</code></a> Avoid deep regex recursion on long inputs in the prompt injection guardrail a...</li> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-open-ai` from 1.24.0 to 1.24.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain4j/langchain4j/releases">dev.langchain4j:langchain4j-open-ai's releases</a>.</em></p> <blockquote> <h2>1.24.1 and 1.24.1-beta34</h2> <h2>What's Changed</h2> <ul> <li>Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7245">#7245</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the size, nesting and parse time of SQL metadata filters (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><strong>Media given by URL is no longer downloaded</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a>). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an <code>UnsupportedFeatureException</code>. Create the content from a file (<code>ImageContent.from(Path, String)</code>, <code>PdfFileContent.from(Path)</code>) or from its bytes instead. No integration reads a local file from a <code>file:</code> URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass <code>http</code> and <code>https</code> media URLs on to Gemini, which must be able to reach them.</li> <li><strong>Limits in the Apache Tika and PDFBox document parsers</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a>, <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a>). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with <code>ApacheTikaDocumentParser.builder().maxCharacters(-1)</code> and <code>ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)</code>.</li> <li><strong>Limits in <code>SqlFilterParser</code></strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a>). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with <code>CASE</code>, <code>CAST(...)</code>, a nested <code>SELECT</code> or an array is rejected, and <code>LanguageModelSqlFilterBuilder</code> then returns no filter. Raise the limits with <code>SqlFilterParser.builder()</code>.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain4j/langchain4j/commit/fcdd463e1da506645366a9788f556aac7af29fb0"><code>fcdd463</code></a> Release versions 1.24.1 and 1.24.1-beta34</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/dc2ad8d268d06a2e8f619f1681e6e3c3acb7d2e9"><code>dc2ad8d</code></a> Limit the size, nesting and parse time of SQL metadata filters (backport of #...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/b3d88617dcd06f71b84e58301b3d75c60fce1ee9"><code>b3d8861</code></a> Apache PDFBox document parser: a page with more characters than maxCharacters...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/58292779372528e38c63dd179b0e2e844c7c5d11"><code>5829277</code></a> Limit the text extracted by the Apache Tika and PDFBox document parsers (back...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/9e3fb142ee3d5435abc070ba467840d683b89896"><code>9e3fb14</code></a> Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/726">#726</a>...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/fd73ba1e96c57756b50d86f1dd8bb56ca22be95a"><code>fd73ba1</code></a> Avoid deep regex recursion on long inputs in the prompt injection guardrail a...</li> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-google-ai-gemini` from 1.24.0 to 1.24.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain4j/langchain4j/releases">dev.langchain4j:langchain4j-google-ai-gemini's releases</a>.</em></p> <blockquote> <h2>1.24.1 and 1.24.1-beta34</h2> <h2>What's Changed</h2> <ul> <li>Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7245">#7245</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the size, nesting and parse time of SQL metadata filters (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><strong>Media given by URL is no longer downloaded</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a>). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an <code>UnsupportedFeatureException</code>. Create the content from a file (<code>ImageContent.from(Path, String)</code>, <code>PdfFileContent.from(Path)</code>) or from its bytes instead. No integration reads a local file from a <code>file:</code> URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass <code>http</code> and <code>https</code> media URLs on to Gemini, which must be able to reach them.</li> <li><strong>Limits in the Apache Tika and PDFBox document parsers</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a>, <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a>). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with <code>ApacheTikaDocumentParser.builder().maxCharacters(-1)</code> and <code>ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)</code>.</li> <li><strong>Limits in <code>SqlFilterParser</code></strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a>). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with <code>CASE</code>, <code>CAST(...)</code>, a nested <code>SELECT</code> or an array is rejected, and <code>LanguageModelSqlFilterBuilder</code> then returns no filter. Raise the limits with <code>SqlFilterParser.builder()</code>.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain4j/langchain4j/commit/fcdd463e1da506645366a9788f556aac7af29fb0"><code>fcdd463</code></a> Release versions 1.24.1 and 1.24.1-beta34</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/dc2ad8d268d06a2e8f619f1681e6e3c3acb7d2e9"><code>dc2ad8d</code></a> Limit the size, nesting and parse time of SQL metadata filters (backport of #...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/b3d88617dcd06f71b84e58301b3d75c60fce1ee9"><code>b3d8861</code></a> Apache PDFBox document parser: a page with more characters than maxCharacters...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/58292779372528e38c63dd179b0e2e844c7c5d11"><code>5829277</code></a> Limit the text extracted by the Apache Tika and PDFBox document parsers (back...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/9e3fb142ee3d5435abc070ba467840d683b89896"><code>9e3fb14</code></a> Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/726">#726</a>...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/fd73ba1e96c57756b50d86f1dd8bb56ca22be95a"><code>fd73ba1</code></a> Avoid deep regex recursion on long inputs in the prompt injection guardrail a...</li> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-ollama` from 1.24.0 to 1.24.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain4j/langchain4j/releases">dev.langchain4j:langchain4j-ollama's releases</a>.</em></p> <blockquote> <h2>1.24.1 and 1.24.1-beta34</h2> <h2>What's Changed</h2> <ul> <li>Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7245">#7245</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the size, nesting and parse time of SQL metadata filters (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><strong>Media given by URL is no longer downloaded</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a>). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an <code>UnsupportedFeatureException</code>. Create the content from a file (<code>ImageContent.from(Path, String)</code>, <code>PdfFileContent.from(Path)</code>) or from its bytes instead. No integration reads a local file from a <code>file:</code> URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass <code>http</code> and <code>https</code> media URLs on to Gemini, which must be able to reach them.</li> <li><strong>Limits in the Apache Tika and PDFBox document parsers</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a>, <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a>). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with <code>ApacheTikaDocumentParser.builder().maxCharacters(-1)</code> and <code>ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)</code>.</li> <li><strong>Limits in <code>SqlFilterParser</code></strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a>). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with <code>CASE</code>, <code>CAST(...)</code>, a nested <code>SELECT</code> or an array is rejected, and <code>LanguageModelSqlFilterBuilder</code> then returns no filter. Raise the limits with <code>SqlFilterParser.builder()</code>.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain4j/langchain4j/commit/fcdd463e1da506645366a9788f556aac7af29fb0"><code>fcdd463</code></a> Release versions 1.24.1 and 1.24.1-beta34</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/dc2ad8d268d06a2e8f619f1681e6e3c3acb7d2e9"><code>dc2ad8d</code></a> Limit the size, nesting and parse time of SQL metadata filters (backport of #...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/b3d88617dcd06f71b84e58301b3d75c60fce1ee9"><code>b3d8861</code></a> Apache PDFBox document parser: a page with more characters than maxCharacters...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/58292779372528e38c63dd179b0e2e844c7c5d11"><code>5829277</code></a> Limit the text extracted by the Apache Tika and PDFBox document parsers (back...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/9e3fb142ee3d5435abc070ba467840d683b89896"><code>9e3fb14</code></a> Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/726">#726</a>...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/fd73ba1e96c57756b50d86f1dd8bb56ca22be95a"><code>fd73ba1</code></a> Avoid deep regex recursion on long inputs in the prompt injection guardrail a...</li> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-azure-open-ai` from 1.24.0 to 1.24.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain4j/langchain4j/releases">dev.langchain4j:langchain4j-azure-open-ai's releases</a>.</em></p> <blockquote> <h2>1.24.1 and 1.24.1-beta34</h2> <h2>What's Changed</h2> <ul> <li>Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7245">#7245</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the size, nesting and parse time of SQL metadata filters (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><strong>Media given by URL is no longer downloaded</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a>). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an <code>UnsupportedFeatureException</code>. Create the content from a file (<code>ImageContent.from(Path, String)</code>, <code>PdfFileContent.from(Path)</code>) or from its bytes instead. No integration reads a local file from a <code>file:</code> URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass <code>http</code> and <code>https</code> media URLs on to Gemini, which must be able to reach them.</li> <li><strong>Limits in the Apache Tika and PDFBox document parsers</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a>, <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a>). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with <code>ApacheTikaDocumentParser.builder().maxCharacters(-1)</code> and <code>ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)</code>.</li> <li><strong>Limits in <code>SqlFilterParser</code></strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a>). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with <code>CASE</code>, <code>CAST(...)</code>, a nested <code>SELECT</code> or an array is rejected, and <code>LanguageModelSqlFilterBuilder</code> then returns no filter. Raise the limits with <code>SqlFilterParser.builder()</code>.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain4j/langchain4j/commit/fcdd463e1da506645366a9788f556aac7af29fb0"><code>fcdd463</code></a> Release versions 1.24.1 and 1.24.1-beta34</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/dc2ad8d268d06a2e8f619f1681e6e3c3acb7d2e9"><code>dc2ad8d</code></a> Limit the size, nesting and parse time of SQL metadata filters (backport of #...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/b3d88617dcd06f71b84e58301b3d75c60fce1ee9"><code>b3d8861</code></a> Apache PDFBox document parser: a page with more characters than maxCharacters...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/58292779372528e38c63dd179b0e2e844c7c5d11"><code>5829277</code></a> Limit the text extracted by the Apache Tika and PDFBox document parsers (back...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/9e3fb142ee3d5435abc070ba467840d683b89896"><code>9e3fb14</code></a> Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/726">#726</a>...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/fd73ba1e96c57756b50d86f1dd8bb56ca22be95a"><code>fd73ba1</code></a> Avoid deep regex recursion on long inputs in the prompt injection guardrail a...</li> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j` from 1.24.0 to 1.24.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain4j/langchain4j/releases">dev.langchain4j:langchain4j's releases</a>.</em></p> <blockquote> <h2>1.24.1 and 1.24.1-beta34</h2> <h2>What's Changed</h2> <ul> <li>Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7245">#7245</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the size, nesting and parse time of SQL metadata filters (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><strong>Media given by URL is no longer downloaded</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a>). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an <code>UnsupportedFeatureException</code>. Create the content from a file (<code>ImageContent.from(Path, String)</code>, <code>PdfFileContent.from(Path)</code>) or from its bytes instead. No integration reads a local file from a <code>file:</code> URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass <code>http</code> and <code>https</code> media URLs on to Gemini, which must be able to reach them.</li> <li><strong>Limits in the Apache Tika and PDFBox document parsers</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a>, <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a>). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with <code>ApacheTikaDocumentParser.builder().maxCharacters(-1)</code> and <code>ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)</code>.</li> <li><strong>Limits in <code>SqlFilterParser</code></strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a>). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with <code>CASE</code>, <code>CAST(...)</code>, a nested <code>SELECT</code> or an array is rejected, and <code>LanguageModelSqlFilterBuilder</code> then returns no filter. Raise the limits with <code>SqlFilterParser.builder()</code>.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain4j/langchain4j/commit/fcdd463e1da506645366a9788f556aac7af29fb0"><code>fcdd463</code></a> Release versions 1.24.1 and 1.24.1-beta34</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/dc2ad8d268d06a2e8f619f1681e6e3c3acb7d2e9"><code>dc2ad8d</code></a> Limit the size, nesting and parse time of SQL metadata filters (backport of #...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/b3d88617dcd06f71b84e58301b3d75c60fce1ee9"><code>b3d8861</code></a> Apache PDFBox document parser: a page with more characters than maxCharacters...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/58292779372528e38c63dd179b0e2e844c7c5d11"><code>5829277</code></a> Limit the text extracted by the Apache Tika and PDFBox document parsers (back...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/9e3fb142ee3d5435abc070ba467840d683b89896"><code>9e3fb14</code></a> Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/726">#726</a>...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/fd73ba1e96c57756b50d86f1dd8bb56ca22be95a"><code>fd73ba1</code></a> Avoid deep regex recursion on long inputs in the prompt injection guardrail a...</li> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-mcp` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-guardrails` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-embeddings-bge-small-en-v15-q` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-hugging-face` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-embeddings` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-embeddings-all-minilm-l6-v2` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-qdrant` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-milvus` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-weaviate` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-web-search-engine-tavily` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-web-search-engine-google-custom` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-guardrails` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-open-ai` from 1.24.0 to 1.24.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain4j/langchain4j/releases">dev.langchain4j:langchain4j-open-ai's releases</a>.</em></p> <blockquote> <h2>1.24.1 and 1.24.1-beta34</h2> <h2>What's Changed</h2> <ul> <li>Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7245">#7245</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the size, nesting and parse time of SQL metadata filters (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><strong>Media given by URL is no longer downloaded</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a>). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an <code>UnsupportedFeatureException</code>. Create the content from a file (<code>ImageContent.from(Path, String)</code>, <code>PdfFileContent.from(Path)</code>) or from its bytes instead. No integration reads a local file from a <code>file:</code> URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass <code>http</code> and <code>https</code> media URLs on to Gemini, which must be able to reach them.</li> <li><strong>Limits in the Apache Tika and PDFBox document parsers</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a>, <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a>). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with <code>ApacheTikaDocumentParser.builder().maxCharacters(-1)</code> and <code>ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)</code>.</li> <li><strong>Limits in <code>SqlFilterParser</code></strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a>). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with <code>CASE</code>, <code>CAST(...)</code>, a nested <code>SELECT</code> or an array is rejected, and <code>LanguageModelSqlFilterBuilder</code> then returns no filter. Raise the limits with <code>SqlFilterParser.builder()</code>.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain4j/langchain4j/commit/fcdd463e1da506645366a9788f556aac7af29fb0"><code>fcdd463</code></a> Release versions 1.24.1 and 1.24.1-beta34</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/dc2ad8d268d06a2e8f619f1681e6e3c3acb7d2e9"><code>dc2ad8d</code></a> Limit the size, nesting and parse time of SQL metadata filters (backport of #...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/b3d88617dcd06f71b84e58301b3d75c60fce1ee9"><code>b3d8861</code></a> Apache PDFBox document parser: a page with more characters than maxCharacters...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/58292779372528e38c63dd179b0e2e844c7c5d11"><code>5829277</code></a> Limit the text extracted by the Apache Tika and PDFBox document parsers (back...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/9e3fb142ee3d5435abc070ba467840d683b89896"><code>9e3fb14</code></a> Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/726">#726</a>...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/fd73ba1e96c57756b50d86f1dd8bb56ca22be95a"><code>fd73ba1</code></a> Avoid deep regex recursion on long inputs in the prompt injection guardrail a...</li> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-google-ai-gemini` from 1.24.0 to 1.24.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain4j/langchain4j/releases">dev.langchain4j:langchain4j-google-ai-gemini's releases</a>.</em></p> <blockquote> <h2>1.24.1 and 1.24.1-beta34</h2> <h2>What's Changed</h2> <ul> <li>Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7245">#7245</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the size, nesting and parse time of SQL metadata filters (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><strong>Media given by URL is no longer downloaded</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a>). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an <code>UnsupportedFeatureException</code>. Create the content from a file (<code>ImageContent.from(Path, String)</code>, <code>PdfFileContent.from(Path)</code>) or from its bytes instead. No integration reads a local file from a <code>file:</code> URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass <code>http</code> and <code>https</code> media URLs on to Gemini, which must be able to reach them.</li> <li><strong>Limits in the Apache Tika and PDFBox document parsers</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a>, <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a>). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with <code>ApacheTikaDocumentParser.builder().maxCharacters(-1)</code> and <code>ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)</code>.</li> <li><strong>Limits in <code>SqlFilterParser</code></strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a>). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with <code>CASE</code>, <code>CAST(...)</code>, a nested <code>SELECT</code> or an array is rejected, and <code>LanguageModelSqlFilterBuilder</code> then returns no filter. Raise the limits with <code>SqlFilterParser.builder()</code>.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain4j/langchain4j/commit/fcdd463e1da506645366a9788f556aac7af29fb0"><code>fcdd463</code></a> Release versions 1.24.1 and 1.24.1-beta34</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/dc2ad8d268d06a2e8f619f1681e6e3c3acb7d2e9"><code>dc2ad8d</code></a> Limit the size, nesting and parse time of SQL metadata filters (backport of #...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/b3d88617dcd06f71b84e58301b3d75c60fce1ee9"><code>b3d8861</code></a> Apache PDFBox document parser: a page with more characters than maxCharacters...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/58292779372528e38c63dd179b0e2e844c7c5d11"><code>5829277</code></a> Limit the text extracted by the Apache Tika and PDFBox document parsers (back...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/9e3fb142ee3d5435abc070ba467840d683b89896"><code>9e3fb14</code></a> Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/726">#726</a>...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/fd73ba1e96c57756b50d86f1dd8bb56ca22be95a"><code>fd73ba1</code></a> Avoid deep regex recursion on long inputs in the prompt injection guardrail a...</li> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-ollama` from 1.24.0 to 1.24.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain4j/langchain4j/releases">dev.langchain4j:langchain4j-ollama's releases</a>.</em></p> <blockquote> <h2>1.24.1 and 1.24.1-beta34</h2> <h2>What's Changed</h2> <ul> <li>Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7245">#7245</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the size, nesting and parse time of SQL metadata filters (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><strong>Media given by URL is no longer downloaded</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a>). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an <code>UnsupportedFeatureException</code>. Create the content from a file (<code>ImageContent.from(Path, String)</code>, <code>PdfFileContent.from(Path)</code>) or from its bytes instead. No integration reads a local file from a <code>file:</code> URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass <code>http</code> and <code>https</code> media URLs on to Gemini, which must be able to reach them.</li> <li><strong>Limits in the Apache Tika and PDFBox document parsers</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a>, <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a>). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with <code>ApacheTikaDocumentParser.builder().maxCharacters(-1)</code> and <code>ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)</code>.</li> <li><strong>Limits in <code>SqlFilterParser</code></strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a>). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with <code>CASE</code>, <code>CAST(...)</code>, a nested <code>SELECT</code> or an array is rejected, and <code>LanguageModelSqlFilterBuilder</code> then returns no filter. Raise the limits with <code>SqlFilterParser.builder()</code>.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain4j/langchain4j/commit/fcdd463e1da506645366a9788f556aac7af29fb0"><code>fcdd463</code></a> Release versions 1.24.1 and 1.24.1-beta34</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/dc2ad8d268d06a2e8f619f1681e6e3c3acb7d2e9"><code>dc2ad8d</code></a> Limit the size, nesting and parse time of SQL metadata filters (backport of #...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/b3d88617dcd06f71b84e58301b3d75c60fce1ee9"><code>b3d8861</code></a> Apache PDFBox document parser: a page with more characters than maxCharacters...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/58292779372528e38c63dd179b0e2e844c7c5d11"><code>5829277</code></a> Limit the text extracted by the Apache Tika and PDFBox document parsers (back...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/9e3fb142ee3d5435abc070ba467840d683b89896"><code>9e3fb14</code></a> Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/726">#726</a>...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/fd73ba1e96c57756b50d86f1dd8bb56ca22be95a"><code>fd73ba1</code></a> Avoid deep regex recursion on long inputs in the prompt injection guardrail a...</li> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-embeddings-bge-small-en-v15-q` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-hugging-face` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-embeddings` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-embeddings-all-minilm-l6-v2` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-qdrant` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-milvus` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-weaviate` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-azure-open-ai` from 1.24.0 to 1.24.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/langchain4j/langchain4j/releases">dev.langchain4j:langchain4j-azure-open-ai's releases</a>.</em></p> <blockquote> <h2>1.24.1 and 1.24.1-beta34</h2> <h2>What's Changed</h2> <ul> <li>Avoid deep regex recursion on long inputs in the prompt injection guardrail and the Azure ACA sessions tool (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7245">#7245</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the text extracted by the Apache Tika and PDFBox document parsers (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Apache PDFBox document parser: a page with more characters than maxCharacters fails early (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> <li>Limit the size, nesting and parse time of SQL metadata filters (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a> to 1.24.x) by <a href="https://github.com/dliubarskyi"><code>@dliubarskyi</code></a></li> </ul> <h2>Breaking Changes</h2> <ul> <li><strong>Media given by URL is no longer downloaded</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7267">#7267</a>). Amazon Bedrock, Ollama and Workers AI image editing reject images and PDF files given by URL with an <code>UnsupportedFeatureException</code>. Create the content from a file (<code>ImageContent.from(Path, String)</code>, <code>PdfFileContent.from(Path)</code>) or from its bytes instead. No integration reads a local file from a <code>file:</code> URL or a file path given as URL anymore. Google AI Gemini, Google GenAI and Vertex AI Gemini pass <code>http</code> and <code>https</code> media URLs on to Gemini, which must be able to reach them.</li> <li><strong>Limits in the Apache Tika and PDFBox document parsers</strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7271">#7271</a>, <a href="https://redirect.github.com/langchain4j/langchain4j/issues/7300">#7300</a>). A document with more than 10,000,000 characters of text (PDFBox: or more than 100,000 characters on one page) fails to parse. Raise or turn off the limits with <code>ApacheTikaDocumentParser.builder().maxCharacters(-1)</code> and <code>ApachePdfBoxDocumentParser.builder().maxCharacters(-1).maxCharactersPerPage(-1)</code>.</li> <li><strong>Limits in <code>SqlFilterParser</code></strong> (<a href="https://redirect.github.com/langchain4j/langchain4j/issues/7275">#7275</a>). A filter with more than 100 conditions, nested more than 50 levels deep, that takes longer than 5 seconds to parse, or with <code>CASE</code>, <code>CAST(...)</code>, a nested <code>SELECT</code> or an array is rejected, and <code>LanguageModelSqlFilterBuilder</code> then returns no filter. Raise the limits with <code>SqlFilterParser.builder()</code>.</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/langchain4j/langchain4j/commit/fcdd463e1da506645366a9788f556aac7af29fb0"><code>fcdd463</code></a> Release versions 1.24.1 and 1.24.1-beta34</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/dc2ad8d268d06a2e8f619f1681e6e3c3acb7d2e9"><code>dc2ad8d</code></a> Limit the size, nesting and parse time of SQL metadata filters (backport of #...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/b3d88617dcd06f71b84e58301b3d75c60fce1ee9"><code>b3d8861</code></a> Apache PDFBox document parser: a page with more characters than maxCharacters...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/58292779372528e38c63dd179b0e2e844c7c5d11"><code>5829277</code></a> Limit the text extracted by the Apache Tika and PDFBox document parsers (back...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/9e3fb142ee3d5435abc070ba467840d683b89896"><code>9e3fb14</code></a> Pass media URLs to the provider instead of downloading them (backport of <a href="https://redirect.github.com/langchain4j/langchain4j/issues/726">#726</a>...</li> <li><a href="https://github.com/langchain4j/langchain4j/commit/fd73ba1e96c57756b50d86f1dd8bb56ca22be95a"><code>fd73ba1</code></a> Avoid deep regex recursion on long inputs in the prompt injection guardrail a...</li> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/compare/1.24.0...1.24.1">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-web-search-engine-tavily` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Updates `dev.langchain4j:langchain4j-web-search-engine-google-custom` from 1.24.0-beta34 to 1.24.1-beta34 <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/langchain4j/langchain4j/commits">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manual... _Description has been truncated_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
