Breaking Changes in CrafterCMS 4.2.x
This section covers changes that might affect your CrafterCMS projects, as well as other considerations before upgrading. Please review the following and apply changes as required:
CrafterCMS 4.2.x requires Java 21.
See Requirements for more information on CrafterCMS requirements.CrafterCMS 4.2.x now uses Jakarta EE.
Thejakarta.*
namespace is now used instead ofjavax.*
. To update your project, find and replacejavax
withjakarta
in your Groovy code or Java if you are bringing in jars with Grab.
Breaking Changes in CrafterCMS 4.2.0
The following APIs are removed from CrafterCMS 4.1 to 4.2:
/api/1/services/api/1/publish/publish-items.json
/api/1/services/api/1/publish/reset-staging.json
/api/1/services/api/1/dependency/calculate-dependencies.json
/api/1/services/api/1/content/content-exists.json
Below are the APIs that are now removed from CrafterCMS 4.2. Note that most of the APIs in the list has been deprecated in previous versions:
API |
URL |
New API |
---|---|---|
Clear Configuration Cache |
|
|
Get Available Blueprints |
|
|
Get Configuration |
|
|
Write Configuration |
|
|
Add Remote |
|
|
List Remote Repositories |
|
|
Pull From Remote |
|
|
Push To Remote |
|
|
Rebuild Database |
|
|
Remove Remote |
|
|
Get Audit |
|
|
Publish Items |
|
|
Publish Status |
|
|
Reset Staging Publishing Target |
|
|
Get dependencies |
|
|
Get Deployment History |
|
|
Get Scheduled Items |
|
|
Crop Image |
|
|
Set Item State |
|
|
Unlock Content Item |
|
|
Content Exists |
|
|
Get UI Resource Override |
|
|
Transcode |
|
|
AWS S3 Upload |
|
|
MediaConvert |
|
|
Get User Activity |
|
|
Post Activity |
|
|
Copy Item |
|
|
Cut Item |
|
|
Get Items |
|
|
Paste Item |
|
|
Get User Roles |
|
|
Get user permissions for project/site and space (path) |
|
|
Login |
|
|
Logout |
|
|
List WebDAV |
|
|
Upload to WebDAV |
|
|
Create Jobs |
|
|
Get Go Live Items |
|
|
Get Workflow Affected Paths |
|
|
Go Delete |
|
|
Go Live |
|
|
Reject |
|
|
Request Publishing |
|
|
Calculate Dependencies |
|
Upgrading 3.1.x Sites
MongoDB in CrafterCMS Social and Profile has been updated. To upgrade MongoDB in your installation, see Upgrading MongoDB
CrafterCMS 4.1.x onward requires Git.
See Requirements for more information on CrafterCMS requirements.CrafterCMS 4.1.x onward has a new Studio UI. To get the same Sidebar you’re used to, update the User Interface Configuration
Update ICE to move to XB
Studio and Engine SAML configuration now uses a key and certificate for configuration instead of using keystore.
See Engine SAML2 Configuration and Studio SAML2 Configuration for more information.