What's new With 5.0.0
September 23, 2021
Last updated
Was this helpful?
September 23, 2021
Last updated
Was this helpful?
ContentBox 5 is a major update for this CMS and it includes a major architectural change to move the CMS forward for the next 10-15 years. We have introduced multi-tenancy and a complete headless approach to ContentBox. It has become one of our biggest releases since our initial release since 2011.
You can find our release notes here and we will discuss our major areas of improvement for this release. If you need to upgrade your previous versions of ContentBox, please see our .
We have used the power of , to build a ContentBox CLI (contentbox-cli
) module that will assist you with installations, upgrades, maintenance and much more. Once CommandBox is installed you can run the following to install our cli:
That's it. This will install the contentbox
namespace which will assist you in your ContentBox adventures. Please see the guide on usage.
Performance, performance, performance. ColdBox 6 has been finely tuned to make your applications much more performant and stable under high load.
Better new CFML engine support
Asynchronous programming. We have introduced the concepts of the async
package to the core and ContentBox will leverage more of these features for background job processing, automation and much more.
New logging facilities and enhancements
Better exception handling for developers
REST Handlers and highly performant REST Routing
Singleton View Rendering. You will find that all renderings are way faster than before.
Much more!
Fortified rule engine
Annotation based security engine
JWT support
Security Services
Cross site request forgery support
Although multi-tenancy been one of ContentBox's most requested features, we were hesitant for many years to comply due to the size of the needed refactoring. However, we have finally created a great base for making ContentBox multi-tenant. You can now configure 1 or 10000 sites under the same ContentBox umbrella. The new installer actually creates two sites for you: a development/staging site and a production site. That means that you can manage different content environments all under the same deployment.
Here are some of the features you get with multi-site ContentBox:
Ability to register an infinite number of sites
Site detection by regular expressions or patterns on incoming URIs
Site detection by header identifier if using the headless CMS or reverse proxies
Each site can contain its own
Categories
Blog
Pages
Content Store
Menus
Commenting System
Themes
Admin site switcher
Admin site control bar
Clone content or entire content hierarchies from one site to the other
Publish content directly to different sites
Move content between sites
Much more coming soon.
The entire admin UI has been revamped and streamlined. You will find it much more breathable and easier to work with, especially from mobile devices and smaller screens. We are also starting to prepare a major theme change and customization that might be introduced in the final release or scheduled for a minor update.
We have completely changed our ORM structures and custom queries so it can be friendlier to other RDBMS. In this release we focus on portability of the host database and finally have core PostgreSQL support.
This is such a controversial feature to be able to deliver patches via the admin. We have completely dropped the capability to patch the CMS from within the CMS. It caused more issues than it solved and in Windows it was pretty much impossible.
We have moved to a CommandBox + Migrations approach and the results are amazing. No more broken installs, half done db updates and more. Now you can simply run two CLI commands and be done with it. Here is a typical flow for updating your system:
assignment of page to default
We have upgraded our core to ColdBox 6 and we have received a tremendous amounts of benefits (). Here are some of the features we get with this upgrade:
We have migrated our cbsecurity
module to the latest version to give you a wealth of features () such as:
We have also started our migrations to and for the reactivity and overall look and feel of the admin module.
We have analyzed the entire ORM structures, queries and CFML code in this release thanks to 's Profiler. We have streamlined the way the CMS loads and the results are impressive. In ContentBox 5, first loads are about 70% faster and page executions are around 30-40% faster than ContentBox 4.
[] - Preflight check has a race condition where duplicate settings can be inserted and stop app from starting
[] - ColdBox modules directory renamed to modules_bak during upgrade to ContentBox 4.2
[] - Custom Module Dependencies are not respected by ContentBox ModuleService
[] - When deactivating modules, module widgets still remained registered
[] - Regression cachelayout
setting missing from UI on pages and blog entries
[] - media service had a hardlink
to the UI module which threw an exception when the UI module was removed
[] - BaseContent
has expireDate
as required via validation but not in the model
[] - Problem with multiple select options in RecentPages
widget
[] - Problem in RecentPages
widget on filter by category
[] - Fix CB admin bar image alignment on tailwind sites
[] - Fix ContentBox "latestversion" updater error #445
[] - Fix content sidebar toggle label #444
[] - multi domain bug when using cgi.http_host just like ColdBox, move to cgi.server_name instead affects all caching cleanups
[] - Bug in Widget View clearing out cached widget query
[] - ACF incompats with relocate
() after applicationStop
() due to ungraceful app metadata wiping by ACF
[] - Admin Views Accessible even if logged out: cbsecurity not firing.
[] - CB 5, Context menu Sitemap not visible, see screenshot
[] - ms sql server doesn't support sqltype
boolean
[] - When cloning and marking to publish, not publishing due to missing publish date
[] - Site settings for comments are not being transferred
[] - "\" doesn't go to global search
zipSlip fix for zip extractions
Error in Menu Sandbox
Listing Options do not work in Media Manager
Content Store, Entries and Pages Clone Error
If Page and ContentStore Item Have the Same Slug an Error is Thrown
Deleting a ContentStore Item from the Options Menu Throws an Error
Text Filter on Widget Insert is Broken
Truncate Auth Logs Function Throws SQL Error on SQL Server
ContentBox Menus and Submenus Default Order to Publish Date, not the Order
"Create Page" button in Admin throws Error
No Longer Able to Drill Down in Site Map
Theme is reset to default when saving a site
Prevent Re-Slugification of ContentStore Slugs on Every Save
Add Backward Compatibility Alias for @cb for ContentBox Models
Saving content on one site, if your site selection clears, will result in the
The model namespace of cb was always wrong. It should have been contentbox
if not, no module settings woud have ever been set.
RenderView Widget Attempts to Render Before View has Been Set
Regression - menu()
in the cbHelper does not return the menu children in data
mode
Data Snapshots in Admin are not Site Aware
DIFF Screen forces everything onto a single line and is unusable in a modal
Change tray icons to relative paths so CommandBox can open them correctly
contentstore saving did not account for original slug in order to change downstream hiearchies
Ordering pages on the sitemap breaks the javascript
exception when visiting newly created sites due to theme not being activated
Site Data Does not Export
Cache cleanups interceptor missing events for entry and content store removals
Font issues when loading admin
Respect carriage returns on comments
[] - Upgrade javaloader
to v2.0
[] - Upgrade to cborm
3 and get all of it's goodness
[] - Upgrade to ColdBox 6
[] - Upgrade to CBSecurity
2
[] - New configuration for site is using cfconfig
with environment variables
[] - Upgrade the usage of `bit` sql type to `boolean` sql type to avoid issues with major DB vendors and also to support PostgreSQL natively
[] - Multi-site capabilities for all content and installations
[] - All administrator js/css libraries updated to latest versions
[] - Installer can now create a production and development site for you thanks to multi-site support
[] - update security rules to match cbsecurity 2.0
[] - Upgrade to cborm 3
[] - Use Docbox 3 to generate the docs instead of the old approach
Refresh tokens support
Remove all $(document).ready() and move to DOMContentLoaded events to avoid relying on jquery and allow for deferred js
Load all js assets with defer to allow for modern JS libraries and for non blocking to DOM loading
Add ability for all search based content type services to have a array of property list return
Consolidate the editors (pages,contentstore,entries) to a single content editor
content version Diff ignore whitespace by default
Content Object Helpers
Enable Setters on Primary Keys to allow for migration of uuids to be consistent
Add export all and export selected to bulk actions
Add ability to load .env files on demand for NON commandbox installations
Ability to configure all orm settings via env variables.
Add filtering to geek settings by site
Remove the dsn creator in preference to our cli based approach
DSN Creator should update the dialect once the process starts
Allow json as native markup for content storaage
Ability to have unique slugs on a per content type basis instead of before which was unique across content types
Use the browser's timezone to display all date times to users
Add cbswagger documentation to resources and api module
tailwind polyfills
ContentBox core now registers a contentbox-tasks
schedule executor that can be used for scheduled tasks
Add an option to open a site from the site manager
Add a clear entire template cache from the admin
new buildContentCacheCleanupKey() on content objects so we can clean multiple permutations of the same content
Introduce category count caching to speed up renderings
Rearchitecture of the active content to NOT be a relationship but using the versions relationship
New Updater task and start of tasks that can ship with ContentBox
Add support for markdown comments from the ui
Responsive UI Verifications
Upgrade to cbSecurity 2
[] - Drop lucee 4.5 support
[] - Drop support for `runtime.properties.cfm` in favor of cfconfig datasource additions
[] - Remove autoupdates capabilities in order to rely on CommandBox for patches and updates
[] - Upgrade v4 migration to only run on v4 systems
[] - Removal of full screen button as all browsers support this now
[] - Remove the textarea editor, it's useless
[] - Add restrictions on orm cfc locations for faster startups on Application.cfc
[] - Remove directory browsing for production installations
[] - Change the order of the logout function, to the announcement has the oCurrentAuthor still, for logging purposes.
[] - Update dsn creator to support lucee 5.3 mysql jdbc path
[] - Intercept installer relocation to check if the installer module is even installed else present a nice message
[] - Add a setting for the timeout in the forgot password workflow
[] - Encode theme settings in active theme page
[] - CSS Updates to match new admin theme
[] - CB5 - Multi site - feature to allow URL Path
[] - DSN Module Update to latest CFML engine settings
[] - Refactor formulas to methods so they can give a performance boost and increase encapsulation
[] - update express to latest stable lucee
[] - update express to latest tomcat 9
[] - update tuckey rewrites to latest based on commandbox
Inconsistent spacing between panels under Details
Create Setting - Core Checkbox With Global Option Seems Redundant
SSL Options on Relocation Widget Should Default to Current Protocol
Settings Area is Extremely Slow to Load on Large Site
Stats for Subscribers Should be Placed under Comments Menu
Site Selection Cookie Should Either Not Expire or Expiry Forwarded on Request
Drag and Drop Ordering on Large Site Tree is Very Slow
Issue a warning when you will save content that is published and into draft mode.
Finalize migration to ColdBox 6 REST instead of REST Template assets
Increase Column Size of Content slugs, title, featuredImage, featuredImageURL
CKEditor Allow access to ContentBox Plugins Insert Buttons in Source Edit Mode
SubPage Menu Widget should Default to Current Page
Dashboard Should Be a Single Link in Admin and "About" should be in "System"
Clicking in to a Content Objects Children should Reset Page Scroll
Allow transactional argument to SiteService@save
Allow Categories to be Internal/UnPublished
Migrate post to pre js for assets to save on minimization and inline js that is used.
Admin current working site id should be set in a cookie instead of cache to provide longevity.
Loading Site Config Page on Large Site is Extremely Slow
rework all settings tabs to have their own form and validation to avoid validation issues in different tabs you don't get notified with
ACF increase post parameter list for mass setting updates
Add JSON Diffing support for ContentStore items in the history panel
Add quoted table names, join columns and columns to preserve case on all RDBMS systems
Also the DSN name is now hard-coded in the cfconfig file so you can have a database named something other than "contentbox"
Update the clear page wrappers call to include multi-site regex expression to clear stale data
Add an isPreview to the addContentVersion() so the max content checks are not executed on previews
registering info for contentbox logging as the default.
If a post has been written in a certain markup, make sure the editor adheres to it
Granular performance optimizations for content object iteration and rendering
Optimize avatar image creation by using a request cache
Optimize the way site() does discovery and site usage by adding a request cache