Releases: palantir/gradle-baseline
Releases · palantir/gradle-baseline
6.5.0
🐛 Fixes
- Make
BaselineErrorProne.DEFAULT_PATCH_CHECKS
public so other tools can use it. (#2978)
6.4.0
💡 Improvements
- Safety propagation takes into account known subtypes (#2703)
6.3.0
🐛 Fixes
- Bump suppressible-error-prone to 1.5.0 to get Java 11 target for libs used in compilation (#2954)
6.2.0
✨ Features
- Use suppressible-error-prone so it's easy to suppress error prones that are currently failing (#2944)
6.1.0
💡 Improvements
-
If one has a Stream<Optional<T>> stream
of size N
and does stream.flatMap(Optional::stream)
, you’ll end up allocating N
extra streams — one for each Optional
input element. When N
is large, those allocations can cause extra GC cycles and pauses if allocation rate is high enough leading to issues with latency, throughput, and allocation sensitive code paths.
Stream.filter(Optional::isPresent).map(Optional::get)
is more efficient than Stream.flatMap(Optional::stream)
as it does not allocate a new Stream
for every element in the stream. (#2946)
6.0.0
💥 Breaks
- All modules now require Java 17. (#2898)
5.72.0
No documented user-facing changes
5.71.0
💡 Improvements
- Fix slow compilation for large pattern matching switch (#2851)
5.70.0
🐛 Fixes
- migrate to newer plugin publish format (#2903)
💡 Improvements
- Disable the
InjectOnConstructorOfAbstractClass
errorprone for gradle plugin projects (#2913)
5.69.0
🐛 Fixes
- Eliminate false positives produces by
IllegalSafeLoggingArgument
when using Multimap
collectors. (#2891)