Excavator: Upgrades Baseline to the latest version #509
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
excavator is a bot for automating changes across repositories.
Changes produced by the roomba/latest-baseline-oss check.
Release Notes
3.43.1
3.44.0
3.45.0
3.45.1
3.45.2
jvm-1.8instead ofjvm-8).3.45.3
3.46.0
3.47.0
JavaTimeSystemDefaultTimeZoneerror-prone check to prevent uses of the system default time zone.3.48.0
Automated release, no documented user facing changes
3.49.0
3.50.0
3.51.0
3.52.0
apply plugin: 'com.palantir.baseline-enable-preview-flag'to your subprojects block to enable the usage of unreleased java features (e.g. records, switch expressions, var keyword etc).Note, this plugin is a no-op on any project where you have a low sourceCompatibility.
3.52.1
3.53.0
IncubatingMethoderrorprone check, which prevents usage of conjure incubating APIs unless explicitly annotated.3.53.1
3.54.0
baseline-class-unqiuenessplugin is now applied by default.3.55.0
com.palantir.baseline-formatnow understands how to format build.gradle files. This is opt-in by default, so you need to run./gradlew format -Pcom.palantir.baseline-format.gradle-files=trueto try it, or add this property to your gradle.properties if you want to lock it in.3.56.0
Re-release after 3.55.0 failed to publish
3.57.0
@CompileTimeConstantannotation.3.57.1
baseline-errorproneno longer injects an absolute path intoerrorproneOptions.excludedPaths.3.58.0
3.58.1
3.58.2
baseline-reproducibilityno longer requires people to setsourceCompatibilityif the publishing plugin is applied but nothing is published. (NOTE this requires Gradle 6.7+)3.59.0
Automated release, no documented user facing changes
3.59.1
3.60.0
3.61.0
checkImplicitDependenciessuggestion message now includes theimplementationconfiguration name.3.62.0
3.63.0
com.palantir.baseline-encodingplugin to force UTF-8 in compilation tasks.3.63.1
WhitespaceAroundCheckstyle rule when palantir-java-format is applied.3.63.2
3.63.3
3.64.0
Automated release, no documented user facing changes
3.65.0
ZoneIdOfZcheck3.66.0
Automated release, no documented user facing changes
3.67.0
3.68.0
3.68.1
.classaccess3.69.0
3.70.0
ImmutablesStyleannotations are now excluded from Intellij auto-imports and completion.3.71.0
PreferImmutableStreamExCollectionsconverts the StreamExtoMap()->toImmutableMap(),toImmutableList()andtoImmutableSet()3.72.0
AutoCloseableMustBeClosedannotates methods and constructors that return anAutoCloseabletype as@MustBeClosedto allow forMustBeClosedCheckerto perform analysis that resources are appropriately closed.See https://errorprone.info/bugpattern/MustBeClosedChecker
3.73.0
Projects can choose to manually opt-in by enabling the
AutoCloseableMustBeClosedcheck as part of their baseline configuration and running./gradlew compileJava compileTestJava -PerrorProneApply=AutoCloseableMustBeClosed && ./gradlew formatto apply the automated fixes.3.73.1
3.74.0
3.75.0
-parametersjavac option for method parameter metadata3.75.1
The check was non-functional; the test did not catch this since it was using the wrong
@Testannotation. Fixed both issues.3.76.0
Automated release, no documented user facing changes
3.77.0
3.78.0
DangerousIdentityKeyvalidates additional hash-based collections3.79.0
3.80.0
3.81.0
baseline-immutablesplugin to enable incremental compilation for Immutables.3.81.1
com.palantir.baseline-immutablesplugin lazily to avoidafterEvaluateordering issues.3.82.0
Automated release, no documented user facing changes
3.83.0
CommandLineArgumentProviders are not written as lambdas, which causes them not to be cached.3.84.0
Automated release, no documented user facing changes
3.85.0
BracesRequiredcheck+fix with upstreamMissingBracesadded in v2.7.03.86.0
3.87.0
3.88.0
Automated release, no documented user facing changes
3.88.1
3.89.0
ImmutablesStyleCollisioncheck to require meta-annotations with source retention.3.90.0
Automated release, no documented user facing changes
3.91.0
VarUsage3.92.0
3.93.0
3.94.0
BadAssertto banassertstatements in favor of better alternatives.3.95.0
3.96.0
3.97.0
3.98.0
3.99.0-rc1
4.0.0
4.1.0
4.2.0
baseline-class-uniqueness.lockfiles when more than one configuration is listed. A newline was missing. This may require running./gradlew checkClassUniqueness --write-locksto update the files.4.3.0
PreferSafeLoggerto migrate logger uses which include level-checks4.4.0
4.5.0
ImmutablesStyle4.6.0
ProxyNonConstantTypefailures to ease rollout4.7.0
4.8.0
Automated release, no documented user facing changes
4.9.0
StrictUnusedVariableexception forSafeLoggermatching the existing exception for slf4j. Update CatchBlockLogException to be SafeLogger aware as well.4.10.0
4.11.0
4.12.0
Automated release, no documented user facing changes
4.13.0
4.14.0
Automated release, no documented user facing changes
4.15.0
LoopOverCharArray4.16.0
4.17.0
PreferSafeLoggeratWARNINGlevel matchingSlf4jLogsafeArgsandPreferSafeLoggingPreconditions. This doesn't apply to gradle plugins.4.18.0
No documented user facing changes
4.19.0
4.20.0
4.21.0
4.22.0
4.23.0
4.24.0
checkClassUniquenesstask, especially in large repos, by adding caching of jar information.Fix class names listed in the
baseline-class-uniqueness.lockwhen the class or package name contains the substringclass. In rare cases, this may require running./gradlew checkClassUniqueness --write-locksto update the files.4.25.0
To enable or disable this check, please contact the maintainers of Excavator.