Java 14 is now supported in CommandBox 5.1.0. In order to support Java 14, we had to stop using Pack200 which means the binary sizes have grown a little. The good news is CommandBox will start up a little faster on its first run since there's less to unpack now.
Start pure HTML Server
You can start up a lightweight server that only serves static files now with CommandBox.
In pursuit of the smallest possible Docker images, we have CommandBox light which is built on Lucee Light. We also have a box "thin" binary you can swap out with the full self-extracting binary when using CommandBox in custom docker images. Check out Pete Freitag's Minibox image to see both of these in use in a super tiny 78 Meg docker image. More docs here:
You've always been able to specify custom menu items in your server.json or global config settings, but we've kicked it up a notch. Not only can you contribute to existing sub menus now, you can execute arbitrary native commands synchronously or async.
1
{
2
"trayOptions":[
3
{
4
"label":"Does the Internet work?",
5
"action":"run",
6
"command":"ping google.com"
7
},
8
{
9
"label":"Math is math!",
10
"action":"runAsync",
11
"command":"calc.exe"
12
},
13
{
14
"label":"Update dependencies",
15
"action":"runTerminal",
16
"command":"box update"
17
}
18
]
19
}
Copied!
Release Notes
Here's the full list of tickets closed down in the 5.1.0 release.
Bug
[COMMANDBOX-1121] - Runwar deadlocks when using Lucee server warmup flag
[COMMANDBOX-1122] - Server start console output isn't always formatted correctly
[COMMANDBOX-1125] - Boolean env var causes error on server start