Liferay DXP 2024.Q1 Breaking Changes
Breaking changes break or significantly alter existing functionality or code structure. Here are all of the breaking changes for Liferay DXP 2024.Q1. As the product changes and improves, we try our best to minimize these disruptions, but sometimes they are unavoidable.
Changes in Liferay DXP
Here is a list of changes that break or significantly alter existing functionality within Liferay.
| Breaking Change | Description | References | 
|---|---|---|
| Selecting Guest Role for Segments | You can no longer select the Guest role when editing a Segment. The option was removed because selecting this role would not work properly. | LPS-199579 | 
| Breadcrumb Portlet Access to Sites for Guests | Guests can now access sites via the Breadcrumb portlet as long as they are accessible to Guests. Previously, the portlet incorrectly denied access if the site had restricted or private membership. | LPS-200487 | 
| Selecting Administrator Role for Segments | You can no longer assign regular administrators to Segments (like Site Administrators and Site Owners). Te option was removed because it caused some unexpected behaviors. | LPD-4335 | 
| Case-Sensitive Tags | Tag names are now case-sensitive. | LPD-6882 | 
| Filtering Web Content | All web content filters now only apply to the currently selected folder. This change makes web content filter behavior more consistent. | LPD-6710 | 
| Searching Web Content with Filters | If you have a filter applied when searching web content, performing a new search now clears the filter. | LPD-6710 | 
| Web Content Status Filter Names | The filter options for web content status have been renamed: “With approved versions” is now “Approved,” “With scheduled versions” is now “Scheduled,” and “With expired versions” is now “Expired.” | LPD-6709 | 
| Article ID in Web Content Template Editor | The reserved-article-idvariable is renamed toarticleIdfor web content templates. TheexternalReferenceCodeandresourcePrimKey(i.e., thestructuredContentId) variables are also added. | LPS-203949 | 
| Utility Page Configurations | The general configuration icon for utility pages no longer appears on the Page Design Options panel. You must now access them via the Actions menu on the Utility Pages page. | LPD-4459 | 
| Allow Manual Membership Management Option for New Sites | When creating a new site, the Allow Manual Membership Management option is disabled by default. | LPS-191374 | 
| Configuration for Auto-extending Session Timeouts | The session.timeout.auto.extendandsession.timeout.auto.extend.offsetportal properties are now configured in site, instance, or system settings instead. | LPS-199234 | 
Changes in Module Source Code
PersonalMenuEntry.java
modules/apps/product-navigation/product-navigation-personal-menu-api/src/main/java/com/liferay/product/navigation/personal/menu/PersonalMenuEntry.java
- Date: Nov. 6, 2023
- Ticket: LPS-198527
- What Changed: The new getOnClickJSModuleURLmethod is added.
- Reason: This change allows for loading a JS module at run-time by clicking on Personal Menu entries.
CacheControlConfiguration.java
modules/apps/document-library/document-library-web/src/main/java/com/liferay/document/library/web/internal/configuration/CacheControlConfiguration.java
- Date: Nov. 6, 2023
- Ticket: LPS-200359
- What Changed: A new configuration is added to not cache documents by default.
- Reason: This configuration is the new default to improve security.
BaseAMImageCounter.java
modules/apps/adaptive-media/adaptive-media-image-api/src/main/java/com/liferay/adaptive/media/image/counter/BaseAMImageCounter.java
- Date: Nov. 7, 2023
- Ticket: LPS-197738
- What Changed: The BaseAMImageCounterclass is a new base class forAMImageCounterimplementations to use.
- Reason: This class helps implement AMImageCounterwith common logic implementations.
BaseAMImageOptimizer.java
modules/apps/adaptive-media/adaptive-media-image-api/src/main/java/com/liferay/adaptive/media/image/optimizer/BaseAMImageOptimizer.java
- Date: Nov. 7, 2023
- Ticket: LPS-197738
- What Changed: The BaseAMImageOptimizerclass is a new base class forAMImageOptimizerimplementations to use.
- Reason: This class helps implement AMImageOptimizerwith common logic implementations.
DLFileEntryConfigurationProvider.java
modules/apps/document-library/document-library-api/src/main/java/com/liferay/document/library/configuration/DLFileEntryConfigurationProvider.java
- Date: Nov. 7, 2023
- Ticket: LPS-197738
- What Changed: The new getGroupPreviewableProcessorMaxSizeMapmethod is added to return all group values with the givenpreviewableProcessorMaxSizeattribute.
- Reason: This change helps filter by groups with specific attribute values, instead of getting the attribute for all types.
AuditMessageFactoryImpl.java
modules/apps/portal-security-audit/portal-security-audit-impl/src/main/java/com/liferay/portal/security/audit/internal/AuditMessageFactoryImpl.java
- Date Nov. 7, 2023
- Ticket: LPS-201086
- What Changed: The class is removed. The logic previously in AuditMessageFactoryImplis now implemented inAuditMessageFactoryinstead.
- Reason: These classes being separated did not provide any value, so they were consolidated into AuditMessageFactoryto simplify the code.
CPDefinitionLinkTypeSettingsImpl.java
modules/apps/commerce/commerce-product-service/src/main/java/com/liferay/commerce/product/internal/configuration/CPDefinitionLinkTypeSettingsImpl.java
- Date: Nov. 8, 2023
- Ticket: COMMERCE-12306
- What Changed: The class is removed.
- Reason: This functionality is handled by CPDefinitionLinkTypeRegistry.
CPDefinitionLinkTypeSettings.java
modules/apps/commerce/commerce-product-api/src/main/java/com/liferay/commerce/product/configuration/CPDefinitionLinkTypeSettings.java
- Date: Nov. 8, 2023
- Ticket: COMMERCE-12306
- What Changed: The class is removed.
- Reason: This functionality is handled by CPDefinitionLinkTypeRegistry.
CPDefinitionLinkTypeConfigurationWrapper.java
modules/apps/commerce/commerce-product-service/src/main/java/com/liferay/commerce/product/internal/configuration/CPDefinitionLinkTypeConfigurationWrapper.java
- Date: Nov. 8, 2023
- Ticket: COMMERCE-12306
- What Changed: The class is removed.
- Reason: This functionality is handled by CPDefinitionLinkTypeRegistry.
COREntryType.java
modules/apps/commerce/commerce-order-rule-api/src/main/java/com/liferay/commerce/order/rule/entry/type/COREntryType.java
- Date: Nov. 8, 2023
- Ticket: COMMERCE-12306
- What Changed: The new evaluate(COREntry, List<COREntryTypeItem>)method is added.
- Reason: This change is made to evaluate rules before creating an order.
CPContentHelper.java
modules/apps/commerce/commerce-product-content-api/src/main/java/com/liferay/commerce/product/content/helper/CPContentHelper.java
- Date: Nov. 10, 2023
- Ticket: COMMERCE-12682
- What Changed: The getImagesmethod now has abooleanparameter forgallery.
- Reason: This change allows for retrieving images with a filter for images that are not allowed in an image gallery.
AccountConstants.java
modules/apps/account/account-api/src/main/java/com/liferay/account/constants/AccountConstants.java
- Date: Nov. 15, 2023
- Ticket: COMMERCE-12813
- What Changed: The getAccountEntryTypesmethod now has alongparameter forcompanyId. TheACCOUNT_ENTRY_TYPESfield is also removed.
- Reason: This change allows feature flags to be based on specific Liferay DXP instances.
SharingDropdownItemFactory.java
modules/apps/sharing/sharing-api/src/main/java/com/liferay/sharing/display/context/util/SharingDropdownItemFactory.java
- Date: Nov. 16, 2023
- Ticket: LPS-200202
- What Changed: A new createCopyLinkDropdownItem(String, long, HttpServletRequest)method is added.
- Reason: This method allows for creating a drop-down menu to copy document links.
JavaScriptAwarePortalWebResources.java
modules/apps/frontend-js/frontend-js-loader-modules-extender-api/scr/main/java/com/liferay/frontend/js/loader/modules/extender/npm/JavaScriptAwarePortalWebResources.java
- Date: Nov. 22, 2023
- Ticket: LPS-199532
- What Changed: The class is removed.
- Reason: This class is no longer used.
ObjectFieldLocalServiceImpl.java
modules/apps/object/object-service/src/main/java/com/liferay/object/service/impl/ObjectFieldLocalServiceImpl.java
- Date: Nov. 28, 2023
- Ticket: LPS-196717
- What Changed: The validateExternalReferenceCode,validateRequired, andvalidateReadOnlyAndReadOnlyConditionExpressionmethods are now public and included inObjectFieldLocalService.
- Reason: This change is needed for object field validation when creating one-to-one or one-to-many relationships.
ObjectRelationshipImpl.java
modules/apps/object/object-service/src/main/java/com/liferay/object/model/impl/ObjectRelationshipImpl.java
- Date: Nov. 28, 2023
- Ticket: LPS-196717
- What Changed: A new compareType(String)method is added.
- Reason: This change simplifies the logic implementation to allow for more code reuse.
ObjectRelationshipLocalServiceImpl.java
modules/apps/object/object-service/src/main/java/com/liferay/object/service/impl/ObjectRelationshipLocalServiceImpl.java
- Date: Nov. 28, 2023
- Ticket: LPS-196717
- What Changed: The addObjectRelationshipandupdateObjectRelationshipmethods have a newObjectFieldparameter.
- Reason: This change allows for methods to set properties when creating a one-to-one or one-to-many object relationship.
ObjectRelationshipServiceImpl.java
modules/apps/object/object-service/src/main/java/com/liferay/object/service/impl/ObjectRelationshipServiceImpl.java
- Date: Nov. 28, 2023
- Ticket: LPS-196717
- What Changed: The addObjectRelationshipandupdateObjectRelationshipmethods have a newObjectFieldparameter.
- Reason: This change allows for methods to set properties when creating a one-to-one or one-to-many object relationship.
rest-openapi.yaml
modules/apps/object/object-admin-rest-impl/rest-openapi.yaml
- Date: Nov. 28, 2023
- Ticket: LPS-196717
- What Changed: The ObjectRelationshipschema has a newobjectFieldproperty.
- Reason: This change allows for exporting object fields with its associated one-to-one or one-to-many object relationships.
/modules/apps/users-admin/users-admin-test-util/bnd.bnd
- Date: Nov. 29, 2023
- Ticket: LPS-202908
- What Changed: The bundle version is increased to 6.0.0.
modules/apps/object/object-admin-rest-api/bnd.bnd
- Date: Nov. 30, 2023
- Ticket: LPS-172418
- What Changed: The bundle version is increased to 20.0.0.
CommercePaymentEntryLocalServiceImpl.java
modules/apps/commerce/commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/impl/CommercePaymentEntryLocalServiceImpl.java
- 
Date: Nov. 30, 2023 
- 
Ticket: COMMERCE-12384 
- 
What Changed: The addCommercePaymentEntryandupdateCommercePaymentEntrymethods have new parameters.
- 
Reason: Commerce payment entries require more information to create and update. 
- 
Date: Dec. 19, 2023 
- 
Ticket: COMMERCE-12943 
- 
What Changed: Various method signatures have had their parameters changed. 
- 
Reason: This change allows for managing the different types of payments. 
BundleManager.java
modules/apps/marketplace/marketplace-api/src/main/java/com/liferay/marketplace/bundle/BundleManager.java
- Date: Dec. 1, 2023
- Ticket: LPS-201076
- What Changed: The class is removed. Instead, use BundleManagerUtil.
- Reason: The class is being replaced by BundleManagerUtil.
EntityExtensionHandler.java
modules/apps/portal-vulcan/portal-vulcan-api/src/main/java/com/liferay/portal/vulcan/extension/EntityExtensionHandler.java
- Date: Dec. 1, 2023
- Ticket: COMMERCE-12980
- What Changed: The getExtendedPropertiesmethod has a newlong userIdparameter.
- Reason: This change is required to pass dtoConverterContextwith the correct user ID when converting the related unmodifiable system objects to DTO.
ExtensionProvider.java
modules/apps/portal-vulcan/portal-vulcan-api/src/main/java/com/liferay/portal/vulcan/extension/ExtensionProvider.java
- Date: Dec. 1, 2023
- Ticket: COMMERCE-12980
- What Changed: The getExtendedPropertiesmethod has a newlong userIdparameter.
- Reason: This change is required to pass dtoConverterContextwith the correct user ID when converting the related unmodifiable system objects to DTO.
CommerceCountryItemSelectorCriterion.java
modules/apps/commerce/commerce-item-selector-api/src/main/java/com/liferay/commerce/item/selector/criterion/CommerceCountryItemSelectorCriterion.java
- Date: Dec. 1, 2023
- Ticket: LPS-201373
- What Changed: The class is removed.
- Reason: This class was meant for internal use and is no longer used.
CommerceInventoryWarehouseItemSelectorCriterion.java
modules/apps/commerce/commerce-item-selector-api/src/main/java/com/liferay/commerce/item/selector/criterion/CommerceInventoryWarehouseItemSelectorCriterion.java
- Date: Dec. 1, 2023
- Ticket: LPS-201373
- What Changed: The class is removed.
- Reason: This class was meant for internal use and is no longer used.
CommercePricingClassItemSelectorCriterion.java
modules/apps/commerce/commerce-item-selector-api/src/main/java/com/liferay/commerce/item/selector/criterion/CommercePricingClassItemSelectorCriterion.java
- Date: Dec. 1, 2023
- Ticket: LPS-201373
- What Changed: The class is removed.
- Reason: This class was meant for internal use and is no longer used.
CommerceProductInstanceItemSelectorCriterion.java
modules/apps/commerce/commerce-item-selector-api/src/main/java/com/liferay/commerce/item/selector/criterion/CommerceProductInstanceItemSelectorCriterion.java
- Date: Dec. 1, 2023
- Ticket: LPS-201373
- What Changed: The class is removed.
- Reason: This class was meant for internal use and is no longer used.
CPInstanceItemSelectorCriterion.java
modules/apps/commerce/commerce-product-item-selector-api/src/main/java/com/liferay/commerce/product/item/selector/criterion/CPInstanceItemSelectorCriterion.java
- Date: Dec. 1, 2023
- Ticket: LPS-201373
- What Changed: The class is removed.
- Reason: This class was meant for internal use and is no longer used.
LayoutPageTemplateEntryItemSelectorCriterion.java
modules/apps/commerce/commerce-product-item-selector-api/src/main/java/com/liferay/commerce/product/item/selector/criterion/LayoutPageTemplateEntryItemSelectorCriterion.java
- Date: Dec. 1, 2023
- Ticket: LPS-201373
- What Changed: The class is removed.
- Reason: This class was meant for internal use and is no longer used.
DLProcessorRegistryTest.java
modules/apps/document-library/document-library-test/src/testIntegration/java/com/liferay/document/library/util/test/DLProcessorRegistryTest.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The class is renamed to DLProcessorHelperTest, and moved from thecom.liferay.document.library.util.testpackage to thecom.liferay.document.library.processor.testpackage.
- Reason: This change is made for clarity and to keep the package name matching the class name.
DLProcessorRegistryImpl.java
modules/apps/document-library/document-library-service/src/main/java/com/liferay/document/library/internal/util/DLProcessorRegistryImpl.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The class is renamed to DLProcessorHelperImpl, and moved from thecom.liferay.document.library.internal.utilpackage to thecom.liferay.document.library.internal.processorpackage. Theregisterandunregistermethods have also been removed. If you are providing your own non-OSGiDLProcessorimplementation, convert it to an OSGi service.
- Reason: The refactoring change is made for clarity and to keep the package name matching the class name. The registerandunregistermethods are removed because all out-of-the-boxDLProcessorobjects are now OSGi components.
CommerceOrderValidator.java
modules/apps/commerce/commerce-api/src/main/java/com/liferay/commerce/order/CommerceOrderValidator.java
- Date: Dec. 2, 2023
- Ticket: COMMERCE-12309
- What Changed: The validate(Locale, CommerceOrder, CPInstance, BigDecimal)method has two new parameters:String jsonandboolean child.
- Reason: This change helps with validation of products before they’re added to a cart.
AssetDisplayPageEntry.java
modules/apps/asset/asset-display-page-api/src/main/java/com/liferay/asset/display/page/model/AssetDisplayPageEntry.java
- Date: Dec. 2, 2023
- Ticket: LPS-200477
- What Changed: A new getPlid()method is added. Theplidcolumn is removed from theAssetDisplayPageEntrytable. Instead, callAssetDisplayPageEntry.getPlid().
- Reason: The plidcolumn was temporarily removed from theAssetDisplayPageEntrytable, so this was added as an alternative method to retrieve theplid.
CommerceAddressService.java
modules/apps/commerce/commerce-api/src/main/java/com/liferay/commerce/service/CommerceAddressService.java
- Date: Dec. 2, 2023
- Ticket: COMMERCE-12658
- What Changed: The getBillingCommerceAddresses,getBillingCommerceAddressesCount,getShippingCommerceAddresses, andgetShippingCommerceAddressesCountmethods have a newlong commerceChannelIdparameter.
- Reason: This change allows addresses to be assigned to specific Commerce channels.
CommerceShippingEngine.java
modules/apps/commerce/commerce-api/src/main/java/com/liferay/commerce/model/CommerceShippingEngine.java
- Date: Dec. 2, 2023
- Ticket: COMMERCE-12879
- What Changed: A new getKeymethod is added.
- Reason: This change allows for managing both standard OSGi components and client extensions.dard osgi components and client extensions
CETConfiguration.java
modules/apps/client-extension/client-extension-type-api/src/main/java/com/liferay/client/extension/type/configuration/CETConfiguration.java
- Date: Dec. 4, 2023
- Ticket: LPS-202104
- What Changed: A new buildTimestampfield is added for whenever a new build takes place in a Liferay Workspace.
- Reason: Liferay DXP will use this field for the ${modifiedTimestamp}variable for client extensions.
CETFactory.java
modules/apps/client-extension/client-extension-type-api/src/main/java/com/liferay/client/extension/type/factory/CETFactory.java
- Date: Dec. 4, 2023
- Ticket: LPS-202104
- What Changed: A new boolean replaceVariablesparameter is added to thecreatemethods.
- Reason: This change is made to make the API easier to understand, maintain, and extend. The new parameter allows for controlling variable substitutions in URL fields.
CETImplFactory.java
modules/apps/client-extension/client-extension-type-api/src/main/java/com/liferay/client/extension/type/factory/CETImplFactory.java
- Date: Dec. 4, 2023
- Ticket: LPS-202104
- What Changed: Various changes to the interface’s method signatures.
- Reason: CET factory implementations are now responsible for constructing specific CET objects. This helps simplify implementation logic.
CET.java
modules/apps/client-extension/client-extension-type-api/src/main/java/com/liferay/client/extension/type/CET.java
- Date: Dec. 4, 2023
- Ticket: LPS-202104
- What Changed: A new getNamemethod is added to get a client extension’s name with the full localization XML.
- Reason: This change is needed to retrieve the name for all locales instead of one at a time.
Sitemap.java
modules/apps/site/site-api/src/main/java/com/liferay/site/util/Sitemap.java
- Date: Dec. 5, 2023
- Ticket: LPS-203260
- What Changed: The class is renamed to SitemapManager, and thecom.liferay.site.utilpackage is refactored to thecom.liferay.site.managerpackage.
- Reason: This change is made to make the naming more clear and consistent.
RecentGroupManager.java
modules/apps/site/site-api/src/main/java/com/liferay/site/util/RecentGroupManager.java
- Date: Dec. 5, 2023
- Ticket: LPS-203260
- What Changed: The class has been moved from the com.lifereay.site.utilpackage to thecom.liferay.site.managerpackage. modules/apps/site/site-api/src/main/java/com/liferay/site/util/RecentGroupManager.java was moved from com.liferay.site.util package to the com.liferay.site.manager package
- Reason: This change is made to match the class name to the package name.
GroupSearchProvider.java
modules/apps/site/site-api/src/main/java/com/liferay/site/util/GroupSearchProvider.java
- Date: Dec. 5, 2023
- Ticket: LPS-203260
- What Changed: The class has been moved from the com.lifereay.site.utilpackage to thecom.liferay.site.managerpackage. modules/apps/site/site-api/src/main/java/com/liferay/site/util/RecentGroupManager.java was moved from com.liferay.site.util package to the com.liferay.site.manager package
- Reason: This change is made to match the class name to the package name.
GroupURLProvider.java
modules/apps/site/site-api/src/main/java/com/liferay/site/util/GroupURLProvider.java
- Date: Dec. 5, 2023
- Ticket: LPS-203260
- What Changed: The class has been moved from the com.lifereay.site.utilpackage to thecom.liferay.site.managerpackage. modules/apps/site/site-api/src/main/java/com/liferay/site/util/RecentGroupManager.java was moved from com.liferay.site.util package to the com.liferay.site.manager package
- Reason: This change is made to match the class name to the package name.
SitemapURLProvider.java
modules/apps/site/site-api/src/main/java/com/liferay/site/util/SitemapURLProvider.java
- Date: Dec. 5, 2023
- Ticket: LPS-203260
- What Changed: The class has been moved from the com.lifereay.site.utilpackage to thecom.liferay.site.managerpackage. modules/apps/site/site-api/src/main/java/com/liferay/site/util/RecentGroupManager.java was moved from com.liferay.site.util package to the com.liferay.site.manager package
- Reason: This change is made to match the class name to the package name.
SitemapURLProviderHelper.java
modules/apps/site/site-api/src/main/java/com/liferay/site/util/SitemapURLProviderHelper.java
- Date: Dec. 5, 2023
- Ticket: LPS-203260
- What Changed: The class has been moved from the com.lifereay.site.utilpackage to thecom.liferay.site.managerpackage. modules/apps/site/site-api/src/main/java/com/liferay/site/util/RecentGroupManager.java was moved from com.liferay.site.util package to the com.liferay.site.manager package
- Reason: This change is made to match the class name to the package name.
APIApplicationPublisher.java
modules/apps/headless/headless-builder/headless-builder-api/src/main/java/com/liferay/headless/builder/application/publisher/APIApplicationPublisher.java
- Date: Dec. 5, 2023
- Ticket: LPS-203043
- What Changed: A new clusterable method is added to publish all the applications for a given company.
- Reason: This change encapsulates the logic and potentially avoids intracluster calls.
SegmentsExperimentLocalServiceImpl.java
modules/apps/segments/segments-service/src/main/java/com/liferay/segments/service/impl/SegmentsExperimentLocalServiceImpl.java
- Date: Dec. 6, 2023
- Ticket: LRAC-15144
- What Changed: The runSegmentsExperimentmethod has an addedExperimentparameter.
- Reason: The new parameter is needed for the implementation logic.
SegmentsExperimentServiceImpl.java
modules/apps/segments/segments-service/src/main/java/com/liferay/segments/service/impl/SegmentsExperimentServiceImpl.java
- Date: Dec. 6, 2023
- Ticket: LRAC-15144
- What Changed: The runSegmentsExperimentmethod has an addedExperimentparameter.
- Reason: The new parameter is needed for the implementation logic.
RatingsImporter.java
modules/apps/commerce/commerce-initializer-util/src/main/java/com/liferay/commerce/initializer/util/RatingsImporter.java
- Date: Dec. 7, 2023
- Ticket: LPS-199636
- What Changed: The class is now removed.
- Reason: The class had no usage.
modules/apps/cookies/cookies-impl/bnd.bnd
- Date: Dec. 7, 2023
- Ticket: LPS-51404
- What Changed: The major version is increased to 6.0.0.
ObjectFolderLocalServiceImpl.java
modules/apps/object/object-service/src/main/java/com/liferay/object/service/impl/ObjectFolderLocalServiceImpl.java
- Date: Dec. 12, 2023
- Ticket: LPS-201520
- What Changed: The updateObjectFolder(String, long, Map<Locale, String>, List<ObjectFolderItem>)method has the list of object folder items removed.
- Reason: Each object is able to update the object folder items they are associated with.
ObjectFolderServiceImpl.java
modules/apps/object/object-service/src/main/java/com/liferay/object/service/impl/ObjectFolderServiceImpl.java
- Date: Dec. 12, 2023
- Ticket: LPS-201520
- What Changed: The updateObjectFolder(String, long, Map<Locale, String>, List<ObjectFolderItem>)method has the list of object folder items removed.
- Reason: Each object is able to update the object folder items they are associated with.
modules/apps/commerce/commerce-initializer-util/bnd.bnd
- Date: Dec. 13, 2023
- Ticket: LPS-199636
- What Changed: The bundle’s major version is increased to 9.0.0.
rest-openapi.yaml
modules/apps/captcha/captcha-rest-impl/rest-openapi.yaml
- Date: Dec. 13, 2023
- Ticket: LPS-185213
- What Changed: The API is changed to provide separate GETandPOSTpaths.
- Reason: This change simplifies the schemas.
CategoryFacetFieldConfiguration.java
modules/apps/portal-search/portal-search-api/src/main/java/com/liferay/portal/search/configuration/CategoryFacetFieldConfiguration.java
- Date: Dec. 17, 2023
- Ticket: LPS-203720
- What Changed: The class is now deleted.
- Reason: The assetVocabularyCategoryIdsfield is now used as the aggregation field for the Category Facet.
DefaultObjectEntryManagerImpl.java
modules/apps/object/object-rest-impl/src/main/java/com/liferay/object/rest/internal/manager/v1_0/DefaultObjectEntryManagerImpl.java
- Date: Dec. 18, 2023
- Ticket: LPS-201793
- What Changed: The _addOrUpdateNestedObjectEntriesmethod adds a newStringparameter for ascopeKey.
- Reason: This change allows the creation of site-scoped, nested object entries.
CommercePaymentEntryRefundType.java
modules/apps/commerce/commerce-payment-api/src/main/java/com/liferay/commerce/payment/entry/CommercePaymentEntryRefundType.java
- Date: Dec. 19, 2023
- Ticket: COMMERCE-12943
- What Changed: The new getNameMapmethod is added.
- Reason: This method is necessary to retrieve the name map in the service layer.
SitemapConfigurationManager.java
modules/apps/site/site-api/src/main/java/com/liferay/site/configuration/manager/SitemapConfigurationManager.java
- Date: Dec. 19, 2023
- Ticket: LPS-203214
- What Changed: The includeCategories(long),includePages(long), andincludeWebContent(long)methods have been renamed toincludeCategoriesCompanyEnabled(long),includePagesCompanyEnabled(long), andincludeWebContentCompanyEnabled(long), respectively. The newincludeCategoriesGroupEnabled(long, long),includePagesGroupEnabled(long, long),includeWebContentGroupEnabled(long, long), andsaveSitemapGroupConfiguration(long, boolean, boolean, boolean)methods are also added.
- Reason: This change is made for clarity since a site configuration is being added.
StyleBookEntryLocalServiceImpl.java
modules/apps/style-book/style-book-service/src/main/java/com/liferay/style/book/service/impl/StyleBookEntryLocalServiceImpl.java
- Date: Dec. 19, 2023
- Ticket: LPS-203973
- What Changed: The addStyleBookEntry(long, long, String, String, String, ServiceContext)method adds a newbooleanparameter fordefaultStyleBookeEntry.
- Reason: This change allows a newly added style book to be made the default.
SXPParameterContributor.java
modules/dxp/apps/search-experiences/search-experiences-service/src/main/java/com/liferay/search/experiences/internal/blueprint/parameter/contributor/SXPParameterContributor.java
- Date: Dec. 20, 2023
- Ticket: LPS-201309
- What Changed: The SXPParameterContributorinterface is moved to thesearch-experiences-apimodule.
- Reason: This change is needed for other modules to be able to access the interface.
AssetDisplayPageEntryFormProcessor.java
modules/apps/asset/asset-display-page-api/src/main/java/com/liferay/asset/display/page/portlet/AssetDisplayPageEntryFormProcessor.java
- Date: Dec. 20, 2023
- Ticket: LPS-202905
- What Changed: The new process(long, long, String, long, int, String, long, ServiceContext)andprocess(String, long, ServiceContext)methods are added.
- Reason: The new method implementations make the class easier to use for services because they don’t require a PortletRequestargument.
ObjectDefinitionTestUtil.java
modules/apps/object/object-rest-test-util/src/main/java/com/liferay/object/rest/test/util/ObjectDefinitionTestUtil.java
- Date: Dec. 27, 2023
- Ticket: LPS-204463
- What Changed: The publishObjectDefinition(List<ObjectField>, String, long)method is removed, and a newpublishObjectDefinition(String, List<ObjectField>, String)is added.
- Reason: The name needs to be specified when publishing an object definition.
CommercePaymentEntryConstants.java
modules/apps/commerce/commerce-api/src/main/java/com/liferay/commerce/constants/CommercePaymentEntryConstants.java
- Date: Dec. 28, 2023
- Ticket: COMMERCE-12755
- What Changed: The REFUNDconstant field is renamed toREFUNDED.
- Reason: The constant was renamed for consistency.
FragmentWebKeys.java
modules/apps/fragment/fragment-api/src/main/java/com/liferay/fragment/constants/FragmentWebKeys.java
- Date: Dec. 30, 2023
- Ticket: LPS-204724
- What Changed: The FRAGMENT_ENTRY_LINKconstant field is removed.
- Reason: This constant is no longer used.
FragmentPortletRenderer.java
modules/apps/fragment/fragment-api/src/main/java/com/liferay/fragment/renderer/FragmentPortletRenderer.java
- Date: Dec. 30, 2023
- Ticket: LPS-204724
- What Changed: The renderPortletmethod now has aFragmentEntryLinkparameter.
- Reason: The FragmentEntryLinkis removed from the request.
SegmentsEntryLocalServiceUtil.java
modules/apps/segments/segments-api/src/main/java/com/liferay/segments/service/SegmentsEntryLocalServiceUtil.java
- Date: Jan. 4, 2024
- Ticket: LPS-205013
- What Changed: The getSegmentsEntriesCount(long, boolean),getSegmentsEntries(long, boolean, int, int, OrderByComparator), andgetSegmentsEntries(long, boolean, String, String, int, int, OrderByComparator)methods each have thebooleanparameter removed. ThesearchSegmentsEntries(long, String, LinkedHashMap, int, int, Sort)andgetSegmentsEntries(long, boolean, String, int, int, OrderByComparator)methods are also removed.
- Reason: The API is updated to simplify the implementation logic.
SegmentsEntryServiceUtil.java
modules/apps/segments/segments-api/src/main/java/com/liferay/segments/service/SegmentsEntryServiceUtil.java
- Date: Jan. 4, 2024
- Ticket: LPS-205013
- What Changed: The getSegmentsEntries(long, boolean),getSegmentsEntries(long, boolean, int, int, OrderByComparator), andgetSegmentsEntriesCount(long, boolean)methods each have thebooleanparameter removed. ThegetSegmentsEntries(long, int, int, OrderByComparator)andgetSegmentsEntriesCount(long)methods are also removed.
- Reason: The API is updated to simplify the implementation logic.
JournalServiceConfiguration.java
modules/apps/journal/journal-api/src/main/java/com/liferay/journal/configuration/JournalServiceConfiguration.java
- Date: Jan. 4, 2024
- Ticket: LPS-204945
- What Changed: The journalArticleStorageTypeanddatabaseContentKeywordSearchEnabledmethods are removed.
- Reason: These methods have no usage and are not considered in other areas of the code.
AntivirusAsyncStatisticsManager.java
modules/dxp/apps/antivirus/antivirus-async-store/src/main/java/com/liferay/antivirus/async/store/jmx/AntivirusAsyncStatisticsManager.java
- Date: Jan. 5, 2024
- Ticket: LPS-202191
- What Changed: The class no longer implements the AntivirusStatisticsUpdaterAsyncEventListenerinterface, so it no longer implements thereceive(Message)method.
- Reason: The class was refactored to avoid publishing multiple services.
LayoutDisplayPageWebKeys.java
modules/apps/layout/layout-display-page-api/src/main/java/com/liferay/layout/display/page/constants/LayoutDisplayPageWebKeys.java
- Date: Jan. 6, 2024
- Ticket: LPS-204842
- What Changed: The DEFAULT_LAYOUT_DISPLAYconstant field is removed.
- Reason: The only usage of this constant was removed.
Field.java
modules/apps/portal-vulcan/portal-vulcan-api/src/main/java/com/liferay/portal/vulcan/batch/engine/Field.java
- Date: Jan. 7, 2024
- Ticket: LPS-204467
- What Changed: The unsupportedFormatsJSON property is added.
- Reason: This change allows for checking if the batch engine supports a field.
ContentTransformerHandler.java
modules/apps/adaptive-media/adaptive-media-content-transformer-api/src/main/java/com/liferay/adaptive/media/content/transformer/ContentTransformerHandler.java
- Date: Jan. 10, 2024
- Ticket: LPS-203653
- What Changed: The transform(ContentTransformerContentType, T)method is removed, and replaced with thetransform(String)method.
- Reason: The content types were not used, and the logic supporting it was causing issues.
ContentTransformer.java
modules/apps/adaptive-media/adaptive-media-content-transformer-api/src/main/java/com/liferay/adaptive/media/content/transformer/ContentTransformer.java
- Date: Jan. 10, 2024
- Ticket: LPS-203653
- What Changed: The generic type is removed from the class, and the getContentTransformerContentTypeandtransform(T)methods are removed. Instead, atransform(String)method is added.
- Reason: The content types were not used, and the logic supporting it was causing issues.
SegmentsCriteriaContributorRegistry.java
modules/apps/segments/segments-api/src/main/java/com/liferay/segments/criteria/contributor/SegmentsCriteriaContributorRegistry.java
- Date: Jan. 11, 2024
- Ticket: LPS-205239
- What Changed: The Stringparameter is removed from thegetSegmentsCriteriaContributors(String)method. ThegetSegmentsCriteriaContributors(String, Criteria.Type)method is removed.
- Reason: This is an internal registry, and this change simplifies the API. The removed method implementation had no usage.
SegmentsEntryProviderRegistry.java
modules/apps/segments/segments-api/src/main/java/com/liferay/segments/provider/SegmentsEntryProviderRegistry.java
- Date: Jan. 11, 2024
- Ticket: LPS-205239
- What Changed: The getSegmentsEntryIds(long, String, long, Context)method is removed. Instead, add thesegmentEntryIdsarray parameter to use thegetSegmentsEntryId(long, String, long, Context, long[])implementation.
- Reason: The removed method implementation was deprecated.
SegmentsEntryRetriever.java
modules/apps/segments/segments-api/src/main/java/com/liferay/segments/SegmentsEntryRetriever.java
- Date: Jan. 11, 2024
- Ticket: LPS-205239
- What Changed: The getSegmentsEntryIds(long, long, Context)method is removed. Instead, add thesegmentEntryIdsarray parameter to use thegetSegmentEntryIds(long, long, Context, long[])implementation.
- Reason: The removed method implementation was deprecated.
CommerceMediaResolver.java
modules/apps/commerce/commerce-media-api/src/main/java/com/liferay/commerce/media/CommerceMediaResolver.java
- Date: Jan. 13, 2024
- Ticket: COMMERCE-12776
- What Changed: The getDownloadVirtualOrderItemURLmethod now has an extralongparameter, forfileEntryId.
- Reason: The method must support specifying a file entry to download because you can now download more than one file at a time with an OrderItem.
service.xml
modules/apps/commerce/commerce-product-type-virtual-service/service.xml
- Date: Jan. 13, 2024
- Ticket: COMMERCE-12776
- What Changed: The fileEntryIdandURLcolumns are removed, and a one-to-many relationship is added with theCPDVirtualSettingFileEntryentity.
- Reason: CPDefinitionVirtualSettingandCommerceVirtualOrderItemmust now handle multiple file entries.
service.xml
modules/apps/commerce/commerce-product-type-virtual-order-service/service.xml(
modules/apps/commerce/commerce-product-type-virtual-order-service/service.xml)
- Date: Jan. 13, 2024
- Ticket: COMMERCE-12776
- What Changed: The fileEntryIdandURLcolumns are removed, and a one-to-many relationship is added with theCommerceVirtualOrderItemFileEntryentity.
- Reason: CPDefinitionVirtualSettingandCommerceVirtualOrderItemmust now handle multiple file entries.
CPDefinitionVirtualSettingLocalServiceImpl.java
modules/apps/commerce/commerce-product-type-virtual-service/src/main/java/com/liferay/commerce/product/type/virtual/service/impl/CPDefinitionVirtualSettingLocalServiceImpl.java
- Date: Jan. 13, 2024
- Ticket: COMMERCE-12776
- What Changed: Some addmethod implementations are removed, and various other method signatures are changed to removefileEntryIdandurlparameters.
- Reason: CPDefinitionVirtualSettingandCommerceVirtualOrderItemmust now handle multiple file entries. The removedaddimplementations were redundant.
CommerceVirtualOrderItemLocalServiceImpl.java
modules/apps/commerce/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/impl/CommerceVirtualOrderItemLocalServiceImpl.java
- Date: Jan. 13, 2024
- Ticket: COMMERCE-12776
- What Changed: Various method signatures are changed to remove fileEntryIdandurlparameters.
- Reason: CPDefinitionVirtualSettingandCommerceVirtualOrderItemmust now handle multiple file entries.
CommerceVirtualOrderItemServiceImpl.java
modules/apps/commerce/commerce-product-type-virtual-order-service/src/main/java/com/liferay/commerce/product/type/virtual/order/service/impl/CommerceVirtualOrderItemServiceImpl.java
- Date: Jan. 13, 2024
- Ticket: COMMERCE-12776
- What Changed: Various method signatures are changed to remove fileEntryIdandurlparameters.
- Reason: CPDefinitionVirtualSettingandCommerceVirtualOrderItemmust now handle multiple file entries.
CTClosureFactory.java
modules/apps/change-tracking/change-tracking-api/src/main/java/com/liferay/change/tracking/closure/CTClosureFactory.java
- Date: Jan. 16, 2024
- Ticket: LPS-203903
- What Changed: A new clearCache(long ctCollectionId)method is added`.
- Reason: The new method implementation allows for caching CTClosureobjects.
Levels.java
modules/apps/portal/portal-log4j/src/main/java/com/liferay/portal/log4j/Levels.java
- Date: Jan. 17, 2024
- Ticket: LPS-200582
- What Changed: The Levelsclass is removed.
- Reason: The class was deprecated.
AssetListEntryServiceImpl.java
modules/apps/asset/asset-list-service/src/main/java/com/liferay/asset/list/service/impl/AssetListEntryServiceImpl.java
- Date: Jan. 22, 2024
- Ticket: LPS-206304
- What Changed: The addDynamicAssetListEntryandaddManualAssetListEntrymethods have removed thelong userIdparameter.
- Reason: This change avoids exposing user IDs to the remote service.
CommercePaymentMethodGroupRelLocalServiceImpl.java
modules/apps/commerce/commerce-payment-service/src/main/java/com/liferay/commerce/payment/service/impl/CommercePaymentMethodGroupRelLocalServiceImpl.java
- Date: Jan. 24, 2024
- Ticket: COMMERCE-12385
- What Changed: A new updateCommercePaymentMethodGroupRel(CommercePaymentMethodGroupRel)method is added.
- Reason: The new method implementation is necessary to update a CommercePaymentMethodGroupRelobject.
ReflectionUtil.java
modules/core/petra/petra-reflect/src/main/java/com/liferay/petra/reflect/ReflectionUtil.java
- Date: Jan. 25, 2024
- Ticket: LPD-15179
- What Changed: The arrayClonemethod is removed.
- Reason: The arrayClonemethod had no usage.
ObjectGraphUtil.java
modules/core/petra/petra-reflect/src/main/java/com/liferay/petra/reflect/ObjectGraphUtil.java
- Date: Jan. 25, 2024
- Ticket: LPD-15179
- What Changed: The ObjectGraphUtilclass is removed.
- Reason: The class had no usage.
SegmentsEntryServiceImpl.java
modules/apps/segments/segments-service/src/main/java/com/liferay/segments/service/impl/SegmentsEntryServiceImpl.java
- Date: Jan. 30, 2024
- Ticket: LPS-206170
- What Changed: Both addSegmentsEntryimplementations have thetypeparameter removed. Update your implementation to remove the type from the method call.
- Reason: The typeparameter always has the same value, so this change simplifies the API.
SegmentsEntryLocalServiceImpl.java
modules/apps/segments/segments-service/src/main/java/com/liferay/segments/service/impl/SegmentsEntryLocalServiceImpl.java
- Date: Jan. 30, 2024
- Ticket: LPS-206170
- What Changed: Both addSegmentsEntryimplementations have thetypeparameter removed. Update your implementation to remove the type from the method call.
- Reason: The typeparameter always has the same value, so this change simplifies the API.
CountriesCommerceHealthStatus.java
modules/apps/commerce/commerce-health-status-web/src/main/java/com/liferay/commerce/health/status/web/internal/CountriesCommerceHealthStatus.java
- Date: Jan. 30, 2024
- Ticket: LPD-15148
- What Changed: The CountriesCommerceHealthStatusclass is removed.
- Reason: The countries health check implementation did not provide value.
FragmentEntryLocalServiceUtil.java
modules/apps/fragment/fragment-api/src/main/java/com/liferay/fragment/service/FragmentEntryLocalServiceUtil.java
- Date: Feb. 6, 2024
- Ticket: LPD-16310
- What Changed: The addFragmentEntry(long, long, long, String, String, String, String, String, boolean, String, String, long, int, String, int, ServiceContext)andupdateEntry(long, long, long, String, String, String, String, boolean, String, String, long, String, int)methods are removed.
- Reason: The methods are replaced with new addFragmentEntryandupdateFragmentEntrymethods, with updated parameters to improve fragment version logic.
FragmentEntryServiceUtil.java
modules/apps/fragment/fragment-api/src/main/java/com/liferay/fragment/service/FragmentEntryServiceUtil.java
- Date: Feb. 6, 2024
- Ticket: LPD-16310
- What Changed: The addFragmentEntry(long, long, long, String, String, String, String, String, boolean, String, String, long, int, String, int, ServiceContext)andupdateEntry(long, long, long, String, String, String, String, boolean, String, String, long, String, int)methods are removed.
- Reason: The methods are replaced with new addFragmentEntryandupdateFragmentEntrymethods, with updated parameters to improve fragment version logic.
GroupSearchProvider.java
modules/apps/site/site-api/src/main/java/com/liferay/site/provider/GroupSearchProvider.java
- Date: Feb. 6, 2024
- Ticket: LPD-16643
- What Changed: GroupSearchProvideris now a static class, and thegetGroupSearch(PortletRequest, PortletURL)method is removed.
- Reason: The GroupSearchProvideris an internal API class, and the change better aligns with its use case.
SiteWebKeys.java
modules/apps/site/site-api/src/main/java/com/liferay/site/constants/SiteWebKeys.java
- Date: Feb. 6, 2024
- Ticket: LPD-16643
- What Changed: The GROUP_SEARCH_PROVIDERis removed.
- Reason: The GROUP_SEARCH_PROVIDERwas meant for internal use and no longer has any usage.
ObjectFieldLocalServiceImpl.java
modules/apps/object/object-service/src/main/java/com/liferay/object/service/impl/ObjectFieldLocalServiceImpl.java
- Date: Feb. 6, 2024
- Ticket: LPD-15616
- What Changed: The validateRequiredmethod’s parameters are reordered with a newbooleanparameter.
- Reason: This change is necessary for object definition validation.
BatchEngineTaskItemDelegateRegistry.java
modules/apps/batch-engine/batch-engine-api/src/main/java/com/liferay/batch/engine/BatchEngineTaskItemDelegateRegistry.java
- Date: Feb. 8, 2024
- Ticket: LPD-15236
- What Changed: The getBatchEngineTaskItemDelegatemethod has a newlongparameter for a company ID.
- Reason: The BatchEngineTaskItemDelegateneeds a way to be retrieved by company ID.
ObjectFieldLocalServiceImpl.java
modules/apps/object/object-service/src/main/java/com/liferay/object/service/impl/ObjectFieldLocalServiceImpl.java
- Date: Feb. 20, 2024
- Ticket: LPD-16492
- What Changed: The object field local service’s validation now makes sure that BUSINESS_TYPE_AGGREGATIONandBUSINESS_TYPE_FORMULAobject fields are not indexable.
- Reason: Elasticsearch does not properly support indexing these types of object fields, which set their values at runtime.
CommercePortletKeys.java
modules/apps/commerce/commerce-api/src/main/java/com/liferay/commerce/constants/CommercePortletKeys.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommercePortletKeysclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountryPanelApp.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/application/list/CommerceCountryPanelApp.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountryPanelAppclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountryScreenNavigationConstants.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/constants/CommerceCountryScreenNavigationConstants.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountryScreenNavigationConstantsclass is removed.
- Reason: The Commerce Country portlet is removed.
BaseCommerceCountriesDisplayContext.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/display/context/BaseCommerceCountriesDisplayContext.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The BaseCommerceCountriesDisplayContextclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountriesDisplayContext.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/display/context/CommerceCountriesDisplayContext.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountriesDisplayContextclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountriesManagementToolbarDisplayContext.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/display/context/CommerceCountriesManagementToolbarDisplayContext.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountriesManagementToolbarDisplayContextclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceRegionsDisplayContext.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/display/context/CommerceRegionsDisplayContext.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceRegionsDisplayContextclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceRegionsManagementToolbarDisplayContext.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/display/context/CommerceRegionsManagementToolbarDisplayContext.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceRegionsManagementToolbarDisplayContextclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountryRequestHelper.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/display/context/helper/CommerceCountryRequestHelper.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountryRequestHelperclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountryChannelsScreenNavigationCategory.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/frontend/taglib/servlet/taglib/CommerceCountryChannelsScreenNavigationCategory.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountryChannelsScreenNavigationCategoryclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountryChannelsScreenNavigationEntry.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/frontend/taglib/servlet/taglib/CommerceCountryChannelsScreenNavigationEntry.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountryChannelsScreenNavigationEntryclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountryDetailsScreenNavigationCategory.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/frontend/taglib/servlet/taglib/CommerceCountryDetailsScreenNavigationCategory.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountryDetailsScreenNavigationCategoryclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountryDetailsScreenNavigationEntry.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/frontend/taglib/servlet/taglib/CommerceCountryDetailsScreenNavigationEntry.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountryDetailsScreenNavigationEntryclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountryRegionsScreenNavigationCategory.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/frontend/taglib/servlet/taglib/CommerceCountryRegionsScreenNavigationCategory.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountryRegionsScreenNavigationCategoryclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountryRegionsScreenNavigationEntry.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/frontend/taglib/servlet/taglib/CommerceCountryRegionsScreenNavigationEntry.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountryRegionsScreenNavigationEntryclass is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountryPortlet.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/portlet/CommerceCountryPortlet.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountryPortletclass is removed.
- Reason: The Commerce Country portlet is removed.
EditCommerceCountryMVCActionCommand.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/portlet/action/EditCommerceCountryMVCActionCommand.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The EditCommerceCountryMVCActionCommandclass is removed.
- Reason: The Commerce Country portlet is removed.
EditCommerceCountryMVCRenderCommand.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/portlet/action/EditCommerceCountryMVCRenderCommand.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The EditCommerceCountryMVCRenderCommandclass is removed.
- Reason: The Commerce Country portlet is removed.
EditCommerceRegionMVCActionCommand.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/portlet/action/EditCommerceRegionMVCActionCommand.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The EditCommerceRegionMVCActionCommandclass is removed.
- Reason: The Commerce Country portlet is removed.
EditCommerceRegionMVCRenderCommand.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/portlet/action/EditCommerceRegionMVCRenderCommand.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The EditCommerceRegionMVCRenderCommandclass is removed.
- Reason: The Commerce Country portlet is removed.
ImportCommerceRegionsMVCActionCommand.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/portlet/action/ImportCommerceRegionsMVCActionCommand.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The ImportCommerceRegionsMVCActionCommandclass is removed.
- Reason: The Commerce Country portlet is removed.
ActionHelper.java
modules/apps/commerce/commerce-address-web/src/main/java/com/liferay/commerce/address/web/internal/portlet/action/helper/ActionHelper.java
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The ActionHelperclass is removed.
- Reason: The Commerce Country portlet is removed.
channels.jsp
modules/apps/commerce/commerce-address-web/src/main/resources/META-INF/resources/commerce_country/channels.jsp
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The channels.jspfile is removed.
- Reason: The Commerce Country portlet is removed.
commerce_regions.jsp
modules/apps/commerce/commerce-address-web/src/main/resources/META-INF/resources/commerce_country/commerce_regions.jsp
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The commerce_regions.jspfile is removed.
- Reason: The Commerce Country portlet is removed.
details.jsp
modules/apps/commerce/commerce-address-web/src/main/resources/META-INF/resources/commerce_country/details.jsp
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The details.jspfile is removed.
- Reason: The Commerce Country portlet is removed.
commerce_country_action.jsp
modules/apps/commerce/commerce-address-web/src/main/resources/META-INF/resources/commerce_country_action.jsp
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The commerce_country_action.jspfile is removed.
- Reason: The Commerce Country portlet is removed.
commerce_region_action.jsp
modules/apps/commerce/commerce-address-web/src/main/resources/META-INF/resources/commerce_region_action.jsp
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The commerce_region_action.jspfile is removed.
- Reason: The Commerce Country portlet is removed.
modules/apps/commerce/commerce-address-web/src/main/resources/META-INF/resources/css/main.scss
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The commerce-address-webmodule’smain.scssfile is removed.
- Reason: The Commerce Country portlet is removed.
edit_commerce_country.jsp
modules/apps/commerce/commerce-address-web/src/main/resources/META-INF/resources/edit_commerce_country.jsp
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The edit_commerce_country.jspfile is removed.
- Reason: The Commerce Country portlet is removed.
edit_commerce_region.jsp
modules/apps/commerce/commerce-address-web/src/main/resources/META-INF/resources/edit_commerce_region.jsp
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The edit_commerce_region.jspfile is removed.
- Reason: The Commerce Country portlet is removed.
CommerceCountriesManagementToolbarPropsTransformer.js
modules/apps/commerce/commerce-address-web/src/main/resources/META-INF/resources/js/CommerceCountriesManagementToolbarPropsTransformer.js
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceCountriesManagementToolbarPropsTransformer.jsfile is removed.
- Reason: The Commerce Country portlet is removed.
CommerceRegionsManagementToolbarPropsTransformer.js
modules/apps/commerce/commerce-address-web/src/main/resources/META-INF/resources/js/CommerceRegionsManagementToolbarPropsTransformer.js
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The CommerceRegionsManagementToolbarPropsTransformer.jsfile is removed.
- Reason: The Commerce Country portlet is removed.
modules/apps/commerce/commerce-address-web/src/main/resources/META-INF/resources/view.jsp
- Date: Mar. 18, 2024
- Ticket: LPD-15148
- What Changed: The commerce-address-webmodule’sview.jspfile is removed.
- Reason: The Commerce Country portlet is removed.
PersonalMenuEntry.java
modules/apps/product-navigation/product-navigation-personal-menu-api/src/main/java/com/liferay/product/navigation/personal/menu/PersonalMenuEntry.java
- Date: Mar. 18, 2024
- Ticket: LPS-194004
- What Changed: The getJSOnClickConfigJSONObjectmethod behavior now requires providing a JavaScript function forgetOnClickJSModuleURL, which is called with the value fromgetJSOnClickConfigJSONObjectas its parameter.
- Reason: This change makes getJSOnClickConfigJSONObjectmore broadly usable for any type of on-click interaction, not just for opening a selection modal.
Changes in portal-impl Classes
PortletContextFactoryImpl.java
portal-impl/src/com/liferay/portlet/internal/PortletContextFactoryImpl.java
- Date: Nov. 7, 2023
- Ticket: LPS-200088
- What Changed: The class is removed. Instead, use PortletContextFactoryUtildirectly.
- Reason: The code is being consolidated to simplify code structure.
portal.properties
portal-impl/src/portal.properties
- Date: Nov. 7, 2023
- Ticket: LPS-196123
- What Changed: The dl.file.entry.processorsportal property is removed. Instead, add your ownDLProcessorimplementation as an OSGi service.
- Reason: This portal property is no longer required because all out-of-the-box implementations of DLProcessorare now OSGi services.
DLPreviewableProcessor.java
portal-impl/src/com/liferay/portlet/documentlibrary/util/DLPreviewableProcessor.java
- Date: Nov. 7, 2023
- Ticket: LPS-196123
- What Changed: The DLPreviewableProcessorclass is moved fromportal-implto thedocument-library-preview-apimodule. Adddocument-library-preview-apias a build dependency to continue using this class.
- Reason: DLPreviewableProcessor’s subclasses are now all in the module, so they can be converted into OSGi components.
AudioProcessorImpl.java
portal-impl/src/com/liferay/portlet/documentlibrary/util/AudioProcessorImpl.java
- Date: Nov. 7, 2023
- Ticket: LPS-196123
- What Changed: The AudioProcessorImplclass is moved fromportal-implto thedocument-library-preview-audiomodule. Instead, reference theDLProcessorclass with the target"(type=" + DLProcessorConstants.AUDIO_PROCESSOR + ")".
- Reason: This change allows AudioProcessorImplto become an OSGi component.
VideoProcessorImpl.java
portal-impl/src/com/liferay/portlet/documentlibrary/util/VideoProcessorImpl.java
- Date: Nov. 7, 2023
- Ticket: LPS-196123
- What Changed: The VideoProcessorImplclass is moved fromportal-implto thedocument-library-preview-videomodule. Instead, reference theDLProcessorclass with the target"(type=" + DLProcessorConstants.VIDEO_PROCESSOR + ")".
- Reason: This change allows AudioProcessorImplto become an OSGi component.
DLFileEntryLocalServiceImpl.java
portal-impl/src/com/liferay/portlet/documentlibrary/service/impl/DLFileEntryLocalServiceImpl.java
- Date: Nov. 7, 2023
- Ticket: LPS-197738
- What Changed: The new forEachFileEntry(long, Consumer<DLFileEntry>, long, String[])andforEachFileEntry(long, long, Consumer<DLFileEntry>, long, String[])methods are added.
- Reason: These methods allow for executing arbitrary code on a long list of file entries without retrieving the entire list first.
portal.properties
portal-impl/src/portal.properties
- Date: Nov. 16, 2023
- Ticket: LPS-199234
- What Changed: The session.timeout.auto.extendandsession.timeout.auto.extend.offsetportal properties are removed. Instead, set these configurations (with the same names) in the system, instance, or site settings.
- Reason: These configurations are now handled in the UI via site, instance, or system settings, so they do not require adjustments to portal-ext.properties.
AssetTagFinderImpl.java
portal-impl/src/com/liferay/portlet/asset/service/persistence/impl/AssetTagFinderImpl.java
- Date: Nov. 20, 2023
- Ticket: LPS-201547
- What Changed: The countByG_N(long, String)method is removed. Instead, use thecountByG_C_N(long, long, String)method, passing0as the second argument (classNameId).
- Reason: The countByG_N(long, String)method was redundant.
AssetTagLocalServiceImpl.java –> getTagsSize(long groupId, String name) portal-impl/src/com/liferay/portlet/asset/service/impl/AssetTagLocalServiceImpl.java --> getTagsSize(long groupId, String name)
- Date: Nov. 20, 2023
- Ticket: LPS-201547
- What Changed: The getTagsSize(long, String)method is removed. Instead, use thegetTagsSize(long, long, String)method, passing0as the second argument (classNameId).
- Reason: The getTagsSize(long, String)method was redundant.
AssetTagServiceImpl.java
portal-impl/src/com/liferay/portlet/asset/service/impl/AssetTagServiceImpl.java
- Date: Nov. 20, 2023
- Ticket: LPS-201547
- What Changed: The getVisibleAssetsTagsCount(long, String)method is removed. Instead, use thegetVisibleAssetsTagsCount(long, long, String)method, passing0as the second argument (classNameId).
- Reason: The getVisibleAssetsTagsCount(long, String)method was redundant.
SiteMembershipPolicyFactoryUtil.java
portal-impl/src/com/liferay/portal/security/membershippolicy/SiteMembershipPolicyFactoryUtil.java
- Date: Nov. 23, 2023
- Ticket: LPS-199470
- What Changed: The class is removed. Instead, use the static methods in SiteMembershipPolicyUtil.
- Reason: The logic from this class is consolidated into SiteMembershipPolicyUtilto simplify the code structure.
SiteMembershipPolicyFactoryImpl.java
portal-impl/src/com/liferay/portal/security/membershippolicy/SiteMembershipPolicyFactoryImpl.java
- Date: Nov. 23, 2023
- Ticket: LPS-199470
- What Changed: The class is removed. Instead, use SiteMembershipPolicyUtildirectly.
- Reason: The logic from this class is consolidated into SiteMembershipPolicyUtilto simplify the code structure.
UserLocalServiceImpl.java
portal-impl/src/com/liferay/portal/service/impl/UserLocalServiceImpl.java
- Date: Nov. 24, 2023
- Ticket: LPS-201007
- What Changed: The searchBySocialmethod has a newlong[]parameter for group IDs.
- Reason: This change allows for searching for users who are added to a group via a user group.
LayoutPrototypePermissionImpl.java
portal-impl/src/com/liferay/portal/service/permission/LayoutPrototypePermissionImpl.java
- Date: Nov. 24, 2023
- Ticket: LPS-201156
- What Changed: The class is removed. Instead, use LayoutPrototypePermissionUtildirectly.
- Reason: The LayoutPrototypePermissionImplclass is no longer needed Spring no longer needs to register it as an OSGi component.
MethodFactoryRegistryImpl.java
portal-impl/src/com/liferay/portal/webdav/methods/MethodFactoryRegistryImpl.java
- Date: Nov. 27, 2023
- Ticket: LPS-200166
- What Changed: The class is removed. Registering custom MethodFactoryimplementations is no longer supported.
- Reason: No MethodFactoryimplementation is needed other thanMethodFactoryImpl.
BaseWebDAVStorageImpl.java
portal-impl/src/com/liferay/portal/webdav/BaseWebDAVStorageImpl.java
- Date: Nov. 27, 2023
- Ticket: LPS-200166
- What Changed: TheBaseWebDAVStorageImplclass is moved fromportal-kerneltoportal-impl. Addportal-implas a build dependency to keep using the same class.
- Reason: The BaseWebDAVStorageImplclass is moved intoportal-implto simplify the code structure.
DLImpl.java
portal-impl/src/com/liferay/portlet/documentlibrary/util/DLImpl.java
- Date: Dec. 6, 2023
- Ticket: LPS-202905
- What Changed: The DLImplclass is moved to thedocument-library-servicemodule.
- Reason: The class is rewritten to have access to some OSGi components in the document-library-servicemodule to improve performance.
JSONWebServiceHotDeployListener.java
portal-impl/src/com/liferay/portal/deploy/hot/JSONWebServiceHotDeployListener.java
- Date: Dec. 13, 2023
- Ticket: LPS-203854
- What Changed: The class is removed.
- Reason: Spring bean JSON web service registration is now centralized in JSONWebServiceTracker, so this class is no longer needed to respond to hot deploy events.
messaging-misc-spring.xml
portal-impl/src/META-INF/messaging-misc-spring.xml
- Date: Dec. 15, 2023
- Ticket: LPS-203461
- What Changed: The messaging-misc-spring.xmlfile is removed.
- Reason: The messaging-misc-spring.xmlfile is no longer used.
portal.properties
portal-impl/src/portal.properties
- Date: Jan. 4, 2024
- Ticket: LPS-199540
- What Changed: The index.permission.filter.search.amplification.factorproperty is removed. Instead, if the total amount of time searching is still a concern, regulate it with the new Permission Filtering Time Limit configuration (Control Panel → System Settings → Search → Default Search Result Permission Filter).
- Reason: The index.permission.filter.search.amplification.factorproperty did not effectively improve permission filtering, and it only applied on the first search.
system.properties
portal-impl/src/system.properties
- Date: Jan. 8, 2024
- Ticket: LPS-204548
- What Changed: The com.liferay.portal.kernel.util.ServiceProxyFactory.timeoutsystem property is removed. Property com.liferay.portal.kernel.util.ServiceProxyFactory.timeout is being removed.
- Reason: This property is only used for the ServiceProxyFactoryclass, which is being removed.
ServiceBag.java
portal-impl/src/com/liferay/portal/deploy/hot/ServiceBag.java
- Date: Jan. 10, 2024
- Ticket: LPS-204273
- What Changed: The ServiceBagconstructor has removed theClassLoaderparameter and addedBundleContextandServiceReferenceparameters. Thereplacemethod also no longer throwsException.
- Reason: This change fixes issues with creating this class.
Changes in portal-kernel Classes
IndexableActionableDynamicQuery.java
portal-kernel/src/com/liferay/portal/kernel/dao/orm/IndexableActionableDynamicQuery.java
- Date: Nov. 6, 2023
- Ticket: LPS-199958
- What Changed: The setIndexWriterHelpermethod is removed.
- Reason: This method was only used for the UserIndexerclass, which has been removed.
PortletContextFactory.java
portal-kernel/src/com/liferay/portal/kernel/portlet/PortletContextFactory.java
- Date: Nov. 7, 2023
- Ticket: LPS-200088
- What Changed: The interface is removed. Instead, add portal-implas a build dependency and usePortletContextFactoryUtildirectly.
- Reason: The code is being consolidated and moved into portal-implto simplify code structure.
PortletContextFactoryUtil.java
portal-kernel/src/com/liferay/portal/kernel/portlet/PortletContextFactoryUtil.java
- Date: Nov. 7, 2023
- Ticket: LPS-199470
- What Changed: The PortletContextFactoryUtilclass is moved fromportal-kerneltoportal-impl. Addportal-implas a build dependency to continue using this class.
- Reason: This class is moved into portal-implto simplify the code structure.
AuditMessageFactory.java
portal-kernel/src/com/liferay/portal/kernel/audit/AuditMessageFactory.java
- Date: Nov. 7, 2023
- Ticket: LPS-201086
- What Changed: The AuditMessageFactoryinterface is now an implemented class. The logic previously inAuditMessageFactoryImplandAuditMessageFactoryUtilis now implemented in this class.
- Reason: Having these classes separated did not provide any value, so they were consolidated into AuditMessageFactoryto simplify the code.
AuditMessageFactoryUtil.java
portal-kernel/src/com/liferay/portal/kernel/audit/AuditMessageFactoryUtil.java
- Date: Nov. 7, 2023
- Ticket: LPS-201086
- What Changed: The class is removed. The logic from this class is moved into AuditMessageFactory.
- Reason: Having these classes separated did not provide any value, so they were merged into a single class to simplify the code.
AssetEntriesFacet.java
portal-kernel/src/com/liferay/portal/kernel/search/facet/AssetEntriesFacet.java
- Date: Nov. 15, 2023
- Ticket: LPS-200073
- What Changed: The class is removed.
- Reason: The class was deprecated and its usages have been replaced by FacetImpl.
AssetTagUtil.java
portal-kernel/src/com/liferay/asset/kernel/service/persistence/AssetTagUtil.java
- Date: Nov. 21, 2023
- Ticket: LPS-202248
- What Changed: The findByG_LikeN,findByG_N_First,findByG_N_Last,findByG_N_PrevAndNext,removeByG_N, andcountByG_Nmethods are removed.
- Reason: These methods no longer have any usage.
AssetTagPersistence.java
portal-kernel/src/com/liferay/asset/kernel/service/persistence/AssetTagPersistence.java
- Date: Nov. 21, 2023
- Ticket: LPS-202248
- What Changed: The findByG_LikeN,findByG_N_First,findByG_N_Last,findByG_N_PrevAndNext,removeByG_N, andcountByG_Nmethods are removed.
- Reason: These methods no longer have any usage.
AssetTagFinder.java
portal-kernel/src/com/liferay/asset/kernel/service/persistence/AssetTagFinder.java
- Date: Nov. 22, 2023
- Ticket: LPS-202275
- What Changed: The findByG_N_S_Emethod is removed.
- Reason: This method no longer has any usage.
AssetTagFinderUtil.java
portal-kernel/src/com/liferay/asset/kernel/service/persistence/AssetTagFinderUtil.java
- Date: Nov. 22, 2023
- Ticket: LPS-202275
- What Changed: The findByG_N_S_Emethod is removed.
- Reason: This method no longer has any usage.
AssetTagLocalService.java
portal-kernel/src/com/liferay/asset/kernel/service/AssetTagLocalService.java
- Date: Nov. 22, 2023
- Ticket: LPS-202275
- What Changed: The getSocialActivityCounterOffsetTagsandgetSocialActivityCounterPeriodTagsmethods are removed.
- Reason: These methods no longer have any usage.
AssetTagLocalServiceUtil.java
portal-kernel/src/com/liferay/asset/kernel/service/AssetTagLocalServiceUtil.java
- Date: Nov. 22, 2023
- Ticket: LPS-202275
- What Changed: The getSocialActivityCounterOffsetTagsandgetSocialActivityCounterPeriodTagsmethods are removed.
- Reason: These methods no longer have any usage.
SiteMembershipPolicyFactory.java
portal-kernel/src/com/liferay/portal/kernel/security/membershippolicy/SiteMembershipPolicyFactory.java
- Date: Nov. 23, 2023
- Ticket: LPS-199470
- What Changed: The interface is removed. Instead, use SiteMembershipPolicyFactoryUtildirectly.
- Reason: This interface is no longer needed because Spring no longer needs to register its implementations as OSGi components.
SiteMembershipPolicyFactoryUtil.java
portal-kernel/src/com/liferay/portal/kernel/security/membershippolicy/SiteMembershipPolicyFactoryUtil.java
- Date: Nov. 23, 2023
- Ticket: LPS-199470
- What Changed: The SiteMembershipPolicyFactoryUtilclass is moved fromportal-kerneltoportal-impl. Addportal-implas a build dependency to continue using this class.
- Reason: This class is moved into portal-implto simplify the code structure.
SiteMembershipPolicyUtil.java
portal-kernel/src/com/liferay/portal/security/membershippolicy/SiteMembershipPolicyUtil.java
- Date: Nov. 23, 2023
- Ticket: LPS-199470
- What Changed: The SiteMembershipPolicyUtilclass is moved fromportal-kerneltoportal-impl. Addportal-implas a build dependency to continue using this class.
- Reason: This class is moved into portal-implto simplify the code structure.
LayoutPrototypePermissionUtil.java
portal-kernel/src/com/liferay/portal/kernel/service/permission/LayoutPrototypePermissionUtil.java
- Date: Nov. 24, 2023
- Ticket: LPS-201156
- What Changed: The LayoutPrototypePermissionUtilclass is moved fromportal-kerneltoportal-impl. Addportal-implas a build dependency to continue using this class. ThegetLayoutPrototypePermissionis also removed. Instead, useLayoutPrototypePermissionUtildirectly.
- Reason: This class is moved into portal-implto simplify the code structure.
MethodFactory.java
portal-kernel/src/com/liferay/portal/kernel/webdav/methods/MethodFactory.java
- Date: Nov. 27, 2023
- Ticket: LPS-200166
- What Changed: The class is removed. Use MethodFactoryUtilinstead.
- Reason: This class no longer has any usage.
WebDAVStorage.java
portal-kernel/src/com/liferay/portal/kernel/webdav/WebDAVStorage.java
- Date: Nov. 27, 2023
- Ticket: LPS-200166
- What Changed: The getMethodFactorymethod is removed. UseMethodFactoryUtilinstead.
- Reason: MethodFactoryis simplified and is now aUtilclass, so this method is no longer needed.
MethodFactoryRegistry.java
portal-kernel/src/com/liferay/portal/kernel/webdav/methods/MethodFactoryRegistry.java
- Date: Nov. 27, 2023
- Ticket: LPS-200166
- What Changed: The interface is removed. Registering custom MethodFactoryimplementations is no longer supported.
- Reason: The default implementation, MethodFactoryImpl, was the only needed implementation, so the interface is no longer needed.
MethodFactoryRegistryUtil.java
portal-kernel/src/com/liferay/portal/kernel/webdav/methods/MethodFactoryRegistryUtil.java
- Date: Nov. 27, 2023
- Ticket: LPS-200166
- What Changed: The class is removed. Registering custom MethodFactoryimplementations is no longer supported.
- Reason: The default implementation, MethodFactoryImpl, was the only needed implementation, so this class is no longer needed.
PortletConfigurationIconMenu.java
portal-kernel/src/com/liferay/portal/kernel/portlet/configuration/icon/PortletConfigurationIconMenu.java
- Date: Nov. 27, 2023
- Ticket: LPS-200326
- What Changed: The PortletConfigurationIconMenuconstructor is now private.
- Reason: PortletConfigurationIconMenuis being removed fromutil-spring, so it needs a staticINSTANCEfield to replace existing usages.
FriendlyURLNormalizerUtil.java
portal-kernel/src/com/liferay/portal/kernel/util/FriendlyURLNormalizerUtil.java
- Date: Nov. 27, 2023
- Ticket: LPS-188565
- What Changed: The setFriendlyURLNormalizer(FriendlyURLNormalizer)method is removed. Instead, register theFriendlyURLNormalizerOSGi service.
- Reason: The class uses OSGi to retrieve the service, so this method is no longer needed.
UserGroupMembershipPolicyFactory.java
portal-kernel/src/com/liferay/portal/kernel/security/membershippolicy/UserGroupMembershipPolicyFactory.java
- Date: Nov. 28, 2023
- Ticket: LPS-200563
- What Changed: The interface is removed. Instead, use UserGroupMembershipPolicyFactoryUtildirectly.
- Reason: This interface is no longer needed because Spring no longer needs to register its implementations as OSGi components.
UserGroupMembershipPolicyFactoryUtil.java
portal-kernel/src/com/liferay/portal/kernel/security/membershippolicy/UserGroupMembershipPolicyFactoryUtil.java
- Date: Nov. 28, 2023
- Ticket: LPS-200563
- What Changed: The UserGroupMembershipPolicyFactoryUtilclass is moved fromportal-kerneltoportal-impl. Addportal-implas a build dependency to continue using this class. ThegetUserGroupMembershipPolicyFactorymethod is also removed. Directly useUserGroupMembershipPolicyUtilinstead.
- Reason: The class is moved into portal-implto simplify the code structure. ThegetUserGroupMembershipPolicyFactorymethod is no longer needed.
UserGroupMembershipPolicyUtil.java
portal-kernel/src/com/liferay/portal/kernel/security/membershippolicy/UserGroupMembershipPolicyUtil.java
- Date: Nov. 28, 2023
- Ticket: LPS-200563
- What Changed: The class is moved from portal-kerneltoportal-impl. Addportal-implas a build dependency to continue using this class.
- Reason: The class is moved into portal-implto simplify the code structure.
AudioProcessor.java
portal-kernel/src/com/liferay/document/library/kernel/util/AudioProcessor.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The AudioProcessorclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This change matches the package name to the class name.
AudioProcessorUtil.java
portal-kernel/src/com/liferay/document/library/kernel/util/AudioProcessorUtil.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The AudioProcessorUtilclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This change matches the package name to the class name.
DLProcessor.java
portal-kernel/src/com/liferay/document/library/kernel/util/DLProcessor.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The DLProcessorclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage. TheafterPropertiesSetanddestroymethods are also removed. Instead, use the OSGi service lifecycleactivateanddeactivatemethods.
- Reason: The refactoring change matches the package name to the class name. The afterPropertiesSetanddestroymethods are removed becauseDLProcessorimplementations are no longer Spring beans.
DLProcessorRegistry.java
portal-kernel/src/com/liferay/document/library/kernel/util/DLProcessorRegistry.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The DLProcessorRegistryclass is renamed toDLProcessorHelper, and it’s moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This class no longer registers or unregisters DLProcessorobjects, and the refactoring change matches the package name to the class name.
DLProcessorRegistryUtil.java
portal-kernel/src/com/liferay/document/library/kernel/util/DLProcessorRegistryUtil.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The DLProcessorRegistryUtilclass is renamed toDLProcessorHelperUtil, and it’s moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: The class name change clarifies the class’s usage, and the refactoring change matches the package name to the class name.
DLProcessorThreadLocal.java
portal-kernel/src/com/liferay/document/library/kernel/util/DLProcessorThreadLocal.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The DLProcessorThreadLocalclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This change matches the package name to the class name.
ImageProcessor.java
portal-kernel/src/com/liferay/document/library/kernel/util/ImageProcessor.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The ImageProcessorclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This change matches the package name to the class name.
ImageProcessorUtil.java
portal-kernel/src/com/liferay/document/library/kernel/util/ImageProcessorUtil.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The ImageProcessorclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This change matches the package name to the class name.
PDFProcessor.java
portal-kernel/src/com/liferay/document/library/kernel/util/PDFProcessor.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The PDFProcessorclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This change matches the package name to the class name.
PDFProcessorUtil.java
portal-kernel/src/com/liferay/document/library/kernel/util/PDFProcessorUtil.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The PDFProcessorUtilclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This change matches the package name to the class name.
RawMetadataProcessor.java
portal-kernel/src/com/liferay/document/library/kernel/util/RawMetadataProcessor.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The RawMetadataProcessorclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This change matches the package name to the class name.
RawMetadataProcessorUtil.java
portal-kernel/src/com/liferay/document/library/kernel/util/RawMetadataProcessorUtil.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The RawMetadataProcessorUtilclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This change matches the package name to the class name.
VideoProcessor.java
portal-kernel/src/com/liferay/document/library/kernel/util/VideoProcessor.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The VideoProcessorclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This change matches the package name to the class name.
VideoProcessorUtil.java
portal-kernel/src/com/liferay/document/library/kernel/util/VideoProcessorUtil.java
- Date: Dec. 1, 2023
- Ticket: LPS-188559
- What Changed: The VideoProcessorUtilclass is moved from thecom.liferay.document.library.kernel.utilpackage to thecom.liferay.document.library.kernel.processorpackage.
- Reason: This change matches the package name to the class name.
ModelResourcePermissionFactory.java
portal-kernel/src/com/liferay/portal/kernel/security/permission/resource/ModelResourcePermissionFactory.java
- Date: Dec. 12, 2023
- Ticket: LPS-193174
- What Changed: The getInstancemethod is removed.
- Reason: Service model resource permissions are now retrieved via ModelResourcePermissionRegistryUtil.
PortletResourcePermissionFactory.java
portal-kernel/src/com/liferay/portal/kernel/security/permission/resource/PortletResourcePermissionFactory.java
- Date: Dec. 12, 2023
- Ticket: LPS-193174
- What Changed: The getInstancemethod is removed.
- Reason: There are no longer any usages for this method.
JSONWebServiceActionsManager.java
portal-kernel/src/com/liferay/portal/kernel/jsonwebservice/JSONWebServiceActionsManager.java
- Date: Dec. 13, 2023
- Ticket: LPS-203854
- What Changed: The registerServletContext(ServletContext)andunregisterServletContext(ServletContext)methods are removed.
- Reason: Spring bean JSON web service registration is now centralized in JSONWebServiceTracker, so there is no longer a need to explicitly register or unregister aServletContext.
JSONWebServiceActionsManagerUtil.java
portal-kernel/src/com/liferay/portal/kernel/jsonwebservice/JSONWebServiceActionsManagerUtil.java
- Date: Dec. 13, 2023
- Ticket: LPS-203854
- What Changed: The registerServletContext(ServletContext)andunregisterServletContext(ServletContext)methods are removed.
- Reason: Spring bean JSON web service registration is now centralized in JSONWebServiceTracker, so there is no longer a need to explicitly register or unregister aServletContext.
PhoneNumberFormatUtil.java
portal-kernel/src/com/liferay/portal/kernel/format/PhoneNumberFormatUtil.java
- Date: Dec. 13, 2023
- Ticket: LPS-200292
- What Changed: The PhoneNumberFormatUtilclass is moved fromportal-kerneltoportal-impl. Addportal-implas a build dependency to continue using this class. Additionally, thegetPhoneNumberFormatmethod is removed.
- Reason: The class is moved into portal-implto simplify the code structure. ThegetPhoneNumberFormatmethod is no longer used.
ClusterBridgeMessageListener.java
portal-kernel/src/com/liferay/portal/kernel/cluster/messaging/ClusterBridgeMessageListener.java
- Date: Dec. 15, 2023
- Ticket: LPS-203461
- What Changed: The ClusterBridgeMessageListenerclass is moved fromportal-kernelto theuser-admin-webmodule.
- Reason: This class is only used for the live_usersdestination in theuser-admin-webmodule.
DefaultControlPanelEntry.java
portal-kernel/com/liferay/portal/kernel/portlet/DefaultControlPanelEntry.java
- Date: Jan. 4, 2024
- Ticket: LPS-200537
- What Changed: The class is removed.
- Reason: There is no longer any usage for this implementation.
ServiceProxyFactory.java
portal-kernel/src/com/liferay/portal/kernel/util/ServiceProxyFactory.java
- Date: Jan. 8, 2024
- Ticket: LPS-204548
- What Changed: The class is removed. Instead, directly use the Snapshotclass.
- Reason: This class no longer has any usage.
LayoutSet.java
portal-kernel/src/com/liferay/portal/kernel/model/LayoutSet.java
- Date: Jan. 10, 2024
- Ticket: LPS-146160
- What Changed: A new isLayoutSetReadyForPropagationmethod is added.
- Reason: This new method allows for identifying if a layout set is actively propagated from a layout set prototype.
LayoutSetWrapper.java
portal-kernel/src/com/liferay/portal/kernel/model/LayoutSetWrapper.java
- Date: Jan. 10, 2024
- Ticket: LPS-146160
- What Changed: A new isLayoutSetReadyForPropagationmethod is added.
- Reason: This new method allows for identifying if a layout set is actively propagated from a layout set prototype.
FileEntry.java
portal-kernel/src/com/liferay/portal/kernel/repository/model/FileEntry.java
- Date: Jan. 29, 2024
- Ticket: LPD-6958
- What Changed: A new getDisplayDatemethod is added for the new display date field.
- Reason: This new method allows for a display date to propogate to file entries in external repositories if they are enabled.
FileVersion.java
portal-kernel/src/com/liferay/portal/kernel/repository/model/FileVersion.java
- Date: Jan. 29, 2024
- Ticket: LPD-6958
- What Changed: A new getDisplayDatemethod is added for the new display date field.
- Reason: This new method allows for a display date to propogate to specific file versions in external repositories if they are enabled.
DLStore.java
portal-kernel/src/com/liferay/document/library/kernel/store/DLStore.java
- Date: Jan. 31, 2024
- Ticket: LPD-15353
- What Changed: The deleteFile(long, long, String)has been restored after it was previously removed.
- Reason: This method implementation is useful for deleting a single file.
portal-kernel/bnd.bnd
- Date: Feb. 7, 2024
- Ticket: LPS-206272
- What Changed: The portal-kernel/src/com/liferay/portal/kernel/portlet/constants/packageinfoversion has increased to1.6.0, and theportal-kernel/src/com/liferay/portal/kernel/portlet/packageinfoversion has increased to29.2.0.
- Reason: The FriendlyURLRegistryUtilclass now has a new methodgetFriendlyURLResolverByDefaultURLSeparator(String defaultURLSeparator).
Changes in portal-test Classes
portal-test/bnd.bnd
- Date: Jan. 17, 2024
- Ticket: LPS-200582
- What Changed: The bundle version is increased to 24.0.0due to multiple class removals.
CaptureAppender.java
portal-test/src/com/liferay/portal/test/log/CaptureAppender.java
- Date: Jan. 17, 2024
- Ticket: LPS-200582
- What Changed: The class is removed. Use LoggerTestUtil’sLog4JLogCapturemethod instead.
- Reason: The CaptureAppenderclass was deprecated.
Log4JLoggerTestUtil.java
portal-test/src/com/liferay/portal/test/log/Log4JLoggerTestUtil.java
- Date: Jan. 17, 2024
- Ticket: LPS-200582
- What Changed: The class is removed. Use LoggerTestUtildirectly instead.
- Reason: The Log4JLoggerTestUtilclass was deprecated.
LogEvent.java
portal-test/src/com/liferay/portal/test/log/LogEvent.java
- Date: Jan. 17, 2024
- Ticket: LPS-200582
- What Changed: The class is removed. Use LoggerTestUtil’sLog4JLogEntrymethod instead.
- Reason: The LogEventclass was deprecated.
LogAssertionAppender.java
portal-test/src/com/liferay/portal/test/rule/LogAssertionAppender.java
- Date: Jan. 17, 2024
- Ticket: LPS-200582
- What Changed: The class is removed.
- Reason: The LogAssertionAppenderclass was deprecated.
Changes in Taglibs
liferay-hook_7_4_0.dtd
definitions/liferay-hook_7_4_0.dtd
- Date: Nov. 7, 2023
- Ticket: LPS-196123
- What Changed: The dl.file.entry.processorsportal property is removed from the list. Instead of using this portal property, add your ownDLProcessorimplementation as an OSGi service.
- Reason: This portal property is no longer required because all out-of-the-box implementations of DLProcessorare now OSGi services.
liferay-ui.tld
util-taglib/src/META-INF/liferay-ui.tld
- Date: Nov. 28, 2023
- Ticket: LPS-202768
- What Changed: The liferay-ui:logo-selectorandliferay-ui:progresstaglibs are removed. Instead, use theliferay-frontend:logo-selectorandliferay-document-library:upload-progresstaglibs, respectively.
- Reason: The locations of these two taglibs were moved into modules.
LogoSelectorTag.java
util-taglib/src/com/liferay/taglib/ui/LogoSelectorTag.java
- Date: Nov. 28, 2023
- Ticket: LPS-202768
- What Changed: This taglib class is removed. Use liferay-frontend:logo-selectorinstead.
- Reason: The frontend module now handles the same functionality.
UploadProgressTag.java
util-taglib/src/com/liferay/taglib/ui/UploadProgressTag.java
- Date: Nov. 28, 2023
- Ticket: LPS-202768
- What Changed: This taglib class is removed. Use liferay-document-library:upload-progressinstead.
- Reason: The document library module now handles the same functionality.