Skip to content

Update java dependencies #252

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 17, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.scala-lang:scala3-library_3 3.6.3 -> 3.7.0 age adoption passing confidence
org.mockito:mockito-junit-jupiter 5.15.2 -> 5.18.0 age adoption passing confidence
org.mockito:mockito-core 5.15.2 -> 5.18.0 age adoption passing confidence
org.junit.jupiter:junit-jupiter (source) 5.11.4 -> 5.13.0 age adoption passing confidence
com.google.guava:guava 33.4.0-jre -> 33.4.8-jre age adoption passing confidence
com.github.spotbugs:spotbugs-annotations (source) 4.9.1 -> 4.9.3 age adoption passing confidence
com.asarkar.gradle.build-time-tracker 4.3.0 -> 5.0.1 age adoption passing confidence
com.github.spotbugs 6.1.3 -> 6.1.13 age adoption passing confidence
com.diffplug.spotless 7.0.2 -> 7.0.4 age adoption passing confidence

Release Notes

scala/scala3 (org.scala-lang:scala3-library_3)

v3.7.0

Compare Source

See release blogpost: https://www.scala-lang.org/news/3.7.0/

Highlights of the release

  • Add @scala.annotation.internal.preview annotation and -preview flag. #​22317
  • Make SIP-52 @publicInBinary a stable feature in 3.7 #​22591
  • Make SIP-58 - Named Tuples a stable feature in 3.7 #​22753
  • Make SIP-62 - Better Fors a preview feature in 3.7 #​22776
  • Implement SIP-61 @unroll annotation as experimental #​21693
  • Upgrade Scala 2 Standard Library to 2.13.16 #​22386
  • Upgrade Scala.js to 1.19.0 #​23026
  • Upgrade Scala CLI to 1.7.1 #​22843
  • Expression Compiler is now part of Scala 3 compiler #​22597
  • Quotes API: Added apply methods to import selectors #​22457
  • Quotes API: Implement experimental summonIgnoring method #​22417
  • Quotes API: Add class parameters, flags, and privateWithin and annotations to experimental newClass methods #​21880
  • Experimental: Capture Calculus - Inferring tracked modifier #​21628
  • Presentation Compiler: Show inferred type on holes in hover #​21423
  • JVM Backend: Fix #​15736 blocking Scala 3 on Android #​22632
  • REPL: add flag to quit after evaluating init script #​22636
  • REPL: implement :jar (deprecate :require) #​22343
  • Linting: Improvements to -Wunused and -Wconf #​20894
  • Implicit parameters warn at call site without using keyword #​22441
  • Support for dependent case classes #​21698
  • Deprecate Yno-kind-polymorphism #​22814

Other changes and fixes

Annotations

  • Lift arguments of explicitly constructed annotations #​22553
  • Fix copy of annotation on @main methods #​22582
  • @publicInBinary has now effect on secondary constructors #​22630
  • Fix mapping of annotations #​22407

Backend: Scala.js

  • Emit js.NewArray IR nodes when possible. #​22446
  • Fix #​22794: Emit the definition of Arrays.newArray even though it's a primitive #​22797

Classpath

  • Fix empty ClassPath attribute in one or more classpath jars causes crash #​22462

Documentation

  • Improve the usage of inclusive language #​22360

Erasure

  • Handle type aliases in contextFunctionResultTypeAfter #​21517
  • Align erasure of Array[Nothing] and Array[Null] with Scala 2 #​22517

Desugering

  • Under betterFors don't drop the trailing map if it would result in a different type (also drop _ => ()) #​22619

Experimental: Capture Checking

  • Canonicalize capture variable subtype comparisons #​22299
  • Permit Capture Refs for Uninitialized Type and Term Params in BiTypeMap #​22451
  • Fix maximal capability handling and expand aliases #​22341

Experimental: Modularity

  • Widen skolem types when adding parent refinements #​22488

