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 ChangeDescriptionReferences
Selecting Guest Role for SegmentsYou 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 GuestsGuests 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 SegmentsYou 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 TagsTag names are now case-sensitive.LPD-6882
Filtering Web ContentAll 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 FiltersIf you have a filter applied when searching web content, performing a new search now clears the filter.LPD-6710
Web Content Status Filter NamesThe 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 EditorThe reserved-article-id variable is renamed to articleId for web content templates. The externalReferenceCode and resourcePrimKey (i.e., the structuredContentId) variables are also added.LPS-203949
Utility Page ConfigurationsThe 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 SitesWhen creating a new site, the Allow Manual Membership Management option is disabled by default.LPS-191374
Configuration for Auto-extending Session TimeoutsThe session.timeout.auto.extend and session.timeout.auto.extend.offset portal 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 getOnClickJSModuleURL method 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 BaseAMImageCounter class is a new base class for AMImageCounter implementations to use.
  • Reason: This class helps implement AMImageCounter with 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 BaseAMImageOptimizer class is a new base class for AMImageOptimizer implementations to use.
  • Reason: This class helps implement AMImageOptimizer with 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 getGroupPreviewableProcessorMaxSizeMap method is added to return all group values with the given previewableProcessorMaxSize attribute.
  • 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 AuditMessageFactoryImpl is now implemented in AuditMessageFactory instead.
  • Reason: These classes being separated did not provide any value, so they were consolidated into AuditMessageFactory to 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 getImages method now has a boolean parameter for gallery.
  • 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 getAccountEntryTypes method now has a long parameter for companyId. The ACCOUNT_ENTRY_TYPES field 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, and validateReadOnlyAndReadOnlyConditionExpression methods are now public and included in ObjectFieldLocalService.
  • 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 addObjectRelationship and updateObjectRelationship methods have a new ObjectField parameter.
  • 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 addObjectRelationship and updateObjectRelationship methods have a new ObjectField parameter.
  • 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 ObjectRelationship schema has a new objectField property.
  • 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 addCommercePaymentEntry and updateCommercePaymentEntry methods 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 getExtendedProperties method has a new long userId parameter.
  • Reason: This change is required to pass dtoConverterContext with 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 getExtendedProperties method has a new long userId parameter.
  • Reason: This change is required to pass dtoConverterContext with 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 the com.liferay.document.library.util.test package to the com.liferay.document.library.processor.test package.
  • 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 the com.liferay.document.library.internal.util package to the com.liferay.document.library.internal.processor package. The register and unregister methods have also been removed. If you are providing your own non-OSGi DLProcessor implementation, 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 register and unregister methods are removed because all out-of-the-box DLProcessor objects 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 json and boolean 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. The plid column is removed from the AssetDisplayPageEntry table. Instead, call AssetDisplayPageEntry.getPlid().
  • Reason: The plid column was temporarily removed from the AssetDisplayPageEntry table, so this was added as an alternative method to retrieve the plid.

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, and getShippingCommerceAddressesCount methods have a new long commerceChannelId parameter.
  • 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 getKey method 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 buildTimestamp field 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 replaceVariables parameter is added to the create methods.
  • 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 getName method 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 the com.liferay.site.util package is refactored to the com.liferay.site.manager package.
  • 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.util package to the com.liferay.site.manager package. 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.util package to the com.liferay.site.manager package. 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.util package to the com.liferay.site.manager package. 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.util package to the com.liferay.site.manager package. 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.util package to the com.liferay.site.manager package. 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 runSegmentsExperiment method has an added Experiment parameter.
  • 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 runSegmentsExperiment method has an added Experiment parameter.
  • 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 GET and POST paths.
  • 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 assetVocabularyCategoryIds field 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 _addOrUpdateNestedObjectEntries method adds a new String parameter for a scopeKey.
  • 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 getNameMap method 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), and includeWebContent(long) methods have been renamed to includeCategoriesCompanyEnabled(long), includePagesCompanyEnabled(long), and includeWebContentCompanyEnabled(long), respectively. The new includeCategoriesGroupEnabled(long, long), includePagesGroupEnabled(long, long), includeWebContentGroupEnabled(long, long), and saveSitemapGroupConfiguration(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 new boolean parameter for defaultStyleBookeEntry.
  • 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 SXPParameterContributor interface is moved to the search-experiences-api module.
  • 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) and process(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 PortletRequest argument.

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 new publishObjectDefinition(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 REFUND constant field is renamed to REFUNDED.
  • 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_LINK constant 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 renderPortlet method now has a FragmentEntryLink parameter.
  • Reason: The FragmentEntryLink is 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), and getSegmentsEntries(long, boolean, String, String, int, int, OrderByComparator) methods each have the boolean parameter removed. The searchSegmentsEntries(long, String, LinkedHashMap, int, int, Sort) and getSegmentsEntries(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), and getSegmentsEntriesCount(long, boolean) methods each have the boolean parameter removed. The getSegmentsEntries(long, int, int, OrderByComparator) and getSegmentsEntriesCount(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 journalArticleStorageType and databaseContentKeywordSearchEnabled methods 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 AntivirusStatisticsUpdaterAsyncEventListener interface, so it no longer implements the receive(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_DISPLAY constant 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 unsupportedFormats JSON 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 the transform(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 getContentTransformerContentType and transform(T) methods are removed. Instead, a transform(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 String parameter is removed from the getSegmentsCriteriaContributors(String) method. The getSegmentsCriteriaContributors(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 the segmentEntryIds array parameter to use the getSegmentsEntryId(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 the segmentEntryIds array parameter to use the getSegmentEntryIds(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 getDownloadVirtualOrderItemURL method now has an extra long parameter, for fileEntryId.
  • 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 fileEntryId and URL columns are removed, and a one-to-many relationship is added with the CPDVirtualSettingFileEntry entity.
  • Reason: CPDefinitionVirtualSetting and CommerceVirtualOrderItem must 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 fileEntryId and URL columns are removed, and a one-to-many relationship is added with the CommerceVirtualOrderItemFileEntry entity.
  • Reason: CPDefinitionVirtualSetting and CommerceVirtualOrderItem must 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 add method implementations are removed, and various other method signatures are changed to remove fileEntryId and url parameters.
  • Reason: CPDefinitionVirtualSetting and CommerceVirtualOrderItem must now handle multiple file entries. The removed add implementations 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 fileEntryId and url parameters.
  • Reason: CPDefinitionVirtualSetting and CommerceVirtualOrderItem must 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 fileEntryId and url parameters.
  • Reason: CPDefinitionVirtualSetting and CommerceVirtualOrderItem must 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 CTClosure objects.

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 Levels class 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 addDynamicAssetListEntry and addManualAssetListEntry methods have removed the long userId parameter.
  • 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 CommercePaymentMethodGroupRel object.

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 arrayClone method is removed.
  • Reason: The arrayClone method 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 ObjectGraphUtil class 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 addSegmentsEntry implementations have the type parameter removed. Update your implementation to remove the type from the method call.
  • Reason: The type parameter 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 addSegmentsEntry implementations have the type parameter removed. Update your implementation to remove the type from the method call.
  • Reason: The type parameter 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 CountriesCommerceHealthStatus class 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) and updateEntry(long, long, long, String, String, String, String, boolean, String, String, long, String, int) methods are removed.
  • Reason: The methods are replaced with new addFragmentEntry and updateFragmentEntry methods, 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) and updateEntry(long, long, long, String, String, String, String, boolean, String, String, long, String, int) methods are removed.
  • Reason: The methods are replaced with new addFragmentEntry and updateFragmentEntry methods, 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: GroupSearchProvider is now a static class, and the getGroupSearch(PortletRequest, PortletURL) method is removed.
  • Reason: The GroupSearchProvider is 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_PROVIDER is removed.
  • Reason: The GROUP_SEARCH_PROVIDER was 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 validateRequired method’s parameters are reordered with a new boolean parameter.
  • 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 getBatchEngineTaskItemDelegate method has a new long parameter for a company ID.
  • Reason: The BatchEngineTaskItemDelegate needs 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_AGGREGATION and BUSINESS_TYPE_FORMULA object 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 CommercePortletKeys class 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 CommerceCountryPanelApp class 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 CommerceCountryScreenNavigationConstants class 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 BaseCommerceCountriesDisplayContext class 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 CommerceCountriesDisplayContext class 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 CommerceCountriesManagementToolbarDisplayContext class 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 CommerceRegionsDisplayContext class 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 CommerceRegionsManagementToolbarDisplayContext class 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 CommerceCountryRequestHelper class 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 CommerceCountryChannelsScreenNavigationCategory class 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 CommerceCountryChannelsScreenNavigationEntry class 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 CommerceCountryDetailsScreenNavigationCategory class 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 CommerceCountryDetailsScreenNavigationEntry class 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 CommerceCountryRegionsScreenNavigationCategory class 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 CommerceCountryRegionsScreenNavigationEntry class 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 CommerceCountryPortlet class 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 EditCommerceCountryMVCActionCommand class 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 EditCommerceCountryMVCRenderCommand class 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 EditCommerceRegionMVCActionCommand class 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 EditCommerceRegionMVCRenderCommand class 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 ImportCommerceRegionsMVCActionCommand class 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 ActionHelper class 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.jsp file 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.jsp file 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.jsp file 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.jsp file 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.jsp file 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-web module’s main.scss file 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.jsp file 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.jsp file 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.js file 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.js file 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-web module’s view.jsp file 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 getJSOnClickConfigJSONObject method behavior now requires providing a JavaScript function for getOnClickJSModuleURL, which is called with the value from getJSOnClickConfigJSONObject as its parameter.
  • Reason: This change makes getJSOnClickConfigJSONObject more 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 PortletContextFactoryUtil directly.
  • 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.processors portal property is removed. Instead, add your own DLProcessor implementation as an OSGi service.
  • Reason: This portal property is no longer required because all out-of-the-box implementations of DLProcessor are 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 DLPreviewableProcessor class is moved from portal-impl to the document-library-preview-api module. Add document-library-preview-api as 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 AudioProcessorImpl class is moved from portal-impl to the document-library-preview-audio module. Instead, reference the DLProcessor class with the target "(type=" + DLProcessorConstants.AUDIO_PROCESSOR + ")".
  • Reason: This change allows AudioProcessorImpl to 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 VideoProcessorImpl class is moved from portal-impl to the document-library-preview-video module. Instead, reference the DLProcessor class with the target "(type=" + DLProcessorConstants.VIDEO_PROCESSOR + ")".
  • Reason: This change allows AudioProcessorImpl to 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[]) and forEachFileEntry(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.extend and session.timeout.auto.extend.offset portal 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 the countByG_C_N(long, long, String) method, passing 0 as 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 the getTagsSize(long, long, String) method, passing 0 as 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 the getVisibleAssetsTagsCount(long, long, String) method, passing 0 as 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 SiteMembershipPolicyUtil to 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 SiteMembershipPolicyUtil directly.
  • Reason: The logic from this class is consolidated into SiteMembershipPolicyUtil to 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 searchBySocial method has a new long[] 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 LayoutPrototypePermissionUtil directly.
  • Reason: The LayoutPrototypePermissionImpl class 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 MethodFactory implementations is no longer supported.
  • Reason: No MethodFactory implementation is needed other than MethodFactoryImpl.

BaseWebDAVStorageImpl.java portal-impl/src/com/liferay/portal/webdav/BaseWebDAVStorageImpl.java

  • Date: Nov. 27, 2023
  • Ticket: LPS-200166
  • What Changed: TheBaseWebDAVStorageImpl class is moved from portal-kernel to portal-impl. Add portal-impl as a build dependency to keep using the same class.
  • Reason: The BaseWebDAVStorageImpl class is moved into portal-impl to 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 DLImpl class is moved to the document-library-service module.
  • Reason: The class is rewritten to have access to some OSGi components in the document-library-service module 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.xml file is removed.
  • Reason: The messaging-misc-spring.xml file 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.factor property 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 PanelSystem SettingsSearchDefault Search Result Permission Filter).
  • Reason: The index.permission.filter.search.amplification.factor property 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.timeout system property is removed. Property com.liferay.portal.kernel.util.ServiceProxyFactory.timeout is being removed.
  • Reason: This property is only used for the ServiceProxyFactory class, 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 ServiceBag constructor has removed the ClassLoader parameter and added BundleContext and ServiceReference parameters. The replace method also no longer throws Exception.
  • 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 setIndexWriterHelper method is removed.
  • Reason: This method was only used for the UserIndexer class, 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-impl as a build dependency and use PortletContextFactoryUtil directly.
  • Reason: The code is being consolidated and moved into portal-impl to 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 PortletContextFactoryUtil class is moved from portal-kernel to portal-impl. Add portal-impl as a build dependency to continue using this class.
  • Reason: This class is moved into portal-impl to 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 AuditMessageFactory interface is now an implemented class. The logic previously in AuditMessageFactoryImpl and AuditMessageFactoryUtil is now implemented in this class.
  • Reason: Having these classes separated did not provide any value, so they were consolidated into AuditMessageFactory to 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, and countByG_N methods 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, and countByG_N methods 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_E method 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_E method 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 getSocialActivityCounterOffsetTags and getSocialActivityCounterPeriodTags methods 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 getSocialActivityCounterOffsetTags and getSocialActivityCounterPeriodTags methods 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 SiteMembershipPolicyFactoryUtil directly.
  • 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 SiteMembershipPolicyFactoryUtil class is moved from portal-kernel to portal-impl. Add portal-impl as a build dependency to continue using this class.
  • Reason: This class is moved into portal-impl to 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 SiteMembershipPolicyUtil class is moved from portal-kernel to portal-impl. Add portal-impl as a build dependency to continue using this class.
  • Reason: This class is moved into portal-impl to 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 LayoutPrototypePermissionUtil class is moved from portal-kernel to portal-impl. Add portal-impl as a build dependency to continue using this class. The getLayoutPrototypePermission is also removed. Instead, use LayoutPrototypePermissionUtil directly.
  • Reason: This class is moved into portal-impl to 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 MethodFactoryUtil instead.
  • 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 getMethodFactory method is removed. Use MethodFactoryUtil instead.
  • Reason: MethodFactory is simplified and is now a Util class, 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 MethodFactory implementations 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 MethodFactory implementations 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 PortletConfigurationIconMenu constructor is now private.
  • Reason: PortletConfigurationIconMenu is being removed from util-spring, so it needs a static INSTANCE field 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 the FriendlyURLNormalizer OSGi 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 UserGroupMembershipPolicyFactoryUtil directly.
  • 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 UserGroupMembershipPolicyFactoryUtil class is moved from portal-kernel to portal-impl. Add portal-impl as a build dependency to continue using this class. The getUserGroupMembershipPolicyFactory method is also removed. Directly use UserGroupMembershipPolicyUtil instead.
  • Reason: The class is moved into portal-impl to simplify the code structure. The getUserGroupMembershipPolicyFactory method 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-kernel to portal-impl. Add portal-impl as a build dependency to continue using this class.
  • Reason: The class is moved into portal-impl to 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 AudioProcessor class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 AudioProcessorUtil class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 DLProcessor class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package. The afterPropertiesSet and destroy methods are also removed. Instead, use the OSGi service lifecycle activate and deactivate methods.
  • Reason: The refactoring change matches the package name to the class name. The afterPropertiesSet and destroy methods are removed because DLProcessor implementations 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 DLProcessorRegistry class is renamed to DLProcessorHelper, and it’s moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • Reason: This class no longer registers or unregisters DLProcessor objects, 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 DLProcessorRegistryUtil class is renamed to DLProcessorHelperUtil, and it’s moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 DLProcessorThreadLocal class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 ImageProcessor class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 ImageProcessor class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 PDFProcessor class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 PDFProcessorUtil class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 RawMetadataProcessor class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 RawMetadataProcessorUtil class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 VideoProcessor class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 VideoProcessorUtil class is moved from the com.liferay.document.library.kernel.util package to the com.liferay.document.library.kernel.processor package.
  • 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 getInstance method 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 getInstance method 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) and unregisterServletContext(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 a ServletContext.

JSONWebServiceActionsManagerUtil.java portal-kernel/src/com/liferay/portal/kernel/jsonwebservice/JSONWebServiceActionsManagerUtil.java

  • Date: Dec. 13, 2023
  • Ticket: LPS-203854
  • What Changed: The registerServletContext(ServletContext) and unregisterServletContext(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 a ServletContext.

PhoneNumberFormatUtil.java portal-kernel/src/com/liferay/portal/kernel/format/PhoneNumberFormatUtil.java

  • Date: Dec. 13, 2023
  • Ticket: LPS-200292
  • What Changed: The PhoneNumberFormatUtil class is moved from portal-kernel to portal-impl. Add portal-impl as a build dependency to continue using this class. Additionally, the getPhoneNumberFormat method is removed.
  • Reason: The class is moved into portal-impl to simplify the code structure. The getPhoneNumberFormat method 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 ClusterBridgeMessageListener class is moved from portal-kernel to the user-admin-web module.
  • Reason: This class is only used for the live_users destination in the user-admin-web module.

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 Snapshot class.
  • 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 isLayoutSetReadyForPropagation method 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 isLayoutSetReadyForPropagation method 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 getDisplayDate method 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 getDisplayDate method 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/packageinfo version has increased to 1.6.0, and the portal-kernel/src/com/liferay/portal/kernel/portlet/packageinfo version has increased to 29.2.0.
  • Reason: The FriendlyURLRegistryUtil class now has a new method getFriendlyURLResolverByDefaultURLSeparator(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.0 due 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’s Log4JLogCapture method instead.
  • Reason: The CaptureAppender class 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 LoggerTestUtil directly instead.
  • Reason: The Log4JLoggerTestUtil class 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’s Log4JLogEntry method instead.
  • Reason: The LogEvent class 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 LogAssertionAppender class 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.processors portal property is removed from the list. Instead of using this portal property, add your own DLProcessor implementation as an OSGi service.
  • Reason: This portal property is no longer required because all out-of-the-box implementations of DLProcessor are 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-selector and liferay-ui:progress taglibs are removed. Instead, use the liferay-frontend:logo-selector and liferay-document-library:upload-progress taglibs, 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-selector instead.
  • 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-progress instead.
  • Reason: The document library module now handles the same functionality.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy