Changelog for Groovy 5.0.0-alpha-10

Bug

  • [GROOVY-9873] - SAM type or functional interface referenced from a method is not visible from class loader
  • [GROOVY-10359] - STC misses type error when involving a variable with a char a declared type
  • [GROOVY-11353] - SC: variable initialized to null and assigned primitive value in loop
  • [GROOVY-11371] - unsafe conversion of array of reference type to an array of primitive type
  • [GROOVY-11436] - [GINQ] Some non-ascii characters in ascii table can not align correctly in console
  • [GROOVY-11438] - STC: loss of precision check for typecast number literals
  • [GROOVY-11448] - General error during canonicalization when having closure with default args
  • [GROOVY-11450] - flow typing can lead to type unsafe results when having nested ifs
  • [GROOVY-11457] - STC does not properly handle try/catch in flow typing leading to type unsafety
  • [GROOVY-11467] - Failed to find method when using method reference on a class field
  • [GROOVY-11469] - Empty execute method in groovy.sql.Sql
  • [GROOVY-11471] - Assignments in closures can introduce issues in flow typing

Dependency upgrade

Improvement

  • [GROOVY-11432] - Support method references/method pointers in annotations
  • [GROOVY-11443] - Support multiple Requires/Ensures/Invariant annotations in groovy-contracts