1.0.0-Beta27
January 31, 2025
Last updated
Was this helpful?
January 31, 2025
Last updated
Was this helpful?
This release brings enhanced XML handling, new CLI app support, improved error handling, and expanded interoperability with Java and CFML runtimes. We've also added new HTTP event hooks, improved caching strategies, and a streamlined class resolution process to make your applications more performant, even in debug modes.
✅ Enhanced XML Support – Improved cloning, merging, and namespace handling in XML operations.
✅ Unified Template & Script Grammars – BoxLang now seamlessly integrates both styles, bringing performance updates to the parser.
✅ Improved Java Interop – Automatic coercion of BoxLang arrays to native Java arrays and varargs
support
✅ Better Error Handling – More robust dump rendering and exception management.
✅ New CLI Features – Built-in functions like cliRead()
, cliGetArgs()
, and cliExit()
for pure CLI apps.
✅ Improved HTTP Handling – Proxy support, authentication, and new request/response events.
✅ Trusted Cache – Trusted cache is in the house, to get high performance in production
✅ Class location caches – More performance updates for class resolutions for BoxLang classes
With over 40 improvements, new features, and fixes, this release makes BoxLang even more powerful and stable! 🔥
Implement Node pass-through methods to handle cloning and merging of XML objects
Combine template and script grammars for boxlang
Error Getting method keyExists for class ortus.boxlang.runtime.types.XML
StructFindKey returns two findings on the same node if top level key is array
Better error handling when dump template errors
Return callback return value from runThreadInContext()
java interop coerce BL arrays to native arrays
Add toOptional() method to Attempt
coerce return values of proxied methods
output class of non-simple valued fields in class output for cfdump
prefer same mapping for relative class lookups in box resolver
Client scope needs more consistencies like the session scope when validating and expiration determination
Module service record was not registering interceptors with the module settings
HTTP Component - Implement Proxy Server handling
add default itnerface helper for the IBoxContext to get the running application name if any
Servlet to support Jakarta namespace
Move defaultCache to the caches section as default, verify it exists, else create it anyways
add http events: onHTTPRequest, onHTTPResponse
Expose buildRegistry() and encapsulate per location registration
CLI BIFS for working with pure cli apps: cliRead(), cliGetArgs(), cliExit()
Activate box resolvers cache according to request and app settings
New setting: classResolverCache : boolean [true] which controls if the class locators caches resolve lookups
varargs not working
CF casts Class instances to a String
Namespaced XML nodes not accessible by their non-namespaced names
XMLSearch Not Finding Correct Results When Namespaces are Present
XML asString Generates trailing line break
StructFindKey Not Returning owner values correctly
ASM compilation error
query with empty column name can't be dumped
WriteDump()/Dump() is broken in current snapshot build
DateCompare on two zero-hour strings fails with long overflow
XMLElemNew Illegal Character exception when using the namespace URI as the second argument
HTTP Component - Implement Basic Authentication
Cannot access variables scope in a static context -- but there is no variables access
timezone not always used in datetime caster
toUnmodifiableStruct() method not threadsafe
directoryList filter param does not accept a closure
Support for guid and uuid type
getDirectoryFromPath returns different result to Lucee and ACF
argument type of binary is not supported
argument type of email is not supported
CGI scope reporting 0 items
JSONSerialize pretty prints JSON which blows up outbound NDJSON
CFHTTParam Encodes Query Strings By Default
URLEncodedFormat Replaces Spaces with Plus Symbols
Bracket Notation Usage on Java Hashmaps Does not work.
Detail and Extended Info Can Be Null In Thrown Exceptions