solrbot opened a new pull request, #3539: URL: https://github.com/apache/solr/pull/3539
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [com.google.errorprone:error_prone_annotations](https://errorprone.info) ([source](https://redirect.github.com/google/error-prone)) | dependencies | minor | `2.31.0` -> `2.41.0` | --- ### Release Notes <details> <summary>google/error-prone (com.google.errorprone:error_prone_annotations)</summary> ### [`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> --- ### 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 this update again. --- - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjgyLjEwIiwidGFyZ2V0QnJhbmNoIjoiYnJhbmNoXzl4IiwibGFiZWxzIjpbImV4ZW1wdC1zdGFsZSJdfQ==--> -- 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]
