dependabot[bot] opened a new pull request, #2358: URL: https://github.com/apache/stormcrawler/pull/2358
Bumps `langchain4j.version` from 1.24.0 to 1.24.1. 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 /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> -- 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]