Experimental: Global Initialization Checker

  • Refactor the abstract domain of global init checker to compile http4s #​22179
  • Fix global init checking crash when using a value defined in by-name closure #​22625

Experimentals

  • Expand value references to packages to their underlying package objects #​22011

Implicits

Linting

  • Suppress spurious Suppression #​22383
  • CheckUnused checks span.exists before testing its parts #​22504
  • Don't warn retainedBody #​22510
  • Handle Typeable #​22663
  • Nowarn public implicit val class params #​22664
  • Exclude synthetic this.m, Any.m from import lookup #​22695
  • Warn unused member of anonymous class #​22729
  • Ignore params to default arg getters #​22749
  • Lazy val def member is pattern var #​22750
  • Restore resolving prefixes of implicit Ident #​22751
  • No warning for parameter of overriding method #​22757
  • Dealias before checking for member in lint #​22708
  • Warn on bad extensions of aliases #​22362
  • Warn universal extensions on opaque types #​22502
  • Discourage default arg for extension receiver #​22492
  • Rename on import is never wildcard #​22712
  • Collect nowarn symbols instead of skipping them #​22766
  • Revert unconditional lint of Inlined expansion #​22815

Match Types

  • Handle NoType in TypeComparer.disjointnessBoundary #​21520

Named Tuples

  • Special case NamedTuple.From for arguments derived from Tuple #​22449
  • Generate mirrors for named tuples #​22469
  • Two fixes to NamedTuple pattern matching #​22953

Opaque Types

  • Fix stack overflow errors when generating opaque type proxies #​22479
  • Fix inline proxy generation for opaque types referencing other opaque types #​22381
  • Fix opaque types leaking rhs when inlined and found in type params (and a related stale symbol issue) #​22655

Overloading

  • Make overload pruning based on result types less aggressive #​21744
  • Fail compilation if multiple conflicting top-level private defs/vals are in the same package #​22759

Parser

  • Fix annotations being not expected in the middle of an array type by java parser #​22391
  • No outdent at eof #​22435
  • Allow observing an indent after conditional #​22611
  • Correctly detect colon lambda eol indent for optional brace of argument #​22477

Pattern Matching

  • Avoid crash in uninhab check in Space #​22601
  • Account for named tuples in space subtraction #​22658
  • Check exhaustivity of any case class #​22604

Presentation Compiler

  • Add enum type param support in sourceSymbol #​18603
  • Map name position to desugared version of named context bound #​22374
  • Hover and go to definition for named tuples #​22202
  • Completions: do not complete package #​20532
  • Print parens for single method argument only if a direct tuple type #​21510
  • Improvement: use heuristic to figure out nameSpan if pointDelta too big #​22484
  • Fix inferredTypeEdits for symbols #​22485
  • Fix: Only fallback to the definition of a synthetic valdef if it is zero extent #​22551
  • Better LSP completions inside of backticks #​22555
  • Don't search for members in pc info when irrelevant #​22674
  • Backport from Metals #​22426
  • Backport from Metals #​22491
  • Backport from Metals #​22665

Runner

  • Upgrade Scala CLI to 1.7.1 highlights
    • Switch to scalameta/scalafmt images of scalafmt 3.9.1+ #​3502
    • Support the --test command line option for run subcommand #​3519
    • Support the --test command line option for package subcommand #​3519
    • Detect objects with main class in scripts #​3479
    • Support for Scala.js 1.18.2 #​3454
    • Support for Scala Native 0.5.7 #​3527
    • Add support for running a main method from the test scope #​3502

Quotes

  • Add a check for correct Array shape in quotes.reflect.ClassOfConstant #​22033
  • Fix issue with static this references erroring in quoted code #​22618
  • Fix #​21721: make case TypeBlock(,) not match non-type Block #​21722
  • Make Ref.apply() return trees usable in the largest scope possible #​22240
  • Make sure Block does not incorrectly match a TypeBlock #​22716
  • Do not approximate prefixes when using memberType in reflect API #​22448
  • Bring back pattern match exhaustivity checking for macros #​22622

REPL

  • REPL: JLine 3.29.0 (was 3.27.1) #​22679
  • Repl: emit warning for the :sh command #​22694
  • Add warning for :kind command #​22572
  • Check trailing blank line at EOF for OUTDENT #​22855

Reporting

  • Filter help renders box border #​22434
  • Register nowarn when inlining #​22682
  • Rule out exports of member of the current class #​22545

Standard Library

  • Changes in preparation to make caps.Capability stable #​22849
  • Mitigate change in status of scala.caps #​22956

Scaladoc

  • Render @deprecated correctly even when named arguments weren't used #​21925
  • Remove DRI from Scaladoc warnings #​22330

SemanticDB

  • Don't add () to semanticdb symbol for java variables #​22573
  • Fix compiler crash when using betasty with missing java classfiles #​22599

Transform

  • Check only stable qual for import prefix #​22633
  • Treat static vals as enclosures in lambdalift #​22452
  • Record calls to constructors in lambdaLift #​22487
  • Only check logicalOwners for methods, and not for classes, when looking for proxies #​22356
  • Add error-checking when fetching rhs of trees from TASTy #​22565

Typer

  • Root of Java select must be class or rooted package #​21800
  • Check if a prefix is valid before selecting from a type #​22368
  • Preserve hard unions in widenSingletons #​22369
  • Constructor proxy is restricted if class is protected #​22563
  • Constructor companion gets privateWithin #​22627
  • Revert lambda cleanup #​22697
  • Avoid infinite recursion when looking for suggestions #​22361
  • Fix cyclic check, regardless of definition order #​22342
  • Avoid inf recursion in provablyDisjointClasses #​22489

Value Classes

  • Allow private members when computing the denotation of a NamedType #​22549

Other changes

  • Remove locale dependent FileSystemException check #​21633

Contributors

Thank you to all the contributors who made this release possible 🎉

According to git shortlog -sn --no-merges 3.6.4..3.7.0 these are:

    63  Martin Odersky
    47  Som Snytt
    33  Adrien Piquerez
    32  Hamza Remmal
    29  Wojciech Mazur
    19  aherlihy
    19  kasiaMarek
    16  Jan Chyb
    13  Dale Wijnand
    11  Kacper Korban
    10  EnzeXing
     9  Sébastien Doeraene
     7  Guillaume Martres
     7  Matt Bovel
     7  Oliver Bračevac
     7  noti0na1
     5  HarrisL2
     5  Jamie Thompson
     5  dependabot[bot]
     4  Joel Wilsson
     4  Piotr Chabelski
     4  Seth Tisue
     3  Roman Janusz
     3  anna herlihy
     2  David Hua
     2  Tomasz Godzik
     2  Yichen Xu
     1  Alec Theriault
     1  Daisy Li
     1  Daniel Thoma
     1  Dmitrii Naumenko
     1  Felix Herrmann
     1  He-Pin(kerr)
     1  João Ferreira
     1  Jędrzej Rochala
     1  Katarzyna Marek
     1  Kenji Yoshida
     1  Natsu Kagami
     1  Niklas Fiekas
     1  Rocco Mathijn Andela
     1  Vadim Chelyshov
     1  adpi2
     1  fan-tom
     1  philwalk
     1  rochala

v3.6.4

Compare Source

Highlights of the release

  • Support for JDK 24 #​22250
  • REPL :silent command to toggle automatic printing of outputs #​22248
  • REPL --repl-init-script: setting to run a code on startup #​22206
  • Deprecated setting -Xno-decode-stacktraces is now an alias to -Xno-enrich-error-messages #​22208
  • Annotation arguments are no longer lifted #​22035
  • Experimental Capture Checking: Implement tracked members #​21761

Breaking changes

  • Align @implicitNotFound and @implicitAmbigous with the language specification #​22371

    This change may impact users who previously used these annotations using variables or string interpolation.

    Previously, a bug in the Scala 3 compiler allowed non-literal strings to be passed as arguments to the @implicitNotFound and @implicitAmbiguous annotations.
    This could have affected how failed implicit search results were reported by the compiler.

    Starting from Scala 3.6.4, the arguments for these annotations must be string literals.
    If a message is too long, it can be concatenated using the + operator, allowing for constant folding.

Other changes and fixes

Annotations

  • Make sure symbols in annotation trees are fresh before pickling #​22002
  • Consider all arguments in Annotations.refersToParamOf #​22001
  • Do not lift annotation arguments (bis) #​22046

Desugaring

Documentation

  • Update example code linked to obsolete content in macros-spec.md #​22256

Experimental: Capture Checking

Experimental: Global Initialization

  • Fix crash when initializing val in ByName closure #​22354

Experimental: Named Tuples

  • Handle TypeProxy of Named Tuples in unapply #​22325
  • Fail more eagerly when trying to adapt named unapply patterns #​22315
  • Widen singleton types when computing fields from .Fields #​22149
  • Fix .toTuple insertion #​22028

Extension Methods

  • Tweak ExtensionNullifiedByMember #​22268
  • Nowarn extension matching nonpublic member #​21825

Implicits

  • Rollback constraints in compareAppliedTypeParamRef #​22339
  • Try implicit searching after finding dynamic select #​22318

Linting

  • Allow discarding "Discarded non-Unit" warnings with : Unit #​21927

Match Types

Metaprogramming

  • Rethrow SuspendExceptions caught in CodeGen phase #​22009

Metaprogramming: Compile-time

  • Extend compiletime.testing.typechecks with certain transform phases #​21185

Nullability

  • Fix #​21619: Refactor NotNullInfo to record every reference which is retracted once. #​21624

Presentation Compiler

  • Use new infer expected type for singleton complations #​21421
  • Fix match error in keyword completions #​22138

Reflection

  • Do not return java outline dummy constructor in primaryConstructor #​22104

Reporting

  • Normalise the types for Type Mismatch Error (E007) #​22337
  • Improve given search preference warning #​22189
  • Better error messages when an enum derives from AnyVal #​22236
  • Correctly print litteral types in the refined printer #​22351

Rewrites

Scaladoc

  • Scaladoc: Add support for named tuples #​22263

Settings

  • Limit exposure to ConcurrentModificationException when sys props are replaced or mutated #​22180

Specification

  • Align the spec to allow the marker #​22323
  • Integrate the specification for match types. #​22164

Transform

Typer

  • Fixes for isLegalPrefix change #​22241
  • Resolve name when named imp is behind wild imps #​21888

Contributors

Thank you to all the contributors who made this release possible 🎉

According to git shortlog -sn --no-merges 3.6.3..3.6.4 these are:

    46  Martin Odersky
    33  noti0na1
    24  Wojciech Mazur
    14  Dale Wijnand
    13  Matt Bovel
    11  Hamza Remmal
     7  Jan Chyb
     6  aherlihy
     5  Kacper Korban
     5  Seth Tisue
     5  Som Snytt
     4  Oliver Bračevac
     4  Yichen Xu
     3  Sébastien Doeraene
     3  dependabot[bot]
     3  kasiaMarek
     2  João Ferreira
     1  David Hua
     1  Eugene Flesselle
     1  Eugene Yokota
     1  Florian3k
     1  Jędrzej Rochala
     1  Kenji Yoshida
     1  Mathias
     1  Natsu Kagami
     1  Oleg Zenzin
     1  Piotr Chabelski
     1  Rui Chen
     1  philippus
     1  rochala
     1  xiaoshihou
mockito/mockito (org.mockito:mockito-junit-jupiter)

