Blog

Luis Majano

June 03, 2026

Spread the word


Share your thoughts

Every application eventually has to deal with deeply nested data. JSON API responses with payloads six levels deep. Configuration files where the key you need is buried inside an array of objects, one of which has a null for the field you thought was required. Module metadata structures that nobody wrote a schema for. Runtime introspection data shaped like a tree that grew without a plan.

BoxLang introduced DataNavigators in version 1 so you can use dataNavigate(), call .from() to scope down, chain your .get() calls, provide defaults everywhere. Clean and safe. But even with the fluent API, extracting a specific slice of a complex payload still required multiple navigator hops, or a loop, or defensive key-exists checks stacked three levels deep.

BoxLang 1.14.0 changes that. The DataNavigator now understands JSONPath-style path expressions natively, and a new query() method lets you fan out across a structure and collect every match in a single call. Less ceremony. More signal.


A Quick Refresher: What is the DataNavigator?

The DataNavigator is BoxLang's fluent helper for safely moving through nested data structures: Structs, Arrays, parsed JSON, configuration documents, runtime metadata. The key feature is that it never throws when a path doesn't exist -- it returns a null, a default, or an empty navigator depending on how you call it.

// The old way -- three levels of structKeyExists
if ( structKeyExists( config, "database" ) ) {
    if ( structKeyExists( config.database, "connection" ) ) {
        maxSize = config.database.connection.pool?.maxSize ?: 10
    }
}

// With DataNavigator
maxSize = dataNavigate( config ).get( ["database", "connection", "pool", "maxSize"], 10 )

You create a navigator with the dataNavigate() BIF, which accepts a Struct, a JSON string, a file path to a JSON file, or a Java Map. From there, you use .from() to scope, .has() to check, .get() / .getOrThrow() to extract.

That API still works exactly as it always did. What 1.14.0 adds is a compact expression language that you can drop directly into those same methods.


What Is New in 1.14.0

Four focused additions to the DataNavigator:

