Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excavator: Upgrades Baseline to the latest version #384

Merged
merged 3 commits into from
Oct 20, 2022

Conversation

svc-excavator-bot
Copy link
Collaborator

@svc-excavator-bot svc-excavator-bot commented Apr 20, 2022

excavator is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

Release Notes

4.109.0

Type Description Link
Improvement Add ImmutablesReferenceEquality check that checks for comparison of Immutables values using reference equality. palantir/gradle-baseline#2210

4.110.0

Type Description Link
Fix Include mocktio-errorprone after it has picked up new errorprone palantir/gradle-baseline#2215

4.111.0

Type Description Link
Improvement Rename LogsafeArgument to LogsafeThrowableArgument palantir/gradle-baseline#2216

4.112.0

Type Description Link
Improvement SafeLoggingPropagation error-prone check propages log-safety annotations from getters and superclasses/superinterfaces to the type level palantir/gradle-baseline#2218

4.113.0

Type Description Link
Improvement Streamline Throwable safety handling palantir/gradle-baseline#2224

4.114.0

Type Description Link
Improvement Disable intellij's ClassCanBeRecord inspection palantir/gradle-baseline#2225

4.115.0

Type Description Link
Fix SafeLoggingPropagation doesn't attempt to annotate anonymous classes palantir/gradle-baseline#2227

4.116.0

Automated release, no documented user facing changes

4.117.0

Type Description Link
Improvement Propagate additional safety information in the SafeLoggingPropagation check and automated fixes:
1. Method return statements are analyzed to determine safety of unmarked methods
2. Types are annotated based on the safety of their toString method, which is a reasonable heuristic for value types that may be logged.
palantir/gradle-baseline#2230

4.118.0

Type Description Link
Fix Results of boolean logic are considered safe palantir/gradle-baseline#2232

4.119.0

Type Description Link
Feature Add a configuration point for providing your own JDKs to all java requiring tasks. palantir/gradle-baseline#2193

4.120.0

Type Description Link
Fix Fix intellij gradle integration copyright configuration palantir/gradle-baseline#2234

4.121.0

Type Description Link
Improvement Safety propagation ignores utility methods on immutables definitions palantir/gradle-baseline#2237

4.122.0

Type Description Link
Improvement Automatically fix upstream NarrowCalculation palantir/gradle-baseline#2240

4.123.0

Type Description Link
Improvement Fix safety evaluation requiring lhs of an assignment to be safe unnecessarily palantir/gradle-baseline#2242

4.124.0

Type Description Link
Fix VarUsage failures reference a real tree palantir/gradle-baseline#2244

4.125.0

Type Description Link
Improvement Implement safety tracking through StringBuilder/StringBuffer palantir/gradle-baseline#2245

4.126.0

Type Description Link
Improvement Safety propagation takes immutables redaction into account palantir/gradle-baseline#2251

4.127.0

Type Description Link
Improvement Implement class-level type variable safety validation palantir/gradle-baseline#2254

4.128.0

Type Description Link
Improvement Implement method type argument validation palantir/gradle-baseline#2255

4.129.0

Automated release, no documented user facing changes

4.130.0

Type Description Link
Fix Make interactions with gradle java toolchains more lazy, so StackOverflowErrors do not occur palantir/gradle-baseline#2260

4.131.0

Type Description Link
Fix Stream.collect safety no longer incorrectly includes map collectors palantir/gradle-baseline#2264

4.132.0

Type Description Link
Improvement Safety analysis checks superinterfaces (in addition to superclasses) palantir/gradle-baseline#2267

4.133.0

Type Description Link
Fix More lazily acquire JDK storage locations palantir/gradle-baseline#2263

4.134.0

Type Description Link
Fix Fix concurrency issue in LazilyConfiguredMapping palantir/gradle-baseline#2268

4.135.0

Type Description Link
Improvement Safety analysis detects annotations on superclasses and their interfaces palantir/gradle-baseline#2271

4.136.0

Type Description Link
Fix Use LazilyConfiguredMapping that was extracted out to gradle-utils. palantir/gradle-baseline#2276

4.137.0

Type Description Link
Improvement Immutables redactions may be unsafe (previously forced do-not-log) palantir/gradle-baseline#2277

4.138.0

Type Description Link
Fix Removed built in support for eclipse annotation processor configurations - please use gradle-processors instead if using eclipse. palantir/gradle-baseline#2279

4.139.0

