The Ortus BlogBox

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

 

 

Category Filtering: 'coldfusion'

 

swagger SDK and cbSwagger v2 Released!

Luis Majano
Sep 03, 2019

 

We are very excited to finally update our swagger modules to version 2: swagger-sdk, cbSwagger. This major version has tons of new features and improvements when documenting ColdBox APIs. However, the biggest features are that we now support the latest Open API Spec => v3.0.2 and we can export your documentation in either JSON or YAML. Check out the release notes below to see all the great new improvements.

Swagger SDK v2.0

This module allows for software development using the Swagger/OpenAPI specification.

box install swagger-sdk

v2.0.0

  • Open API 3.02 support instead of swagger
  • New template layout
  • Engine removals: lucee4.5, ACF10, ACF11
  • Upgraded jackson-core to latest v2.9.9
  • Upgraded snakeyaml to latest v1.24
  • Added more tests
  • Added ability to chain methods on all methods that where void before.
  • document.asYAML() is not fully implemented so you can convert the document to yaml.
  • Upgraded createLinkedHashMap() to use new ACF structNew( "ordered" ) instead.

cbSwagger v2.0

This module automatically generates OpenAPI documenation from your configured application and module routes in either JSON or YAML by simply visiting /cbSwagger in your URL. Focus on building your APIs and document them with ease by simply annotating your handlers.

box install cbSwagger

v2.0.0

  • feature: Upgraded to swagger-sdk 2.0.0 to support OpenAPI 3.0.x. A great guide on migrating is here: https://blog.readme.io/an-example-filled-guide-to-swagger-3-2/

  • Migrated cbSwagger settings to the moduleSettings struct instead of top-level in the config/ColdBox.cfc. Make sure you move your settings.

  • feature : You can now pass a format to the /cbSwagger endpoint to either get the OpenAPI doc as json or yml. Eg: /cbswagger?format=yml

  • feature : You have two distinct routes for the json and yml formats: /cbSwagger/json and /cbSwagger/yml

  • You can choose your default output format via the module settings: defaultFormat setting. Valid options are json and yml

  • features : Support for ColdBox 5 event routing and response routing.

  • improvement : You can now tag your handlers with a displayName that will be used for operation ID building

  • improvement : Improved the way operation Ids are reported so they can be unique when reusing handler actions.

  • improvement : Refactored createLinkedHashMap() -> structNew( "ordered" )

  • improvement: Removed lucee 4.5, acf11 support.

ColdBox MVC, ColdFusion, Releases, REST 0

ColdBox 5.6.0 Released!

Luis Majano
Aug 16, 2019

 

We are very excited to announce the release of ColdBox version 5.6.0 alongside all the companion standalone libraries: WireBox, LogBox and CacheBox.

What's New With 5.6.0

ColdBox 5.6.0 is a minor version update with lots of fixes, improvements, performance enhancements and some nice new features. Below are the major areas of improvement and the full release notes. To update ColdBox or any of the standalone libraries just leverage CommandBox:

  • update coldbox
  • update logbox
  • update wirebox
  • update cachebox

Major Updates

Performance

We had two specific tickets that have resulted in extreme performance improvements for ALL ColdBox requests. You will feel and see the difference:

  • [COLDBOX-799] - Event Handler Bean: Single instance per handler action for major performance improvements

