Today is Java 25 release and for that this release has two things:
-
jbang init hello.javanow will add//JAVA 25+when needed to make sure you and users of your code will have a working file. Go enjoy the simplicity of Java 25main()scripts! -
We now no longer include 'java' in the user agent. CloudFlare seem to have default rule that blocks any http request with "java" anywhere in the string. Should stop the issue where users saw weird 403 issues when using JBang.
Thanks to bug report from @reportmill that lead to that discovery.
Changelog
π Features
π Fixes
- 9d527e3 fix: avoid java in user agent (#2213)
- b19bbae fix: java version validation prints a more human friendly exception. Fixes #812 (#2128)
- 2e1393c fix: now really prevent exceptions for missing sources
- ef42bdf fix: make tests faster by doing less (#2207)
- 97c860d fix(deps): update dependency io.qameta.allure:allure-bom to v2.29.1 (#2166)
- 385e575 fix(deps): update slf4j monorepo to v1.7.36 (#2171)
- 473bc18 fix(deps): update dependency org.junit:junit-bom to v5.13.4 (#2172)
- 944a7a8 fix: improved documentation formatting (#2203)
π§ͺ Tests
- ac8ebd0 test: added new wiremock mappings
π§° Tasks
- f29738b chore: absolute //FILES path no longer throw exception
- 959fe55 chore: made
SourceSet.getStableIdInfo()more resilient - e032923 chore: improved
info docsouput somewhat - 066effc chore(deps): update plugin com.diffplug.spotless to v7.2.1 (#2175)
Contributors
We'd like to thank the following people for their contributions:
GitHub, Max Rydahl Andersen, Tako Schotanus, Werner FouchΓ©, renovate[bot]