The Ortus BlogBox

"Ortus: A rise, beginning, coming into being, born, the origin!"

 

 

Category Filtering: 'wirebox'

 

ColdBox 5.3.0 Released!

Luis Majano
Jan 14, 2019

 

What's New With 5.3.0

ColdBox 5.3.0 is a minor version update with lots of fixes, improvements and some new features not only to the ColdBox core but to LogBox and WireBox standalone versions alike. Below are the major areas of improvement and the full release notes. To update your installations just issue the commands below with CommandBox:

  • update coldbox - Update ColdBox Platform
  • update logbox - Update standalone LogBox
  • update wirebox - Update standalone WireBox

ColdBox


The major areas of improvement for the ColdBox core where on tons of fixes, however there are some nice new features discussed below.

Bugs

  • [COLDBOX-741] - Defining UDF as COLDBOX_FAIL_FAST no longer returns false
  • [COLDBOX-750] - Fixed typo(s) in call of function prePend() on routing
  • [COLDBOX-752] - base url not eliminating double slashes
  • [COLDBOX-756] - Setter for valid extensions is setting the wrong variable
  • [COLDBOX-759] - Cleanup the with closure on group routing to avoid leakage

New Features

  • [COLDBOX-753] - Add new flag to router: multiDomainDiscovery that can be turned on/off

Improvements

  • [COLDBOX-742] - Add trimming to asset loader to avoid spaces on links
  • [COLDBOX-744] - InterceptorState + EventPool uses syncrhonizedMap that has locking issues: refactor to avoid these issues
  • [COLDBOX-754] - set initiated bit for ColdBox after modules are activated
  • [COLDBOX-760] - Performance improvements for interception registrations and discovery

LogBox

Improvements

  • [LOGBOX-32] - Add test and fix for adding a LogBox category after the fact

WireBox

Improvements

  • [WIREBOX-79] - Account for leading slashes in mapDirectory()
  • [WIREBOX-80] - Throw a nicer DSL error if ColdBox is not linked
  • [WIREBOX-81] - Performance improvements for the construction of transients
CacheBox, ColdBox MVC, ColdFusion, LogBox, News, Releases, WireBox 0

ColdBox 5.2.0 Released!

Luis Majano
Oct 18, 2018

 

What's New With 5.2.0

ColdBox 5.2.0 is a minor version update with lots of fixes, improvements and some new features not only to the ColdBox core but to LogBox and WireBox standalone versions alike. Below are the major areas of improvement and the full release notes. To update your installations just issue the commands below with CommandBox:

  • update coldbox - Update ColdBox Platform
  • update logbox - Update standalone LogBox
  • update wirebox - Update standalone WireBox

ColdBox


The major areas of improvement for the ColdBox core where on tons of fixes, however there are some nice new features discussed below.

Bugs

  • [COLDBOX-597] - Function addAsset generate wrong link if asset path contains ".js"
  • [COLDBOX-668] - Make implicit views case sensitive by default for linux systems
  • [COLDBOX-677] - HTML HELPER - Fix a requirement for columnName if column is defined
  • [COLDBOX-696] - Passing headers to `request` breaks RoutingService when in test mode
  • [COLDBOX-724] - Add ENV overload in detectEnvironment() via ENVIRONMENT system setting/property
  • [COLDBOX-726] - setNextEvent does not exist in coldbox.system.web.Controller
  • [COLDBOX-727] - fail fast strong typed to boolean, update to allow custom closures/lambdas
  • [COLDBOX-729] - getRenderData\(\) in base test case was not looking at the right request collection
  • [COLDBOX-732] - Fail fast can't be turned off for original behavior of ColdBox 4
  • [COLDBOX-736] - Module mappings disappear when not unloading ColdBox in base test case
  • [COLDBOX-738] - Clear not working on string builders: Use setLength\(0\) since clear is not a method on StringBuilder
  • [COLDBOX-740] - When using group\(\)operations with a handler and no explicit handler routing call added, route never registered the handler

New Features

  • [COLDBOX-722] - New global directive: autoMapModels which if true, it will map all root models just like modules do.

This will allow root models to behave like modules where all models are registered automatically for you but with no namespace.

  • [COLDBOX-737] - toAction() terminator is missing from the new router DSL

This terminator was missing from the new Routing DSL. This will allow you to build up routes that terminate at an action.

  • [COLDBOX-720] - Register config/Router.cfc as an interceptor

The main application router and ALL module routers are now also interceptors.

Improvements

  • [COLDBOX-730] - Implicitly pass args from renderLayout() into the rendered views
  • [COLDBOX-739] - List modules which have already been processed when a module cannot be activated to help with debugging

LogBox


Bugs

  • [LOGBOX-29] - when using async option on FileAppender, nothing logs, well now it does!

New Features

  • [LOGBOX-31] - Add defaultValue arguments to getProperty() methods on abstract appenders

Improvements

  • [LOGBOX-30] - Leave off text "ExtraInfo: " from console appender if empty string

WireBox


Bugs

  • [WIREBOX-76] - Virtual inheritance not injecting generic getters and setters correctly on target objects
  • [WIREBOX-77] - Virtual inheritance not inheriting init from super class

Improvements

  • [WIREBOX-51] - Add method to binder to override alias of current mapping, by passing the current mapping to the influencer closure
  • [WIREBOX-75] - Don't exclude path in parent mapping destinations
  • [WIREBOX-78] - Simplify error message for missing dependency to be human readable
CacheBox, ColdBox MVC, ColdFusion, LogBox, News, Releases, WireBox 0

ColdBox 5.1.4 Released!

Luis Majano
Aug 13, 2018

 

Two patch releases have gone out the door for ColdBox, check out the tickets:

What's New With 5.1.3 and 5.1.4

Bugs

  • [COLDBOX-715] - Elvis operator inconsistencies on Adobe Engines, please Adobe, patch the engines and fix your compiler!
  • COLDBOX-718 - Left one encodeforhtml in textarea that was missing.

Improvements

  • [COLDBOX-237] - Some HTMLHelper method still need escaping as certain values should never be HTML
  • [COLDBOX-716] - determine session/client state via CF getApplicationMetadata() instead of isDefined() to avoid load issues for flash ram
  • [COLDBOX-717] - RemotingUtil converted to cfscript #367
CacheBox, ColdBox MVC, ColdFusion, LogBox, News, Releases, WireBox 0

ColdBox 5.1.2 Released!

Luis Majano
Jul 24, 2018

 

What's New With 5.1.2

This is a patch release for ColdBox

Bugs/Regressions

  • [COLDBOX-711] - HTML helper cannot add fontawesome icons in button due to XSS enabled by default
  • [COLDBOX-712] - ColdBox shutdown code that uses CF mappings for modules fails on fwreinit
  • [COLDBOX-713] - addAsset throw error when called from handlers

Improvements

  • [COLDBOX-714] - Too many issues when encoding by default for HTML Helper, revert to non-encoded and provide ways to encode globally and a-la-carte

HTML Helper Changes

The HTML Helper has been migrated to an internal module in this release. It allows you to configure it via the following configuration settings in your ColdBox.cfc.

moduleSettings = {
    htmlHelper = {
        // Base path for loading JavaScript files
        js_path = "",
        // Base path for loading CSS files
        css_path = "",
        // Auto-XSS encode values when using the HTML Helper output methods
        encodeValues = false
    }
}

Injection Shortcut

You can also now inject the HTML helper anywhere using it's injection DSL Shortcut of @HTMLHelper

CacheBox, ColdBox MVC, ColdFusion, LogBox, News, Releases, WireBox 0

ColdBox 5.1.1 Released!

Luis Majano
Jul 02, 2018

 

ColdBox 5.1.1 patch update has been released today. This patch covers some major regresssions and improvements for stability. You can find the release notes below.

Bug

  • [COLDBOX-703] - regression onmissingmethod on html helper method was public and changed to private
  • [COLDBOX-704] - viewModule logic was not working at all yet again.

Improvement

  • [COLDBOX-705] - REmove setting throwOnInvalidInterceptionStates, makes no sense anymore
  • [COLDBOX-706] - Moved order of event manager states the injector provides to a ColdBox app so the binder can listen on itself
CacheBox, ColdBox MVC, ColdFusion, LogBox, News, Releases, WireBox 0

ColdBox 5.1.0 Released!

Luis Majano
Jun 28, 2018

 

Ohh happy day! ColdBox 5.1.0 is now available. Using CommandBox just issue a simple update coldbox and you are done! This release is fully documented and you can find the what's new guide here: https://coldbox.ortusbooks.com/intro/introduction/whats-new-with-5.1.0. Below you will find the major areas of improvement for this release and you can visit the link for the full release notes.

CacheBox, ColdBox MVC, ColdFusion, LogBox, News, Releases, WireBox 0

ColdBox and TestBox Microsoft Visual Studio Code Support Released

Luis Majano
Nov 29, 2017

 

We are very excited today to announce the immediate release of our first two extensions for Microsoft Visual Studio Code Our ColdBox Extension is very similar to our Sublime extension but better! I have to admit that VSCode is absolutely great and we have been able to not only release our collection of snippets but give you typeahead and scope recognition in this extension.

CacheBox, ColdBox MVC, IDE, LogBox, Releases, TestBox, WireBox 0

CFSummit2017 - ColdBox Hierarchical MVC - Transform Your Monolith

Luis Majano
Nov 20, 2017

 

Here are our slides from our ColdBox Hierarchical MVC presentation at this year's Adobe ColdFusion Summit. You can also find the source code for our demo here: https://github.com/lmajano/hmvc-presso-demo or you can install it via CommandBox: box install lmajano/hmvc-presso-demo.

ColdBox MVC, ColdFusion, CommandBox, Community, Conferences, Docker, Presentations, REST, WireBox 0

Injecting Functions with WireBox

Brad Wood
Jan 31, 2017

 

This is a guest post by Eric Peterson.

I had a unique use-case the other day, and I wanted to share the solution with you all.

I use [a custom `Collection` component](https://github.com/elpete/CFCollection) to handle many higher-order functions like map, reduce, filter, etc. Basically, it wraps an array or a query and lets you continue chaining these functions, kind of like [wrapping a value with lodash in Javascript](https://lodash.com/docs/4.17.4#lodash).

ColdBox MVC, Tutorials, WireBox 0

ColdBox 4.3.0 Released

Luis Majano
Oct 19, 2016

 

We are pleased to announce the general availability of ColdBox 4.3.0, WireBox 4.3.0, CacheBox 4.3.0 and LogBox 4.3.0. This is a minor release with some great improvements and lots of bug fixes. So let's look at the major things in this release.

CacheBox, ColdBox MVC, ColdFusion, CommandBox, News, Releases, WireBox 0