What's New With 5.1.0
March 21, 2022

If you are upgrading from 5.0.0 you will need to do the following:
- Stop your server and make a backup just in case
- Open the
box.json
in the root of your project and make sure the following package scripts exist, if not, add them
box.json
"scripts" : {
"contentbox:migrate" : "migrate up migrationsDirectory=modules/contentbox/migrations",
"contentbox:migrate:up" : "run-script contentbox:migrate",
"contentbox:migrate:down" : "migrate down migrationsDirectory=modules/contentbox/migrations",
}
- Open a
box
shell in the root of your project - Remove the
resources
folder in the root:rm resources --force --recurse
- Run
update --force
to update your installation to the latest release - Run
run-script contentbox:migrate:up
to upgrade your database to this patch level - Startup your engines!!
v5.1.0
v5.1.1
- CONTENTBOX-1397 Settings should not be cached on a per host basis anymore, since a single instance manages 1 or x number of sites
- CONTENTBOX-1396 Deleting Permissions is not working due to change of primary key from numeric to string
- CONTENTBOX-1365 Paginated results in CBAdmin for Page Children returns non-parented results for page 2
- CONTENTBOX-1362 Change all date comparisons on the expirations and publishing dates to dateCompare() to avoid ambiguity with types
- CONTENTBOX-1357 If using the contentbox installer and no database tables are created yet, running the migrations fail due to tables not found
- CONTENTBOX-1355 Category isPublic new boolean flag cannot be notnull=true as it has been a new added field
- CONTENTBOX-1333 If you activate a new theme in the active theme area, contentbox creates double entries for theme settings
- CONTENTBOX-1373 Add support for x-forwarded-port to the site root url builder in order to assist with proxied web servers
- CONTENTBOX-1363 Consolidate and encapsulate the usage of date/time methods for publish/expire date in the base content
- Master artifact was stuck at
-snapshot
fix with master artifact
- CONTENTBOX-1412 VerifyPageLayout() on the page rendering touches the filesystem on each request, removing this as it is not needed
- CONTENTBOX-1368 rc.pageUri is only the first segment of the actual slug, now it contains the full hierarchical slug
Last modified 1yr ago