+------------------------------------------+
|  DataNavigator  -- 1.14.0 additions      |
|                                          |
|  get( "dot.path[0]" )    <-- JSONPath    |
|  has( "..recursive" )    <-- JSONPath    |
|  from( "dot.path" )      <-- JSONPath    |
|                                          |
|  query( "path[*].key" )  <-- NEW: multi  |
|  getOrDefault( key, v )  <-- NEW: safe   |
|  getByKey( "x.y" )       <-- NEW: exact  |
|  hasByKey( "x.y" )       <-- NEW: exact  |
+------------------------------------------+
  • JSONPath expressions in get(), has(), from() -- when you pass a single string containing . or [, it is treated as a path expression. Multi-argument and plain key calls behave exactly as before.
  • query(path) -- returns every match as a BoxLang Array. Wildcards, slices, filters, and recursive descent can produce multiple matches; query() collects them all.
  • getOrDefault(key, value) -- an explicit-fallback variant of get(). Guaranteed non-null. Cleaner than the null-check pattern.
  • getByKey(key) / hasByKey(key) -- exact key lookup where dots and brackets are literal, not separators. For payloads that have keys like "db.host" as an actual key name.

The Path Expression Syntax

BoxLang's JSONPath dialect covers the operations that matter day-to-day. Here is the full reference:

Path Expression Syntax
======================

  boxlang.settings.hello       Dot notation: navigate nested struct keys
  keywords[1]                  Array index: 1-based, returns that element
  ..hello                      Recursive descent: first match anywhere in tree
  items[*].name                Wildcard: all elements, then .name on each
  keywords[1:3]                Slice: 1-based inclusive range
  keywords[3:]                 Open-ended slice: index 3 to end
  items[?(@.active == true)]   Filter: elements matching a condition
  items[?(@.priority > 2)]     Filter: numeric comparison
  items[?(@.active && @.n>2)]  Filter: combined AND condition
  items[?(@.email)]            Filter: existence check (truthy field)
  items[?(@.active)].name      Filter + key: extract field from matches

Whitespace is tolerated anywhere:
  "boxlang . settings . hello"   == "boxlang.settings.hello"
  "keywords [ * ]"               == "keywords[*]"

Trigger rule:
  Single string with "." or "[" -> path expression
  Multiple arguments or no separators -> original variadic key behavior

All of this syntax is available inside get(), has(), from(), and query().


Real-World Scenarios

Scenario 1: Processing an API Response

You are consuming a third-party REST API. The payload looks like this:

{
  "status": "ok",
  "data": {
    "store": {
      "products": [
        { "id": 1, "name": "Keyboard", "price": 149.99, "inStock": true,  "category": "hardware" },
        { "id": 2, "name": "Mouse",    "price": 49.99,  "inStock": false, "category": "hardware" },
        { "id": 3, "name": "License",  "price": 299.00, "inStock": true,  "category": "software" },
        { "id": 4, "name": "Cable",    "price": 9.99,   "inStock": true,  "category": "hardware" }
      ]
    }
  }
}

Before 1.14.0, pulling in-stock product names required navigating to the array and then looping:

// Pre-1.14.0
products = dataNavigate( apiResponse )
    .from( ["data", "store", "products"] )
    .get( [] )

inStockNames = products
    .filter( p -> p.inStock )
    .map( p -> p.name )

With JSONPath expressions in 1.14.0, the navigator handles the traversal and filter in a single call:

nav = dataNavigate( apiResponse )

// All in-stock product names in one expression
names = nav.query( "data.store.products[?(@.inStock == true)].name" )
// => [ "Keyboard", "License", "Cable" ]

// Only hardware items over $50
expensive = nav.query( "data.store.products[?(@.category == 'hardware' && @.price > 50)]" )
// => [ { id:1, name:"Keyboard", price:149.99, ... } ]

// First in-stock product (single result)
first = nav.get( "data.store.products[?(@.inStock == true)]" )
// => { id:1, name:"Keyboard", ... }

// Total product count (safe, with default)
count = nav.getOrDefault( "data.store.meta.count", 0 )
// => 0 (field doesn't exist, default returned cleanly)

Note the distinction: get() returns the first match. query() returns all matches as an Array.

Scenario 2: Configuration Introspection

You are writing a module that needs to inspect the runtime's boxlang.json and extract settings across nested paths. Some keys may or may not be present depending on the deployment environment.

config = dataNavigate( server.system.config )

// Dot-path reads -- no chained .from() calls needed
logLevel   = config.getOrDefault( "logging.level", "WARN" )
datasource = config.getOrDefault( "defaultDatasource", "main" )
cacheMax   = config.getOrDefault( "caches.default.maxObjects", 1000 )

// Recursive descent -- find any "timeout" key anywhere in the config tree
// useful when you don't know the exact nesting
timeout = config.get( "..timeout", 30 )

// Existence check before consuming an optional section
if ( config.has( "modules.bx-ai.providers[*]" ) ) {
    providers = config.query( "modules.bx-ai.providers[*].name" )
    // => [ "openai", "anthropic", "bedrock" ]
}

// Keys that literally contain dots (common in Java-style property files)
// Use getByKey() to skip path parsing entirely
jdbcUrl = config.getByKey( "datasources.main.db.url" )
//                          ^ treated as ONE literal key, not a path

The getByKey() / hasByKey() distinction matters whenever your data was shaped by a Java properties system, a dotted-key config library, or any payload where a key name contains . or [ as real characters.

Scenario 3: Wildcard and Slice Extraction

You have a module's metadata struct and want to extract specific slices for a dashboard or diagnostic tool.

moduleData = {
    "name": "bx-ai",
    "version": "3.2.0",
    "providers": [
        { "name": "openai",    "models": [ "gpt-4o", "gpt-4-turbo", "gpt-3.5-turbo" ] },
        { "name": "anthropic", "models": [ "claude-opus-4-5", "claude-sonnet-4-5" ] },
        { "name": "bedrock",   "models": [ "titan", "llama3" ] }
    ],
    "settings": {
        "timeout": 30,
        "retries": 3,
        "debug": false
    }
}

nav = dataNavigate( moduleData )

// All provider names
nav.query( "providers[*].name" )
// => [ "openai", "anthropic", "bedrock" ]

// First two providers only (slice)
nav.query( "providers[1:2]" )
// => [ { name:"openai", ... }, { name:"anthropic", ... } ]

// All model names across all providers -- wildcard + wildcard
nav.query( "providers[*].models[*]" )
// => [ "gpt-4o", "gpt-4-turbo", "gpt-3.5-turbo", "claude-opus-4-5", ... ]

// All settings values (wildcard on struct)
nav.query( "settings.*" )
// => [ 30, 3, false ]

// Providers that have more than 2 models
nav.query( "providers[?(@.models)]" )
// => all providers that have a models field (existence check)

Choosing the Right Method

The four retrieval methods serve distinct purposes. Use this as a guide:

+-----------------+----------------------------------------------+
| Method          | Use When                                     |
+-----------------+----------------------------------------------+
| get(path, dflt) | You expect one value; path may not exist;    |
|                 | returns null or default                      |
+-----------------+----------------------------------------------+
| getOrDefault(   | Same as get() but you want to guarantee a    |
|   path, value ) | non-null return with an explicit fallback    |
+-----------------+----------------------------------------------+
| getOrThrow(path)| Value is REQUIRED. Missing key is a fatal   |
|                 | configuration error; fail fast               |
+-----------------+----------------------------------------------+
| query(path)     | You expect MULTIPLE matches: wildcards,      |
|                 | slices, filters that fan out; always Array   |
+-----------------+----------------------------------------------+
| getByKey(key)   | Key name literally contains "." or "[";      |
|                 | you want exact lookup, no path parsing       |
+-----------------+----------------------------------------------+

One rule of thumb: if your path expression contains [*], [n:m], .., or a filter [?(...)], reach for query(). These operators can match zero, one, or many nodes. get() only returns the first hit and silently drops the rest.


Putting It All Together

Here is a complete, realistic example: loading and validating a multi-environment application config, then extracting just what you need from each section.

class AppConfigLoader {

    function load( required string environment ) {
        var nav = dataNavigate( expandPath( "/config/app.json" ) )

        // Required fields -- fail fast if missing
        var appName = nav.getOrThrow( "app.name" )
        var appVersion = nav.getOrThrow( "app.version" )

        // Scope to the requested environment
        var envNav = nav.from( "environments.#environment#" )
        if ( envNav.isEmpty() ) {
            throw( type="ConfigError", message="Unknown environment: #environment#" )
        }

        // Gather database settings with defaults
        var db = {
            host:     envNav.getOrDefault( "database.host", "localhost" ),
            port:     envNav.getOrDefault( "database.port", 5432 ),
            ssl:      envNav.getOrDefault( "database.ssl", true ),
            poolMax:  envNav.getOrDefault( "database.pool.maxConnections", 10 )
        }

        // Collect all enabled feature flags
        var enabledFeatures = envNav.query( "features[?(@.enabled == true)].name" )

        // Find the first configured cache provider (recursive descent)
        var cacheProvider = envNav.get( "..cacheProvider", "default" )

        // Any module-level overrides -- wildcard across all modules
        var moduleOverrides = envNav.query( "modules[*].overrides" )

        return {
            name:             appName,
            version:          appVersion,
            environment:      environment,
            database:         db,
            enabledFeatures:  enabledFeatures,
            cacheProvider:    cacheProvider,
            moduleOverrides:  moduleOverrides
        }
    }

}

No loops. No null guard towers. No nested structKeyExists() chains. The path expressions describe the shape of the data you want, and the navigator handles the traversal.


Upgrade and Explore

JSONPath support in the DataNavigator ships in BoxLang 1.14.0, available today. No dependencies to add, no configuration to change. If you are already using dataNavigate(), the new expressions are a drop-in enhancement. Existing variadic-key calls are untouched.

Full documentation is at boxlang.ortusbooks.com/boxlang-language/syntax/data-navigators.

The complete 1.14.0 release notes, including Dynamic Sets, Ranges, Inner Classes, Query Transformers, and all 65 closed issues, are at boxlang.ortusbooks.com/readme/release-history/1.14.0.


Resources


BoxLang is a modern, multi-runtime JVM language by Ortus Solutions. Built for the web, the cloud, and the command line. Open source, professionally supported.

Add Your Comment

Recent Entries

BoxLang Scheduled Tasks Just Got Clustered!

BoxLang Scheduled Tasks Just Got Clustered!

I’ve been heads-down on clustering support for BoxLang, and the first feature to ride on top of it is the task scheduler. If you run more than one BoxLang server, you can now mark a scheduled task as clustered and each occurrence of that task runs on one node instead of on every node at once.

Maria Jose Herrera
Maria Jose Herrera
December 04, 2026
BoxLang 1.20: Clustering Services, Symbolic Links, HTTP Retries and more

BoxLang 1.20: Clustering Services, Symbolic Links, HTTP Retries and more

BoxLang 1.20: Run Once, Across the Fleet

BoxLang 1.20: Clustering Services, clustered scheduled tasks, HTTP retry, live process control and symbolic links

Ortus Solutions today announces BoxLang 1.20.0, packed with tons of fixes, improvements turesand some compelling new features. Meet the BoxLang Clustering Services and clustered scheduled tasks, so your nightly job runs once across every node instead of once per node. Add built-in HTTP retry with withRetry(), live process output with cancellation, first-class symbolic links, faster object creation, tighter security and a long list of CFML compatibility fixes. 55 issues, one clear direction: run real production systems on BoxLang with confidence.

class {

	function configure() {
		scheduler.task( "nightly-report" )
			.call( () => createObject( "ReportService" ).build() )
			.everyDayAt( "02:00" )
			.setCluster( true )
	}

}

Deploy that same scheduler to ten servers. The report builds once. 🚀

BoxLang Clustering Services 🌐

Run the same application on many servers and the servers need to know about each other. Until now BoxLang left that to you: a database table here, a Redis key there, a "node 1 is special" flag everywhere.

BoxLang 1.20 makes it part of the runtime. BoxLang Clustering Services is a framework for building cluster-aware features, with a full API that is yours to use. It is not a scheduler setting. Scheduled tasks are simply the first feature we built on top of it, and your own code and modules get the same foundation.

BoxLang Clustering Services: a framework with identity, heartbeat, node attributes and a fleet view, sitting on a shared cache, with clustered scheduled tasks and your own features built on top

What every node gets

  • Node identity. Every node has an id, {hostname}-{pid} by default, or the nodeId you set when your platform gives you a stable pod or task name
  • Named clusters. Nodes with the same cluster.name see each other. Different names never do, so one shared cache can serve several clusters
  • Membership and heartbeat. Each node rewrites its own record in the shared cache every 5 seconds by default. A node that stops beating drops out of the fleet on its own after about three missed beats
  • Node attributes. An open struct on every node record. Any feature can add keys of any type, and the feature that adds them owns their meaning
  • A view of the fleet. A lazily refreshed snapshot of every node, with helpers to read one node, the peers, or a single attribute
  • Any shared store. Coordination goes through a BoxLang cache backed by a store every node can see, such as Redis, a JDBC store, or a FileSystemStore on a shared volume

A full API, not just tasks

The scheduler uses this API like anyone else would. It publishes a rolling measure of how busy each node is as the attribute scheduler.taskSeconds, and peers read it to share work by load. You can do the same for your own data in three ways.

Push. Hold the service and write to it whenever you like. The next heartbeat picks up whatever is there. Java integrators reach it with BoxRuntime.getInstance().getClusterService():

ClusterService cluster = BoxRuntime.getInstance().getClusterService();

cluster.setAttribute( "perf.cpu.load", 0.42 );
cluster.mergeAttributes( Struct.of( Key.of( "region" ), "us-east" ) );
cluster.removeAttribute( "perf.cpu.load" );

Contribute. Register a supplier and its struct is merged into the node's attributes before each record write. A contributor that throws is logged and skipped, so no contributor can make a node look dead:

cluster.addAttributeContributor( () -> Struct.of( Key.of( "queueDepth" ), queue.size() ) );

Announce. On every heartbeat BoxLang fires the onClusterNodeAttributes interception point before it writes the record. Listen for it from BoxLang and add your own keys:

// Interceptor: add this node's data when the announcement fires
function onClusterNodeAttributes( data ) {
	data.attributes[ "region" ] = "us-east"
}

Then read the fleet from any node:

  • getNodes() returns every known node, including this one, and getPeers() returns everyone else
  • getNode( nodeId ) returns one record, and getNodeAttribute( nodeId, path, default ) returns one value by dotted path
  • getNodeNavigator( nodeId ) wraps a record for chaining, and getClusterReport() gives a diagnostic view of the node id, cluster name, cache, mode, attributes and known nodes
Object load = cluster.getNodeAttribute( "web-2", "attributes.perf.cpu.load", 0.0 );

The peer view is lazy. Nothing polls on a timer, so a deployment where nothing asks for peers does no peer reads at all. And getNodeAttribute is forgiving by design: the default shapes the result, and attributes older than three heartbeats return your default, so one feature's bad value or a stale node cannot break another feature's read.

Built to stay small

  • It never decides anything. No leader election, no "who is busiest", no claim arbitration. The service publishes data and hands it back, and every judgment belongs to the feature built on top. That keeps it small and stops it from growing into a distributed consensus framework
  • Best effort coordination. The shared cache offers no atomic create, so features on top must tolerate a narrow window where two nodes act at once
  • One root in the cache. Everything lives under bxcluster:{cluster}:, and each feature owns its own segment beneath it
  • No cost when unused. A node that is not in a cluster does no coordination work

What is built on it

  • Clustered scheduled tasks ship in 1.20.0, and you will meet them next
  • Cache invalidation, distributed locking and per-node health aggregation are the design intent. The service is built so features like these can sit on it, and none of them ship on it in 1.20.0

Turn it on with a top-level cluster block in boxlang.json on every node, and point cacheName at a cache they can all reach. The bundled default cache is local to each JVM, so nodes sharing it never see each other. Use Redis, a JDBC store, or a FileSystemStore on a shared volume. At startup BoxLang writes, reads back and removes a test value to prove the cache works, so a misconfigured cache shows up immediately:

{
	"cluster": {
		"enabled": true,
		"cacheName": "bxcluster"
	},
	"scheduler": {
		"clusterMode": "balanced"
	},
	"caches": {
		"bxcluster": {
			"provider": "Redis",
			"properties": {
				"host": "redis.internal.example.com",
				"port": "6379"
			}
		}
	}
}

Clustered scheduled tasks (BL-2800)

The first feature built on Clustering Services. If you have ever deployed one codebase to several nodes, you know the problem: every node loads the same Scheduler.bx, so everyDayAt( "02:00" ) fires on every server. Nightly cleanups, billing runs, report generation and cache warm-ups all run N times. Teams have worked around it for years with database locks, sticky servers and "only run on node 1" flags.

Three nodes share a cache, claim each scheduled occurrence once, and one node runs it

Mark a task as clustered with setCluster( true ), or cluster="true" on bx:schedule, and each occurrence runs on exactly one node. You get:

  • Load-based sharing of occurrences across the fleet. eager mode (the default) uses a short random delay, and balanced mode lets nodes rank each other by published load so an idle node takes the job
  • Failover without double runs. A clustered task never re-runs an occurrence. A crashed run is recorded as abandoned and the next occurrence runs normally
  • Graceful shutdown with configurable grace periods
  • A full run history in scheduler.log
  • Overlap control. By default the next occurrence is skipped while the previous one is still running, or choose run to allow overlap
  • Familiar API. onOneServer() keeps working and now means setCluster( true )

Every node registers the exact same scheduler, unchanged. One honest note: claims go through a shared cache, which offers no atomic create, so in a very narrow window an occurrence can still run twice. Make clustered jobs idempotent. Opt individual tasks out when they must run everywhere:

class {

	function configure() {
		scheduler.task( "nightly-report" )
			.call( () => createObject( "ReportService" ).build() )
			.everyDayAt( "02:00" )
			.setCluster( true )

		// Needs to run on every node, for example to warm a local cache
		scheduler.task( "warm-local-cache" )
			.call( () => createObject( "CacheWarmer" ).run() )
			.every( 10, "minutes" )
			.setCluster( false )
	}

}

Prefer templates? bx:schedule takes the same controls through its cluster and overlap attributes.

Scheduling got more reliable all around while we were in there:

  • Reload from disk (BL-2519, BL-2520). bx:schedule action="reload" rebuilds a scheduler from the tasks file, and the new scheduler.reloadOnChange setting reloads tasks when the file changes
  • Late cron ticks no longer vanish. A tick queued behind other work now fires, and logs a warning with a thread-count hint when the executor is saturated
  • Constraints use the due time, so a late tick is not skipped by crossing midnight (BL-2838)
  • Executor sizing honors your config. It was always 10
  • Monthly tasks on the 31st now clamp to the last day of shorter months instead of running daily (BL-2698)

Stop writing retry loops: HTTP retry 🔁

Calls to other services fail for reasons that go away on their own: a rate limit, a busy gateway, a slow response. Until now every team wrote the same retry loop, with the same bugs. In 1.20 (BL-2841) bx:http and the http() BIF retry transient failures for you. Retry is off until you ask for it, so nothing changes for existing code.

HTTP retry in BoxLang: a 503 then a 429 with Retry-After, then success, with retryCount in the result

One call is enough to get started:

result = http( "https://api.example.com/data" ).withRetry( 3 ).send()

Need more control? Pass a struct and watch each attempt:

result = http( "https://api.example.com/data" )
	.withRetry( {
		times    : 5,
		delay    : 1,
		backoff  : "exponential",
		maxDelay : 30
	} )
	.onRetry( ( attempt, httpResult, waitSeconds ) => println( "Attempt #attempt# failed, waiting #waitSeconds#s" ) )
	.send()

println( "Succeeded after #result.retryCount# retries" )

What you get:

  • Sensible defaults. It retries on 408, 429, 502, 503 and 504. Timeouts count as 408 and connection failures as 502. Change the list with withRetryOn() or add your own rule with withRetryWhen()
  • Fixed or exponential backoff, with a maxDelay cap
  • Retry-After is honored. A wait in seconds or an HTTP date replaces the backoff. If it is longer than retryMaxDelay, BoxLang stops retrying and returns that response
  • Final result only. onError, onComplete and throwOnError apply to the last attempt, and the result struct gains retryCount
  • Streams are safe. A request is never retried once a chunk callback has fired
  • Tags too. bx:http takes retry, retryDelay, retryOn, retryBackoff, retryMaxDelay, retryWhen and onRetry

Live process output and cancellation ⏯️

systemExecute() could already handle timeouts, working directories, environment overrides and output capture. BL-2809 covers the interactive case. Stream every line as it arrives, merge stderr into one live log, and cancel a runaway process cleanly.

jobId = createUUID()
application.jobs[ jobId ] = { cancelRequested : false }

result = systemExecute(
	name        = "ffmpeg",
	arguments   = [ "-i", "input.mp4", "output.mp4" ],
	mergeErrors = true,
	onLine      = ( line, stream ) => println( line ),
	isCancelled = () => application.jobs[ jobId ].cancelRequested
)

if ( result.cancelled ) {
	println( "Stopped by the user after: #result.output#" )
}

isCancelled() is polled while the process runs. When it returns true, BoxLang stops the process and everything it started, closes the streams and hands back what was captured so far. A cancellation is its own outcome: it is not a timeout and it is not a failed exit. Nothing changes for existing calls unless you opt in.

Blue/green style deploys, shared asset folders and current -> releases/v2 layouts all live on symbolic links. BoxLang 1.20 (BL-2820) brings native support:

A current symlink pointing at releases v2, and safe recursive delete that removes the link but never the target

base = getTempDirectory() & "deploy"
directoryCreate( base & "/releases/v2" )

fileCreateSymlink( base & "/current", "releases/v2" )

println( fileIsSymlink( base & "/current" ) )    // true
println( fileReadSymlink( base & "/current" ) )  // releases/v2

fileInfo() and getFileInfo() now report isLink and linkTarget, and directoryList() returns the same columns. directoryList(), directoryCopy(), directoryDelete() and bx:directory gain a followLinks argument that defaults to false.

That default is a security decision too (BL-2818). directoryDelete( path, true ) used to follow links and empty the folders they pointed to. Not anymore:

// Safe: the link is removed, the shared folder is untouched
directoryDelete( build, true )

// Opt in: the shared folder is emptied too
directoryDelete( build, true, true )

Even with followLinks=true, a link that leads back into the folder being deleted is removed as a link, so cycles can never loop or delete the folder you are standing in.

Our commitments, in this release 🤝

BoxLang is the software productivity platform for building, modernizing and running applications. 1.20 shows what that promise means in practice.

  • Drop-in for CFML. Your Adobe ColdFusion and Lucee code runs with no code changes through the bx-compat-cfml module. 1.20 keeps closing gaps: cfimport with taglib and prefix loads a directory of custom tags (BL-2722), cfzip action="list" returns a query (BL-2811), getPageContext().getRequest() returns the real servlet request (BL-2812), ImageRotate() matches Lucee and Adobe argument order (BL-2825), and serializeJSON( qry["col"] ) works as it does on Adobe (BL-2793)
  • Security first. A URL or form parameter named session, application, client or cffile can no longer replace that scope (BL-2802). External mappings are enforced for remote class requests and the root mapping (BL-2803, BL-2817). Recursive deletes no longer follow symbolic links (BL-2818)
  • Fast, and staying fast. Class lookup is now a single hash lookup, so new and createObject() no longer slow down as your application accumulates classes (BL-2805, BL-2798)
  • Resilient by default. Transient HTTP failures, late cron ticks, crashed cluster nodes and cancelled processes are now handled by the platform, so you stop hand-rolling the same safety nets in every project
  • Free and open. The BoxLang core is Apache 2.0. BoxLang+ is not priced by CPU cores, RAM, nodes or traffic, developer machines never count, and every BoxLang+ module includes a 60 day free trial. Estimate your own cost with the BoxLang calculator
  • Correctness you can trust. finally now runs when break or continue leaves a try (BL-2804), 19-digit integer literals compile (BL-2826), and queries over 1,048,576 rows no longer lose rows (BL-2717)

Moving to BoxLang? Meet the Migration Assistant 🧭

Everything above is easier to enjoy once you are on BoxLang. So we built the easy button.

The BoxLang Migration Assistant is a free desktop app that checks, audits and runs your Adobe ColdFusion or Lucee application on BoxLang, then builds your migration plan. Point it at your app folder and it walks you through every step. Your code never leaves your computer, and nothing is committed for you.

The BoxLang Migration Assistant flow: choose app, compile check, compatibility audit, server settings, generate files, test, migration plan

  1. Choose your app. It detects the engine from server.json (for example adobe@2023 or lucee@5), counts source files, and finds git, box.json and any CFConfig file
  2. Compile check. Every .cfm and .cfc is parsed with the real BoxLang compiler, the same check as boxlang check. Failures come with the line, the surrounding code and a fix prompt for your own LLM
  3. Compatibility audit. The CFML Feature Audit runs across your whole app and returns a compatibility score, the modules you need, and every feature with no BoxLang equivalent, with files and lines
  4. Server settings. Point CommandBox at your CFConfig export so datasources, mail servers and mappings come along, or start from a generated .boxlang.json
  5. Generate files. Preview, then write server.json, box.json, MIGRATION.md, AGENTS.md and the BoxLang migration skills for your AI coding agent, to a new git branch, your app folder or a copy
  6. Test it. One click starts your app on BoxLang through CommandBox and tells you when it answers
  7. Your migration plan. A checklist with status, steps, acceptance criteria and effort sizes, a Jira CSV and GitHub issues, one AI prompt that fixes the open items in order, and a management report you can save as a PDF

It runs on macOS (Apple Silicon), Windows (x64 and ARM) and Linux (x64 and ARM), and ships with its own Java runtime and BoxLang server, so there is nothing else to install. Prefer the command line? The same tools are yours: boxlang check, the CFML Feature Audit and the CFML Transpiler.

# Syntax and compile check across your app
boxlang check

# Install the CFML compatibility module on a CommandBox server
install bx-compat-cfml

Proof at scale: the U.S. Small Business Administration 🏛️

Big migrations are won on trust, and trust comes from real production systems. The U.S. Small Business Administration (SBA) moved from Adobe ColdFusion to BoxLang in about five months, across more than four million lines of code.

SBA migrated from Adobe ColdFusion to BoxLang in about five months, over four million lines of code

Four million lines. Government scale. Production-critical environments. No ground-up rewrite, and no multi-year program that never lands. That is the BoxLang promise made real: keep your investment in the code you have, shed the licensing lock-in, and modernize on a timeline a project plan can actually hold.

[SBA QUOTE PLACEHOLDER: add an approved quote from the SBA team here, with name, title and permission to publish]

Your application is different from theirs, but the path is the same: audit, run, fix what the audit finds, and ship. The Migration Assistant gives you that path as a checklist on day one.

Upgrading to 1.20: read this first ⚠️

1.20 is a drop-in upgrade for most apps. A few changes deserve a look before you roll it out:

  • Clustered tasks require clustering (breaking). A clustered task on a node with cluster.enabled=false now fails to start instead of running on every node. Enable the cluster block, or set the task's cluster to false
  • Tasks inherit scheduler.clusterTasks. With clustering enabled it defaults to true, so unset tasks become clustered. Set cluster to false per task, or set scheduler.clusterTasks to false to make clustering opt-in
  • scheduler.cacheName is deprecated. Use cluster.cacheName
  • Struct.putIfAbsent (BL-2808) is atomic and returns the existing value when the key is present, not null. Check for null if you treated a non-null return as "inserted"
  • Scheduler executor size now follows the threads of the executor named by scheduler.executor. Set threads explicitly if you relied on 10
  • Symbolic links. directoryDelete( path, true ) removes links as links, and directoryCopy() copies links as links. Pass followLinks=true for the old behavior
  • systemExecute() results gain a cancelled key, which matters if you iterate over result keys
  • Launchers. BOX_PROCESS_PATH is replaced by BOXLANG_PROCESS_PATH
  • HTTP retry is opt in, so existing bx:http and http() calls behave exactly as before

The complete list is in the 1.20.0 release notes.

Get started

Download BoxLang 1.20.0 from boxlang.io, read the release notes, and if you are coming from Adobe ColdFusion or Lucee, start with the Migration Assistant.

Resources

Run it once. Run it everywhere. Run it on BoxLang.

Luis Majano
Luis Majano
December 04, 2026
Get Your CFML Upgrade Back on the 2027 Roadmap

Get Your CFML Upgrade Back on the 2027 Roadmap

That ColdFusion or Lucee upgrade keeps slipping, and the same production issues keep taking time out of your sprint. See how Ortus Consulting and Professional Support can help you make room for both.

Maria Jose Herrera
Maria Jose Herrera
December 03, 2026