Type Description Link
Fix Rerelease due to failed publish palantir/gradle-baseline#2280

4.140.0

Type Description Link
Improvement Update AvoidNewHashMapInt to warn on uses of new HashSet(int). palantir/gradle-baseline#2292

4.141.0

Type Description Link
Improvement Trust type safety on cast results, based on validation that occurred when the type was created. palantir/gradle-baseline#2289

4.142.0

Type Description Link
Fix Fix class hierarchy safe-logging error message agreement palantir/gradle-baseline#2295

4.143.0

Type Description Link
Improvement Avoid configuring many gradle tasks palantir/gradle-baseline#2290

4.144.0

Type Description Link
Improvement Avoid creating and configuring gradle tasks palantir/gradle-baseline#2299

4.145.0

Type Description Link
Improvement The mockito error-prone library is no longer included by default palantir/gradle-baseline#2302

4.146.0

Automated release, no documented user facing changes

4.147.0

Automated release, no documented user facing changes

4.148.0

Type Description Link
Fix Handle safety flow through instanceof pattern matching palantir/gradle-baseline#2331

4.149.0

Type Description Link
Feature Users of the com.palantir.baseline-java-versions plugin can now set javaVersions { distributionTarget = '17_PREVIEW' } to opt-in to Java's --enable-preview flag at compile time. palantir/gradle-baseline#2322

4.150.0

Type Description Link
Fix Fix the BaselineModuleJvmArgs plugin to once again work as intended in multi-project builds palantir/gradle-baseline#2336

4.151.0

Type Description Link
Fix javadoc tasks are now properly configured when --enable-preview is used palantir/gradle-baseline#2338

4.152.0

Type Description Link
Feature Add DefaultLocale check

Related to google/error-prone issues 632

Adds a DefaultLocale check that replaces uses of String.toLowerCase() and String.toUpperCase() with the overloads that take a Locale, using Locale.ROOT.
palantir/gradle-baseline#2343

4.153.0

Type Description Link
Fix Set the java launcher for Checkstyle tasks, too palantir/gradle-baseline#2351

4.154.0

Type Description Link
Improvement The JUnits reports plugin is no longer applied by default. Test reports now use the standard output locations from Gradle conventions. palantir/gradle-baseline#2355

4.155.0

Automated release, no documented user facing changes

4.156.0

Type Description Link
Fix Fix BaselineJavaVersion checkstyle configuration on gradle < 7.5 palantir/gradle-baseline#2360

4.157.0

Type Description Link
Improvement Make task initialization lazier in the junit-reports plugin. palantir/gradle-baseline#2364

4.158.0

Type Description Link
Fix Make the checkUnusedDependencies tasks added by baseline-exact-dependencies compatible with Gradle's configure-on-demand feature. palantir/gradle-baseline#2363

4.159.0

Type Description Link
Improvement Add an errorprone check and typed annotation for Javax -> Jakarta

There is a certain class of very problematic cases whereby if you have
a method such as the following:

<br>myJerseyResource.register(/* this is of type Object */ object);<br>

Then if you supply a resource which includes any javax.ws.rs
annotations on it, then those will not be registered if your Jersey
version is 3.x or later (and you'll only find this out at runtime).

The opposite is also true if you try to supply resources annotated
with jakarta.ws.rs to Jersey 2.x.

To address this, this commit attempts to add an errorprone check
which lets implementors add an annotation @ForbidJavax to methods
which have been knowingly migrated to Jakarta EE9 and cannot
accept legacy javax types.
palantir/gradle-baseline#2366

4.160.0

Type Description Link
Fix Workaround to IDEA-301084 palantir/gradle-baseline#2368

4.161.0

Type Description Link
Fix Reverts a change introduced to baseline-java-version 4.160.0, which was causing failures on multi-project builds. palantir/gradle-baseline#2369

4.162.0

Type Description Link
Feature java versions preview enhancements

+ support setting preview on a project-by-project basis.
+ Fixes #2340
+ fails more elegantly if javaVersions is set on not-the-root.
palantir/gradle-baseline#2376

4.163.0

Type Description Link
Fix Fix interface visibility bug palantir/gradle-baseline#2379

4.164.0

Type Description Link
Improvement The CyclomaticComplexity check is now configured with switchBlockAsSingleDecisionPoint. palantir/gradle-baseline#2383

4.165.0

Type Description Link
Improvement Implement a simple nullaway wrapper plugin com.palantir.baseline-null-away which registers the NullAway check at WARNING. Projects which fail on warnings will require this to pass pre-merge. palantir/gradle-baseline#2382

4.166.0

Automated release, no documented user facing changes

4.167.0

Automated release, no documented user facing changes

4.168.0

Type Description Link
Fix Roll back nullaway+checkerframework for jdk15 support palantir/gradle-baseline#2389

4.169.0

Type Description Link
Improvement Exclude Spark UnusedStubClass from class uniqueness palantir/gradle-baseline#2390

4.170.0

Type Description Link
Fix lazily configure NullAway dependencies to successfully apply NullAway without ordering issues palantir/gradle-baseline#2393

4.171.0

Type Description Link
Fix com.palantir.baseline-null-away no longer enables the CheckOptionalEmptiness checker by default. palantir/gradle-baseline#2396

4.172.0

Automated release, no documented user facing changes

4.173.0

Type Description Link
Fix Nullaway is not enabled in test sources palantir/gradle-baseline#2402

4.174.0

Type Description Link
Improvement Allow projects which don't use jdk-15 to resolve latest nullaway palantir/gradle-baseline#2400

4.175.0

Type Description Link
Fix Fix GitHub issues navigation Idea config palantir/gradle-baseline#2403

4.176.0

Type Description Link
Improvement Error-prone is enabled in idea for uniformity with CLI compilation palantir/gradle-baseline#2405

4.177.0

Type Description Link
Fix baseline-immutables adds required exports to the java compiler for compatibility with jdk-17+ palantir/gradle-baseline#2406

4.178.0

Type Description Link
Fix Refaster compilation uses exports matching error-prone compilation palantir/gradle-baseline#2407

4.179.0

Type Description Link
Improvement Implement ImmutableMapDuplicateKeyStrategy for obvious map construction. By default we suggest replacing build() with the more descriptive buildOrThrow(), however buildKeepingLast() may be the original intent in some cases. palantir/gradle-baseline#2416

4.180.0

Type Description Link
Improvement exempt @link javadoc comment from LineLength check palantir/gradle-baseline#2414

4.181.0

Type Description Link
Fix Fix ConcurrentModificationExceptions thrown from BaselineNullAway palantir/gradle-baseline#2427

4.182.0

Type Description Link
Improvement Upgrade error-prone to 2.16, removing support for compilation with a jdk-15 target palantir/gradle-baseline#2432

To enable or disable this check, please contact the maintainers of Excavator.

@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch 7 times, most recently from fdd4f12 to 8dcdd96 Compare April 28, 2022 20:22
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch 7 times, most recently from d8e5483 to 5c72b81 Compare May 5, 2022 21:53
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch 6 times, most recently from 07a91d6 to a5db6d0 Compare May 16, 2022 16:21
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch from a5db6d0 to 5629408 Compare May 16, 2022 22:16
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch 2 times, most recently from 0c753aa to ab70704 Compare May 24, 2022 07:46
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch 2 times, most recently from 2d65196 to e0563ed Compare June 6, 2022 21:48
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch 3 times, most recently from bad41f7 to fb465e3 Compare June 8, 2022 20:40
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch 3 times, most recently from 4f32163 to 31010c5 Compare August 3, 2022 22:40
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch from 31010c5 to fada46d Compare August 8, 2022 14:08
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch from fada46d to 1ef6c06 Compare September 2, 2022 22:02
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch 8 times, most recently from e4fc105 to 9f1a81b Compare September 16, 2022 16:26
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch 3 times, most recently from 476eef0 to 6b74034 Compare September 21, 2022 00:20
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch 3 times, most recently from 38c1e18 to ccae27c Compare October 3, 2022 20:20
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch 2 times, most recently from 1fa00dd to bba3bb8 Compare October 7, 2022 21:08
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch from bba3bb8 to 691a154 Compare October 15, 2022 01:23
@svc-excavator-bot svc-excavator-bot force-pushed the roomba/latest-baseline-oss branch from 691a154 to c840228 Compare October 20, 2022 17:38
@bulldozer-bot bulldozer-bot bot merged commit 1101749 into develop Oct 20, 2022
@bulldozer-bot bulldozer-bot bot deleted the roomba/latest-baseline-oss branch October 20, 2022 20:07
@carterkozak
Copy link
Contributor

Thanks, @schlosna!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants