Changelog for Groovy 5.0.6

Bug

  • [GROOVY-11022] - StackOverflowError when having parameterized function with recursive bounds
  • [GROOVY-11754] - Compilation error: ClassCastException (unnamed module)
  • [GROOVY-11900] - grab adds static constructor to annotation definition
  • [GROOVY-11903] - Iterable minus modifies self in slow path
  • [GROOVY-11907] - SC: trait static field helper generates invalid bytecode when method-level DYNAMIC_RESOLUTION is present (GROOVY-11817 regression)
  • [GROOVY-11930] - Static method call with null value and casting fails
  • [GROOVY-11954] - groovydoc: short-name type resolution cache makes doc output order-dependent and non-reproducible
  • [GROOVY-11955] - Provide a size guard for flattening of chained method calls
  • [GROOVY-11956] - SC: mixed property definition and map-style constructor call
  • [GROOVY-11959] - multi-assignment failure for singleton primitives
  • [GROOVY-11967] - VerifyError in @CompileStatic constructor with default-valued list parameter
  • [GROOVY-11968] - SC: trait static field access generates invalid bytecode under indy=false (GROOVY-11907 follow-up)
  • [GROOVY-11982] - Default methods in interface throw IncompatibleClassChangeError under indy=false
  • [GROOVY-11983] - STC: unsound smart-cast in else branch of if (cond && !(x instanceof Y))

Dependency upgrade

  • [GROOVY-11917] - Bump ant version to 1.10.17
  • [GROOVY-11960] - Bump org.jboss.bridger:bridger: 1.6.Final → 1.8
  • [GROOVY-11961] - Bump org.apache.maven:maven-core: 3.9.14 → 3.9.15
  • [GROOVY-11962] - Bump commons-io:commons-io: 2.21.0 → 2.22.0
  • [GROOVY-11963] - Bump com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin: 0.53.0 → 0.54.0

Improvement

  • [GROOVY-11920] - Include javax.swing.plaf.nimbus in Nimbus LAF check in groovy-swing