v5.18.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.18.0
  • 2025-05-20 - 5 commit(s) by Eugene Platonov, Patrick Doyle, Tim van der Lippe, dependabot[bot]
  • Make vararg checks Scala friendly (for mockito-scala) (#​3651)
  • For UnfinishedStubbingException, suggest the possibility of another thread (#​3636)
  • UnfinishedStubbingException ought to suggest the possibility of another thread (#​3635)

v5.17.0

Compare Source

Changelog generated by Shipkit Changelog Gradle Plugin

5.17.0
  • 2025-04-04 - 7 commit(s) by Adrian Roos, Andre Kurait, Jan Ouwens, Rafael Winterhalter, Taeik Lim, Thach Le, Tim van der Lippe
  • Fixes #​3631: Fix broken banner image link (#​3632)
  • Banner image is broken (#​3631)
  • Update exception message with mockito-inline (#​3628)
  • Clarify structure of commit messages (#​3626)
  • Fixes #​3622: MockitoExtension fails cleanup when aborted before setup (#​3623)
  • MockitoExtension fails cleanup when aborted before setup (#​3622)
  • Since mockito-inline has been removed, the exception messages with mockito-inline should be modified. (#​3621)
  • Fixes #​3171: Fall back to Throwable Location strategy on Android (#​3619)
  • Fixes #​3615 : broken links to javadoc.io (#​3616)
  • Broken links to javadoc.io (#​3615)
  • Mocks are not working on particular devices after update Android SDK from 33 to 34 (#​3171)

v5.16.1

Changelog generated by Shipkit Changelog Gradle Plugin

5.16.1
  • 2025-03-15 - 3 commit(s) by Adrian Roos, Jérôme Prinet, Rafael Winterhalter
  • Remove Arrays.asList from critical stubbing path in GenericMetadataSu… (#​3610)
  • Rework of injection strategy in the context of modules (#​3608)
  • Adjust inline mocking snippet to allow task relocatability (#​3606)
  • Inline mocking configuration snippet for Gradle should allow task relocatability (#​3605)

v5.16.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.16.0
  • 2025-03-03 - 10 commit(s) by Brice Dutheil, Rafael Winterhalter, TDL, dependabot[bot]
  • Add support for including module-info in Mockito. (#​3597)
  • Bump com.gradle.develocity from 3.19 to 3.19.1 (#​3579)
  • Bump org.assertj:assertj-core from 3.27.2 to 3.27.3 (#​3577)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 7.0.1 to 7.0.2 (#​3574)
  • Bump com.diffplug.spotless:spotless-plugin-gradle from 6.25.0 to 7.0.1 (#​3571)
  • Bump org.assertj:assertj-core from 3.27.1 to 3.27.2 (#​3569)
  • Tweaks documentation on mockito agent config for maven (#​3568)
  • Adds --info to diagnose closeAndReleaseStagingRepositories issues (#​3567)
  • Refine reflection when calling management factory (#​3566)
  • Avoid warning when dynamic attach is enabled (#​3551)
spotbugs/spotbugs (com.github.spotbugs:spotbugs-annotations)

v4.9.3

Compare Source

Added
  • Introduced UselessSuppressionDetector to report the useless annotations instead of NoteSuppressedWarnings (#​3348)
Fixed
  • Do not report US_USELESS_SUPPRESSION_ON_METHOD on synthetic methods (#​3351)

v4.9.2

Compare Source

Added
  • Reporting useless @SuppressFBWarnings annotations (#​641)
Fixed
  • Fixed html bug descriptions for AT_STALE_THREAD_WRITE_OF_PRIMITIVE and AT_NONATOMIC_64BIT_PRIMITIVE (#​3303)
  • Fixed an HSM_HIDING_METHOD false positive when ECJ generates a synthetic method for an enum switch (#​3305)
  • Fix AT_UNSAFE_RESOURCE_ACCESS_IN_THREAD false negatives, detector depending on method order.
  • Fix THROWS_METHOD_THROWS_CLAUSE_THROWABLE reported in a method calling MethodHandle.invokeExact due to its polymorphic signature (#​3309)
  • Fix AT_STALE_THREAD_WRITE_OF_PRIMITIVE false positive in inner class (#​3310).
  • Fix AT_STALE_THREAD_WRITE_OF_PRIMITIVE false positive for ECJ compiled enum switches (#​3316)
  • Fix RC_REF_COMPARISON false positive with Lombok With annotation (#​3319)
  • Avoid calling File.getCanonicalPath twice to improve performance (#​3325)
  • Fix MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR and MC_OVERRIDABLE_METHOD_CALL_IN_CLONE false positive when the overridable method is outside the class (#​3328).
  • Fix NullPointerException thrown from ThrowingExceptions detector (#​3337).
Removed
  • Removed the TLW_TWO_LOCK_NOTIFY, LI_LAZY_INIT_INSTANCE, BRSA_BAD_RESULTSET_ACCESS, BC_NULL_INSTANCEOF, NP_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR and RCN_REDUNDANT_CHECKED_NULL_COMPARISON deprecated bug patterns.

Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 17, 2025
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.71%. Comparing base (09e5d4a) to head (6747d7c).

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #252   +/-   ##
=========================================
  Coverage     85.71%   85.71%           
  Complexity        4        4           
=========================================
  Files             3        3           
  Lines             7        7           
=========================================
  Hits              6        6           
  Misses            1        1           
Flag Coverage Δ
integration-tests-macos-latest 100.00% <ø> (ø)
integration-tests-ubuntu-latest 100.00% <ø> (ø)
integration-tests-windows-latest 100.00% <ø> (ø)
unit-tests-macos-latest 85.71% <ø> (ø)
unit-tests-ubuntu-latest 85.71% <ø> (ø)
unit-tests-windows-latest 85.71% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot changed the title Update plugin spotbugs to v6.1.5 Update java dependencies Feb 21, 2025
@renovate renovate bot force-pushed the renovate/java-dependencies branch 3 times, most recently from 0c1a80d to 452810c Compare February 27, 2025 03:21
@renovate renovate bot force-pushed the renovate/java-dependencies branch 5 times, most recently from bebebeb to 09007c9 Compare March 6, 2025 15:41
@renovate renovate bot force-pushed the renovate/java-dependencies branch 3 times, most recently from 60382a1 to e76c5ca Compare March 15, 2025 22:41
@renovate renovate bot force-pushed the renovate/java-dependencies branch 2 times, most recently from d9af0b7 to 6344be3 Compare March 22, 2025 17:58
@renovate renovate bot force-pushed the renovate/java-dependencies branch 2 times, most recently from a59ac3c to 5ecb981 Compare April 8, 2025 02:59
@renovate renovate bot force-pushed the renovate/java-dependencies branch from 5ecb981 to 63bf7c4 Compare April 11, 2025 16:24
@renovate renovate bot force-pushed the renovate/java-dependencies branch 2 times, most recently from 8310a82 to 4b2cf90 Compare April 26, 2025 19:03
@renovate renovate bot force-pushed the renovate/java-dependencies branch 2 times, most recently from 06b30fe to 225f866 Compare May 8, 2025 02:20
@renovate renovate bot force-pushed the renovate/java-dependencies branch 2 times, most recently from 6cdf096 to b4d340b Compare May 13, 2025 12:40
@renovate renovate bot force-pushed the renovate/java-dependencies branch 3 times, most recently from 9dbf1d4 to 0567007 Compare May 21, 2025 05:45
@renovate renovate bot force-pushed the renovate/java-dependencies branch 2 times, most recently from a08f0eb to 3e8e214 Compare May 29, 2025 07:02
@renovate renovate bot force-pushed the renovate/java-dependencies branch from 3e8e214 to feaeb62 Compare May 30, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants