solr
solr copied to clipboard
Update langchain4j to v0.36.2
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| dev.langchain4j:langchain4j-open-ai (source) | dependencies | minor | 0.35.0 -> 0.36.2 |
| dev.langchain4j:langchain4j-mistral-ai (source) | dependencies | minor | 0.35.0 -> 0.36.2 |
| dev.langchain4j:langchain4j-hugging-face | dependencies | minor | 0.35.0 -> 0.36.2 |
| dev.langchain4j:langchain4j-core (source) | dependencies | minor | 0.35.0 -> 0.36.2 |
| dev.langchain4j:langchain4j-cohere | dependencies | minor | 0.35.0 -> 0.36.2 |
Release Notes
langchain4j/langchain4j (dev.langchain4j:langchain4j-open-ai)
v0.36.2
What's Changed
- Fix #2133 Spring boot starter breaks configuration classes by @qing-wq in langchain4j/langchain4j-spring#79
v0.36.1
Fixes
What's Changed
- fix(deps): update dependency org.junit.platform:junit-platform-commons to v1.11.3 by @renovate in #2099
- fix(deps): update dependency org.jetbrains.kotlin:kotlin-stdlib-jdk8 to v1.9.25 by @renovate in #2097
- fix(deps): update dependency org.awaitility:awaitility to v4.2.2 by @renovate in #2096
- #1636 add lombok annotation processor by @kpavlov in #2105
- Remove Lombok in langchain4j module by @kpavlov in #2063
- Remove Lombok in LC4J-open-ai by @kpavlov in #2064
- add EmbeddingStoreIT metadata assert closeTo by @Martin7-1 in #2140
- langchain4j-onnx-scoring: updated onnxruntime to 1.20.0 and djl to 0.30.0
- Release 0.36.1 by @langchain4j in #2149
Full Changelog: https://github.com/langchain4j/langchain4j/compare/0.36.0...0.36.1
v0.36.0
Core Features/Updates
- Java 17 baseline by @kpavlov in #1913
- New low-level API to specify tool parameters by @langchain4j in #1668
- Marked obvious
@DeprecatedcandidatesforRemoval = trueby @langchain4j in #2028 - Get rid of Lombok in
langchain4j-coreby @kpavlov in #1987 -
TokenStream: added tool execution callback by @sakoojiang in #1818 -
TextClassifier: option to returnscoreand support label types beyondenumby @Martin7-1 in #1800 -
EmbeddingStoreIngestor: tracking token usage by @pguedes17 in #1907 -
ReRankingContentAggregator: addedmaxResultsconfiguration by @omarmahamid in #2043
New Integrations
- Coherence (embedding store) by @aseovic in #2003
- Google AI Gemini (streaming chat model) by @Bjarne-Kinkel in #1951
- Mistral (moderation model) by @omarmahamid in #2055
Notable Updates
- Anthropic: support caching of system messages and tools by @Claudio-code in #1826
- DashScope: support tools in streaming mode by @jiangsier-xyz in #2017
- Elasticsearch: update client to 8.15.2 by @dadoonet in #1895
- Google AI Gemini: replace OkHttp and Retrofit with Java 11 HttpClient by @Bjarne-Kinkel in #1950
- Jlama: update to 0.8.2 and improve tool/model support by @tjake in #2029
- Milvus: configurable field names by @hrhrng in #1852
- Milvus: option to specify
MilvusServiceClientby @omarmahamid in #2042 - Weaviate: configurable metadata keys by @Jaland in #1788
Other Changes
- Add some documentation about LambdaStreamingResponseHandler by @agoncal in #1844
- Use MongoDBAtlasLocalContainer from Testcontainers 1.20.2 by @eddumelendez in #1859
- Bump com.azure:azure-identity from 1.13.3 to 1.14.0 by @jdubois in #1871
- Bump com.azure:azure-search-documents from 11.7.1 to 11.7.2 by @jdubois in #1856
- Fix #1863: Allow using Map<K,V> as a return type of AI Service method. by @langchain4j in #1873
- DashScope: Increased compatibility for cases where both text and tool-call are present in model responds by @jiangsier-xyz in #1877
- Fix #1853 by @langchain4j in #1874
- Bump com.azure:azure-ai-inference from 1.0.0-beta.1 to 1.0.0-beta.2 by @jdubois in #1872
- Adding Understanding LC4j book to learning materials by @agoncal in #1883
- fix(bom): add langchain4j-reactor dependency by @lltx in #1838
- Fix for issue #1824 - Additional case when datetime has a negative of… by @bidek in #1831
- Fix: #1875 throw exception if reason is other than CONTENT_FILTER by @qiaoleiatms in #1888
- Fix error handling of AzureOpenAiChatModelListenerIT by @qiaoleiatms in #1854
- Bringing back public access to the methods of the OllamaModelsBuilder class. by @bidek in #1843
- Bump com.azure:azure-storage-blob from 12.28.0 to 12.28.1 by @jdubois in #1892
- Bump com.azure:azure-storage-common from 12.27.0 to 12.27.1 by @jdubois in #1891
- Automatically review PRs with OpenRewrite recipe runs by @timtebeek in #673
- fix different access modifier in EmbeddingStoreIT and EmbeddingStoreW… by @Martin7-1 in #1920
- Apply additional AssertJ best practices since #673 by @timtebeek in #1904
- Enable maven dependency analizer by @kpavlov in #1921
- Tiny fix for
EmbeddingStoreWithFilteringITby @Martin7-1 in #1925 - Convert awaitUntilAsserted to util by @katcharov in #1931
- Run javadoc workflow under JDK 21 by @kpavlov in #1927
- #1506 refactor enforcer plugin by @kpavlov in #1923
- Use system property to configure logging by @kpavlov in #1937
- Migrated the "responsible AI" integration tests to GitHub Models by @jdubois in #1945
- #1929 tinylog level surefire by @kpavlov in #1955
- DashScope: Switch to another available image url for WanxImageModelIT by @jiangsier-xyz in #1878
- Fix #1747 by @langchain4j in #1949
- DashScope: Bump dashscope-sdk-java version from 2.16.4 to 2.16.8 by @jiangsier-xyz in #1968
- DashScope: Add new embedding model "text-embedding-v3" by @jiangsier-xyz in #1969
- Build optimization: conditionally skip integraiton tests by @kpavlov in #1956
-
langchain4j-vearchget rid of lombok by @Martin7-1 in #1809 - DashScope: Encapsulate the calls to listeners into methods for better reuse. by @jiangsier-xyz in #1967
- Bump mermaid from 10.6.1 to 10.9.3 in /docs by @dependabot in #1973
- Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /docs by @dependabot in #1975
- Update nightly workflow by @kpavlov in #1961
- #1652 Run OpenRewrite to migrate langchain4j-core to java 17 by @kpavlov in #1970
- Add JUnit Report action to workflows by @kpavlov in #1977
- Maven modules depends on JDK by @kpavlov in #1979
- Disable job cancellation and ensure test report upload by @kpavlov in #1998
- Provide additional documentation details for the OpenAI demo key by @arey in #2000
- Always run unit tests by @kpavlov in #2001
- fix test test_backwards_compatibility_with_0_27_1 by @omarmahamid in #1991
- [Bug] Fix #1340 by @Martin7-1 in #1981
- Run under JDK 23 by @kpavlov in #1978
- FIX BUILD: Fix code coverage and some improvements by @kpavlov in #2010
- Create random once by @omarmahamid in #2022
- Bump com.azure:azure-search-documents from 11.7.2 to 11.7.3 by @jdubois in #2023
- Optimization of UUID Generation Using HexFormat by @omarmahamid in #2024
- avoid NPE on GoogleCustomWebSearchEngine results by @omarmahamid in #2033
- Bump com.azure:azure-identity from 1.14.0 to 1.14.1 by @jdubois in #2032
- Bump cookie and express in /docs by @dependabot in #2034
- [Feature] Add clickhouse docs by @Martin7-1 in #2037
- langchain4j-chatglm get rid of lombok by @Martin7-1 in #1746
- classification enhancement by @omarmahamid in #2052
- issue with TextDocumentParser PR by @omarmahamid in #2054
- site: update npm dependencies by @kpavlov in #2062
- Fix pgvector tests by @kpavlov in #2061
- chore: Configure Renovate by @renovate in #2066
- Cleanup dependencies by @kpavlov in #2059
- chore(deps): update dependency kr.motd.maven:os-maven-plugin to v1.7.1 by @renovate in #2068
- chore(deps): update dependency com.google.protobuf:protobuf-java-util to v3.25.5 by @renovate in #2067
- chore(deps): update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.8.1 by @renovate in #2072
- chore(deps): update dependency maven to v3.9.9 by @renovate in #2071
- chore(deps): update slf4j monorepo to v2.0.16 by @renovate in #2076
- chore(deps): update dependency org.postgresql:postgresql to v42.7.4 by @renovate in #2075
- chore(deps): update dependency org.apache.maven.plugins:maven-install-plugin to v3.1.3 by @renovate in #2073
- chore(deps): update dependency org.honton.chas:license-maven-plugin to v0.0.6 by @renovate in #2074
- fix(deps): update dependency com.aliyun.openservices:tablestore to v5.17.4 by @renovate in #2078
- fix(deps): update dependency co.elastic.clients:elasticsearch-java to v8.15.3 by @renovate in #2077
- fix(deps): update dependency net.bytebuddy:byte-buddy to v1.15.10 by @renovate in #2092
- Update .editorconfig with detailed code style rules from default IDEA settings by @kpavlov in #2082
- fix(deps): update dependency org.apache.pdfbox:pdfbox to v2.0.32 by @renovate in #2095
- fix(deps): update dependency io.jsonwebtoken:jjwt to v0.12.6 by @renovate in #2091
- fix(deps): update dependency com.qcloud:cos_api to v5.6.235 by @renovate in #2090
- fix(deps): update dependency io.netty:netty-common to v4.1.115.final [security] by @renovate in #2089
- fix(deps): update dependency com.pgvector:pgvector to v0.1.6 by @renovate in #2087
- fix(deps): update dependency com.google.apis:google-api-services-customsearch to v1-rev20240821-2.0.0 by @renovate in #2086
- fix(deps): update dependency com.datastax.astra:astra-db-client to v1.2.7 by @renovate in #2085
- fix(deps): update dependency com.couchbase.client:java-client to v3.7.5 by @renovate in #2084
- Bump io.netty:netty-common from 4.1.110.Final to 4.1.115.Final in /langchain4j-azure-open-ai by @dependabot in #2083
- fix(deps): update dependency com.azure:azure-ai-openai to v1.0.0-beta.12 by @renovate in #2080
- fix(deps): update dependency com.amazonaws:aws-java-sdk-core to v1.12.777 by @renovate in #2079
- Release 0.36.0 by @langchain4j in #2104
New Contributors
- @lltx made their first contribution in #1838
- @sakoojiang made their first contribution in #1818
- @kpavlov made their first contribution in #1921
- @katcharov made their first contribution in #1931
- @pguedes17 made their first contribution in #1907
- @Bjarne-Kinkel made their first contribution in #1950
- @arey made their first contribution in #2000
- @omarmahamid made their first contribution in #1991
- @aseovic made their first contribution in #2003
- @renovate made their first contribution in #2066
Full Changelog: https://github.com/langchain4j/langchain4j/compare/0.35.0...0.36.0
Configuration
📅 Schedule: Branch creation - Every minute ( * * * * * ) (UTC), 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.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Renovate Bot