2024 Deprecations and Breaking Changes

2024.Q1 Default Setting and Feature Flag Changes

Most new versions of Liferay DXP include changes to the default settings. If you rely on the defaults from your old version, you should review the changes and decide to keep the defaults from your old version or accept the new defaults. The portal.properties file describes the properties and provides examples.

Some of the changed properties are feature flags. These properties are typically added as dev feature flags before they are ready for production, but their types change as the features progress through their lifecycles.

Here are the property changes from 2023.Q4 to 2024.Q1:

Portal Property2023.Q4 Default2024.Q1 Default
admin.email.password.unchangeable.bodyNot applicablecom/liferay/portlet/admin/dependencies/email_password_unchangeable_body.tmpl
admin.email.password.unchangeable.subjectNot applicablecom/liferay/portlet/admin/dependencies/email_password_unchangeable_subject.tmpl
com.liferay.portal.servlet.filters.cache.CacheFiltertrueRemoved property
counter.increment.object.field.auto.incrementNot applicable1
direct.servlet.context.reloadtruefalse
dl.file.entry.processorsSee settingRemoved property
ehcache.replicator.properties.com.liferay.portal.servlet.filters.cache.CacheUtilreplicatePuts=falseRemoved property
hibernate.jdbc.batch_size202000
hot.deploy.listenersSee settingSee setting
invoker.filter.chain.cache.query.string.ignored.keysNot applicableSee setting
invoker.filter.chain.cache.skip.query.string.urisNot applicableSee setting
layout.static.portlets.all(Empty value)Default removed
localesSee settingSee setting
module.framework.auto.deploy.dirsSee settingSee setting
module.framework.portal.war.dirNot applicable${module.framework.base.dir}/portal-war
module.framework.properties.eclipse.bundle.setTCCLNot applicablefalse
passwords.encryption.algorithmPBKDF2WithHmacSHA1/160/720000PBKDF2WithHmacSHA1/160/1300000
redirect.url.protocols.allowedNot applicablehttp, https
session.timeout.auto.extendfalseRemoved property
session.timeout.auto.extend.offset70Removed property
spring.configs