githubEdit

What's New in 3.1.1

Multi-Server

Now CommandBox will not only start up Lucee 4 servers with a single command, but you can start up Adobe ColdFusion, Railo, and even Luce 5 servers all at the same time. Now it's easier than ever to test your code across multiple platforms. CommandBox's embedded server makes for a fast and easy development machine too regardless of what CF engine you need.

# Start the latest stable Railo engine
CommandBox> start cfengine=railo

# Start a specific engine and version
CommandBox> start [email protected]

# Start any Java WAR
CommandBox> start WARPath=/var/www/myApp.war

ForgeBox 2.0 API

We'v released a brand new ForgeBox.ioarrow-up-right site with a new UI, fresh features, and a shiny new API. CommandBox 3.1.1 is now powered by the new ForgeBox site and API which includes features like having more than one version for a package.

Semantic Versioning support

When you install packages from ForgeBoxarrow-up-right, you can use fancy semver ranges to specify the versions of a package you're willing to install. CommandBox will automatically grab the latest version that satisfies your version range. This also applies to the "update" command which makes keeping your projects' dependencies up-to-date even easier.

Create user from CLI

Another feature of the new ForgeBoxarrow-up-right site is the ability to create a new ForgeBox user right from the CLI. After creation, you'll be logged in with your ForgeBox API Key which let's you update your packages.

Publish packages from the CLI

You no longer need to visit the ForgeBox web site to publish new or updated packages to ForgeBox. This is all available from the CLI once you've logged in. This means you can even automate the process of publishing to cut down on the number of manual steps it takes you to update your projects and share those changes with the community.

Interceptor-based CLI scripts

You can now run commands of your choosing automatically when certain events in the CLI happen (like publishing a package, or starting a server). You can also create ad-hoc collections of commands to run whenever you want to help automate things like building your projects or publishing to ForgeBox.

Have Fun

We hope you enjoy playing with the new features. As always, jump on our mailing listarrow-up-right, or the CFML slack teamarrow-up-right with any questions or feedback. And remember, we provide tools like CommandBox CLI free of charge to the community as professionally-supported arrow-up-rightopen sourcearrow-up-right. If you have specific needs in the form of features or training for your team, Ortus is here to help you. Contact usarrow-up-right with any questions.

Release Notes

Bug

New Feature

Task

Improvement

[COMMANDBOX-390arrow-up-right] - Switch create controller command to create handler command

Last updated

Was this helpful?