This ticket was contributed by Dom Watson (https://twitter.com/dom_watson) one of the lead engineers of the amazing PresideCMS project built on top of ColdBox. We worked together to avoid the creation of handler beans on each runnable event. We now cache each event handler bean representation which results in an extreme boost in performance. Thanks Dom!

  • [COLDBOX-810] - Remove afterInstanceAutowire interceptor in handlerService as afterHandlerCreation is now officially removed.

Thanks to our local mad scientist Brad Wood, he reported that the handler services still listened to ALL CFC creations in an application in order to relay an afterHandlerCreation interception point from the good 'ol 2.6 days. This has been finally removed and boom, another big boost in performance!

Better Bug Reports

We have enhanced the bug reporting templates to include much more information when dealing with exceptions:

  • Show SQL error details on Adobe CF
  • Current route, params and debug info
  • Contributing module for the current routed URL

Merging of HTTP Verbs

Thanks to our very own Eric Peterson, you can now merge HTTP verbs on the same route pattern, which you could not do before:

router
    .post( "photos/", "photos.create" )
    .get( "photos/", "photos.index" )
    .delete( "photos/", "photos.remove" );

ColdBox Core Release Notes

Bugs

  • [COLDBOX-778] - ModuleService to add default route doesn't work correctly
  • [COLDBOX-794] - Fix default bug report to show SQL error detail for adobe SQL exceptions
  • [COLDBOX-796] - When doing package resolving if you are in a module it still tries to resolve a module
  • [COLDBOX-806] - Error in HTML helper WRAPPERATTRS doesn't exist in argument scope
  • [COLDBOX-811] - Include the colon for non 80 or 443 port numbers #419 in github

New Features

  • [COLDBOX-812] - Allow merging of HTTP verbs when doing separate verbs for the same route
  • [COLDBOX-813] - Update cfconfig to use env variables instead of inline mixins, modernizeOrDie

Improvements

  • [COLDBOX-795] - Add more current route information to the BugReport.cfm template
  • [COLDBOX-797] - Ability for bug reports and app to know which module contributed the incoming URL route.
  • [COLDBOX-798] - Use of .keyExists() can needlessly use memory in requests, suggest StructKeyExists() instead
  • [COLDBOX-799] - Event Handler Bean: Single instance per handler action for major performance improvements
  • [COLDBOX-800] - HandlerService.cfc$newHandler(): declares variables that are never used
  • [COLDBOX-810] - Remove afterInstanceAutowire interceptor in handlerService as afterHandlerCreation is now officially removed.

CacheBox Release Notes

Bugs

  • [CACHEBOX-56] - AbstractCacheProvider.getOrSet(): local var unscoped when checking if null
CacheBox, ColdBox MVC, ColdFusion, LogBox, News, Releases, WireBox 0

ColdBox 5.5.0 Released!

Luis Majano
Jun 14, 2019

 

What's New With v5.5.0

We are very excited to bring you ColdBox Platform v5.5.0! This is a minor release packed with a punch of improvements and some cool new features. The major libraries upgraded are ColdBox MVC and WireBox in this release.

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

Support Open Source via new Patreon Levels and Rewards

Luis Majano
Jun 13, 2019

 

We are excited to release our new patreon levels and rewards over at !

Sponsor Us
 

At Ortus Solutions we are known for building open source projects for the ColdFusion (CFML) community such as ColdBox, CommandBox, ContentBox Modular CMS, ForgeBox and many more. All of those products are licensed under the Apache 2 license and are completely FREE to use and extend.

However, the amount of effort needed to maintain and develop new features for all projects is not sustainable without proper financial backing. This is where you can come in and help support Ortus Open Source Software by pledging on Patreon. We have completely revamped all our patreon levels and refreshed all the rewards for those that share and give!

In a recent study done by Harvard University, it was proven that the act of giving and generosity would ensue happiness! Don't beleive me, check this article out: https://news.harvard.edu/gazette/story/2008/04/money-spent-on-others-can-buy-happiness/. So actually supporting our Open Source Initiatives will bring you happiness!


If you run a business and are using Ortus Open Source software in a revenue generating product or service, it makes sense to sponsor Ortus Open Source Software development: it ensures the project that your product/services use stays healthy and actively maintained. If you are an individual user and have enjoyed the productivity of our Open Source Software tools, consider donating as a sign of appreciation.


Sponsor Us
 

CacheBox, CFCouchbase, ColdBox MVC, ColdFusion, CommandBox, Community, ContentBox CMS, Elixir, ForgeBox, LogBox, News, Relax, WireBox 0

Quick v2.0.0 Released!

Eric Peterson
Apr 30, 2019

 


We are pleased to announce the general availability of Quick 2.0.0. It's been a long road with 14 betas(!) and months of testing from dedicated users. The end result is a more refined and performant product. Come check out the headline features.

 

Comments are currently closed
ColdBox MVC, ColdFusion, Community, Modules, News, Releases

TestBox v3.0.0 Released!

Luis Majano
Apr 25, 2019

 


We are excited to announce the release of TestBox version 3.0.0. To install just use CommandBox: install testbox --saveDev or to update your TestBox installation update testbox. So let's explore this release

ColdBox MVC, ColdFusion, Community, News, Releases, TestBox 0

ColdBox 5.4.0 Released!

Luis Majano
Apr 22, 2019

 

What's New With v5.4.0

We are very excited to bring you ColdBox v5.4.0! This should have been a major release on it's own but since we kept compatibility we are labeling it as a minor release. 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
  • update cachebox - Update standalone CacheBox

Major Areas Of Improvement

Keep reading!

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

ContentBox v4.2.1 Docker Image Released

Luis Majano
Jan 17, 2019

 


Today we are very excited to bring you the release of our latest Docker container for ContentBox v4.2.1. This is a major re-work of our container images as we now support over 5 different variations of our images, from warmed up servers to alpine versions of ContentBox. We have also added tons of new optimizations and environment variables to control container deployments. Ultimately, we have also updated our images to leverage the latest CommandBox 4.5.0 image!

Learn more about ContentBox at https://www.ortussolutions.com/products/contentbox and more about Docker deployment here: https://contentbox.ortusbooks.com/getting-started/installation/docker

Release Notes

v4.0.0

  • Disabled directory browsing for security
  • Added docker hostname to Application name in Application.cfc
  • Added a rolling file appender for all app logs to go to > /var/log/contentbox.log
  • Upgrade to latest CommandBox v4.5.0
  • Updated healthchecks to permit load up times and consistency
  • No runtime flags where ever being used, revamped it to warmup the server correctly and leverage environment variables for execution
  • Removed support for lucee 4.5
  • BE env variable was never working so you can test bleeding edge versions of ContentBox
ColdFusion, ContentBox CMS, Releases 0

ContentBox v4.2.0 Released

Luis Majano
Jan 14, 2019

 


Today we are very excited to bring you the release of ContentBox v4.2.0. This is a minor release of ContentBox and it sports tons of new updates, improvements and bug fixes including a major upgrade to ColdBox v5.3 which in itself gives us tons of new updates and features.

Here are the what's new guides for our release:

ColdFusion, ContentBox CMS, Releases 0

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