Apache Groovy 4.0.0-rc-2 发布,JVM 动态脚本语言
Apache Groovy 4.0.0 第二个 RC 候选版已发布,Apache Groovy 是用于 JVM 的多面性编程语言。
改进
- [GROOVY-10383] - SC: !in 编译为 ScriptBytecodeAdapter#isNotCase
- [GROOVY-10395] - SC: <=> 编译为 ScriptBytecodeAdapter#compareTo 用于原语
- [GROOVY-10401] - 最小化时防止调出 groovy 控制台
- [GROOVY-10417] - MethodNode toString() 可以在名称包含空格(或其他非标识符字符)时添加引号
- [GROOVY-10418] - 在 jar 包源中引入 `src/antlr`
升级依赖
- [GROOVY-10397] - Bump junit to 5.8.2
- [GROOVY-10399] - Bump bridger to 1.6.Final (build dependency)
- [GROOVY-10400] - Bump gradle to 7.3.1 (build dependency)
- [GROOVY-10402] - Bump jarjar to 1.8.0 (build dependency)
- [GROOVY-10408] - Bump log4j2 version to 2.15.0 (test dependency)
- [GROOVY-10410] - Bump log4j2 version to 2.16.0 (test dependency)
- [GROOVY-10416] - Bump logback to 1.2.8 (test dependency)
- [GROOVY-10420] - Bump gradle to 7.3.2 (build dependency)
- [GROOVY-10421] - Bump jqwik to 1.6.1 (test dependency)
- [GROOVY-10422] - Bump Spotbugs/Spotbugs annotations version to 4.5.2 (build dependencies)
- [GROOVY-10423] - Bump checkstyle to 9.2 (build dependency)
- [GROOVY-10425] - Bump log4j2 version to 2.17.0 (test dependency)
- [GROOVY-10426] - Bump jqwik to 1.6.2 (test dependency)
- [GROOVY-10427] - Bump jackson version to 2.13.1
- [GROOVY-10430] - Bump gradle to 7.3.3 (build dependency)
- [GROOVY-10432] - Bump hsqldb to 2.6.1 (test dependency)
除了以上的更新,此版本还修复了许多错误,以及其他功能改进,详情查看 release note。
下载地址:https://groovy.apache.org/download.html
最后,官方团队称,4.0 GA 将于明年年初发布。