github jbangdev/jbang v0.131.0

latest releases: v0.132.1, v0.132.0
one month ago

Today is Java 25 release and for that this release has two things:

  1. jbang init hello.java now 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 25 main() scripts!

  2. 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

  • 17d8557 feat: requestedJavaVersion honored by init templates (#2206)

πŸ› 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 docs ouput somewhat
  • 066effc chore(deps): update plugin com.diffplug.spotless to v7.2.1 (#2175)

  • 776fac4 [minor] release
  • 1cbf085 # This is a combination of 2 commits.

Contributors

We'd like to thank the following people for their contributions:
GitHub, Max Rydahl Andersen, Tako Schotanus, Werner FouchΓ©, renovate[bot]

Don't miss a new jbang release

NewReleases is sending notifications on new releases.