solrbot opened a new pull request, #4586: URL: https://github.com/apache/solr/pull/4586
> ℹ️ **Note** > > This PR body was truncated due to platform limits. This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [org.carrot2:carrot2-core](https://project.carrot2.org) ([source](https://redirect.github.com/carrot2/carrot2)) | dependencies | minor | `4.5.1` → `4.8.6` | | org.apache.hadoop:hadoop-common | dependencies | minor | `3.4.1` → `3.5.0` | | org.apache.hadoop:hadoop-client-runtime | dependencies | minor | `3.4.1` → `3.5.0` | | org.apache.hadoop:hadoop-client-api | dependencies | minor | `3.4.1` → `3.5.0` | | org.apache.hadoop:hadoop-auth | dependencies | minor | `3.4.1` → `3.5.0` | | org.apache.hadoop:hadoop-annotations | dependencies | minor | `3.4.1` → `3.5.0` | | [dev.langchain4j:langchain4j-open-ai](https://redirect.github.com/langchain4j/langchain4j/tree/main/langchain4j-open-ai) ([source](https://redirect.github.com/langchain4j/langchain4j/tree/HEAD/langchain4j-open-ai)) | dependencies | minor | `0.35.0` → `0.36.2` | | [dev.langchain4j:langchain4j-mistral-ai](https://redirect.github.com/langchain4j/langchain4j/tree/main/langchain4j-mistral-ai) ([source](https://redirect.github.com/langchain4j/langchain4j/tree/HEAD/langchain4j-mistral-ai)) | dependencies | minor | `0.35.0` → `0.36.2` | | [dev.langchain4j:langchain4j-hugging-face](https://redirect.github.com/langchain4j/langchain4j) | dependencies | minor | `0.35.0` → `0.36.2` | | [dev.langchain4j:langchain4j-core](https://redirect.github.com/langchain4j/langchain4j/tree/main/langchain4j-core) ([source](https://redirect.github.com/langchain4j/langchain4j/tree/HEAD/langchain4j-core)) | dependencies | minor | `0.35.0` → `0.36.2` | | [dev.langchain4j:langchain4j-cohere](https://redirect.github.com/langchain4j/langchain4j) | dependencies | minor | `0.35.0` → `0.36.2` | | org.owasp.dependencycheck | plugin | minor | `12.1.3` → `12.2.2` | | com.palantir.consistent-versions | plugin | minor | `2.32.0` → `2.37.0` | | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://redirect.github.com/google/error-prone)) | dependencies | minor | `2.31.0` → `2.50.0` | | [com.github.spotbugs:spotbugs-annotations](https://spotbugs.github.io/) ([source](https://redirect.github.com/spotbugs/spotbugs)) | dependencies | minor | `4.8.6` → `4.10.2` | --- ### Release Notes <details> <summary>langchain4j/langchain4j (dev.langchain4j:langchain4j-open-ai)</summary> ### [`v0.36.2`](https://redirect.github.com/langchain4j/langchain4j/releases/tag/0.36.2) [Compare Source](https://redirect.github.com/langchain4j/langchain4j/compare/0.36.1...0.36.2) ##### What's Changed - Fix [#​2133](https://redirect.github.com/langchain4j/langchain4j/issues/2133) Spring boot starter breaks configuration classes by [@​qing-wq](https://redirect.github.com/qing-wq) in [langchain4j/langchain4j-spring#79](https://redirect.github.com/langchain4j/langchain4j-spring/pull/79) ### [`v0.36.1`](https://redirect.github.com/langchain4j/langchain4j/releases/tag/0.36.1) [Compare Source](https://redirect.github.com/langchain4j/langchain4j/compare/0.36.0...0.36.1) ##### Fixes - [Fixed](https://redirect.github.com/langchain4j/langchain4j/commit/8a1d755196a2c4ccac805ed0f04972c68befdf26#diff-12719e04c48f3263f90134aa98b8f63c2dcac5ffc06b2877baaf36e29f0ab4c1R30) [#​2117](https://redirect.github.com/langchain4j/langchain4j/issues/2117) - [Fixed](https://redirect.github.com/langchain4j/langchain4j-embeddings/commit/5b1fc1dd9871222851b1742e648a99298b64d3a1) [#​2117](https://redirect.github.com/langchain4j/langchain4j/issues/2117) ##### What's Changed - fix(deps): update dependency org.junit.platform:junit-platform-commons to v1.11.3 by [@​renovate](https://redirect.github.com/renovate) in [#​2099](https://redirect.github.com/langchain4j/langchain4j/pull/2099) - fix(deps): update dependency org.jetbrains.kotlin:kotlin-stdlib-jdk8 to v1.9.25 by [@​renovate](https://redirect.github.com/renovate) in [#​2097](https://redirect.github.com/langchain4j/langchain4j/pull/2097) - fix(deps): update dependency org.awaitility:awaitility to v4.2.2 by [@​renovate](https://redirect.github.com/renovate) in [#​2096](https://redirect.github.com/langchain4j/langchain4j/pull/2096) - [#​1636](https://redirect.github.com/langchain4j/langchain4j/issues/1636) add lombok annotation processor by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​2105](https://redirect.github.com/langchain4j/langchain4j/pull/2105) - Remove Lombok in langchain4j module by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​2063](https://redirect.github.com/langchain4j/langchain4j/pull/2063) - Remove Lombok in LC4J-open-ai by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​2064](https://redirect.github.com/langchain4j/langchain4j/pull/2064) - add EmbeddingStoreIT metadata assert closeTo by [@​Martin7-1](https://redirect.github.com/Martin7-1) in [#​2140](https://redirect.github.com/langchain4j/langchain4j/pull/2140) - langchain4j-onnx-scoring: [updated onnxruntime to 1.20.0 and djl to 0.30.0](https://redirect.github.com/langchain4j/langchain4j/commit/8a1d755196a2c4ccac805ed0f04972c68befdf26#diff-cc143402ec507219364406c7ca6776dad87829e4bbf47911641cabd3090dfb20R15) - Release 0.36.1 by [@​langchain4j](https://redirect.github.com/langchain4j) in [#​2149](https://redirect.github.com/langchain4j/langchain4j/pull/2149) **Full Changelog**: <https://github.com/langchain4j/langchain4j/compare/0.36.0...0.36.1> ### [`v0.36.0`](https://redirect.github.com/langchain4j/langchain4j/releases/tag/0.36.0) [Compare Source](https://redirect.github.com/langchain4j/langchain4j/compare/0.35.0...0.36.0) ##### Core Features/Updates - Java 17 baseline by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1913](https://redirect.github.com/langchain4j/langchain4j/pull/1913) - New low-level API to specify tool parameters by [@​langchain4j](https://redirect.github.com/langchain4j) in [#​1668](https://redirect.github.com/langchain4j/langchain4j/pull/1668) - Marked obvious `@Deprecated` candidates `forRemoval = true` by [@​langchain4j](https://redirect.github.com/langchain4j) in [#​2028](https://redirect.github.com/langchain4j/langchain4j/pull/2028) - Get rid of Lombok in `langchain4j-core` by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1987](https://redirect.github.com/langchain4j/langchain4j/pull/1987) - `TokenStream`: added tool execution callback by [@​sakoojiang](https://redirect.github.com/sakoojiang) in [#​1818](https://redirect.github.com/langchain4j/langchain4j/pull/1818) - `TextClassifier`: option to return `score` and support label types beyond `enum` by [@​Martin7-1](https://redirect.github.com/Martin7-1) in [#​1800](https://redirect.github.com/langchain4j/langchain4j/pull/1800) - `EmbeddingStoreIngestor`: tracking token usage by [@​pguedes17](https://redirect.github.com/pguedes17) in [#​1907](https://redirect.github.com/langchain4j/langchain4j/pull/1907) - `ReRankingContentAggregator`: added `maxResults` configuration by [@​omarmahamid](https://redirect.github.com/omarmahamid) in [#​2043](https://redirect.github.com/langchain4j/langchain4j/pull/2043) ##### New Integrations - Coherence (embedding store) by [@​aseovic](https://redirect.github.com/aseovic) in [#​2003](https://redirect.github.com/langchain4j/langchain4j/pull/2003) - Google AI Gemini (streaming chat model) by [@​Bjarne-Kinkel](https://redirect.github.com/Bjarne-Kinkel) in [#​1951](https://redirect.github.com/langchain4j/langchain4j/pull/1951) - Mistral (moderation model) by [@​omarmahamid](https://redirect.github.com/omarmahamid) in [#​2055](https://redirect.github.com/langchain4j/langchain4j/pull/2055) ##### Notable Updates - Anthropic: support caching of system messages and tools by [@​Claudio-code](https://redirect.github.com/Claudio-code) in [#​1826](https://redirect.github.com/langchain4j/langchain4j/pull/1826) - DashScope: support tools in streaming mode by [@​jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [#​2017](https://redirect.github.com/langchain4j/langchain4j/pull/2017) - Elasticsearch: update client to 8.15.2 by [@​dadoonet](https://redirect.github.com/dadoonet) in [#​1895](https://redirect.github.com/langchain4j/langchain4j/pull/1895) - Google AI Gemini: replace OkHttp and Retrofit with Java 11 HttpClient by [@​Bjarne-Kinkel](https://redirect.github.com/Bjarne-Kinkel) in [#​1950](https://redirect.github.com/langchain4j/langchain4j/pull/1950) - Jlama: update to 0.8.2 and improve tool/model support by [@​tjake](https://redirect.github.com/tjake) in [#​2029](https://redirect.github.com/langchain4j/langchain4j/pull/2029) - Milvus: configurable field names by [@​hrhrng](https://redirect.github.com/hrhrng) in [#​1852](https://redirect.github.com/langchain4j/langchain4j/pull/1852) - Milvus: option to specify `MilvusServiceClient` by [@​omarmahamid](https://redirect.github.com/omarmahamid) in [#​2042](https://redirect.github.com/langchain4j/langchain4j/pull/2042) - Weaviate: configurable metadata keys by [@​Jaland](https://redirect.github.com/Jaland) in [#​1788](https://redirect.github.com/langchain4j/langchain4j/pull/1788) ##### Other Changes - Add some documentation about LambdaStreamingResponseHandler by [@​agoncal](https://redirect.github.com/agoncal) in [#​1844](https://redirect.github.com/langchain4j/langchain4j/pull/1844) - Use MongoDBAtlasLocalContainer from Testcontainers 1.20.2 by [@​eddumelendez](https://redirect.github.com/eddumelendez) in [#​1859](https://redirect.github.com/langchain4j/langchain4j/pull/1859) - Bump com.azure:azure-identity from 1.13.3 to 1.14.0 by [@​jdubois](https://redirect.github.com/jdubois) in [#​1871](https://redirect.github.com/langchain4j/langchain4j/pull/1871) - Bump com.azure:azure-search-documents from 11.7.1 to 11.7.2 by [@​jdubois](https://redirect.github.com/jdubois) in [#​1856](https://redirect.github.com/langchain4j/langchain4j/pull/1856) - Fix [#​1863](https://redirect.github.com/langchain4j/langchain4j/issues/1863): Allow using Map\<K,V> as a return type of AI Service method. by [@​langchain4j](https://redirect.github.com/langchain4j) in [#​1873](https://redirect.github.com/langchain4j/langchain4j/pull/1873) - DashScope: Increased compatibility for cases where both text and tool-call are present in model responds by [@​jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [#​1877](https://redirect.github.com/langchain4j/langchain4j/pull/1877) - Fix [#​1853](https://redirect.github.com/langchain4j/langchain4j/issues/1853) by [@​langchain4j](https://redirect.github.com/langchain4j) in [#​1874](https://redirect.github.com/langchain4j/langchain4j/pull/1874) - Bump com.azure:azure-ai-inference from 1.0.0-beta.1 to 1.0.0-beta.2 by [@​jdubois](https://redirect.github.com/jdubois) in [#​1872](https://redirect.github.com/langchain4j/langchain4j/pull/1872) - Adding Understanding LC4j book to learning materials by [@​agoncal](https://redirect.github.com/agoncal) in [#​1883](https://redirect.github.com/langchain4j/langchain4j/pull/1883) - fix(bom): add langchain4j-reactor dependency by [@​lltx](https://redirect.github.com/lltx) in [#​1838](https://redirect.github.com/langchain4j/langchain4j/pull/1838) - Fix for issue [#​1824](https://redirect.github.com/langchain4j/langchain4j/issues/1824) - Additional case when datetime has a negative of… by [@​bidek](https://redirect.github.com/bidek) in [#​1831](https://redirect.github.com/langchain4j/langchain4j/pull/1831) - Fix: [#​1875](https://redirect.github.com/langchain4j/langchain4j/issues/1875) throw exception if reason is other than CONTENT\_FILTER by [@​qiaoleiatms](https://redirect.github.com/qiaoleiatms) in [#​1888](https://redirect.github.com/langchain4j/langchain4j/pull/1888) - Fix error handling of AzureOpenAiChatModelListenerIT by [@​qiaoleiatms](https://redirect.github.com/qiaoleiatms) in [#​1854](https://redirect.github.com/langchain4j/langchain4j/pull/1854) - Bringing back public access to the methods of the OllamaModelsBuilder class. by [@​bidek](https://redirect.github.com/bidek) in [#​1843](https://redirect.github.com/langchain4j/langchain4j/pull/1843) - Bump com.azure:azure-storage-blob from 12.28.0 to 12.28.1 by [@​jdubois](https://redirect.github.com/jdubois) in [#​1892](https://redirect.github.com/langchain4j/langchain4j/pull/1892) - Bump com.azure:azure-storage-common from 12.27.0 to 12.27.1 by [@​jdubois](https://redirect.github.com/jdubois) in [#​1891](https://redirect.github.com/langchain4j/langchain4j/pull/1891) - Automatically review PRs with OpenRewrite recipe runs by [@​timtebeek](https://redirect.github.com/timtebeek) in [#​673](https://redirect.github.com/langchain4j/langchain4j/pull/673) - fix different access modifier in EmbeddingStoreIT and EmbeddingStoreW… by [@​Martin7-1](https://redirect.github.com/Martin7-1) in [#​1920](https://redirect.github.com/langchain4j/langchain4j/pull/1920) - Apply additional AssertJ best practices since [#​673](https://redirect.github.com/langchain4j/langchain4j/issues/673) by [@​timtebeek](https://redirect.github.com/timtebeek) in [#​1904](https://redirect.github.com/langchain4j/langchain4j/pull/1904) - Enable maven dependency analizer by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1921](https://redirect.github.com/langchain4j/langchain4j/pull/1921) - Tiny fix for `EmbeddingStoreWithFilteringIT` by [@​Martin7-1](https://redirect.github.com/Martin7-1) in [#​1925](https://redirect.github.com/langchain4j/langchain4j/pull/1925) - Convert awaitUntilAsserted to util by [@​katcharov](https://redirect.github.com/katcharov) in [#​1931](https://redirect.github.com/langchain4j/langchain4j/pull/1931) - Run javadoc workflow under JDK 21 by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1927](https://redirect.github.com/langchain4j/langchain4j/pull/1927) - [#​1506](https://redirect.github.com/langchain4j/langchain4j/issues/1506) refactor enforcer plugin by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1923](https://redirect.github.com/langchain4j/langchain4j/pull/1923) - Use system property to configure logging by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1937](https://redirect.github.com/langchain4j/langchain4j/pull/1937) - Migrated the "responsible AI" integration tests to GitHub Models by [@​jdubois](https://redirect.github.com/jdubois) in [#​1945](https://redirect.github.com/langchain4j/langchain4j/pull/1945) - [#​1929](https://redirect.github.com/langchain4j/langchain4j/issues/1929) tinylog level surefire by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1955](https://redirect.github.com/langchain4j/langchain4j/pull/1955) - DashScope: Switch to another available image url for WanxImageModelIT by [@​jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [#​1878](https://redirect.github.com/langchain4j/langchain4j/pull/1878) - Fix [#​1747](https://redirect.github.com/langchain4j/langchain4j/issues/1747) by [@​langchain4j](https://redirect.github.com/langchain4j) in [#​1949](https://redirect.github.com/langchain4j/langchain4j/pull/1949) - DashScope: Bump dashscope-sdk-java version from 2.16.4 to 2.16.8 by [@​jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [#​1968](https://redirect.github.com/langchain4j/langchain4j/pull/1968) - DashScope: Add new embedding model "text-embedding-v3" by [@​jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [#​1969](https://redirect.github.com/langchain4j/langchain4j/pull/1969) - Build optimization: conditionally skip integraiton tests by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1956](https://redirect.github.com/langchain4j/langchain4j/pull/1956) - `langchain4j-vearch` get rid of lombok by [@​Martin7-1](https://redirect.github.com/Martin7-1) in [#​1809](https://redirect.github.com/langchain4j/langchain4j/pull/1809) - DashScope: Encapsulate the calls to listeners into methods for better reuse. by [@​jiangsier-xyz](https://redirect.github.com/jiangsier-xyz) in [#​1967](https://redirect.github.com/langchain4j/langchain4j/pull/1967) - Bump mermaid from 10.6.1 to 10.9.3 in /docs by [@​dependabot](https://redirect.github.com/dependabot) in [#​1973](https://redirect.github.com/langchain4j/langchain4j/pull/1973) - Bump http-proxy-middleware from 2.0.6 to 2.0.7 in /docs by [@​dependabot](https://redirect.github.com/dependabot) in [#​1975](https://redirect.github.com/langchain4j/langchain4j/pull/1975) - Update nightly workflow by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1961](https://redirect.github.com/langchain4j/langchain4j/pull/1961) - [#​1652](https://redirect.github.com/langchain4j/langchain4j/issues/1652) Run OpenRewrite to migrate langchain4j-core to java 17 by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1970](https://redirect.github.com/langchain4j/langchain4j/pull/1970) - Add JUnit Report action to workflows by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1977](https://redirect.github.com/langchain4j/langchain4j/pull/1977) - Maven modules depends on JDK by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1979](https://redirect.github.com/langchain4j/langchain4j/pull/1979) - Disable job cancellation and ensure test report upload by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1998](https://redirect.github.com/langchain4j/langchain4j/pull/1998) - Provide additional documentation details for the OpenAI demo key by [@​arey](https://redirect.github.com/arey) in [#​2000](https://redirect.github.com/langchain4j/langchain4j/pull/2000) - Always run unit tests by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​2001](https://redirect.github.com/langchain4j/langchain4j/pull/2001) - fix test test\_backwards\_compatibility\_with\_0\_27\_1 by [@​omarmahamid](https://redirect.github.com/omarmahamid) in [#​1991](https://redirect.github.com/langchain4j/langchain4j/pull/1991) - \[Bug] Fix [#​1340](https://redirect.github.com/langchain4j/langchain4j/issues/1340) by [@​Martin7-1](https://redirect.github.com/Martin7-1) in [#​1981](https://redirect.github.com/langchain4j/langchain4j/pull/1981) - Run under JDK 23 by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​1978](https://redirect.github.com/langchain4j/langchain4j/pull/1978) - FIX BUILD: Fix code coverage and some improvements by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​2010](https://redirect.github.com/langchain4j/langchain4j/pull/2010) - Create random once by [@​omarmahamid](https://redirect.github.com/omarmahamid) in [#​2022](https://redirect.github.com/langchain4j/langchain4j/pull/2022) - Bump com.azure:azure-search-documents from 11.7.2 to 11.7.3 by [@​jdubois](https://redirect.github.com/jdubois) in [#​2023](https://redirect.github.com/langchain4j/langchain4j/pull/2023) - Optimization of UUID Generation Using HexFormat by [@​omarmahamid](https://redirect.github.com/omarmahamid) in [#​2024](https://redirect.github.com/langchain4j/langchain4j/pull/2024) - avoid NPE on GoogleCustomWebSearchEngine results by [@​omarmahamid](https://redirect.github.com/omarmahamid) in [#​2033](https://redirect.github.com/langchain4j/langchain4j/pull/2033) - Bump com.azure:azure-identity from 1.14.0 to 1.14.1 by [@​jdubois](https://redirect.github.com/jdubois) in [#​2032](https://redirect.github.com/langchain4j/langchain4j/pull/2032) - Bump cookie and express in /docs by [@​dependabot](https://redirect.github.com/dependabot) in [#​2034](https://redirect.github.com/langchain4j/langchain4j/pull/2034) - \[Feature] Add clickhouse docs by [@​Martin7-1](https://redirect.github.com/Martin7-1) in [#​2037](https://redirect.github.com/langchain4j/langchain4j/pull/2037) - langchain4j-chatglm get rid of lombok by [@​Martin7-1](https://redirect.github.com/Martin7-1) in [#​1746](https://redirect.github.com/langchain4j/langchain4j/pull/1746) - classification enhancement by [@​omarmahamid](https://redirect.github.com/omarmahamid) in [#​2052](https://redirect.github.com/langchain4j/langchain4j/pull/2052) - issue with TextDocumentParser PR by [@​omarmahamid](https://redirect.github.com/omarmahamid) in [#​2054](https://redirect.github.com/langchain4j/langchain4j/pull/2054) - site: update npm dependencies by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​2062](https://redirect.github.com/langchain4j/langchain4j/pull/2062) - Fix pgvector tests by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​2061](https://redirect.github.com/langchain4j/langchain4j/pull/2061) - chore: Configure Renovate by [@​renovate](https://redirect.github.com/renovate) in [#​2066](https://redirect.github.com/langchain4j/langchain4j/pull/2066) - Cleanup dependencies by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​2059](https://redirect.github.com/langchain4j/langchain4j/pull/2059) - chore(deps): update dependency kr.motd.maven:os-maven-plugin to v1.7.1 by [@​renovate](https://redirect.github.com/renovate) in [#​2068](https://redirect.github.com/langchain4j/langchain4j/pull/2068) - chore(deps): update dependency com.google.protobuf:protobuf-java-util to v3.25.5 by [@​renovate](https://redirect.github.com/renovate) in [#​2067](https://redirect.github.com/langchain4j/langchain4j/pull/2067) - chore(deps): update dependency org.apache.maven.plugins:maven-dependency-plugin to v3.8.1 by [@​renovate](https://redirect.github.com/renovate) in [#​2072](https://redirect.github.com/langchain4j/langchain4j/pull/2072) - chore(deps): update dependency maven to v3.9.9 by [@​renovate](https://redirect.github.com/renovate) in [#​2071](https://redirect.github.com/langchain4j/langchain4j/pull/2071) - chore(deps): update slf4j monorepo to v2.0.16 by [@​renovate](https://redirect.github.com/renovate) in [#​2076](https://redirect.github.com/langchain4j/langchain4j/pull/2076) - chore(deps): update dependency org.postgresql:postgresql to v42.7.4 by [@​renovate](https://redirect.github.com/renovate) in [#​2075](https://redirect.github.com/langchain4j/langchain4j/pull/2075) - chore(deps): update dependency org.apache.maven.plugins:maven-install-plugin to v3.1.3 by [@​renovate](https://redirect.github.com/renovate) in [#​2073](https://redirect.github.com/langchain4j/langchain4j/pull/2073) - chore(deps): update dependency org.honton.chas:license-maven-plugin to v0.0.6 by [@​renovate](https://redirect.github.com/renovate) in [#​2074](https://redirect.github.com/langchain4j/langchain4j/pull/2074) - fix(deps): update dependency com.aliyun.openservices:tablestore to v5.17.4 by [@​renovate](https://redirect.github.com/renovate) in [#​2078](https://redirect.github.com/langchain4j/langchain4j/pull/2078) - fix(deps): update dependency co.elastic.clients:elasticsearch-java to v8.15.3 by [@​renovate](https://redirect.github.com/renovate) in [#​2077](https://redirect.github.com/langchain4j/langchain4j/pull/2077) - fix(deps): update dependency net.bytebuddy:byte-buddy to v1.15.10 by [@​renovate](https://redirect.github.com/renovate) in [#​2092](https://redirect.github.com/langchain4j/langchain4j/pull/2092) - Update .editorconfig with detailed code style rules from default IDEA settings by [@​kpavlov](https://redirect.github.com/kpavlov) in [#​2082](https://redirect.github.com/langchain4j/langchain4j/pull/2082) - fix(deps): update dependency org.apache.pdfbox:pdfbox to v2.0.32 by [@​renovate](https://redirect.github.com/renovate) in [#​2095](https://redirect.github.com/langchain4j/langchain4j/pull/2095) - fix(deps): update dependency io.jsonwebtoken:jjwt to v0.12.6 by [@​renovate](https://redirect.github.com/renovate) in [#​2091](https://redirect.github.com/langchain4j/langchain4j/pull/2091) - fix(deps): update dependency com.qcloud:cos\_api to v5.6.235 by [@​renovate](https://redirect.github.com/renovate) in [#​2090](https://redirect.github.com/langchain4j/langchain4j/pull/2090) - fix(deps): update dependency io.netty:netty-common to v4.1.115.final \[security] by [@​renovate](https://redirect.github.com/renovate) in [#​2089](https://redirect.github.com/langchain4j/langchain4j/pull/2089) - fix(deps): update dependency com.pgvector:pgvector to v0.1.6 by [@​renovate](https://redirect.github.com/renovate) in [#​2087](https://redirect.github.com/langchain4j/langchain4j/pull/2087) - fix(deps): update dependency com.google.apis:google-api-services-customsearch to v1-rev20240821-2.0.0 by [@​renovate](https://redirect.github.com/renovate) in [#​2086](https://redirect.github.com/langchain4j/langchain4j/pull/2086) - fix(deps): update dependency com.datastax.astra:astra-db-client to v1.2.7 by [@​renovate](https://redirect.github.com/renovate) in [#​2085](https://redirect.github.com/langchain4j/langchain4j/pull/2085) - fix(deps): update dependency com.couchbase.client:java-client to v3.7.5 by [@​renovate](https://redirect.github.com/renovate) in [#​2084](https://redirect.github.com/langchain4j/langchain4j/pull/2084) - Bump io.netty:netty-common from 4.1.110.Final to 4.1.115.Final in /langchain4j-azure-open-ai by [@​dependabot](https://redirect.github.com/dependabot) in [#​2083](https://redirect.github.com/langchain4j/langchain4j/pull/2083) - fix(deps): update dependency com.azure:azure-ai-openai to v1.0.0-beta.12 by [@​renovate](https://redirect.github.com/renovate) in [#​2080](https://redirect.github.com/langchain4j/langchain4j/pull/2080) - fix(deps): update dependency com.amazonaws:aws-java-sdk-core to v1.12.777 by [@​renovate](https://redirect.github.com/renovate) in [#​2079](https://redirect.github.com/langchain4j/langchain4j/pull/2079) - Release 0.36.0 by [@​langchain4j](https://redirect.github.com/langchain4j) in [#​2104](https://redirect.github.com/langchain4j/langchain4j/pull/2104) ##### New Contributors - [@​lltx](https://redirect.github.com/lltx) made their first contribution in [#​1838](https://redirect.github.com/langchain4j/langchain4j/pull/1838) - [@​sakoojiang](https://redirect.github.com/sakoojiang) made their first contribution in [#​1818](https://redirect.github.com/langchain4j/langchain4j/pull/1818) - [@​kpavlov](https://redirect.github.com/kpavlov) made their first contribution in [#​1921](https://redirect.github.com/langchain4j/langchain4j/pull/1921) - [@​katcharov](https://redirect.github.com/katcharov) made their first contribution in [#​1931](https://redirect.github.com/langchain4j/langchain4j/pull/1931) - [@​pguedes17](https://redirect.github.com/pguedes17) made their first contribution in [#​1907](https://redirect.github.com/langchain4j/langchain4j/pull/1907) - [@​Bjarne-Kinkel](https://redirect.github.com/Bjarne-Kinkel) made their first contribution in [#​1950](https://redirect.github.com/langchain4j/langchain4j/pull/1950) - [@​arey](https://redirect.github.com/arey) made their first contribution in [#​2000](https://redirect.github.com/langchain4j/langchain4j/pull/2000) - [@​omarmahamid](https://redirect.github.com/omarmahamid) made their first contribution in [#​1991](https://redirect.github.com/langchain4j/langchain4j/pull/1991) - [@​aseovic](https://redirect.github.com/aseovic) made their first contribution in [#​2003](https://redirect.github.com/langchain4j/langchain4j/pull/2003) - [@​renovate](https://redirect.github.com/renovate) made their first contribution in [#​2066](https://redirect.github.com/langchain4j/langchain4j/pull/2066) **Full Changelog**: <https://github.com/langchain4j/langchain4j/compare/0.35.0...0.36.0> </details> <details> <summary>google/error-prone (com.google.errorprone:error_prone_annotations)</summary> ### [`v2.50.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.50.0): Error Prone 2.50.0 New checks: - [`BoxingComparator`](https://errorprone.info/bugpattern/BoxingComparator): Detect implicitly-boxing Comparator.comparing key extractors - [`ExposedPrivateType`](https://errorprone.info/bugpattern/ExposedPrivateType): Discourage references to private member classes from non-private APIs - [`JUnitMethodInvoked`](https://errorprone.info/bugpattern/JUnitMethodInvoked): Discourage directly invoking JUnit test methods - [`ListRemoveAmbiguous`](https://errorprone.info/bugpattern/ListRemoveAmbiguous): Detect ambiguous calls to `List.remove(int|Integer)` - [`PreferTestParameter`](https://errorprone.info/bugpattern/PreferTestParameter): suggests using `@TestParameter` instead of `@TestParameters` for exhaustive boolean and enum parameters on single-element parameterized tests - [`RecordComponentAccessorAnnotationConflict`](https://errorprone.info/bugpattern/RecordComponentAccessorAnnotationConflict): Detect conflicts between record components and explicit accessor methods - [`RecordComponentOverride`](https://errorprone.info/bugpattern/RecordComponentOverride): Discourage `@Override` on record component declarations that don't override anything - [`ThrowableEqualsHashCode`](https://errorprone.info/bugpattern/ThrowableEqualsHashCode): Discourage overriding `Throwable.equals()` and `hashCode()` Closed issues: [#​5553](https://redirect.github.com/google/error-prone/issues/5553), [#​5649](https://redirect.github.com/google/error-prone/issues/5649), [#​5778](https://redirect.github.com/google/error-prone/issues/5778) Full changelog: <https://github.com/google/error-prone/compare/v2.49.0...v2.50.0> ### [`v2.49.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.49.0): Error Prone 2.49.0 This release includes several changes to `Matcher` APIs, and removed some deprecated or problematic APIs: - Remove deprecated `MethodMatchers.withSignature` API, which relies on fragile `toString` behaviour. Alternatives for matching on method signatures with varargs and type parameters were added in [`a98a1c5`](https://redirect.github.com/google/error-prone/commit/a98a1c55d92d343ae2c142485e8888cd46aa78b3). - Removed `variableType(Matcher)` API. `Matchers.variableType(Matcher)` uses `VariableTree#getType` to match variable types, which own't work for lambda parameters with inferred types after [JDK-8268850](https://bugs.openjdk.org/browse/JDK-8268850). The recommended replacement is `variableType(TypePredicate)`. - Make `enclosingPackage` return an optional. Module elements are not enclosed by a package, checks using `enclosingPackage` shouldn't assume an enclosing package exists when processing arbitrary elements. - New `FieldMatchers` API, similar to `MethodMatchers` ([`1dd9c3a`](https://redirect.github.com/google/error-prone/commit/1dd9c3a6bd76fca8104be6ae1c1004655d6a1745)). New checks: - [`AssertThrowsBlockToExpression`](https://errorprone.info/bugpattern/AssertThrowsBlockToExpression): Discourage unnecessary block lambdas in `assertThrows`. - [`AssertThrowsMinimizer`](https://errorprone.info/bugpattern/AssertThrowsMinimizer): Suggest minimizing the amount of logic in `assertThrows`. - [`MemorySegmentReferenceEquality`](https://errorprone.info/bugpattern/MemorySegmentReferenceEquality): Discourage using reference equality for `MemorySegments`. - [`PreferThrowsTag`](https://errorprone.info/bugpattern/PreferThrowsTag): Recommends using `@throws` instead of the legacy `@exception` javadoc tag. - [`RecordAccessorInCompactConstructor`](https://errorprone.info/bugpattern/RecordAccessorInCompactConstructor): detect record accessors inside the compact canonical ctors, which read uninitialized fields. Closed issues: [#​2283](https://redirect.github.com/google/error-prone/issues/2283), [#​3503](https://redirect.github.com/google/error-prone/issues/3503), [#​5210](https://redirect.github.com/google/error-prone/issues/5210), [#​5289](https://redirect.github.com/google/error-prone/issues/5289), [#​5548](https://redirect.github.com/google/error-prone/issues/5548), [#​5548](https://redirect.github.com/google/error-prone/issues/5548), [#​5554](https://redirect.github.com/google/error-prone/issues/5554), [#​5609](https://redirect.github.com/google/error-prone/issues/5609), [#​5614](https://redirect.github.com/google/error-prone/issues/5614), [#​5656](https://redirect.github.com/google/error-prone/issues/5656) Full changelog: <https://github.com/google/error-prone/compare/v2.48.0...v2.49.0> ### [`v2.48.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.48.0): Error Prone 2.48.0 Changes: - Added support for passing flags with command-line argument files (`@`-files) ([`8e84edf`](https://redirect.github.com/google/error-prone/commit/8e84edf1beedc99ff2cff3c21a7adec578ad053e)) New checks: - [`AvoidValueSetter`](https://errorprone.info/bugpattern/AvoidValueSetter) - [`UnnecessarySemicolon`](https://errorprone.info/bugpattern/UnnecessarySemicolon) Closed issues: [#​5529](https://redirect.github.com/google/error-prone/issues/5529), [#​5537](https://redirect.github.com/google/error-prone/issues/5537), [#​5522](https://redirect.github.com/google/error-prone/issues/5522), [#​5521](https://redirect.github.com/google/error-prone/issues/5521) Full changelog: <https://github.com/google/error-prone/compare/v2.47.0...v2.48.0> ### [`v2.47.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.47.0): Error Prone 2.47.0 New checks: - [`InterruptedInCatchBlock`](https://errorprone.info/bugpattern/InterruptedInCatchBlock): Detect accidental calls to `Thread.interrupted()` inside of `catch(InterruptedException e)` blocks. - [`RefactorSwitch`](https://errorprone.info/bugpattern/RefactorSwitch): Refactorings to simplify arrow switches - [`UnnamedVariable`](https://errorprone.info/bugpattern/UnnamedVariable): Rename unused variables to `_` Closed issues: [#​1811](https://redirect.github.com/google/error-prone/issues/1811), [#​4168](https://redirect.github.com/google/error-prone/issues/4168), [#​5459](https://redirect.github.com/google/error-prone/issues/5459), [#​5460](https://redirect.github.com/google/error-prone/issues/5460) Full changelog: <https://github.com/google/error-prone/compare/v2.46.0...v2.47.0> ### [`v2.46.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.46.0): Error Prone 2.46.0 Changes: - The javac flag `-XDaddTypeAnnotationsToSymbol=true` is now required for Error Prone invocations on JDK 21, to enable the javac fix for [JDK-8225377: type annotations are not visible to javac plugins across compilation boundaries](https://bugs.openjdk.org/browse/JDK-8225377). See [#​5426](https://redirect.github.com/google/error-prone/issues/5426) for details. - Remove deprecated `value` attribute from `@IncompatibleModifiers` and `@RequiredModifiers` ([#​2122](https://redirect.github.com/google/error-prone/issues/2122)) - Error Prone API changes to encapsulate references to internal javac APIs for end position handling (`EndPosTable`, `DiagnosticPosition`) ([`5440bb4`](https://redirect.github.com/google/error-prone/commit/5440bb4bcd9d3455a131d863b09f71cfea8a346b), [`06c2905`](https://redirect.github.com/google/error-prone/commit/06c2905e03ade5e1564b5c67d44e2e34bfe5b8e4), [`f3915ec`](https://redirect.github.com/google/error-prone/commit/f3915ec322fa7f190c670f6a30bd476f463d8967)) New checks: - [`DuplicateAssertion`](https://errorprone.info/bugpattern/DuplicateAssertion): detect duplicated assertion lines where the argument to `assertThat` is pure - [`IfChainToSwitch`](https://errorprone.info/bugpattern/IfChainToSwitch): suggest converting chains of if-statements into arrow switches - [`ScannerUseDelimiter`](https://errorprone.info/bugpattern/ScannerUseDelimiter): discourage `Scanner.useDelimiter("\\A")` - [`AddNullMarkedToClass`](https://errorprone.info/bugpattern/AddNullMarkedToClass): refactoring to add `@NullMarked` annotation to top level classes Full changelog: <https://github.com/google/error-prone/compare/v2.45.0...v2.46.0> ### [`v2.45.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.45.0): Error Prone 2.45.0 Changes: - Improved compatibility with latest JDK 26 EA builds. New checks: - [`AssertSameIncompatible`](https://errorprone.info/bugpattern/AssertSameIncompatible): Detect calls to `assertSame` and similar assertions, where the calls are guaranteed to either succeed or fail. - [`FormatStringShouldUsePlaceholders`](https://errorprone.info/bugpattern/FormatStringShouldUsePlaceholders): Suggests using a format string instead of string concatenation operations on format methods Closed issues: [#​5335](https://redirect.github.com/google/error-prone/issues/5335) Full changelog: <https://github.com/google/error-prone/compare/v2.44.0...v2.45.0> ### [`v2.44.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.44.0): Error Prone 2.44.0 Changes - The default severity for [`LabelledBreakTarget`](https://errorprone.info/bugpattern/LabelledBreakTarget) is now an error - Update dependency on Guava ([#​5108](https://redirect.github.com/google/error-prone/issues/5108)) Closed issues: [#​5218](https://redirect.github.com/google/error-prone/issues/5218), [#​5278](https://redirect.github.com/google/error-prone/issues/5278) Full changelog: <https://github.com/google/error-prone/compare/v2.43.0...v2.44.0> ### [`v2.43.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.43.0): Error Prone 2.43.0 The minimum supported JDK version to run Error Prone is now JDK 21 ([#​4867](https://redirect.github.com/google/error-prone/issues/4867)). Changes: - `-XepPatchChecks` now skips disabled checks ([#​4943](https://redirect.github.com/google/error-prone/issues/4943)) - `AndroidJdkLibsChecker` has been removed, the recommended replacement for Android code is Android Lint's NewApi check New checks: - [`NullNeedsCastForVarargs`](https://errorprone.info/bugpattern/NullNeedsCastForVarargs): Detect calls that incorrectly passes a `null` *array* instead of a `null` *element*. - [`RedundantNullCheck`](https://errorprone.info/bugpattern/RedundantNullCheck): detect checks on expressions that are non-null. Closed issues: [#​4943](https://redirect.github.com/google/error-prone/issues/4943), [#​5102](https://redirect.github.com/google/error-prone/issues/5102), [#​5107](https://redirect.github.com/google/error-prone/issues/5107), [#​5121](https://redirect.github.com/google/error-prone/issues/5121), [#​5158](https://redirect.github.com/google/error-prone/issues/5158), [#​5217](https://redirect.github.com/google/error-prone/issues/5217), [#​5239](https://redirect.github.com/google/error-prone/issues/5239) Full changelog: <https://github.com/google/error-prone/compare/v2.42.0...v2.43.0> ### [`v2.42.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.42.0): Error Prone 2.42.0 New checks: - [`ExplicitArrayForVarargs`](https://errorprone.info/bugpattern/ExplicitArrayForVarargs): discourage unnecessary explicit construction of an array to provide varargs. - [`FloggerPerWithoutRateLimit`](https://errorprone.info/bugpattern/FloggerPerWithoutRateLimit): discourage Flogger's `perUnique` without rate limiting - [`StringJoin`](https://errorprone.info/bugpattern/StringJoin): Ban `String.join(CharSequence)` and `String.join(CharSequence, CharSequence)` - [`ThreadBuilderNameWithPlaceholder`](https://errorprone.info/bugpattern/ThreadBuilderNameWithPlaceholder): Do not allow placeholders in `Thread.Builder.name(String)` or `name(String, int)`. Changes: - The return type of `ASTHelpers.asFlagSet` has changed. The previous type was `EnumSet<Flags.Flag>`, where `Flags.Flag` is an enum in the javac class `Flags`. A recent JDK change has replaced that enum with a new top-level enum called `FlagsEnum`. It is not possible to change `ASTHelpers.asFlagSet` in a way that would be type-safe and compatible with the enums from JDKs both before and after the change. Instead, the method now returns `ImmutableSet<String>`, where the strings come from the `toString()` of the enum constants. That means they are `"native"`, `"abstract"`, etc. - Flag `IO.print[ln]()` in [`SystemOut`](https://errorprone.info/bugpattern/SystemOut). Full changelog: <https://github.com/google/error-prone/compare/v2.41.0...v2.42.0> ### [`v2.41.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.41.0): Error Prone 2.41.0 New checks: - [EffectivelyPrivate](https://errorprone.info/bugpattern/EffectivelyPrivate): Detect declarations that have `public` or `protected` modifiers, but are effectively private Changes: - Skip BooleanLiteral findings if the target type is boxed ([#​5134](https://redirect.github.com/google/error-prone/issues/5134)) Full changelog: <https://github.com/google/error-prone/compare/v2.40.0...v2.41.0> ### [`v2.40.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.40.0): Error Prone 2.40.0 Changes: - Bug fixes and improvements - Releases (including snapshots) have migrated from [OSSRH to the Central Publisher Portal](https://central.sonatype.org/pages/ossrh-eol/#process-to-migrate) Full changelog: <https://github.com/google/error-prone/compare/v2.39.0...v2.40.0> ### [`v2.39.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.39.0): Error Prone 2.39.0 Changes: - Temporarily downgrade to Guava 33.4.0 ([#​5108](https://redirect.github.com/google/error-prone/issues/5108)) Checks: - [`BooleanLiteral`](https://errorprone.info/bugpattern/BooleanLiteral): Prefer `true` to `Boolean.TRUE` - [`ExpensiveLenientFormatString`](https://errorprone.info/bugpattern/ExpensiveLenientFormatString): Renamed from `PreconditionsExpensiveString`, detects unnecessary calls to `String.format` in the arguments of lenient formatting methods. - [`UnnecessaryQualifier`](https://errorprone.info/bugpattern/UnnecessaryQualifier): Detects `@Qualifier` or `@BindingAnnotation` annotations that have no effect, and can be removed Issues: [#​4996](https://redirect.github.com/google/error-prone/issues/4996), [#​5045](https://redirect.github.com/google/error-prone/issues/5045) Full changelog: <https://github.com/google/error-prone/compare/v2.38.0...v2.39.0> ### [`v2.38.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.38.0): Error Prone 2.38.0 New checks: - [`AddNullMarkedToPackageInfo`](https://errorprone.info/bugpattern/AddNullMarkedToPackageInfo): adds [`@org.jspecify.annotations.NullMarked`](https://jspecify.dev/docs/api/org/jspecify/annotations/NullMarked.html) annotation to package-info files - [`IntLiteralCast`](https://errorprone.info/bugpattern/IntLiteralCast): Suggests a literal of the desired type instead of casting an int literal to a long, float, or double - [`MisleadingEmptyVarargs`](https://errorprone.info/bugpattern/MisleadingEmptyVarargs): Discourages calling varargs methods that expect at least one argument with no arguments, like Mockito's `thenThrow` - [`PreconditionsExpensiveString`](https://errorprone.info/bugpattern/PreconditionsExpensiveString): Discourages expensive string formatting in Guava `Preconditions` checks - [`SelfSet`](https://errorprone.info/bugpattern/SelfSet): Detects mistakes like `proto.setFoo(proto.getFoo())` - [`UnnecessaryCopy`](https://errorprone.info/bugpattern/UnnecessaryCopy): detect unnecessary copies of proto Lists and Maps. Closed issues: [#​4924](https://redirect.github.com/google/error-prone/issues/4924), [#​4897](https://redirect.github.com/google/error-prone/issues/4897), [#​4995](https://redirect.github.com/google/error-prone/issues/4995) Full changelog: <https://github.com/google/error-prone/compare/v2.37.0...v2.38.0> ### [`v2.37.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.37.0): Error Prone 2.37.0 Changes: - The annotations that were previously in `error_prone_type_annotations` have been been merged into `error_prone_annotations`. `error_prone_type_annotations` is now deprecated, and will be removed in a future release. New checks: - [`AssignmentExpression`](https://errorprone.info/bugpattern/AssignmentExpression) - The use of an assignment expression can be surprising and hard to read; consider factoring out the assignment to a separate statement. - [`IntFloatConversion`](https://errorprone.info/bugpattern/IntFloatConversion) - Detect calls to `scalb` that should be using the double overload instead - [`InvalidSnippet`](https://errorprone.info/bugpattern/InvalidSnippet) - Detects snippets which omit the `:` required for inline code. - [`JUnit4EmptyMethods`](https://errorprone.info/bugpattern/JUnit4EmptyMethods) - Detects empty JUnit4 `@Before`, `@After`, `@BeforeClass`, and `@AfterClass` methods. - [`MockIllegalThrows`](https://errorprone.info/bugpattern/MockIllegalThrows) - Detects cases where Mockito is configured to throw checked exception types which are impossible. - [`NegativeBoolean`](https://errorprone.info/bugpattern/NegativeBoolean) - Prefer positive boolean names. - [`RuleNotRun`](https://errorprone.info/bugpattern/RuleNotRun) - Detects `TestRule`s not annotated with `@Rule`, that won't be run. - [`StringConcatToTextBlock`](https://errorprone.info/bugpattern/StringConcatToTextBlock) - Replaces concatenated multiline strings with text blocks. - [`TimeInStaticInitializer`](https://errorprone.info/bugpattern/TimeInStaticInitializer) - Detects accesses of the system time in static contexts. Closed issues: - Propagate check flags in patch mode ([#​4699](https://redirect.github.com/google/error-prone/issues/4699)) - Fixes a crash in ComputeIfAbsentAmbiguousReference ([#​4736](https://redirect.github.com/google/error-prone/issues/4736)) - Show the field name in HidingField diagnostics ([#​4775](https://redirect.github.com/google/error-prone/issues/4775)) - Add support for jakarta annotations to some checks ([#​4782](https://redirect.github.com/google/error-prone/issues/4782)) - FloatingPointAssertionWithinEpsilonTest depends on default locale ([#​4815](https://redirect.github.com/google/error-prone/issues/4815)) - `@InlineMe` patching of `Strings.repeat` produces broken code ([#​4819](https://redirect.github.com/google/error-prone/issues/4819)) - Fix a crash in IdentifierName on unnamed (`_`) variables ([#​4847](https://redirect.github.com/google/error-prone/issues/4847)) - Fix a crash in ArgumentParameterSwap ([#​490](https://redirect.github.com/google/error-prone/issues/490)) Full changelog: <https://github.com/google/error-prone/compare/v2.36.0...v2.37.0> ### [`v2.36.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.36.0): Error Prone 2.36.0 Changes: - Add new matcher interfaces to `ErrorProneScanner` for AST nodes introduced after Java 11 ([`e5fd194`](https://redirect.github.com/google/error-prone/commit/e5fd194fa21ef9a01e8d4c72489906247aad81c8)) - Fix compatibility with latest JDK 24 EA builds ([`d67bc15`](https://redirect.github.com/google/error-prone/commit/d67bc156b737d13ac693d73a403a11a97804423f)) - Check that `--should-stop=ifError=FLOW` is set when using the `-Xplugin` integration ([`e71db1f`](https://redirect.github.com/google/error-prone/commit/e71db1f369a9367f6f2db34c4fbd006b6d6238fd)) New checks: - [`DuplicateBranches`](https://errorprone.info/bugpattern/DuplicateBranches): Discourage conditional expressions and if statements where both branches are the same - [`RedundantControlFlow`](https://errorprone.info/bugpattern/RedundantControlFlow): Reports redundant `continue` statements. Closed issues: [#​4633](https://redirect.github.com/google/error-prone/issues/4633), [#​4646](https://redirect.github.com/google/error-prone/issues/4646) Full changelog: <https://github.com/google/error-prone/compare/v2.35.1...v2.36.0> ### [`v2.35.1`](https://redirect.github.com/google/error-prone/releases/tag/v2.35.1): Error Prone 2.35.1 Error Prone's dependency on protobuf has been downgraded to 3.25.5 for this release. Version 3.25.5 of protobuf still fixes CVE-2024-7254. This release is provided for users who aren't ready to update to 4.x, see also [#​4584](https://redirect.github.com/google/error-prone/issues/4584) and [#​4634](https://redirect.github.com/google/error-prone/issues/4634). Future versions of Error Prone will upgrade back to protobuf 4.x. Full changelog: <https://github.com/google/error-prone/compare/v2.35.0...v2.35.1> ### [`v2.35.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.35.0): Error Prone 2.35.0 Changes: - Fix handling of `\s` before the trailing delimiter in [`MisleadingEscapedSpace`](https://errorprone.info/bugpattern/MisleadingEscapedSpace) - [`TimeUnitMismatch`](https://errorprone.info/bugpattern/TimeUnitMismatch) improvements: handle binary trees, consider trees like `fooSeconds * 1000` to have units of millis New checks: - [`JavaDurationGetSecondsToToSeconds`](https://errorprone.info/bugpattern/JavaDurationGetSecondsToToSeconds): Prefer `duration.toSeconds()` over `duration.getSeconds()` Full changelog: <https://github.com/google/error-prone/compare/v2.34.0...v2.35.0> ### [`v2.34.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.34.0): Error Prone 2.34.0 Changes: - Passing the javac flag `--should-stop=ifError=FLOW` is now required when running Error Prone ([#​4595](https://redirect.github.com/google/error-prone/issues/4595)) - The `MemberName` check was renamed to [`IdentifierName`](https://errorprone.info/bugpattern/IdentifierName) New checks: - [`FutureTransformAsync`](https://errorprone.info/bugpattern/FutureTransformAsync): The usage of transformAsync is not necessary when all the return values of the transformation function are immediate futures. - [`MisformattedTestData`](https://errorprone.info/bugpattern/MisformattedTestData): Reformats Java source code inside Error Prone test cases. - [`MisleadingEscapedSpace`](https://errorprone.info/bugpattern/MisleadingEscapedSpace): Using `\s` anywhere except at the end of a line in a text block is potentially misleading. - [`ThrowIfUncheckedKnownUnchecked`](https://errorprone.info/bugpattern/ThrowIfUncheckedKnownUnchecked): `throwIfUnchecked(knownUnchecked)` is equivalent to `throw knownUnchecked`. Closed issues: [#​4595](https://redirect.github.com/google/error-prone/issues/4595), [#​4598](https://redirect.github.com/google/error-prone/issues/4598), [#​4620](https://redirect.github.com/google/error-prone/issues/4620) Full changelog: <https://github.com/google/error-prone/compare/v2.33.0...v2.34.0> ### [`v2.33.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.33.0): Error Prone 2.33.0 Similar to release [2.32.0](https://redirect.github.com/google/error-prone/releases/v2.32.0), the minimum supported JDK version to run Error Prone is JDK 17 ([#​3803](https://redirect.github.com/google/error-prone/issues/3803)). Using Error Prone to compile code that is deployed to earlier versions is still fully supported, but will require using JDK 17 or newer for compilation and setting `--release` or `-source`/`-target`/`-bootclasspath`. Changes: - Update protobuf version for CVE-2024-7254 New checks: - [`ArrayRecordComponent`](https://errorprone.info/bugpattern/ArrayRecordComponent): Record components should not be arrays. Full changelog: <https://github.com/google/error-prone/compare/v2.32.0...v2.33.0> ### [`v2.32.0`](https://redirect.github.com/google/error-prone/releases/tag/v2.32.0): Error Prone 2.32.0 The minimum support JDK version to run Error Prone is now JDK 17 ([#​3803](https://redirect.github.com/google/error-prone/issues/3803)). Using Error Prone to compile code that is deployed to earlier versions is still fully supported, but will requires using JDK 17 or newer for compilation and setting `--release` or `-source`/`-target`/`-bootclasspath`. Full changelog: <https://github.com/google/error-prone/compare/v2.31.0...v2.32.0> </details> <details> <summary>spotbugs/spotbugs (com.github.spotbugs:spotbugs-annotations)</summary> ### [`v4.10.2`](https://redirect.github.com/spotbugs/spotbugs/blob/HEAD/CHANGELOG.md#4102---2026-06-09) [Compare Source](https://redirect.github.com/spotbugs/spotbugs/compare/4.10.1...4.10.2) ##### Build - Add release protection to ensure version released matches the tag and that snapshot has been removed. ([#​4156](https://redirect.github.com/spotbugs/spotbugs/pull/4156)) - Drop binary incompatible Saxon-HE back to 12.9 to keep java 11 compatibility. ([#​4159](https://redirect.github.com/spotbugs/spotbugs/pull/4159)) - Add binary check to the gradle build to ensure compatibility remains. ([#​4159](https://redirect.github.com/spotbugs/spotbugs/pull/4159)) ### [`v4.10.1`](https://redirect.github.com/spotbugs/spotbugs/blob/HEAD/CHANGELOG.md#4101---2026-06-08) [Compare Source](https://redirect.github.com/spotbugs/spotbugs/compare/4.9.8...4.10.1) ##### Build - 4.10.0 was not released due to a release process error (artifacts were built from a -SNAPSHOT version). 4.10.1 is the corrected release and contains the intended 4.10.0 contents. ### [`v4.9.8`](https://redirect.github.com/spotbugs/spotbugs/blob/HEAD/CHANGELOG.md#498---2025-10-18) [Compare Source](https://redirect.github.com/spotbugs/spotbugs/compare/4.9.7...4.9.8) ##### Fixed - Maven plugin reporting issue if -adjustPriority is not set ([#​3774](https://redirect.github.com/spotbugs/spotbugs/issues/3774)) ### [`v4.9.7`](https://redirect.github.com/spotbugs/spotbugs/blob/HEAD/CHANGELOG.md#497---2025-10-14) [Compare Source](https://redirect.github.com/spotbugs/spotbugs/compare/4.9.6...4.9.7) ##### Fixed - Fix Eclipse not always using latest preferences file state ([#​3740](https://redirect.github.com/spotbugs/spotbugs/issues/3740)) - Fix exception throw when singleton implementing Cloneable has no clone() method ([#​3727](https://redirect.github.com/spotbugs/spotbugs/issues/3727)) - Fix for missing -adjustPriority parameter in Eclipse preferences ([#​3687](https://redirect.github.com/spotbugs/spotbugs/issues/3687)) - Documentation of -adjustPriority parameter - Functionality from DetectorFactory setEnabledButNonReporting(), getPriorityAdjustment() methods and BugInstance.adjustForDetector() is deprecated and moved to PriorityAdjuster ([#​3753](https://redirect.github.com/spotbugs/spotbugs/issues/3753)) - Improved `FindNakedNotify` to handle the case when the lock is loaded from a field ([#​3634](https://redirect.github.com/spotbugs/spotbugs/issues/3634)) ##### Changed - Support for fully qualified class names for detectors in -adjustPriority parameter - Support for numerical and absolute priority adjustments - Bump up Apache Commons BCEL to the version 6.11.0 ([#​3569](https://redirect.github.com/spotbugs/spotbugs/issues/3569)) ##### Deprecated - Add back and deprecate `edu.umd.cs.findbugs.io.IO.close(InputStream)` method. ([#​3756](https://redirect.github.com/spotbugs/spotbugs/pull/3756)) ##### Build - Allow our GA builds to work with JDK 25 (and drop support for JDK 24) ([#​3564](https://redirect.github.com/spotbugs/spotbugs/pull/3564)) ### [`v4.9.6`](https://redirect.github.com/spotbugs/spotbugs/blob/HEAD/CHANGELOG.md#496---2025-09-16) [Compare Source](https://redirect.github.com/spotbugs/spotbugs/compare/4.9.5...4.9.6) ##### Fixed - Fix exception throw when analyzing `jakarta.servlet.http.HttpServletRequest` method calls ([#​3711](https://redirect.github.com/spotbugs/spotbugs/issues/3711)) ### [`v4.9.5`](https://redirect.github.com/spotbugs/spotbugs/blob/HEAD/CHANGELOG.md#495---2025-09-14) [Compare Source](https://redirect.github.com/spotbugs/spotbugs/compare/4.9.4...4.9.5) ##### Fixed > ✂ **Note** > > PR body was truncated to here. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Every minute (`* * * * *`) - 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. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/solrbot/renovate-github-action) <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNzAuMTgiLCJ1cGRhdGVkSW5WZXIiOiI0My4xNzAuMTgiLCJ0YXJnZXRCcmFuY2giOiJicmFuY2hfOXgiLCJsYWJlbHMiOlsiZXhlbXB0LXN0YWxlIl19--> -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
