Blog

CommandBox 4.8.0 Released

Brad Wood September 17, 2019

Spread the word

Brad Wood

September 17, 2019

Spread the word


Share your thoughts

We're proud to announce the immediate release of CommandBox 4.8.0 which is a minor release, containing a handful of bug fixes, new features, and improvements.  

Download

You can download the new release on our product page:

https://www.ortussolutions.com/products/commandbox

Please note this release is still using Lucee 5.2 to power the CLI due to unaddressed bugs still in the 5.3 series of releases.  We are still working with LAS to get those fixed, but in the mean time, we still recommend using Java 8 for your CLI to avoid errors.

Documentation

The docs have been updated and are available here:

https://commandbox.ortusbooks.com/v/4.8.0/

Overview

Here's a few notable changes in CommandBox 4.8.0:

Cached HTTP Downloads

You can now cache downloads using the HTTP(S) endpoints using the following syntaxes:

install https+cached://downloads.ortussolutions.com/ortussolutions/coldbox-modules/cbi18n/1.4.0/cbi18n-1.4.0.zip

start cfengine=http+cached://update.lucee.org/rest/update/provider/forgebox/5.3.3.60-RC

This will speed up builds.

Change to Previous Directory

Thanks to a pull request from John Berquist, we've borrowed a Bash and Powershell feature of being able to change back to your previous working directory by typing this:

cd -

Better Tab Completion

Thanks to more pull requests from John Berquist, you can use file and folder based tab completion when typing native binaries from CommandBox 

!foo bar "C:/Program Files/baz/myFile.cf_

And tab completion also works better now when typing a quoted string such as a file path that contains a space.  This is a huge timesaver!

cd "C:/program Fi_

Access to Intercept data in package scripts

Package scripts that are fired from internal interception points, can access any intercept data via environment variables.  This example writes a file into a server home directory when the server starts, using an environment variable to dynamically find the correct path.

package set scripts.onServerStart="touch \$ {interceptData.SERVERINFO.serverHomeDirectory}/hi.txt"

Release Notes

Here are the full release notes for CommandBox 4.8.0:

Bug

  • [COMMANDBOX-991] - Can't always install modules - git error: Directory already exists
  • [COMMANDBOX-994] - regex metachars not escaped properly in first token of run command
  • [COMMANDBOX-998] - testbox watch command doesn't obey verbose flag in box.json
  • [COMMANDBOX-999] - Sometimes line breaks leak to console when using expansions
  • [COMMANDBOX-1000] - Pass ad-hoc parameters to package scripts
  • [COMMANDBOX-1003] - Servers bound to 0.0.0.0 don't open useful browser URL
  • [COMMANDBOX-1030] - unicode chars not read from readme files when publishing
  • [COMMANDBOX-1040] - Native OS execution doesn't handle exit on fail for *nix
  • [COMMANDBOX-1041] - Install path not respected when createPackageDirectory set to false

New Feature

Improvement

Add Your Comment

Recent Entries

BoxLang 1.0.0 Beta 7 Launched

BoxLang 1.0.0 Beta 7 Launched

We are pleased to announce the release of BoxLang 1.0.0-Beta 7! This latest beta version includes improvements and essential bug fixes, but more importantly it certifies the execution of ColdBox HMVC and TestBox.

What is BoxLang?

BoxLang is a modern dynamic JVM language that can be deployed on multiple runtimes: operating system (Windows/Mac/*nix/Embedded), web server, lambda, iOS, android, web assembly, and more. BoxLang combines many features from different progr

Luis Majano
Luis Majano
July 26, 2024
New BoxLang Feature: Java Method References and Higher-Order Functions

New BoxLang Feature: Java Method References and Higher-Order Functions

We’ve added more goodies to our BoxLang Java interop: method references and higher-order functions. CFML has never let you do these things, making Java Interop feel like a second-class citizen. But with BoxLang, we’re elevating Java integration to a new level.

Maria Jose Herrera
Maria Jose Herrera
July 26, 2024
Level Up Your ColdFusion Skills with our Virtual Live Training: ColdBox from Zero to Hero

Level Up Your ColdFusion Skills with our Virtual Live Training: ColdBox from Zero to Hero

Level Up Your ColdFusion Skills with our Virtual Live Training: ColdBox from Zero to Hero

Are you a CFML developer looking to take your skills to the next level? Look no further than the ColdBox from Zero to Hero Virtual Live Training! This intensive two-day course will equip you with the knowledge and expertise to build robust and scalable applications using ColdBox 7, the latest version of the most popular CFML MVC framework.

What You'll Learn:

  • Master the Fun...

Cristobal Escobar
Cristobal Escobar
July 24, 2024