Releases: jbangdev/jbang
v0.99.1
Changelog
In our move from Shrinkwrap resolver to Aether we missed handling of special packaging types like @test-jar
. Reported by @michael-simons and now fixed by @quintesse !
🐛 Fixes
📝 Documentation
Contributors
We'd like to thank the following people for their contributions:
Tako Schotanus, Ikko Ashimine, Max Rydahl Andersen, GitHub
v0.99.0
Enterprise JBang
JBang now fully support proxies and credentials to use with private/internal repositories. Something that was only partially working before. Settings will be read from ~/.m2/settings.xml and in future we might make more explicit setup available based on feedback.
This was enabled as we moved from Shrinkwrap to use direct Maven/Aether API which also helped reduce the size of jbang from 5.5 to 4.9 MB
In addition various fixes and improvements enabling better use of jbang, one particular is jbang info
fixes that enables the recent new JBang Visual Studio code to be even more awesome. If you have not yet tried it do give it a go - enables to open vscode on any folder with JBang enabled .java code and thing like content assist and running with jbang Just Works. Absolutely the simplest and fastest way to start writing code in Java.
Changelog
🚀 Features
- b9a339c Switched Shrinkwrap for Maven/Aether API (#1456)
- 9a3d4c9 Added
--format=json
flag tolist
commands (#1454)
🐛 Fixes
- a38cf87 fixed "app install" using path with spaces
- e1f62dd fixes running installed apps on Windows
- 4d6ab0e use
//GAV
forexport mavenrepo
(#1468) - 7c99280 check for recursion when running
info
- d983101 update to disco v3 endpoints
- 10426e9 Fixed NPE when running
info
on a JAR file (#1452)
🛠 Build
📝 Documentation
- 0418303 [minor] release
- 6218b6f Add @yeung66 as a contributor
- ef8c348 add garodriguezlp as a contributor (#1463)
- 73239f7 add jarryDk as a contributor (#1462)
- b4aee56 add someth2say as a contributor (#1461)
- bda9950 add agoalofalife as a contributor (#1460)
- 5a1dc11 Fixed passing arguments to .bat files on Windows (#1449)
Contributors
We'd like to thank the following people for their contributions:
Tako Schotanus, Max Rydahl Andersen, GitHub, Ilya, allcontributors[bot]
v0.98.0
New feature release!
MANIFEST
New //MANIFEST
keyword to allow writing entries to META-INF/manifest.mf
including supporting build time variables:
//MANIFEST version=${version:unknown}
will result in version=unknown
by default and version=1.2
if built using jbang -Dversion=1.2 yourapp.java
.
build.jbang (preview)
using jbang to building project is easy; what if you also want to run tests or other build related tasks. For that jbang are hitting its limits but we think there might be a few things we can do without forcing users to use maven/gradle/etc builds.
In this version we enabled build.jbang
to be picked up and read the commands from that external file. We will evolve/change that format but at least you can try out jbang without having a single //
directive in any of your .java files.
Changelog
🚀 Features
- 65f5723 Added
//MANIFEST
option for source files (#1445) - 731399a added support for
build.jbang
project files - 9faf9f8 Hide .project/.classpath from virtual project in VS Code (#1430)
🐛 Fixes
- 155c8aa force minimum java 11 for quarkus init
- 55b7833 Bump picocli to 4.6.3 in doc and src
- 94c48c1 Bump Quarkus 1.11.0.Final -> 2.11.2.Final
- d76a13d change kotlinc's extension to .bat on Windows (#1434)
- ce7595c typo in README.md.tpl (#1431)
♻️ Changes
- d28b4f3 more central role for
Project
- 253a1af moved build-related code from
RunContext
toProject
- e62f430 introduced the concept of
Project
🧰 Tasks
- 2515783 put new project features behind
--preview
option
- 9ae5d6f [minor] release
Contributors
We'd like to thank the following people for their contributions:
YeungYeah, Michael Bornholdt Nielsen, Tako Schotanus, Ikko Ashimine, Max Rydahl Andersen, GitHub, Fred Bricon
v0.97.0
Changelog
Main thing is fix for jbang info tools
so it works again enabling IDE integration to work!
But also interesting that jbang edit
with vscodium will now install jbang-vscode
allowing you to call codium yourfolder
and edit jbang based scripts apps without having to have build.gradle project generated.
🚀 Features
🐛 Fixes
- 00f569c [minor] release
Contributors
We'd like to thank the following people for their contributions:
Tako Schotanus, Max Rydahl Andersen, GitHub
v0.96.4
Changelog
--native
flag was broken/incomplete thus replace with jbang export native
; this
patch release will explain to users what to do if they used the now removed option.
🧰 Tasks
- 7fb1f78 [patch] release
Contributors
We'd like to thank the following people for their contributions:
Tako Schotanus, Max Rydahl Andersen, GitHub
v0.96.3
v0.96.1
Changelog
Important fixes to have the Windows install/script work with systems with spaces.
And a fix that avoids problem of duplicate maven repos.
🐛 Fixes
- 9968fff now correctly handling duplicate repos (#1419)
- a18554b Add splatting for passing arguments in Powershell scripts
- 0eecfbf remove unnecessary quotations for java binary
🧰 Tasks
- d6bf941 (deps) update java-properties to 0.0.5
🛠 Build
- 0b64aa1 fixed tests
Contributors
We'd like to thank the following people for their contributions:
Tako Schotanus, Max Rydahl Andersen, Gustavo Adolfo Rodriguez Libreros, GitHub, Gustavo Adolfo Rodríguez Libreros
v0.96.0
Lots of small bugfixes + stop generating class-path in jars that confuses graalvm native-image.
Changelog
🐛 Fixes
- 5c5049d don't add
Class-Path
by default to JARs (#1398) - bfbb744
wrapper install
now also copies jbang.ps1 (#1391) - b08c05b looking for compiler executables on Windows (#1395)
- 077422d properly detect existing JDK on Macs
- c89b4c5 fix problem with JDK paths containing spaces
- 648fc02 fixed certain commands not validating input correctly (#1376)
♻️ Changes
- 8d9582a fix typo in MarkdownSource.java
- b4b5d32 small change to
Builder
API - 9fedad4 minor refactor of the
IntegrationManager
- 13df254
SourceSet
no longer usesSource
- 5455a89 minor refactor of
RunContext
- aadbb34 added manifest attributes to
SourceSet
- c1fb77e using less
Optional
- e2686a9 introduced
BuildMixin
🧰 Tasks
- 82d955c changed many
File
references toPath
🛠 Build
- a77e83a added tests for additional deps and cp
📝 Documentation
- 1790790 minor update to PS1 script docs
- d7c2a77 Updating Integration documentation (#1380)
- 49a907e Updating Integration documentation (#1380)
- a230f53 [minor] release
- 5b5e364 Also reword //JAVA_OPTS to //JAVA_OPTIONS
- 4fe2268 Small typo when referring to
JAVAC_OPTIONS
- 35056e8 Add test with --fresh and --repos
Contributors
We'd like to thank the following people for their contributions:
Tako Schotanus, Ikko Ashimine, Jeremie Bresson, Max Rydahl Andersen, GitHub, Nándor Holozsnyák, Jordi Sola
v0.95.0
Changelog
This release introduces "globbing" for --sources
and --files
meaning you can do things like:
jbang --sources src/main/java --files src/main/resources script.java
or if you want only .java and only .html files:
jbang --sources src/main/java/**.java --files src/main/resources/**.html script.java
This lets you build bigger projects with more complex structures, while still being quite compact.
A interesting sideeffect of these features is that JBang can now be used to build JBang itself. See bootstrap.java if interested - still a few things needed to do a 100% bootstrap but we are getting closer :)
As been a while since a release also a good bunch of bugfixes, especially around alias handling that had a regression. If aliases was not behaving as you expect try this update and things should be better!
🚀 Features
- 902c8cb --sources and --files can now refer to directories
- 023d820 //FILES now supports globbing and new --resources option
- cd6a7eb added
--available
tojdk list
- 81ed889 add in-progress bootstrap.sh to build jbang with jbang
🐛 Fixes
- 8489101 make tests work on Windows
- b880866 sub folders are now properly handled for globbed resources
- 94bee92 inclusion of all resources
- 8057fba remove todo
- 26b7688 export can now build jbang with jbang
- 207ca62 make aliases work with --repos (#1372)
- 2d8e343 aliases now correctly added
- 07e99c8 --sources now handle comma separated input (#1365)
- f526a7d can now use globbing for
--sources
- d05dced move away from java.io.File to Path/Files
♻️ Changes
- 411507d extracted CLI source options into a mixin
- 9dc4741
--resource
/-r
are now--files
/-f
- 95adbfd removed
Vendor
enum - cf0b6c1 clean-up of the JdkManager code
- 047f51a remove ability to set Jdk release
🧰 Tasks
- d418f2a slightly improved error message when using globbing
- 08f0b99 minor code cleanup
- 38fd9a0 fix typo in configuration.adoc (#1366)
Contributors
We'd like to thank the following people for their contributions:
Tako Schotanus, Ikko Ashimine, Max Rydahl Andersen, GitHub
v0.94.0
Changelog
Repository fixes/improvements is the name of the game.
First off, --fresh
will now check for update to dependencies using SNAPSHOT and RELEASE names.
Then, adding spring-snapshot
, spring-milestone
, s01sonatype-snapshots
and sonatype-snapshots
possible shorthands for maven repositories and --deps
now properly suppport comma separated list. Means you can use snapshots in a much more compact version:
jbang --repos mavencentral,s01sonatype-snapshots -Dquarkus.version=999-SNAPSHOT myrest.java
🚀 Features
- 1a45a50 improve maven repo shorthand and logging (#1360)
- 60b7c5b Set Maven update policy to ALWAYS when --fresh is used
♻️ Changes
- acf4146 turned
isRunCommand
intoisMainRequired
Contributors
We'd like to thank the following people for their contributions:
Tako Schotanus, Jeremie Bresson, Max Rydahl Andersen, GitHub, andreaTP